(not at the head of any monitored branch or PR)
2026-04-11 17:31.09: New job: test azure-cosmos-db.0.4.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29682/head (bda2fd0485aa4e02adb1de5e7fed6109282303ad)
                              on ubuntu-25.04-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/29682/head" && git reset --hard bda2fd04
git fetch origin master
git merge --no-edit c18adeb75d158d5999645fdf3e6e1503c882cdc3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:1b704d05773cdc91e9ac5eb23bc7685bb6c8b1b47146d21cb22d956a95a8675e
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 azure-cosmos-db.0.4.0 0.4.0
RUN opam reinstall azure-cosmos-db.0.4.0; \
    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 "\"ubuntu-25.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'azure-cosmos-db.0.4.0' && 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 azure-cosmos-db.0.4.0) || true
RUN opam reinstall --with-test --verbose azure-cosmos-db.0.4.0; \
    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 "\"ubuntu-25.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'azure-cosmos-db.0.4.0' && 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-04-11 17:31.09: Using cache hint "ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:1b704d05773cdc91e9ac5eb23bc7685bb6c8b1b47146d21cb22d956a95a8675e-azure-cosmos-db.0.4.0-bda2fd0485aa4e02adb1de5e7fed6109282303ad"
2026-04-11 17:31.09: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:1b704d05773cdc91e9ac5eb23bc7685bb6c8b1b47146d21cb22d956a95a8675e)
 (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 azure-cosmos-db.0.4.0 0.4.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall azure-cosmos-db.0.4.0;\
             \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 \"\\\"ubuntu-25.04\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'azure-cosmos-db.0.4.0' && 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 azure-cosmos-db.0.4.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose azure-cosmos-db.0.4.0;\
             \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 \"\\\"ubuntu-25.04\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'azure-cosmos-db.0.4.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-04-11 17:31.09: Waiting for resource in pool OCluster
2026-04-11 17:31.15: Waiting for worker…
2026-04-11 17:31.15: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at c18adeb75d Merge pull request #29698 from daysv/release-sm-0.1.1
Updating c18adeb75d..bda2fd0485
Fast-forward
 .../azure-cosmos-db-eio.0.4.0/opam                 | 51 ++++++++++++++++++++++
 .../azure-cosmos-db-lwt.0.4.0/opam                 | 50 +++++++++++++++++++++
 .../azure-cosmos-db/azure-cosmos-db.0.4.0/opam     | 47 ++++++++++++++++++++
 3 files changed, 148 insertions(+)
 create mode 100644 packages/azure-cosmos-db-eio/azure-cosmos-db-eio.0.4.0/opam
 create mode 100644 packages/azure-cosmos-db-lwt/azure-cosmos-db-lwt.0.4.0/opam
 create mode 100644 packages/azure-cosmos-db/azure-cosmos-db.0.4.0/opam

(from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:1b704d05773cdc91e9ac5eb23bc7685bb6c8b1b47146d21cb22d956a95a8675e)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:1b704d05773cdc91e9ac5eb23bc7685bb6c8b1b47146d21cb22d956a95a8675e' locally
docker.io/ocaml/opam@sha256:1b704d05773cdc91e9ac5eb23bc7685bb6c8b1b47146d21cb22d956a95a8675e: Pulling from ocaml/opam
c62190a9ab61: Already exists
a2261a43b0a3: Pulling fs layer
ff6a8383f18b: Pulling fs layer
759dd0657c9c: Pulling fs layer
66288a993cb0: Pulling fs layer
c19f257e51a6: Pulling fs layer
fe64935ea087: Pulling fs layer
97c4558684f6: Pulling fs layer
5af9cb574be6: Pulling fs layer
66288a993cb0: Waiting
87b2621b834e: Pulling fs layer
fe64935ea087: Waiting
c19f257e51a6: Waiting
97c4558684f6: Waiting
77f5803cabe8: Pulling fs layer
5af9cb574be6: Waiting
87b2621b834e: Waiting
15e8c7361e90: Pulling fs layer
9588d6e091fa: Pulling fs layer
77f5803cabe8: Waiting
15e8c7361e90: Waiting
dfd57d30d0c5: Pulling fs layer
9588d6e091fa: Waiting
0a7d96b38d02: Pulling fs layer
c873bc57cdda: Pulling fs layer
21a5edc45661: Pulling fs layer
dfd57d30d0c5: Waiting
c873bc57cdda: Waiting
0a7d96b38d02: Waiting
21a5edc45661: Waiting
bfd635553a4e: Pulling fs layer
c82fe8431aed: Pulling fs layer
93123873b2a8: Pulling fs layer
bfd635553a4e: Waiting
c82fe8431aed: Waiting
5b2e56f178b6: Pulling fs layer
93123873b2a8: Waiting
4f4fb700ef54: Pulling fs layer
2b52ef52ecd5: Pulling fs layer
5b2e56f178b6: Waiting
4f4fb700ef54: Waiting
f0c3dca0a6f4: Pulling fs layer
d4f690e2bac5: Pulling fs layer
2b52ef52ecd5: Waiting
7a8f8f6f5e80: Pulling fs layer
f8089a19247a: Pulling fs layer
d4f690e2bac5: Waiting
7a8f8f6f5e80: Waiting
f0c3dca0a6f4: Waiting
3e404e2617fd: Pulling fs layer
f8089a19247a: Waiting
ff0b39c6e5f9: Pulling fs layer
3e404e2617fd: Waiting
cf0b1a00a565: Pulling fs layer
07f5e2924b4c: Pulling fs layer
cf0b1a00a565: Waiting
ff0b39c6e5f9: Waiting
4af121d7ca07: Pulling fs layer
07f5e2924b4c: Waiting
f9c29d114ba9: Pulling fs layer
4af121d7ca07: Waiting
98ab6f559c26: Pulling fs layer
2af619acc906: Pulling fs layer
eefaf59b218a: Pulling fs layer
f9c29d114ba9: Waiting
889b799f8e0f: Pulling fs layer
2af619acc906: Waiting
98ab6f559c26: Waiting
ecdb2d2e6bb9: Pulling fs layer
4c711dfda1bc: Pulling fs layer
bf2408301830: Pulling fs layer
e3b7081454cc: Pulling fs layer
889b799f8e0f: Waiting
4c711dfda1bc: Waiting
e04744095359: Pulling fs layer
e3b7081454cc: Waiting
bf2408301830: Waiting
4e8df79b8a0e: Pulling fs layer
e04744095359: Waiting
97168eaa5719: Pulling fs layer
4e8df79b8a0e: Waiting
614a1ff0c113: Pulling fs layer
614a1ff0c113: Waiting
97168eaa5719: Waiting
a2261a43b0a3: Verifying Checksum
a2261a43b0a3: Download complete
a2261a43b0a3: Pull complete
66288a993cb0: Verifying Checksum
66288a993cb0: Download complete
759dd0657c9c: Verifying Checksum
759dd0657c9c: Download complete
ff6a8383f18b: Verifying Checksum
ff6a8383f18b: Download complete
ff6a8383f18b: Pull complete
fe64935ea087: Verifying Checksum
fe64935ea087: Download complete
97c4558684f6: Verifying Checksum
97c4558684f6: Download complete
759dd0657c9c: Pull complete
5af9cb574be6: Verifying Checksum
5af9cb574be6: Download complete
87b2621b834e: Download complete
66288a993cb0: Pull complete
77f5803cabe8: Verifying Checksum
77f5803cabe8: Download complete
15e8c7361e90: Download complete
9588d6e091fa: Verifying Checksum
9588d6e091fa: Download complete
dfd57d30d0c5: Verifying Checksum
dfd57d30d0c5: Download complete
0a7d96b38d02: Verifying Checksum
0a7d96b38d02: Download complete
c873bc57cdda: Download complete
21a5edc45661: Download complete
bfd635553a4e: Download complete
c82fe8431aed: Download complete
93123873b2a8: Download complete
5b2e56f178b6: Download complete
4f4fb700ef54: Download complete
2b52ef52ecd5: Verifying Checksum
2b52ef52ecd5: Download complete
f0c3dca0a6f4: Download complete
d4f690e2bac5: Download complete
f8089a19247a: Download complete
7a8f8f6f5e80: Verifying Checksum
7a8f8f6f5e80: Download complete
c19f257e51a6: Verifying Checksum
c19f257e51a6: Download complete
ff0b39c6e5f9: Verifying Checksum
ff0b39c6e5f9: Download complete
3e404e2617fd: Verifying Checksum
3e404e2617fd: Download complete
cf0b1a00a565: Verifying Checksum
cf0b1a00a565: Download complete
07f5e2924b4c: Verifying Checksum
07f5e2924b4c: Download complete
f9c29d114ba9: Verifying Checksum
f9c29d114ba9: Download complete
98ab6f559c26: Verifying Checksum
98ab6f559c26: Download complete
4af121d7ca07: Verifying Checksum
4af121d7ca07: Download complete
eefaf59b218a: Verifying Checksum
eefaf59b218a: Download complete
ecdb2d2e6bb9: Download complete
4c711dfda1bc: Download complete
bf2408301830: Verifying Checksum
bf2408301830: Download complete
2af619acc906: Verifying Checksum
2af619acc906: Download complete
c19f257e51a6: Pull complete
e3b7081454cc: Verifying Checksum
e3b7081454cc: Download complete
fe64935ea087: Pull complete
97c4558684f6: Pull complete
5af9cb574be6: Pull complete
97168eaa5719: Download complete
87b2621b834e: Pull complete
614a1ff0c113: Verifying Checksum
614a1ff0c113: Download complete
77f5803cabe8: Pull complete
15e8c7361e90: Pull complete
9588d6e091fa: Pull complete
dfd57d30d0c5: Pull complete
0a7d96b38d02: Pull complete
c873bc57cdda: Pull complete
21a5edc45661: Pull complete
bfd635553a4e: Pull complete
c82fe8431aed: Pull complete
93123873b2a8: Pull complete
5b2e56f178b6: Pull complete
4f4fb700ef54: Pull complete
2b52ef52ecd5: Pull complete
f0c3dca0a6f4: Pull complete
d4f690e2bac5: Pull complete
7a8f8f6f5e80: Pull complete
f8089a19247a: Pull complete
3e404e2617fd: Pull complete
ff0b39c6e5f9: Pull complete
cf0b1a00a565: Pull complete
07f5e2924b4c: Pull complete
4af121d7ca07: Pull complete
f9c29d114ba9: Pull complete
98ab6f559c26: Pull complete
e04744095359: Verifying Checksum
e04744095359: Download complete
889b799f8e0f: Verifying Checksum
889b799f8e0f: Download complete
2af619acc906: Pull complete
eefaf59b218a: Pull complete
889b799f8e0f: Pull complete
ecdb2d2e6bb9: Pull complete
4c711dfda1bc: Pull complete
bf2408301830: Pull complete
e3b7081454cc: Pull complete
e04744095359: Pull complete
4e8df79b8a0e: Pull complete
97168eaa5719: Pull complete
614a1ff0c113: Pull complete
Digest: sha256:1b704d05773cdc91e9ac5eb23bc7685bb6c8b1b47146d21cb22d956a95a8675e
Status: Downloaded newer image for ocaml/opam@sha256:1b704d05773cdc91e9ac5eb23bc7685bb6c8b1b47146d21cb22d956a95a8675e
2026-04-11 17:32.03 ---> using "e6d76a9d5116a7ddfb0b07e635897c6fe40927a9d80709aa8dee175eaf015409" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-11 17:32.03 ---> using "35bcdb7bacf2287de82be7f72c33489b4e318f5926043b498827532580f7bf68" from cache

/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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-04-11 17:32.03 ---> using "79b8e80c924443df8bff99e052a9a7bb9e6b8f258a875ec5af0f57f472db9f36" from cache

/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=ubuntu os-version=25.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         2 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, 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.3
2026-04-11 17:32.03 ---> using "fd8cce41bde251aff54910aa94a1b8cec4c7b367f514927c428281246f53b533" from cache

/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-04-11 17:32.03 ---> using "414d99032c8f7bac99c4b9a7954c55a8c8657b17f110294fe003ffbde4612bb3" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 17:32.08 ---> saved as "360b2a3e7f86346a65692127cc1eaac23592c461ecf64a10edff9853cfa907f7"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-11 17:32.26 ---> saved as "176ed9fbf488b1d38e27cc6892fdcee4281d606662d94d31bdd72c54162e69a6"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://security.ubuntu.com/ubuntu plucky-security InRelease
- Hit:2 http://archive.ubuntu.com/ubuntu plucky InRelease
- Hit:3 http://archive.ubuntu.com/ubuntu plucky-updates InRelease
- Hit:4 http://archive.ubuntu.com/ubuntu plucky-backports InRelease
- Reading package lists...
2026-04-11 17:32.28 ---> saved as "6694ff077e61d48e14ac65dc860943631f2c2f63dbf65300a0a6e7251fd5af84"

/home/opam: (run (shell "opam pin add -k version -yn azure-cosmos-db.0.4.0 0.4.0"))
azure-cosmos-db is now pinned to version 0.4.0
2026-04-11 17:32.28 ---> saved as "300c4f36bf54f2b154e353b36e359cc3763a6a1968cc76d39bf0e30f53e7b7d7"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall azure-cosmos-db.0.4.0;\
                        \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 \"\\\"ubuntu-25.04\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'azure-cosmos-db.0.4.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
azure-cosmos-db.0.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 47 packages
  - install angstrom            0.16.1         [required by uri]
  - install atd                 4.0.0          [required by atdgen]
  - install atdgen              4.0.0          [required by azure-cosmos-db]
  - install atdgen-runtime      4.0.0          [required by atdgen]
  - install azure-cosmos-db     0.4.0 (pinned)
  - install base                v0.16.4        [required by ppx_sexp_conv]
  - install base64              3.5.2          [required by azure-cosmos-db]
  - install bigstringaf         0.10.0         [required by angstrom]
  - install biniou              1.2.2          [required by atdgen]
  - install camlp-streams       5.0.1          [required by biniou]
  - install cmdliner            2.1.0          [required by atd, logs]
  - install cohttp              6.2.1          [required by azure-cosmos-db]
  - install conf-gmp            5              [required by conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec   4              [required by cryptokit]
  - install conf-pkg-config     4              [required by conf-zlib, zarith]
  - install conf-zlib           1              [required by cryptokit]
  - install cryptokit           1.21.1         [required by azure-cosmos-db]
  - install csexp               1.5.2          [required by dune-configurator]
  - install domain-name         0.5.0          [required by ipaddr]
  - install dune                3.22.1         [required by azure-cosmos-db]
  - install dune-configurator   3.22.1         [required by cryptokit]
  - install easy-format         1.3.4          [required by atd]
  - install http                6.2.1          [required by cohttp]
  - install ipaddr              5.6.2          [required by cohttp]
  - install logs                0.10.0         [required by cohttp]
  - install macaddr             5.6.2          [required by ipaddr]
  - install menhir              20260209       [required by atd]
  - install menhirCST           20260209       [required by menhir]
  - install menhirGLR           20260209       [required by menhir]
  - install menhirLib           20260209       [required by menhir]
  - install menhirSdk           20260209       [required by menhir]
  - install ocaml-compiler-libs v0.12.4        [required by ppxlib]
  - install ocaml-syntax-shims  1.0.0          [required by angstrom]
  - install ocamlbuild          0.16.1         [required by logs]
  - install ocamlfind           1.9.8          [required by logs, zarith]
  - install ppx_derivers        1.2.1          [required by ppxlib]
  - install ppx_sexp_conv       v0.16.0        [required by cohttp]
  - install ppxlib              0.35.0         [required by ppx_sexp_conv]
  - install re                  1.14.0         [required by atdgen, cohttp]
  - install sexplib0            v0.16.0        [required by cohttp]
  - install stdlib-shims        0.3.0          [required by ppxlib]
  - install stringext           1.6.0          [required by cohttp]
  - install topkg               1.1.1          [required by logs]
  - install uri                 4.4.0          [required by azure-cosmos-db]
  - install uri-sexp            4.4.0          [required by cohttp]
  - install yojson              3.0.0          [required by atdgen]
  - install zarith              1.14           [required by cryptokit]

The following system packages will first need to be installed:
    libgmp-dev pkg-config zlib1g-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" "libgmp-dev" "pkg-config" "zlib1g-dev"
- Selecting previously unselected package libgmpxx4ldbl: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 ... 16503 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3ubuntu1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3ubuntu1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3ubuntu1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3ubuntu1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../6-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3ubuntu1) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3ubuntu1) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-6ubuntu1.2) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved atd.4.0.0, atdgen.4.0.0, atdgen-runtime.4.0.0  (cached)
-> retrieved azure-cosmos-db.0.4.0  (https://github.com/mknaack/azure-cosmos-db/archive/refs/tags/0.4.0.tar.gz)
-> retrieved base.v0.16.4  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved biniou.1.2.2  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cohttp.6.2.1, http.6.2.1  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved cryptokit.1.21.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed conf-gmp-powm-sec.4
-> installed conf-zlib.1
-> retrieved dune.3.22.1, dune-configurator.3.22.1  (cached)
-> retrieved easy-format.1.3.4  (cached)
-> retrieved ipaddr.5.6.2, macaddr.5.6.2  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed cmdliner.2.1.0
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved zarith.1.14  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.1.1
-> installed logs.0.10.0
-> installed dune.3.22.1
-> installed base64.3.5.2
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed domain-name.0.5.0
-> installed easy-format.1.3.4
-> installed http.6.2.1
-> installed macaddr.5.6.2
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed ppx_derivers.1.2.1
-> installed re.1.14.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed yojson.3.0.0
-> installed ipaddr.5.6.2
-> installed biniou.1.2.2
-> installed atdgen-runtime.4.0.0
-> installed dune-configurator.3.22.1
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed cryptokit.1.21.1
-> installed uri.4.4.0
-> installed base.v0.16.4
-> installed menhir.20260209
-> installed atd.4.0.0
-> installed atdgen.4.0.0
-> installed ppxlib.0.35.0
-> installed ppx_sexp_conv.v0.16.0
-> installed uri-sexp.4.4.0
-> installed cohttp.6.2.1
-> installed azure-cosmos-db.0.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-11 17:33.25 ---> saved as "fabb5bdd01c774f92bf99f0c209118fa3595196739af863aab1bb7556063affb"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test azure-cosmos-db.0.4.0) || true"))
The following actions will be performed:
=== downgrade 1 package
  - downgrade cmdliner        2.1.0 to 1.3.0 [required by bisect_ppx]
=== recompile 5 packages
  - recompile atd             4.0.0          [uses cmdliner]
  - recompile atdgen          4.0.0          [uses atd]
  - recompile azure-cosmos-db 0.4.0 (pinned)
  - recompile cohttp          6.2.1          [uses logs]
  - recompile logs            0.10.0         [uses cmdliner]
=== install 1 package
  - install   bisect_ppx      2.8.3          [required by azure-cosmos-db]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved atd.4.0.0, atdgen.4.0.0  (https://opam.ocaml.org/cache)
-> retrieved azure-cosmos-db.0.4.0  (https://github.com/mknaack/azure-cosmos-db/archive/refs/tags/0.4.0.tar.gz)
-> retrieved bisect_ppx.2.8.3  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.1.3.0  (https://opam.ocaml.org/cache)
-> retrieved cohttp.6.2.1  (https://opam.ocaml.org/cache)
-> retrieved logs.0.10.0  (https://opam.ocaml.org/cache)
-> removed   azure-cosmos-db.0.4.0
-> removed   atdgen.4.0.0
-> removed   atd.4.0.0
-> removed   cohttp.6.2.1
-> removed   logs.0.10.0
-> removed   cmdliner.2.1.0
-> installed cmdliner.1.3.0
-> installed logs.0.10.0
-> installed atd.4.0.0
-> installed bisect_ppx.2.8.3
-> installed cohttp.6.2.1
-> installed atdgen.4.0.0
[ERROR] The compilation of azure-cosmos-db.0.4.0 failed at "dune build -p azure-cosmos-db -j 255 @install @runtest".

#=== ERROR while compiling azure-cosmos-db.0.4.0 ==============================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.3 | pinned(https://github.com/mknaack/azure-cosmos-db/archive/refs/tags/0.4.0.tar.gz)
# path                 ~/.opam/4.14/.opam-switch/build/azure-cosmos-db.0.4.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p azure-cosmos-db -j 255 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/azure-cosmos-db-8-5bb682.env
# output-file          ~/.opam/log/azure-cosmos-db-8-5bb682.out
### output ###
# File "test/eio/dune", line 3, characters 51-59:
# 3 |  (libraries test_core azure-cosmos-db-eio alcotest eio_main utilities)
#                                                        ^^^^^^^^
# Error: Library "eio_main" not found.
# -> required by _build/default/test/eio/test.exe
# -> required by alias test/eio/runtest-test in test/eio/dune:2
# -> required by alias test/eio/runtest
# File "test/lwt/dune", line 3, characters 65-75:
# 3 |  (libraries test_core azure-cosmos-db-lwt alcotest-lwt utilities app_config)
#                                                                      ^^^^^^^^^^
# Error: Library "app_config" not found.
# -> required by _build/default/test/lwt/test.exe
# -> required by alias test/lwt/runtest-test in test/lwt/dune:2
# -> required by alias test/lwt/runtest
# File "test/lwt/dune", line 7, characters 7-14:
# 7 |   (pps lwt_ppx)))
#            ^^^^^^^
# Error: Library "lwt_ppx" not found.
# -> required by _build/default/test/lwt/.merlin-conf/exe-test
# -> required by _build/default/test/lwt/test.exe
# -> required by alias test/lwt/runtest-test in test/lwt/dune:2
# -> required by alias test/lwt/runtest



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build azure-cosmos-db 0.4.0
+- 
+- The following changes have been performed
| - remove    azure-cosmos-db 0.4.0
| - downgrade cmdliner        2.1.0 to 1.3.0
| - recompile atd             4.0.0
| - recompile atdgen          4.0.0
| - recompile cohttp          6.2.1
| - recompile logs            0.10.0
| - install   bisect_ppx      2.8.3
+- 
# 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-20260411173326.export"
Or you can retry to install your package selection with:
    /usr/bin/opam install --restore
2026-04-11 17:33.40 ---> saved as "90f14e35d13ace009a6b747f6752c34f1823c68040e3f645817dd1091480a374"

/home/opam: (run (shell  "opam reinstall --with-test --verbose azure-cosmos-db.0.4.0;\
                        \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 \"\\\"ubuntu-25.04\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'azure-cosmos-db.0.4.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
azure-cosmos-db.0.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install azure-cosmos-db 0.4.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [azure-cosmos-db.0.4.0: extract]
-> retrieved azure-cosmos-db.0.4.0  (cached)
Processing  2/3: [azure-cosmos-db: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "azure-cosmos-db" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/azure-cosmos-db.0.4.0)
- File "test/eio/dune", line 3, characters 51-59:
- 3 |  (libraries test_core azure-cosmos-db-eio alcotest eio_main utilities)
-                                                        ^^^^^^^^
- Error: Library "eio_main" not found.
- -> required by _build/default/test/eio/test.exe
- -> required by alias test/eio/runtest-test in test/eio/dune:2
- -> required by alias test/eio/runtest
- File "test/lwt/dune", line 3, characters 65-75:
- 3 |  (libraries test_core azure-cosmos-db-lwt alcotest-lwt utilities app_config)
-                                                                      ^^^^^^^^^^
- Error: Library "app_config" not found.
- -> required by _build/default/test/lwt/test.exe
- -> required by alias test/lwt/runtest-test in test/lwt/dune:2
- -> required by alias test/lwt/runtest
- File "test/lwt/dune", line 7, characters 7-14:
- 7 |   (pps lwt_ppx)))
-            ^^^^^^^
- Error: Library "lwt_ppx" not found.
- -> required by _build/default/test/lwt/.merlin-conf/exe-test
- -> required by _build/default/test/lwt/test.exe
- -> required by alias test/lwt/runtest-test in test/lwt/dune:2
- -> required by alias test/lwt/runtest
[ERROR] The compilation of azure-cosmos-db.0.4.0 failed at "dune build -p azure-cosmos-db -j 255 @install @runtest".

#=== ERROR while compiling azure-cosmos-db.0.4.0 ==============================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.3 | pinned(https://github.com/mknaack/azure-cosmos-db/archive/refs/tags/0.4.0.tar.gz)
# path                 ~/.opam/4.14/.opam-switch/build/azure-cosmos-db.0.4.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p azure-cosmos-db -j 255 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/azure-cosmos-db-7-353bf0.env
# output-file          ~/.opam/log/azure-cosmos-db-7-353bf0.out
### output ###
# File "test/eio/dune", line 3, characters 51-59:
# 3 |  (libraries test_core azure-cosmos-db-eio alcotest eio_main utilities)
#                                                        ^^^^^^^^
# Error: Library "eio_main" not found.
# -> required by _build/default/test/eio/test.exe
# -> required by alias test/eio/runtest-test in test/eio/dune:2
# -> required by alias test/eio/runtest
# File "test/lwt/dune", line 3, characters 65-75:
# 3 |  (libraries test_core azure-cosmos-db-lwt alcotest-lwt utilities app_config)
#                                                                      ^^^^^^^^^^
# Error: Library "app_config" not found.
# -> required by _build/default/test/lwt/test.exe
# -> required by alias test/lwt/runtest-test in test/lwt/dune:2
# -> required by alias test/lwt/runtest
# File "test/lwt/dune", line 7, characters 7-14:
# 7 |   (pps lwt_ppx)))
#            ^^^^^^^
# Error: Library "lwt_ppx" not found.
# -> required by _build/default/test/lwt/.merlin-conf/exe-test
# -> required by _build/default/test/lwt/test.exe
# -> required by alias test/lwt/runtest-test in test/lwt/dune:2
# -> required by alias test/lwt/runtest



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build azure-cosmos-db 0.4.0
+- 
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose azure-cosmos-db.0.4.0' failed.
[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 --with-test --verbose azure-cosmos-db.0.4.0;
        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 "\"ubuntu-25.04\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'azure-cosmos-db.0.4.0' && 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-04-11 17:33.58: Job failed: Failed: Build failed
2026-04-11 17:33.58: Log analysis:
2026-04-11 17:33.58: >>> 
[ERROR] The compilation of azure-cosmos-db.0.4.0 failed at "dune build -p azure-cosmos-db -j 255 @install @runtest".
 (score = 20)
2026-04-11 17:33.58: >>> 
# Error: Library "eio_main" not found.
 (score = 48)
2026-04-11 17:33.58: >>> 
# Error: Library "app_config" not found.
 (score = 48)
2026-04-11 17:33.58: >>> 
# Error: Library "lwt_ppx" not found.
 (score = 48)
2026-04-11 17:33.58: >>> 
[ERROR] The compilation of azure-cosmos-db.0.4.0 failed at "dune build -p azure-cosmos-db -j 255 @install @runtest".
 (score = 20)
2026-04-11 17:33.58: >>> 
# Error: Library "eio_main" not found.
 (score = 48)
2026-04-11 17:33.58: >>> 
# Error: Library "app_config" not found.
 (score = 48)
2026-04-11 17:33.58: >>> 
# Error: Library "lwt_ppx" not found.
 (score = 48)
2026-04-11 17:33.58: Library "eio_main" not found.