Build:
  1. 4
  2. 3
  3. 2
  4. 1
  5. 0
2026-01-26 13:00.24: New job: test openai.0.0.1 with ezcurl-lwt.0.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29257/head (685913ef7f090d9733bcc2ec2ff7c848dfc948f6)
                              on debian-13-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29257/head" && git reset --hard 685913ef
git fetch origin master
git merge --no-edit f9f7db30fd6e805d48b947df138d463a5433f4d1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:b77f64f7a162903a6fb8a0d50071a7eb7a4a9bc4421699c19d2ab9050981c012
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn ezcurl-lwt.0.3 0.3
RUN opam reinstall ezcurl-lwt.0.3; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ezcurl-lwt.0.3' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall openai.0.0.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'openai.0.0.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test openai.0.0.1) || true
RUN opam reinstall --with-test --verbose openai.0.0.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'openai.0.0.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2026-01-26 13:00.24: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:b77f64f7a162903a6fb8a0d50071a7eb7a4a9bc4421699c19d2ab9050981c012-ezcurl-lwt.0.3-openai.0.0.1-685913ef7f090d9733bcc2ec2ff7c848dfc948f6"
2026-01-26 13:00.24: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:b77f64f7a162903a6fb8a0d50071a7eb7a4a9bc4421699c19d2ab9050981c012)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn ezcurl-lwt.0.3 0.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ezcurl-lwt.0.3;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ezcurl-lwt.0.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall openai.0.0.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'openai.0.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test openai.0.0.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose openai.0.0.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'openai.0.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-26 13:00.24: Waiting for resource in pool OCluster
2026-01-26 13:00.24: Waiting for worker…
2026-01-26 13:00.24: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at f9f7db30fd Merge pull request #29275 from EruEri/shakuhachi-0.2.0
Merge made by the 'ort' strategy.
 packages/ezcurl-lwt/ezcurl-lwt.0.3/opam | 41 +++++++++++++++++++++++++++++++++
 packages/ezcurl/ezcurl.0.3/opam         | 40 ++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)
 create mode 100644 packages/ezcurl-lwt/ezcurl-lwt.0.3/opam
 create mode 100644 packages/ezcurl/ezcurl.0.3/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:b77f64f7a162903a6fb8a0d50071a7eb7a4a9bc4421699c19d2ab9050981c012)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:b77f64f7a162903a6fb8a0d50071a7eb7a4a9bc4421699c19d2ab9050981c012' locally
docker.io/ocaml/opam@sha256:b77f64f7a162903a6fb8a0d50071a7eb7a4a9bc4421699c19d2ab9050981c012: Pulling from ocaml/opam
Digest: sha256:b77f64f7a162903a6fb8a0d50071a7eb7a4a9bc4421699c19d2ab9050981c012
Status: Downloaded newer image for ocaml/opam@sha256:b77f64f7a162903a6fb8a0d50071a7eb7a4a9bc4421699c19d2ab9050981c012
2026-01-26 13:01.06 ---> saved as "3fd264bad5105e854dbd96d70e0cfc1d39526afdd30eb5071f64946db0e5017f"

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-26 13:01.06 ---> saved as "c3cd77d504ddaf309a58ec97d6990fbd674dfde7b2abb842e8428debfcc0578e"

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-26 13:01.31 ---> saved as "465a85423ed866bf442b5d4ea44e6d67ced29e9b9e842e1931d4e6d88019fbd3"

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-01-26 13:01.32 ---> saved as "600a99cbfa8eb664d95037ff02fc36b5d64190bc45ec2fd4792c21267b01f885"

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2026-01-26 13:01.37 ---> saved as "7a36498140d9470d1651f2f43060608bb30c70da80a143f96ae11f513ef0d2f1"

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-26 13:01.45 ---> saved as "066f37d58bfec80c269d7d252557043224147b117fc40f4cf2a746b7e7051504"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-26 13:02.03 ---> saved as "3b886cc22a23a6144792462a739682a328f40c2806c51693c1ca78be59f00b6e"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Fetched 90.7 kB in 0s (956 kB/s)
- Reading package lists...
2026-01-26 13:02.04 ---> saved as "1890f8574ad72e98ca214e8ccfe7c617ef9b79f42d0f9ba3e404f1536848aa77"

/home/opam: (run (shell "opam pin add -k version -yn ezcurl-lwt.0.3 0.3"))
ezcurl-lwt is now pinned to version 0.3
2026-01-26 13:02.05 ---> saved as "e30878e2c09a078da19a9a578b714bd9adba03217cd9fcb392a7f65645c32eac"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ezcurl-lwt.0.3;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ezcurl-lwt.0.3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ezcurl-lwt.0.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 12 packages
  - install base-bytes        base         [required by ocplib-endian]
  - install conf-libcurl      2            [required by ocurl]
  - install cppo              1.8.0        [required by lwt]
  - install csexp             1.5.2        [required by dune-configurator]
  - install dune              3.21.0       [required by ezcurl-lwt]
  - install dune-configurator 3.21.0       [required by lwt]
  - install ezcurl            0.3          [required by ezcurl-lwt]
  - install ezcurl-lwt        0.3 (pinned)
  - install lwt               5.9.2        [required by ezcurl-lwt]
  - install ocamlfind         1.9.8        [required by ocurl]
  - install ocplib-endian     1.2          [required by lwt]
  - install ocurl             0.9.2        [required by ezcurl]

The following system packages will first need to be installed:
    libcurl4-gnutls-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libcurl4-gnutls-dev"
- Selecting previously unselected package comerr-dev:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20623 files and directories currently installed.)
- Preparing to unpack .../00-comerr-dev_2.1-1.47.2-3+b7_amd64.deb ...
- Unpacking comerr-dev:amd64 (2.1-1.47.2-3+b7) ...
- Selecting previously unselected package libgssrpc4t64:amd64.
- Preparing to unpack .../01-libgssrpc4t64_1.21.3-5_amd64.deb ...
- Unpacking libgssrpc4t64:amd64 (1.21.3-5) ...
- Selecting previously unselected package libkadm5clnt-mit12:amd64.
- Preparing to unpack .../02-libkadm5clnt-mit12_1.21.3-5_amd64.deb ...
- Unpacking libkadm5clnt-mit12:amd64 (1.21.3-5) ...
- Selecting previously unselected package libkdb5-10t64:amd64.
- Preparing to unpack .../03-libkdb5-10t64_1.21.3-5_amd64.deb ...
- Unpacking libkdb5-10t64:amd64 (1.21.3-5) ...
- Selecting previously unselected package libkadm5srv-mit12:amd64.
- Preparing to unpack .../04-libkadm5srv-mit12_1.21.3-5_amd64.deb ...
- Unpacking libkadm5srv-mit12:amd64 (1.21.3-5) ...
- Selecting previously unselected package krb5-multidev:amd64.
- Preparing to unpack .../05-krb5-multidev_1.21.3-5_amd64.deb ...
- Unpacking krb5-multidev:amd64 (1.21.3-5) ...
- Selecting previously unselected package libbrotli-dev:amd64.
- Preparing to unpack .../06-libbrotli-dev_1.1.0-2+b7_amd64.deb ...
- Unpacking libbrotli-dev:amd64 (1.1.0-2+b7) ...
- Selecting previously unselected package libevent-2.1-7t64:amd64.
- Preparing to unpack .../07-libevent-2.1-7t64_2.1.12-stable-10+b1_amd64.deb ...
- Unpacking libevent-2.1-7t64:amd64 (2.1.12-stable-10+b1) ...
- Selecting previously unselected package libunbound8:amd64.
- Preparing to unpack .../08-libunbound8_1.22.0-2+deb13u1_amd64.deb ...
- Unpacking libunbound8:amd64 (1.22.0-2+deb13u1) ...
- Selecting previously unselected package libgnutls-dane0t64:amd64.
- Preparing to unpack .../09-libgnutls-dane0t64_3.8.9-3+deb13u1_amd64.deb ...
- Unpacking libgnutls-dane0t64:amd64 (3.8.9-3+deb13u1) ...
- Selecting previously unselected package libgnutls-openssl27t64:amd64.
- Preparing to unpack .../10-libgnutls-openssl27t64_3.8.9-3+deb13u1_amd64.deb ...
- Unpacking libgnutls-openssl27t64:amd64 (3.8.9-3+deb13u1) ...
- Selecting previously unselected package libidn2-dev:amd64.
- Preparing to unpack .../11-libidn2-dev_2.3.8-2_amd64.deb ...
- Unpacking libidn2-dev:amd64 (2.3.8-2) ...
- Selecting previously unselected package libp11-kit-dev:amd64.
- Preparing to unpack .../12-libp11-kit-dev_0.25.5-3_amd64.deb ...
- Unpacking libp11-kit-dev:amd64 (0.25.5-3) ...
- Selecting previously unselected package libtasn1-6-dev:amd64.
- Preparing to unpack .../13-libtasn1-6-dev_4.20.0-2_amd64.deb ...
- Unpacking libtasn1-6-dev:amd64 (4.20.0-2) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../14-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../15-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package nettle-dev:amd64.
- Preparing to unpack .../16-nettle-dev_3.10.1-1_amd64.deb ...
- Unpacking nettle-dev:amd64 (3.10.1-1) ...
- Selecting previously unselected package libgnutls28-dev:amd64.
- Preparing to unpack .../17-libgnutls28-dev_3.8.9-3+deb13u1_amd64.deb ...
- Unpacking libgnutls28-dev:amd64 (3.8.9-3+deb13u1) ...
- Selecting previously unselected package libkrb5-dev:amd64.
- Preparing to unpack .../18-libkrb5-dev_1.21.3-5_amd64.deb ...
- Unpacking libkrb5-dev:amd64 (1.21.3-5) ...
- Selecting previously unselected package libldap-dev:amd64.
- Preparing to unpack .../19-libldap-dev_2.6.10+dfsg-1_amd64.deb ...
- Unpacking libldap-dev:amd64 (2.6.10+dfsg-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../20-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../21-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../22-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package libnghttp2-dev:amd64.
- Preparing to unpack .../23-libnghttp2-dev_1.64.0-1.1_amd64.deb ...
- Unpacking libnghttp2-dev:amd64 (1.64.0-1.1) ...
- Selecting previously unselected package libnghttp3-dev:amd64.
- Preparing to unpack .../24-libnghttp3-dev_1.8.0-1_amd64.deb ...
- Unpacking libnghttp3-dev:amd64 (1.8.0-1) ...
- Selecting previously unselected package libngtcp2-crypto-gnutls-dev:amd64.
- Preparing to unpack .../25-libngtcp2-crypto-gnutls-dev_1.11.0-1_amd64.deb ...
- Unpacking libngtcp2-crypto-gnutls-dev:amd64 (1.11.0-1) ...
- Selecting previously unselected package libngtcp2-dev:amd64.
- Preparing to unpack .../26-libngtcp2-dev_1.11.0-1_amd64.deb ...
- Unpacking libngtcp2-dev:amd64 (1.11.0-1) ...
- Selecting previously unselected package libpsl-dev:amd64.
- Preparing to unpack .../27-libpsl-dev_0.21.2-1.1+b1_amd64.deb ...
- Unpacking libpsl-dev:amd64 (0.21.2-1.1+b1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../28-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Selecting previously unselected package librtmp-dev:amd64.
- Preparing to unpack .../29-librtmp-dev_2.4+20151223.gitfa8646d.1-2+b5_amd64.deb ...
- Unpacking librtmp-dev:amd64 (2.4+20151223.gitfa8646d.1-2+b5) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../30-libssl-dev_3.5.4-1~deb13u1_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.5.4-1~deb13u1) ...
- Selecting previously unselected package libssh2-1-dev:amd64.
- Preparing to unpack .../31-libssh2-1-dev_1.11.1-1_amd64.deb ...
- Unpacking libssh2-1-dev:amd64 (1.11.1-1) ...
- Selecting previously unselected package libzstd-dev:amd64.
- Preparing to unpack .../32-libzstd-dev_1.5.7+dfsg-1_amd64.deb ...
- Unpacking libzstd-dev:amd64 (1.5.7+dfsg-1) ...
- Selecting previously unselected package libcurl4-gnutls-dev:amd64.
- Preparing to unpack .../33-libcurl4-gnutls-dev_8.14.1-2+deb13u2_amd64.deb ...
- Unpacking libcurl4-gnutls-dev:amd64 (8.14.1-2+deb13u2) ...
- Selecting previously unselected package libtasn1-doc.
- Preparing to unpack .../34-libtasn1-doc_4.20.0-2_all.deb ...
- Unpacking libtasn1-doc (4.20.0-2) ...
- Setting up libgnutls-openssl27t64:amd64 (3.8.9-3+deb13u1) ...
- Setting up libzstd-dev:amd64 (1.5.7+dfsg-1) ...
- Setting up libtasn1-doc (4.20.0-2) ...
- Setting up libevent-2.1-7t64:amd64 (2.1.12-stable-10+b1) ...
- Setting up libngtcp2-crypto-gnutls-dev:amd64 (1.11.0-1) ...
- Setting up libngtcp2-dev:amd64 (1.11.0-1) ...
- Setting up libpsl-dev:amd64 (0.21.2-1.1+b1) ...
- Setting up libunbound8:amd64 (1.22.0-2+deb13u1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up libgnutls-dane0t64:amd64 (3.8.9-3+deb13u1) ...
- Setting up libgssrpc4t64:amd64 (1.21.3-5) ...
- Setting up libldap-dev:amd64 (2.6.10+dfsg-1) ...
- Setting up comerr-dev:amd64 (2.1-1.47.2-3+b7) ...
- Setting up libssl-dev:amd64 (3.5.4-1~deb13u1) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libidn2-dev:amd64 (2.3.8-2) ...
- Setting up libnghttp3-dev:amd64 (1.8.0-1) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libtasn1-6-dev:amd64 (4.20.0-2) ...
- Setting up libbrotli-dev:amd64 (1.1.0-2+b7) ...
- Setting up libp11-kit-dev:amd64 (0.25.5-3) ...
- Setting up libkadm5clnt-mit12:amd64 (1.21.3-5) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up nettle-dev:amd64 (3.10.1-1) ...
- Setting up libkdb5-10t64:amd64 (1.21.3-5) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up libssh2-1-dev:amd64 (1.11.1-1) ...
- Setting up libkadm5srv-mit12:amd64 (1.21.3-5) ...
- Setting up krb5-multidev:amd64 (1.21.3-5) ...
- Setting up libgnutls28-dev:amd64 (3.8.9-3+deb13u1) ...
- Setting up libnghttp2-dev:amd64 (1.64.0-1.1) ...
- Setting up libkrb5-dev:amd64 (1.21.3-5) ...
- Setting up librtmp-dev:amd64 (2.4+20151223.gitfa8646d.1-2+b5) ...
- Setting up libcurl4-gnutls-dev:amd64 (8.14.1-2+deb13u2) ...
- Processing triggers for libc-bin (2.41-12+deb13u1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> installed conf-libcurl.2
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> retrieved ezcurl.0.3, ezcurl-lwt.0.3  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ocurl.0.9.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.21.0
-> installed lwt.5.9.2
-> installed ocurl.0.9.2
-> installed ezcurl.0.3
-> installed ezcurl-lwt.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-26 13:03.07 ---> saved as "acc904f86f8e05f4d98ef3fd0880a32a677dc6ac232258e72af6f5300cbb4cd1"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall openai.0.0.1;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'openai.0.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
openai.0.0.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== recompile 3 packages
  - recompile ezcurl              0.3          [uses ocurl]
  - recompile ezcurl-lwt          0.3 (pinned) [uses ezcurl]
  - recompile ocurl               0.9.2        [uses lwt_ppx]
=== install 15 packages
  - install   base                v0.15.1      [required by ppx_yojson_conv]
  - install   conf-openssl        2            [required by openai]
  - install   lwt_ppx             5.9.1        [required by openai]
  - install   ocaml-compiler-libs v0.12.4      [required by ppxlib]
  - install   octavius            1.2.2        [required by ppx_js_style]
  - install   openai              0.0.1
  - install   ppx_derivers        1.2.1        [required by ppxlib]
  - install   ppx_js_style        v0.15.0      [required by ppx_yojson_conv]
  - install   ppx_yojson          1.3.0        [required by openai]
  - install   ppx_yojson_conv     v0.15.1      [required by openai]
  - install   ppx_yojson_conv_lib v0.15.0      [required by ppx_yojson_conv]
  - install   ppxlib              0.35.0       [required by ppx_yojson, lwt_ppx, ppx_yojson_conv]
  - install   sexplib0            v0.15.1      [required by ppxlib, base]
  - install   stdlib-shims        0.3.0        [required by ppxlib]
  - install   yojson              3.0.0        [required by ppx_yojson_conv_lib]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.15.1  (cached)
-> retrieved ezcurl.0.3, ezcurl-lwt.0.3  (cached)
-> retrieved lwt_ppx.5.9.1  (cached)
-> installed conf-openssl.2
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved octavius.1.2.2  (cached)
-> retrieved ocurl.0.9.2  (cached)
-> retrieved openai.0.0.1  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_js_style.v0.15.0  (cached)
-> retrieved ppx_yojson.1.3.0  (cached)
-> retrieved ppx_yojson_conv.v0.15.1  (cached)
-> retrieved ppx_yojson_conv_lib.v0.15.0  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved sexplib0.v0.15.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.15.1
-> removed   ezcurl-lwt.0.3
-> removed   ezcurl.0.3
-> removed   ocurl.0.9.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed octavius.1.2.2
-> installed yojson.3.0.0
-> installed ppx_yojson_conv_lib.v0.15.0
-> installed base.v0.15.1
-> installed ppxlib.0.35.0
-> installed ppx_yojson.1.3.0
-> installed ppx_js_style.v0.15.0
-> installed lwt_ppx.5.9.1
-> installed ppx_yojson_conv.v0.15.1
-> installed ocurl.0.9.2
-> installed ezcurl.0.3
-> installed ezcurl-lwt.0.3
[ERROR] The compilation of openai.0.0.1 failed at "dune build -j 71 -p openai".

#=== ERROR while compiling openai.0.0.1 =======================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/openai.0.0.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -j 71 -p openai
# exit-code            1
# env-file             ~/.opam/log/openai-7-7a009e.env
# output-file          ~/.opam/log/openai-7-7a009e.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.openai.objs/byte -I src/.openai.objs/public_cmi -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/curl -I /home/opam/.opam/4.14/lib/ezcurl-lwt -I /home/opam/.opam/4.14/lib/ezcurl/core -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/ppx_yojson_conv_lib -I /home/opam/.opam/4.14/lib/yojson -no-alias-deps -open Openai -o src/.openai.objs/byte/openai__Client.cmo -c -impl src/client.pp.ml)
# File "src/client.ml", line 9, characters 43-61:
# 9 |   { api_key; gen_url = ( ^ ) base_url; c = Ezcurl_lwt.make () }
#                                                ^^^^^^^^^^^^^^^^^^
# Error: This expression has type Ezcurl_lwt.t = Ezcurl_core.t
#        but an expression was expected of type Curl.t



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build openai 0.0.1
+- 
+- The following changes have been performed
| - recompile ezcurl              0.3
| - recompile ezcurl-lwt          0.3
| - recompile ocurl               0.9.2
| - install   base                v0.15.1
| - install   conf-openssl        2
| - install   lwt_ppx             5.9.1
| - install   ocaml-compiler-libs v0.12.4
| - install   octavius            1.2.2
| - install   ppx_derivers        1.2.1
| - install   ppx_js_style        v0.15.0
| - install   ppx_yojson          1.3.0
| - install   ppx_yojson_conv     v0.15.1
| - install   ppx_yojson_conv_lib v0.15.0
| - install   ppxlib              0.35.0
| - install   sexplib0            v0.15.1
| - install   stdlib-shims        0.3.0
| - install   yojson              3.0.0
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260126130307.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall openai.0.0.1;
        res=$?;
        test "$res" != 31 && exit "$res";
        export OPAMCLI=2.0;
        build_dir=$(opam var prefix)/.opam-switch/build;
        failed=$(ls "$build_dir");
        partial_fails="";
        for pkg in $failed; do
          if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'openai.0.0.1' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2026-01-26 13:04.00: Job failed: Failed: Build failed
2026-01-26 13:04.00: Log analysis:
2026-01-26 13:04.00: >>> 
[ERROR] The compilation of openai.0.0.1 failed at "dune build -j 71 -p openai".
 (score = 20)
2026-01-26 13:04.00: >>> 
# Error: This expression has type Ezcurl_lwt.t = Ezcurl_core.t
 (score = 48)
2026-01-26 13:04.00: This expression has type Ezcurl_lwt.t = Ezcurl_core.t