Build:
  1. 0
2025-12-09 07:39.29: New job: test azure-cosmos-db.0.2.1 with dune.3.21.0~alpha2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29042/head (a9b8a0d0db631d21208bd4ab7355e867d7ecf88d)
                              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/29042/head" && git reset --hard a9b8a0d0
git fetch origin master
git merge --no-edit 2e91c1385fa6ee7c38e1108967fe3bf9ccba52f6
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d
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 dune.3.21.0~alpha2 3.21.0~alpha2
RUN opam reinstall dune.3.21.0~alpha2; \
    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" != 'dune.3.21.0~alpha2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall azure-cosmos-db.0.2.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" != 'azure-cosmos-db.0.2.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 azure-cosmos-db.0.2.1) || true
RUN opam reinstall --with-test --verbose azure-cosmos-db.0.2.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" != 'azure-cosmos-db.0.2.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 .

2025-12-09 07:39.29: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d-dune.3.21.0~alpha2-azure-cosmos-db.0.2.1-a9b8a0d0db631d21208bd4ab7355e867d7ecf88d"
2025-12-09 07:39.29: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d)
 (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 dune.3.21.0~alpha2 3.21.0~alpha2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.21.0~alpha2;\
             \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\" != 'dune.3.21.0~alpha2' && 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 azure-cosmos-db.0.2.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\" != 'azure-cosmos-db.0.2.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 azure-cosmos-db.0.2.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose azure-cosmos-db.0.2.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\" != 'azure-cosmos-db.0.2.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-09 07:39.29: Waiting for resource in pool OCluster
2025-12-09 23:04.07: Waiting for worker…
2025-12-09 23:18.27: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files:  97% (18478/19007)
Updating files:  98% (18627/19007)
Updating files:  99% (18817/19007)
Updating files: 100% (19007/19007)
Updating files: 100% (19007/19007), done.
HEAD is now at 2e91c1385f Merge pull request #29043 from hannesm/mirage-kv
Merge made by the 'ort' strategy.
 .../chrome-trace/chrome-trace.3.21.0~alpha2/opam   | 41 ++++++++++++
 .../dune-action-plugin.3.21.0~alpha2/opam          | 54 ++++++++++++++++
 .../dune-build-info.3.21.0~alpha2/opam             | 47 ++++++++++++++
 .../dune-configurator.3.21.0~alpha2/opam           | 51 +++++++++++++++
 packages/dune-glob/dune-glob.3.21.0~alpha2/opam    | 44 +++++++++++++
 .../dune-private-libs.3.21.0~alpha2/opam           | 52 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha2/opam   | 43 +++++++++++++
 packages/dune-rpc/dune-rpc.3.21.0~alpha2/opam      | 46 +++++++++++++
 packages/dune-site/dune-site.3.21.0~alpha2/opam    | 39 +++++++++++
 packages/dune/dune.3.21.0~alpha2/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.21.0~alpha2/opam                | 42 ++++++++++++
 packages/fs-io/fs-io.3.21.0~alpha2/opam            | 40 ++++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha2/opam  | 45 +++++++++++++
 packages/ordering/ordering.3.21.0~alpha2/opam      | 40 ++++++++++++
 packages/stdune/stdune.3.21.0~alpha2/opam          | 48 ++++++++++++++
 .../top-closure/top-closure.3.21.0~alpha2/opam     | 39 +++++++++++
 packages/xdg/xdg.3.21.0~alpha2/opam                | 41 ++++++++++++
 17 files changed, 787 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha2/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha2/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha2/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha2/opam
 create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha2/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha2/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha2/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha2/opam
 create mode 100644 packages/dune-site/dune-site.3.21.0~alpha2/opam
 create mode 100644 packages/dune/dune.3.21.0~alpha2/opam
 create mode 100644 packages/dyn/dyn.3.21.0~alpha2/opam
 create mode 100644 packages/fs-io/fs-io.3.21.0~alpha2/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha2/opam
 create mode 100644 packages/ordering/ordering.3.21.0~alpha2/opam
 create mode 100644 packages/stdune/stdune.3.21.0~alpha2/opam
 create mode 100644 packages/top-closure/top-closure.3.21.0~alpha2/opam
 create mode 100644 packages/xdg/xdg.3.21.0~alpha2/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d)
2025-12-09 23:18.34 ---> using "d81b3b20b9dbe813f4813251eb45f7f230344599357169e34b0d2f872bf65895" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-09 23:18.34 ---> using "4c0c738834a7be54719ab9b07c911eba51e45ad4298c42597f7d3da72b1c15d4" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-09 23:18.34 ---> using "8bb6d27bb5f7ebe9771219e3ecd730184d5e10ab877134c11c12ee3b1a6d3b96" 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=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
2025-12-09 23:18.34 ---> using "35019bd57e8933485bd938828fe288c3674216a4757e13b1dac8ce6b21035ac2" 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/"))
2025-12-09 23:18.34 ---> using "e09ab9992a764acab15da9cff99e3d4d978b8a77f33714cc5d19d16d3539eb49" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-09 23:18.35 ---> using "b1d8376b8854c122e4370c6ffb8956d8f719398d4349ee07c276d2dcc6f801f9" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-09 23:18.35 ---> using "9a99fafcbc8abe6d428ee55266ff1d7f19ca4090f80c3937d2d008378a0d44a7" from cache

/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]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [81.7 kB]
- Fetched 172 kB in 0s (970 kB/s)
- Reading package lists...
- 
2025-12-09 23:18.35 ---> using "dfdd061baff398ee2660022be07bc73f36114859cfe0e06f6537eb36b6569dcb" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.21.0~alpha2 3.21.0~alpha2"))
dune is now pinned to version 3.21.0~alpha2
2025-12-09 23:18.35 ---> using "9d74388dfd340d188909cdf0c4823b6581deb2050d5ff4ccb5bfd0c031111b6f" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.21.0~alpha2;\
                        \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\" != 'dune.3.21.0~alpha2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.21.0~alpha2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.21.0~alpha2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0~alpha2  (cached)
-> installed dune.3.21.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-09 23:18.35 ---> using "0510ef6b70a4dabc7f07f5987a056c1fb9750e839e3f12086bd1e7ee2e1c590b" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall azure-cosmos-db.0.2.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\" != 'azure-cosmos-db.0.2.1' && 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.2.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 80 packages
  - install angstrom            0.16.1        [required by uri]
  - install asn1-combinators    0.3.2         [required by x509]
  - install astring             0.8.5         [required by conduit]
  - install atd                 2.16.0        [required by atdgen]
  - install atdgen              2.15.0        [required by azure-cosmos-db]
  - install atdgen-runtime      2.16.0        [required by atdgen]
  - install azure-cosmos-db     0.2.1
  - install base                v0.16.4       [required by ppx_sexp_conv]
  - install base-bytes          base          [required by ocplib-endian]
  - 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 bos                 0.2.1         [required by ca-certs]
  - install ca-certs            1.0.1         [required by conduit-lwt-unix]
  - install camlp-streams       5.0.1         [required by biniou]
  - install cmdliner            2.1.0         [required by cohttp-lwt-unix]
  - install cohttp              6.1.1         [required by azure-cosmos-db]
  - install cohttp-lwt          6.1.1         [required by cohttp-lwt-unix]
  - install cohttp-lwt-unix     6.1.1         [required by azure-cosmos-db]
  - install conduit             8.0.0         [required by conduit-lwt]
  - install conduit-lwt         8.0.0         [required by cohttp-lwt-unix]
  - install conduit-lwt-unix    8.0.0         [required by cohttp-lwt-unix]
  - install conf-gmp            5             [required by conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec   4             [required by cryptokit]
  - install conf-libssl         4             [required by ssl]
  - install conf-pkg-config     4             [required by conf-zlib]
  - install conf-zlib           1             [required by cryptokit]
  - install cppo                1.8.0         [required by lwt]
  - install cryptokit           1.20          [required by azure-cosmos-db]
  - install csexp               1.5.2         [required by dune-configurator]
  - install digestif            1.3.0         [required by ca-certs]
  - install domain-name         0.5.0         [required by ipaddr]
  - install dune-configurator   3.21.0~alpha2 [required by cryptokit]
  - install duration            0.2.1         [required by mirage-crypto-rng]
  - install easy-format         1.3.4         [required by atd]
  - install eqaf                0.10          [required by digestif, mirage-crypto]
  - install fmt                 0.11.0        [required by cohttp-lwt-unix]
  - install fpath               0.7.3         [required by ca-certs]
  - install gmap                0.3.0         [required by x509]
  - install http                6.1.1         [required by cohttp, cohttp-lwt-unix]
  - install ipaddr              5.6.1         [required by cohttp-lwt, conduit-lwt-unix]
  - install ipaddr-sexp         5.6.1         [required by conduit-lwt-unix]
  - install kdf                 1.0.0         [required by x509]
  - install logs                0.10.0        [required by cohttp, cohttp-lwt-unix]
  - install lwt                 5.9.2         [required by azure-cosmos-db]
  - install lwt_ppx             5.9.1         [required by azure-cosmos-db]
  - install lwt_ssl             1.2.0         [required by azure-cosmos-db]
  - install macaddr             5.6.1         [required by ipaddr]
  - install magic-mime          1.3.1         [required by cohttp-lwt-unix]
  - install menhir              20250912      [required by atd]
  - install menhirCST           20250912      [required by menhir]
  - install menhirLib           20250912      [required by menhir]
  - install menhirSdk           20250912      [required by menhir]
  - install mirage-crypto       2.0.2         [required by ca-certs]
  - install mirage-crypto-ec    2.0.2         [required by x509]
  - install mirage-crypto-pk    2.0.2         [required by x509]
  - install mirage-crypto-rng   2.0.2         [required by x509]
  - 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]
  - install ocplib-endian       1.2           [required by lwt]
  - install ohex                0.2.0         [required by ca-certs]
  - install ppx_derivers        1.2.1         [required by ppxlib]
  - install ppx_sexp_conv       v0.16.0       [required by cohttp, cohttp-lwt-unix]
  - install ppxlib              0.35.0        [required by lwt_ppx]
  - install ptime               1.2.0         [required by ca-certs]
  - install re                  1.14.0        [required by atdgen, cohttp]
  - install rresult             0.7.0         [required by bos]
  - install seq                 base          [required by yojson]
  - install sexplib0            v0.16.0       [required by cohttp]
  - install ssl                 0.7.0         [required by azure-cosmos-db]
  - 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 x509                1.0.6         [required by ca-certs]
  - install yojson              2.2.2         [required by atdgen]
  - install zarith              1.14          [required by cryptokit]

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved atd.2.16.0, atdgen-runtime.2.16.0  (cached)
-> retrieved atdgen.2.15.0  (cached)
-> retrieved azure-cosmos-db.0.2.1  (cached)
-> 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 bos.0.2.1  (cached)
-> retrieved ca-certs.1.0.1  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cohttp.6.1.1, cohttp-lwt.6.1.1, cohttp-lwt-unix.6.1.1, http.6.1.1  (cached)
-> installed base64.3.5.2
-> installed camlp-streams.5.0.1
-> retrieved conduit.8.0.0, conduit-lwt.8.0.0, conduit-lwt-unix.8.0.0  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved conf-libssl.4  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cryptokit.1.20  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> installed conf-zlib.1
-> installed conf-gmp-powm-sec.4
-> installed conf-libssl.4
-> installed http.6.1.1
-> installed csexp.1.5.2
-> retrieved digestif.1.3.0  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> installed domain-name.0.5.0
-> installed cppo.1.8.0
-> retrieved dune-configurator.3.21.0~alpha2  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved easy-format.1.3.4  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved ipaddr.5.6.1, ipaddr-sexp.5.6.1, macaddr.5.6.1  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> installed cmdliner.2.1.0
-> installed duration.0.2.1
-> installed easy-format.1.3.4
-> installed gmap.0.3.0
-> retrieved lwt_ppx.5.9.1  (cached)
-> installed macaddr.5.6.1
-> retrieved lwt_ssl.1.2.0  (cached)
-> retrieved magic-mime.1.3.1  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> installed eqaf.0.10
-> installed biniou.1.2.2
-> installed ipaddr.5.6.1
-> installed magic-mime.1.3.1
-> installed menhirCST.20250912
-> installed dune-configurator.3.21.0~alpha2
-> retrieved mirage-crypto.2.0.2, mirage-crypto-ec.2.0.2, mirage-crypto-pk.2.0.2, mirage-crypto-rng.2.0.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> installed menhirSdk.20250912
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed menhirLib.20250912
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> installed bigstringaf.0.10.0
-> installed digestif.1.3.0
-> retrieved ppxlib.0.35.0  (cached)
-> installed ohex.0.2.0
-> installed ppx_derivers.1.2.1
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved ssl.0.7.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 x509.1.0.6  (cached)
-> installed ocaml-syntax-shims.1.0.0
-> retrieved yojson.2.2.2  (cached)
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> retrieved zarith.1.14  (cached)
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.16.0
-> installed angstrom.0.16.1
-> installed re.1.14.0
-> installed mirage-crypto.2.0.2
-> installed ssl.0.7.0
-> installed kdf.1.0.0
-> installed yojson.2.2.2
-> installed atdgen-runtime.2.16.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed uri.4.4.0
-> installed ocplib-endian.1.2
-> installed ocamlbuild.0.16.1
-> installed base.v0.16.4
-> installed zarith.1.14
-> installed lwt.5.9.2
-> installed lwt_ssl.1.2.0
-> installed cryptokit.1.20
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed asn1-combinators.0.3.2
-> installed logs.0.10.0
-> installed fpath.0.7.3
-> installed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-pk.2.0.2
-> installed menhir.20250912
-> installed bos.0.2.1
-> installed atd.2.16.0
-> installed ppxlib.0.35.0
-> installed atdgen.2.15.0
-> installed mirage-crypto-ec.2.0.2
-> installed lwt_ppx.5.9.1
-> installed ppx_sexp_conv.v0.16.0
-> installed x509.1.0.6
-> installed ca-certs.1.0.1
-> installed uri-sexp.4.4.0
-> installed ipaddr-sexp.5.6.1
-> installed conduit.8.0.0
-> installed cohttp.6.1.1
-> installed conduit-lwt.8.0.0
-> installed cohttp-lwt.6.1.1
-> installed conduit-lwt-unix.8.0.0
-> installed cohttp-lwt-unix.6.1.1
-> installed azure-cosmos-db.0.2.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-09 23:20.18 ---> saved as "586e424c9d54344c1adcef2a2e0ebe24411bdcb72c7a190c8076684d24689efa"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test azure-cosmos-db.0.2.1) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile azure-cosmos-db 0.2.1
=== install 3 packages
  - install   alcotest        1.9.1 [required by alcotest-lwt]
  - install   alcotest-lwt    1.9.1 [required by azure-cosmos-db]
  - install   uutf            1.0.4 [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1, alcotest-lwt.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved azure-cosmos-db.0.2.1  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> removed   azure-cosmos-db.0.2.1
-> installed uutf.1.0.4
-> installed alcotest.1.9.1
-> installed alcotest-lwt.1.9.1
-> installed azure-cosmos-db.0.2.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-09 23:20.36 ---> saved as "a96bdcbeac994b7a9de5e4fb72552e0603f7beaa1fd753de9c4936a7030c47f9"

/home/opam: (run (shell  "opam reinstall --with-test --verbose azure-cosmos-db.0.2.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\" != 'azure-cosmos-db.0.2.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile azure-cosmos-db 0.2.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [azure-cosmos-db.0.2.1: extract]
-> retrieved azure-cosmos-db.0.2.1  (cached)
Processing  2/4: [azure-cosmos-db: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "azure-cosmos-db" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/azure-cosmos-db.0.2.1)
Processing  2/4: [azure-cosmos-db: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "azure-cosmos-db" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/azure-cosmos-db.0.2.1)
- (cd _build/default/test && ./test.exe)
- Testing `Main tests'.
- This run has ID `66I3CVX4'.
- 
-   [OK]          utility test                0   x_ms_date.
-   [OK]          utility test                1   adjust_host_no_change.
-   [OK]          utility test                2   adjust_host_change.
-   [OK]          utility test                3   auth_key_test.
-   [OK]          utility test                4   auth_key_test_get_list.
-   [OK]          utility test                5   convert_list_databases_test.
-   [OK]          utility test                6   string_of_bool_true.
-   [OK]          utility test                7   string_of_bool_false.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/azure-cosmos-db.0.2.1/_build/default/test/_build/_tests/Main tests'.
- Test Successful in 0.002s. 8 tests run.
-> compiled  azure-cosmos-db.0.2.1
-> removed   azure-cosmos-db.0.2.1
-> installed azure-cosmos-db.0.2.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-09 23:20.48 ---> saved as "ab3529cee39372b4b25d05ef68dbf74cd9c4c63473780f6c752c03d511a0bb51"
Job succeeded
2025-12-09 23:20.57: Job succeeded