(not at the head of any monitored branch or PR)
2026-04-11 17:31.09: New job: build azure-cosmos-db-lwt.0.4.0, lower-bounds, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29682/head (bda2fd0485aa4e02adb1de5e7fed6109282303ad)
                              on debian-13-ocaml-4.09/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:debian-13-ocaml-4.09@sha256:82664d49766e836042139c258c70a8c577745a63e09aa485a3421f36623163e9
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-lwt.0.4.0 0.4.0
RUN opam reinstall azure-cosmos-db-lwt.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 "\"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-lwt.0.4.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMFIXUPCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMUPGRADECRITERIA="+removed,+count[version-lag,solution]"
RUN opam reinstall azure-cosmos-db-lwt.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 "\"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-lwt.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:debian-13-ocaml-4.09@sha256:82664d49766e836042139c258c70a8c577745a63e09aa485a3421f36623163e9-azure-cosmos-db-lwt.0.4.0-bda2fd0485aa4e02adb1de5e7fed6109282303ad"
2026-04-11 17:31.09: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.09@sha256:82664d49766e836042139c258c70a8c577745a63e09aa485a3421f36623163e9)
 (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-lwt.0.4.0 0.4.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall azure-cosmos-db-lwt.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 \"\\\"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-lwt.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"))
 (env OPAMCRITERIA +removed,+count[version-lag,solution])
 (env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])
 (env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall azure-cosmos-db-lwt.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 \"\\\"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-lwt.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.10: Waiting for worker…
2026-04-11 17:31.10: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
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:debian-13-ocaml-4.09@sha256:82664d49766e836042139c258c70a8c577745a63e09aa485a3421f36623163e9)
2026-04-11 17:31.17 ---> using "25c1207ff9728f59d1e704dd440f8a522b5c8eb24d57e8a86d40e8d32c37b23f" 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:31.17 ---> using "f6c9decfe43df6bc0d02068fb165aefc8660ee7cd6d70aa381f3c3b2dccf00a6" 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
2026-04-11 17:31.17 ---> using "394a076ab39117a9018119e847943b2dbd1a9521d49f1fb7c3910bb93ac355b5" 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.09
# invariant            ["ocaml-base-compiler" {= "4.09.1"}]
# compiler-packages    ocaml-base-compiler.4.09.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.09/lib/ocaml/stublibs:/home/opam/.opam/4.09/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.09.1
2026-04-11 17:31.17 ---> using "01228d8543ec83ca6967374102037a67ea16daccbfa1e1c6b9bef9b3283a5db0" 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:31.17 ---> using "1222eade8b956ab24334c6d7ddce835d2347fd10064e14b526cbc47afff5e0ef" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 17:31.27 ---> saved as "1bbc82858b1919dc460eda06bd173b60a5efbd20cd5cc4746fcd14fd865790b5"

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

/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 [121 kB]
- Fetched 211 kB in 0s (1821 kB/s)
- Reading package lists...
2026-04-11 17:31.43 ---> saved as "346a246b5e1ec1ccc64424bf8b2979c679f8b1d969ea85e18371333c90ff9b4b"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall azure-cosmos-db-lwt.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 \"\\\"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-lwt.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-lwt.0.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 85 packages
  - install angstrom            0.16.1         [required by uri]
  - install asn1-combinators    0.2.6          [required by x509]
  - install astring             0.8.5          [required by conduit, ca-certs]
  - 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          [required by azure-cosmos-db-lwt]
  - install azure-cosmos-db-lwt 0.4.0 (pinned)
  - install base                v0.14.3        [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            0.2.3          [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.0.0          [required by azure-cosmos-db, cohttp-lwt-unix]
  - install cohttp-lwt          6.0.0          [required by cohttp-lwt-unix]
  - install cohttp-lwt-unix     6.0.0          [required by azure-cosmos-db-lwt]
  - install conduit             6.2.3          [required by conduit-lwt]
  - install conduit-lwt         6.2.3          [required by cohttp-lwt-unix]
  - install conduit-lwt-unix    6.2.3          [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, zarith]
  - 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 cstruct             6.2.0          [required by mirage-crypto, x509]
  - install domain-name         0.5.0          [required by ipaddr, x509]
  - install dune                3.22.1         [required by azure-cosmos-db-lwt]
  - install dune-configurator   3.22.1         [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.9            [required by 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.0.0          [required by cohttp-lwt-unix]
  - install ipaddr              5.6.2          [required by conduit-lwt-unix]
  - install ipaddr-sexp         5.6.2          [required by conduit-lwt-unix]
  - install logs                0.8.0          [required by cohttp-lwt-unix]
  - install lwt                 5.9.2          [required by azure-cosmos-db-lwt]
  - install lwt_ppx             5.9.1          [required by azure-cosmos-db-lwt]
  - install lwt_ssl             1.2.0          [required by azure-cosmos-db-lwt]
  - install macaddr             5.6.2          [required by ipaddr]
  - install magic-mime          1.3.1          [required by cohttp-lwt-unix]
  - 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 mirage-crypto       0.11.3         [required by ca-certs]
  - install mirage-crypto-ec    0.11.3         [required by x509]
  - install mirage-crypto-pk    0.11.3         [required by x509]
  - install mirage-crypto-rng   0.11.3         [required by x509]
  - install num                 1.6            [required by sexplib]
  - 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 ocplib-endian       1.2            [required by lwt]
  - install parsexp             v0.14.2        [required by sexplib]
  - install pbkdf               1.2.0          [required by x509]
  - install ppx_derivers        1.2.1          [required by ppxlib]
  - install ppx_sexp_conv       v0.14.3        [required by cohttp-lwt-unix]
  - install ppxlib              0.25.1         [required by lwt_ppx]
  - install ptime               1.2.0          [required by ca-certs]
  - install re                  1.11.0         [required by atdgen, cohttp]
  - install rresult             0.7.0          [required by bos]
  - install seq                 base           [required by re]
  - install sexplib             v0.14.0        [required by conduit-lwt]
  - install sexplib0            v0.14.0        [required by cohttp, cohttp-lwt]
  - install ssl                 0.7.0          [required by azure-cosmos-db-lwt]
  - 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                0.16.5         [required by ca-certs]
  - 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 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"
- (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 .../openssl-provider-legacy_3.5.5-1~deb13u2_amd64.deb ...
- Unpacking openssl-provider-legacy (3.5.5-1~deb13u2) over (3.5.5-1~deb13u1) ...
- Setting up openssl-provider-legacy (3.5.5-1~deb13u2) ...
- (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 .../libssl3t64_3.5.5-1~deb13u2_amd64.deb ...
- Unpacking libssl3t64:amd64 (3.5.5-1~deb13u2) over (3.5.5-1~deb13u1) ...
- Setting up libssl3t64:amd64 (3.5.5-1~deb13u2) ...
- 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 ... 20623 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.5-1~deb13u2_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.5.5-1~deb13u2) ...
- Preparing to unpack .../4-openssl_3.5.5-1~deb13u2_amd64.deb ...
- Unpacking openssl (3.5.5-1~deb13u2) over (3.5.5-1~deb13u1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../5-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../6-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../7-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 .../8-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.5-1~deb13u2) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up openssl (3.5.5-1~deb13u2) ...
- 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+deb13u2) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved asn1-combinators.0.2.6  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved atd.4.0.0, atdgen.4.0.0, atdgen-runtime.4.0.0  (cached)
-> retrieved azure-cosmos-db.0.4.0, azure-cosmos-db-lwt.0.4.0  (https://github.com/mknaack/azure-cosmos-db/archive/refs/tags/0.4.0.tar.gz)
-> retrieved base.v0.14.3  (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.0.2.3  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cohttp.6.0.0, cohttp-lwt.6.0.0, cohttp-lwt-unix.6.0.0, http.6.0.0  (cached)
-> retrieved conduit.6.2.3, conduit-lwt.6.2.3, conduit-lwt-unix.6.2.3  (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-pkg-config.4
-> installed conf-gmp.5
-> retrieved csexp.1.5.2  (cached)
-> installed conf-zlib.1
-> installed conf-libssl.4
-> installed conf-gmp-powm-sec.4
-> retrieved cstruct.6.2.0  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> retrieved dune.3.22.1, dune-configurator.3.22.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved easy-format.1.3.4  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved ipaddr.5.6.2, ipaddr-sexp.5.6.2, macaddr.5.6.2  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> installed cmdliner.2.1.0
-> retrieved lwt_ppx.5.9.1  (cached)
-> retrieved lwt_ssl.1.2.0  (cached)
-> retrieved magic-mime.1.3.1  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> retrieved mirage-crypto.0.11.3, mirage-crypto-ec.0.11.3, mirage-crypto-pk.0.11.3, mirage-crypto-rng.0.11.3  (cached)
-> retrieved num.1.6  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved parsexp.v0.14.2  (cached)
-> retrieved pbkdf.1.2.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.14.3  (cached)
-> retrieved ppxlib.0.25.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib.v0.14.0  (cached)
-> retrieved sexplib0.v0.14.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.0.16.5  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved zarith.1.14  (cached)
-> installed num.1.6
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> 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 fpath.0.7.3
-> installed dune.3.22.1
-> installed base64.3.5.2
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed domain-name.0.5.0
-> installed duration.0.2.1
-> installed easy-format.1.3.4
-> installed gmap.0.3.0
-> installed http.6.0.0
-> installed macaddr.5.6.2
-> installed magic-mime.1.3.1
-> 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.11.0
-> installed sexplib0.v0.14.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed yojson.3.0.0
-> installed ocplib-endian.1.2
-> installed asn1-combinators.0.2.6
-> installed eqaf.0.9
-> installed biniou.1.2.2
-> installed ipaddr.5.6.2
-> installed atdgen-runtime.4.0.0
-> installed dune-configurator.3.22.1
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed ssl.0.7.0
-> installed mirage-crypto.0.11.3
-> installed pbkdf.1.2.0
-> installed cryptokit.1.20
-> installed lwt.5.9.2
-> installed lwt_ssl.1.2.0
-> installed uri.4.4.0
-> installed logs.0.8.0
-> installed mirage-crypto-rng.0.11.3
-> installed mirage-crypto-pk.0.11.3
-> installed base.v0.14.3
-> installed menhir.20260209
-> installed bos.0.2.1
-> installed parsexp.v0.14.2
-> installed atd.4.0.0
-> installed sexplib.v0.14.0
-> installed atdgen.4.0.0
-> installed mirage-crypto-ec.0.11.3
-> installed ppxlib.0.25.1
-> installed x509.0.16.5
-> installed ca-certs.0.2.3
-> installed lwt_ppx.5.9.1
-> installed ppx_sexp_conv.v0.14.3
-> installed ipaddr-sexp.5.6.2
-> installed uri-sexp.4.4.0
-> installed conduit.6.2.3
-> installed cohttp.6.0.0
-> installed conduit-lwt.6.2.3
-> installed azure-cosmos-db.0.4.0
-> installed cohttp-lwt.6.0.0
-> installed conduit-lwt-unix.6.2.3
-> installed cohttp-lwt-unix.6.0.0
-> installed azure-cosmos-db-lwt.0.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-11 17:32.57 ---> saved as "05d06e6c19e88e4a68b45a8e7b3d3995586a832a344e0ab83e26b8cd805bdf94"

/home/opam: (env OPAMCRITERIA +removed,+count[version-lag,solution])

/home/opam: (env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])

/home/opam: (env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall azure-cosmos-db-lwt.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 \"\\\"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-lwt.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"))
The following actions will be performed:
=== remove 14 packages
  - remove    angstrom                0.16.1                    [conflicts with dune]
  - remove    atdgen-runtime          4.0.0                     [conflicts with dune]
  - remove    bigstringaf             0.10.0                    [conflicts with dune]
  - remove    camlp-streams           5.0.1                     [conflicts with dune]
  - remove    csexp                   1.5.2                     [conflicts with dune]
  - remove    http                    6.0.0                     [conflicts with dune]
  - remove    menhirCST               20260209                  [conflicts with dune]
  - remove    menhirGLR               20260209                  [conflicts with dune]
  - remove    menhirLib               20260209                  [conflicts with dune]
  - remove    menhirSdk               20260209                  [conflicts with dune]
  - remove    mirage-crypto-ec        0.11.3                    [conflicts with dune]
  - remove    ocaml-syntax-shims      1.0.0                     [conflicts with dune]
  - remove    ocplib-endian           1.2                       [conflicts with dune]
  - remove    pbkdf                   1.2.0                     [conflicts with dune]
=== downgrade 63 packages
  - downgrade asn1-combinators        0.2.6 to 0.2.5            [uses dune]
  - downgrade astring                 0.8.5 to 0.8.3            [uses ocamlfind]
  - downgrade atd                     4.0.0 to 1.1.0            [required by atdgen]
  - downgrade atdgen                  4.0.0 to 1.9.1            [required by azure-cosmos-db]
  - downgrade azure-cosmos-db         0.4.0 to 0.1.2            [required by azure-cosmos-db-lwt]
  - downgrade base                    v0.14.3 to v0.13.0        [uses dune]
  - downgrade base64                  3.5.2 to 3.1.0            [required by azure-cosmos-db]
  - downgrade biniou                  1.2.2 to 1.2.0            [required by atdgen]
  - downgrade bos                     0.2.1 to 0.1.4            [uses ocamlfind]
  - downgrade ca-certs                0.2.3 to 0.2.0            [uses astring]
  - downgrade cmdliner                2.1.0 to 1.0.4            [required by fmt]
  - downgrade cohttp                  6.0.0 to 5.1.0            [required by azure-cosmos-db]
  - downgrade cohttp-lwt              6.0.0 to 5.1.0            [required by cohttp-lwt-unix]
  - downgrade cohttp-lwt-unix         6.0.0 to 5.1.0            [required by azure-cosmos-db-lwt]
  - downgrade conduit                 6.2.3 to 6.1.0            [uses astring]
  - downgrade conduit-lwt             6.2.3 to 6.1.0            [required by cohttp-lwt-unix]
  - downgrade conduit-lwt-unix        6.2.3 to 6.1.0            [required by ocsigenserver]
  - downgrade conf-libssl             4 to 1                    [uses conf-pkg-config]
  - downgrade conf-pkg-config         4 to 1.0                  [required by mirage-crypto]
  - downgrade cppo                    1.8.0 to 1.6.1            [uses jbuilder]
  - downgrade cryptokit               1.20 to 1.14              [required by ocsigenserver]
  - downgrade cstruct                 6.2.0 to 6.0.0            [uses dune]
  - downgrade domain-name             0.5.0 to 0.3.0            [uses astring]
  - downgrade dune                    3.22.1 to 3.21.0          [required by azure-cosmos-db-lwt]
  - downgrade dune-configurator       3.22.1 to 2.5.1           [uses dune]
  - downgrade easy-format             1.3.4 to 1.0.1            [required by atd]
  - downgrade eqaf                    0.9 to 0.8                [uses dune]
  - downgrade fmt                     0.11.0 to 0.8.8           [uses ocamlfind]
  - downgrade fpath                   0.7.3 to 0.7.1            [uses ocamlfind]
  - downgrade ipaddr                  5.6.2 to 5.6.0            [required by ocsigenserver]
  - downgrade ipaddr-sexp             5.6.2 to 5.6.0            [uses dune]
  - downgrade logs                    0.8.0 to 0.7.0            [uses ocamlfind]
  - downgrade lwt                     5.9.2 to 4.2.0            [required by azure-cosmos-db-lwt]
  - downgrade lwt_ppx                 5.9.1 to 2.0.2            [required by azure-cosmos-db-lwt]
  - downgrade lwt_ssl                 1.2.0 to 1.1.1            [required by azure-cosmos-db-lwt]
  - downgrade macaddr                 5.6.2 to 5.6.0            [uses dune]
  - downgrade magic-mime              1.3.1 to 1.0.0            [uses ocamlfind]
  - downgrade menhir                  20260209 to 20160303      [required by atd]
  - downgrade mirage-crypto           0.11.3 to 0.10.7          [uses dune]
  - downgrade mirage-crypto-pk        0.11.3 to 0.10.7          [uses dune]
  - downgrade mirage-crypto-rng       0.11.3 to 0.10.7          [uses dune]
  - downgrade num                     1.6 to 1.5                [required by sexplib]
  - downgrade ocaml-compiler-libs     v0.12.4 to v0.11.0        [uses jbuilder]
  - downgrade ocamlbuild              0.16.1 to 0.14.0          [required by ocamlnet]
  - downgrade ocamlfind               1.9.8 to 1.8.1            [required by ocamlnet, atdgen, ocsigenserver]
  - downgrade parsexp                 v0.14.2 to v0.13.0        [uses dune]
  - downgrade ppx_derivers            1.2.1 to 1.0              [uses jbuilder]
  - downgrade ppx_sexp_conv           v0.14.3 to v0.13.0        [required by cohttp-lwt-unix]
  - downgrade ppxlib                  0.25.1 to 0.17.0          [uses dune]
  - downgrade ptime                   1.2.0 to 0.8.5            [uses ocamlfind]
  - downgrade rresult                 0.7.0 to 0.6.0            [uses ocamlfind]
  - downgrade seq                     base to 0.3               [required by fmt]
  - downgrade sexplib                 v0.14.0 to v0.13.0        [uses dune]
  - downgrade sexplib0                v0.14.0 to v0.13.0        [required by cohttp-lwt]
  - downgrade ssl                     0.7.0 to 0.5.12           [required by azure-cosmos-db-lwt]
  - downgrade stdlib-shims            0.3.0 to 0.1.0            [required by fmt]
  - downgrade stringext               1.6.0 to 1.4.0            [uses ocamlfind]
  - downgrade topkg                   1.1.1 to 1.0.8            [required by hmap]
  - downgrade uri                     4.4.0 to 3.0.0            [required by azure-cosmos-db]
  - downgrade uri-sexp                4.4.0 to 3.0.0            [required by cohttp]
  - downgrade x509                    0.16.5 to 0.11.2          [uses fmt]
  - downgrade yojson                  3.0.0 to 1.5.0            [required by atdgen]
  - downgrade zarith                  1.14 to 1.7-1             [uses ocamlfind]
=== recompile 5 packages
  - recompile azure-cosmos-db-lwt     0.4.0 (pinned)
  - recompile base-bytes              base                      [uses ocamlfind]
  - recompile duration                0.2.1                     [uses dune]
  - recompile gmap                    0.3.0                     [uses dune]
  - recompile re                      1.11.0                    [uses dune]
=== install 22 packages
  - install   bigarray-compat         1.0.0                     [required by asn1-combinators]
  - install   camlzip                 1.07                      [required by ocamlnet, ocsigenserver]
  - install   conf-m4                 1                         [required by ocamlfind]
  - install   conf-perl               1                         [required by zarith]
  - install   conf-which              1                         [required by bos]
  - install   dune-private-libs       2.5.1                     [required by dune-configurator]
  - install   hmap                    0.8.1                     [required by ocsigenserver]
  - install   jbuilder                1.0+beta20.1 (deprecated) [required by lwt_log]
  - install   jsonm                   1.0.2                     [required by cohttp]
  - install   lwt_log                 1.1.0                     [required by ocsigenserver]
  - install   lwt_react               1.0.1                     [required by ocsigenserver]
  - install   mirage-no-solo5         1 (deprecated)            [required by mirage-crypto-pk]
  - install   mirage-no-xen           1 (deprecated)            [required by mirage-crypto-pk]
  - install   mmap                    1.0.2                     [required by lwt]
  - install   mtime                   1.3.0                     [required by mirage-crypto-rng]
  - install   ocaml-migrate-parsetree 2.0.0 (deprecated)        [required by ppxlib]
  - install   ocamlnet                4.1.6                     [required by azure-cosmos-db]
  - install   ocsigenserver           5.1.0                     [required by azure-cosmos-db]
  - install   react                   1.2.2                     [required by ocsigenserver]
  - install   result                  1.5                       [required by lwt]
  - install   uutf                    1.0.3                     [required by jsonm]
  - install   xml-light               2.3                       [required by ocsigenserver]

The following system packages will first need to be installed:
    m4

<><> 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" "m4"
- Selecting previously unselected package m4.
- (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 ... 20874 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.2.5  (cached)
-> retrieved astring.0.8.3  (cached)
-> retrieved atd.1.1.0  (https://opam.ocaml.org/cache)
-> retrieved atdgen.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved azure-cosmos-db.0.1.2  (https://opam.ocaml.org/cache)
-> retrieved azure-cosmos-db-lwt.0.4.0  (cached)
-> retrieved base.v0.13.0  (https://opam.ocaml.org/cache)
-> retrieved base64.3.1.0  (cached)
-> retrieved bigarray-compat.1.0.0  (cached)
-> retrieved biniou.1.2.0  (cached)
-> retrieved bos.0.1.4  (https://opam.ocaml.org/cache)
-> retrieved ca-certs.0.2.0  (https://opam.ocaml.org/cache)
-> retrieved camlzip.1.07  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved cohttp.5.1.0, cohttp-lwt.5.1.0, cohttp-lwt-unix.5.1.0  (cached)
-> retrieved conduit.6.1.0, conduit-lwt.6.1.0, conduit-lwt-unix.6.1.0  (cached)
-> retrieved conf-libssl.1  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-which.1
-> installed conf-perl.1
-> installed conf-m4.1
-> retrieved cryptokit.1.14  (https://opam.ocaml.org/cache)
-> retrieved cstruct.6.0.0  (cached)
-> retrieved domain-name.0.3.0  (cached)
-> retrieved dune.3.21.0  (cached)
-> retrieved dune-configurator.2.5.1, dune-private-libs.2.5.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved easy-format.1.0.1  (cached)
-> retrieved eqaf.0.8  (cached)
-> retrieved fmt.0.8.8  (cached)
-> retrieved fpath.0.7.1  (https://opam.ocaml.org/cache)
-> retrieved gmap.0.3.0  (cached)
-> retrieved hmap.0.8.1  (cached)
-> retrieved ipaddr.5.6.0, ipaddr-sexp.5.6.0, macaddr.5.6.0  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.4.2.0  (cached)
-> retrieved lwt_log.1.1.0  (cached)
-> retrieved lwt_ppx.2.0.2  (cached)
-> retrieved lwt_react.1.0.1  (https://opam.ocaml.org/cache)
-> retrieved lwt_ssl.1.1.1  (https://opam.ocaml.org/cache)
-> retrieved magic-mime.1.0.0  (cached)
-> retrieved menhir.20160303  (cached)
-> retrieved mirage-crypto.0.10.7, mirage-crypto-pk.0.10.7, mirage-crypto-rng.0.10.7  (cached)
-> installed mirage-no-solo5.1
-> installed mirage-no-xen.1
-> retrieved mmap.1.0.2  (cached)
-> retrieved mtime.1.3.0  (cached)
-> retrieved num.1.5  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocaml-migrate-parsetree.2.0.0  (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved ocamlnet.4.1.6  (https://opam.ocaml.org/cache)
-> retrieved ocsigenserver.5.1.0  (https://opam.ocaml.org/cache)
-> retrieved parsexp.v0.13.0  (https://opam.ocaml.org/cache)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved ppx_sexp_conv.v0.13.0  (https://opam.ocaml.org/cache)
-> retrieved ppxlib.0.17.0  (https://opam.ocaml.org/cache)
-> retrieved ptime.0.8.5  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved react.1.2.2  (cached)
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.6.0  (cached)
-> retrieved seq.0.3  (cached)
-> retrieved sexplib.v0.13.0  (https://opam.ocaml.org/cache)
-> retrieved sexplib0.v0.13.0  (cached)
-> retrieved ssl.0.5.12  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved stringext.1.4.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved uri.3.0.0, uri-sexp.3.0.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved x509.0.11.2  (cached)
-> retrieved xml-light.2.3  (https://opam.ocaml.org/cache)
-> retrieved yojson.1.5.0  (cached)
-> retrieved zarith.1.7-1  (cached)
-> installed jbuilder.1.0+beta20.1
-> removed   azure-cosmos-db-lwt.0.4.0
-> removed   azure-cosmos-db.0.4.0
-> removed   atdgen.4.0.0
-> removed   atd.4.0.0
-> removed   atdgen-runtime.4.0.0
-> removed   biniou.1.2.2
-> removed   camlp-streams.5.0.1
-> removed   cohttp-lwt-unix.6.0.0
-> removed   cohttp-lwt.6.0.0
-> removed   cohttp.6.0.0
-> removed   conduit-lwt-unix.6.2.3
-> removed   ca-certs.0.2.3
-> removed   bos.0.2.1
-> removed   conduit-lwt.6.2.3
-> removed   conduit.6.2.3
-> removed   cryptokit.1.20
-> removed   easy-format.1.3.4
-> removed   fpath.0.7.3
-> removed   astring.0.8.5
-> removed   http.6.0.0
-> removed   ipaddr-sexp.5.6.2
-> removed   lwt_ppx.5.9.1
-> removed   lwt_ssl.1.2.0
-> removed   magic-mime.1.3.1
-> removed   menhir.20260209
-> removed   menhirCST.20260209
-> removed   menhirGLR.20260209
-> removed   menhirLib.20260209
-> removed   menhirSdk.20260209
-> removed   re.1.11.0
-> removed   rresult.0.7.0
-> removed   seq.base
-> removed   sexplib.v0.14.0
-> removed   num.1.6
-> removed   parsexp.v0.14.2
-> removed   ssl.0.7.0
-> removed   conf-libssl.4
-> removed   uri-sexp.4.4.0
-> removed   ppx_sexp_conv.v0.14.3
-> removed   base.v0.14.3
-> removed   ppxlib.0.25.1
-> removed   ocaml-compiler-libs.v0.12.4
-> removed   ppx_derivers.1.2.1
-> removed   stdlib-shims.0.3.0
-> removed   uri.4.4.0
-> removed   angstrom.0.16.1
-> removed   bigstringaf.0.10.0
-> removed   ocaml-syntax-shims.1.0.0
-> removed   stringext.1.6.0
-> removed   x509.0.16.5
-> removed   asn1-combinators.0.2.6
-> removed   base64.3.5.2
-> removed   gmap.0.3.0
-> removed   ipaddr.5.6.2
-> removed   domain-name.0.5.0
-> removed   macaddr.5.6.2
-> removed   mirage-crypto-ec.0.11.3
-> removed   mirage-crypto-pk.0.11.3
-> removed   mirage-crypto-rng.0.11.3
-> removed   duration.0.2.1
-> removed   logs.0.8.0
-> removed   lwt.5.9.2
-> removed   ocplib-endian.1.2
-> removed   base-bytes.base
-> removed   cppo.1.8.0
-> removed   pbkdf.1.2.0
-> removed   mirage-crypto.0.11.3
-> removed   dune-configurator.3.22.1
-> removed   csexp.1.5.2
-> removed   eqaf.0.9
-> removed   cstruct.6.2.0
-> removed   fmt.0.11.0
-> removed   cmdliner.2.1.0
-> removed   ptime.1.2.0
-> removed   sexplib0.v0.14.0
-> removed   topkg.1.1.1
-> removed   ocamlbuild.0.16.1
-> removed   yojson.3.0.0
-> removed   dune.3.22.1
-> removed   zarith.1.14
-> removed   conf-pkg-config.4
-> removed   ocamlfind.1.9.8
-> installed conf-pkg-config.1.0
-> installed dune.3.21.0
-> installed num.1.5
-> installed ocaml-compiler-libs.v0.11.0
-> installed ocamlbuild.0.14.0
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed bigarray-compat.1.0.0
-> installed cmdliner.1.0.4
-> installed conf-libssl.1
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed macaddr.5.6.0
-> installed mmap.1.0.2
-> installed ocaml-migrate-parsetree.2.0.0
-> installed ppx_derivers.1.0
-> installed result.1.5
-> installed seq.0.3
-> installed sexplib0.v0.13.0
-> installed stdlib-shims.0.1.0
-> installed easy-format.1.0.1
-> installed base64.3.1.0
-> installed cstruct.6.0.0
-> installed camlzip.1.07
-> installed cppo.1.6.1
-> installed dune-private-libs.2.5.1
-> installed re.1.11.0
-> installed xml-light.2.3
-> installed biniou.1.2.0
-> installed eqaf.0.8
-> installed dune-configurator.2.5.1
-> installed zarith.1.7-1
-> installed yojson.1.5.0
-> installed stringext.1.4.0
-> installed lwt.4.2.0
-> installed magic-mime.1.0.0
-> installed lwt_log.1.1.0
-> installed mirage-crypto.0.10.7
-> installed ssl.0.5.12
-> installed topkg.1.0.8
-> installed lwt_ssl.1.1.1
-> installed hmap.0.8.1
-> installed rresult.0.6.0
-> installed uri.3.0.0
-> installed uutf.1.0.3
-> installed mtime.1.3.0
-> installed fmt.0.8.8
-> installed react.1.2.2
-> installed base.v0.13.0
-> installed astring.0.8.3
-> installed ptime.0.8.5
-> installed domain-name.0.3.0
-> installed jsonm.1.0.2
-> installed asn1-combinators.0.2.5
-> installed ipaddr.5.6.0
-> installed fpath.0.7.1
-> installed logs.0.7.0
-> installed parsexp.v0.13.0
-> installed mirage-crypto-rng.0.10.7
-> installed mirage-crypto-pk.0.10.7
-> installed sexplib.v0.13.0
-> installed cryptokit.1.14
-> installed bos.0.1.4
-> installed lwt_react.1.0.1
-> installed ppxlib.0.17.0
-> installed x509.0.11.2
-> installed ca-certs.0.2.0
-> installed lwt_ppx.2.0.2
-> installed ppx_sexp_conv.v0.13.0
-> installed uri-sexp.3.0.0
-> installed ipaddr-sexp.5.6.0
-> installed conduit.6.1.0
-> installed cohttp.5.1.0
-> installed conduit-lwt.6.1.0
-> installed cohttp-lwt.5.1.0
-> installed conduit-lwt-unix.6.1.0
-> installed menhir.20160303
-> installed cohttp-lwt-unix.5.1.0
-> installed atd.1.1.0
-> installed ocsigenserver.5.1.0
-> installed atdgen.1.9.1
-> installed ocamlnet.4.1.6
-> installed azure-cosmos-db.0.1.2
[ERROR] The compilation of azure-cosmos-db-lwt.0.4.0 failed at "dune build -p azure-cosmos-db-lwt -j 71 @install".

#=== ERROR while compiling azure-cosmos-db-lwt.0.4.0 ==========================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.09.1 | pinned(https://github.com/mknaack/azure-cosmos-db/archive/refs/tags/0.4.0.tar.gz)
# path                 ~/.opam/4.09/.opam-switch/build/azure-cosmos-db-lwt.0.4.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p azure-cosmos-db-lwt -j 71 @install
# exit-code            1
# env-file             ~/.opam/log/azure-cosmos-db-lwt-7-2c3449.env
# output-file          ~/.opam/log/azure-cosmos-db-lwt-7-2c3449.out
### output ###
# File "src/app_config/dune", line 14, characters 2-11:
# 14 |   utilities)
#        ^^^^^^^^^
# Error: Library "utilities" not found.
# -> required by library "azure-cosmos-db-lwt.app-config" in
#    _build/default/src/app_config
# -> required by _build/default/META.azure-cosmos-db-lwt
# -> required by _build/install/default/lib/azure-cosmos-db-lwt/META
# -> required by _build/default/azure-cosmos-db-lwt.install
# -> required by alias install
# (cd _build/default && /home/opam/.opam/4.09/bin/ocamlc.opt -g -bin-annot -I src/cosmos_lwt/.cosmos_lwt.objs/byte -I /home/opam/.opam/4.09/lib/astring -I /home/opam/.opam/4.09/lib/atd -I /home/opam/.opam/4.09/lib/atdgen -I /home/opam/.opam/4.09/lib/azure-cosmos-db -I /home/opam/.opam/4.09/lib/base/caml -I /home/opam/.opam/4.09/lib/base64 -I /home/opam/.opam/4.09/lib/biniou -I /home/opam/.opam/4.09/lib/bytes -I /home/opam/.opam/4.09/lib/cohttp -I /home/opam/.opam/4.09/lib/cohttp-lwt -I /home/opam/.opam/4.09/lib/cohttp-lwt-unix -I /home/opam/.opam/4.09/lib/conduit -I /home/opam/.opam/4.09/lib/conduit-lwt -I /home/opam/.opam/4.09/lib/conduit-lwt-unix -I /home/opam/.opam/4.09/lib/cryptokit -I /home/opam/.opam/4.09/lib/domain-name -I /home/opam/.opam/4.09/lib/easy-format -I /home/opam/.opam/4.09/lib/findlib -I /home/opam/.opam/4.09/lib/fmt -I /home/opam/.opam/4.09/lib/hmap -I /home/opam/.opam/4.09/lib/ipaddr -I /home/opam/.opam/4.09/lib/ipaddr-sexp -I /home/opam/.opam/4.09/lib/ipaddr/unix -I /home/opam/.opam/4.09/lib/logs -I /home/opam/.opam/4.09/lib/lwt -I /home/opam/.opam/4.09/lib/lwt/unix -I /home/opam/.opam/4.09/lib/lwt_log -I /home/opam/.opam/4.09/lib/lwt_log/core -I /home/opam/.opam/4.09/lib/lwt_ssl -I /home/opam/.opam/4.09/lib/macaddr -I /home/opam/.opam/4.09/lib/magic-mime -I /home/opam/.opam/4.09/lib/mmap -I /home/opam/.opam/4.09/lib/netstring -I /home/opam/.opam/4.09/lib/netsys -I /home/opam/.opam/4.09/lib/ocaml/threads -I /home/opam/.opam/4.09/lib/ocsigenserver -I /home/opam/.opam/4.09/lib/ocsigenserver/baselib -I /home/opam/.opam/4.09/lib/ocsigenserver/baselib/base -I /home/opam/.opam/4.09/lib/ocsigenserver/cookies -I /home/opam/.opam/4.09/lib/ocsigenserver/http -I /home/opam/.opam/4.09/lib/ocsigenserver/polytables -I /home/opam/.opam/4.09/lib/parsexp -I /home/opam/.opam/4.09/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.09/lib/re -I /home/opam/.opam/4.09/lib/re/posix -I /home/opam/.opam/4.09/lib/result -I /home/opam/.opam/4.09/lib/seq -I /home/opam/.opam/4.09/lib/sexplib -I /home/opam/.opam/4.09/lib/sexplib0 -I /home/opam/.opam/4.09/lib/ssl -I /home/opam/.opam/4.09/lib/stdlib-shims -I /home/opam/.opam/4.09/lib/stringext -I /home/opam/.opam/4.09/lib/uri -I /home/opam/.opam/4.09/lib/uri-sexp -I /home/opam/.opam/4.09/lib/uri/services -I /home/opam/.opam/4.09/lib/xml-light -I /home/opam/.opam/4.09/lib/yojson -I /home/opam/.opam/4.09/lib/zarith -no-alias-deps -open Cosmos_lwt -o src/cosmos_lwt/.cosmos_lwt.objs/byte/cosmos_lwt__Databases.cmi -c -intf src/cosmos_lwt/databases.pp.mli)
# File "src/cosmos_lwt/databases.mli", line 1, characters 23-53:
# 1 | module type Auth_key = Cosmos.Databases_intf.Auth_key
#                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Error: Unbound module Cosmos.Databases_intf



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build azure-cosmos-db-lwt 0.4.0
+- 
+- The following changes have been performed
| - remove    angstrom                0.16.1
| - remove    atdgen-runtime          4.0.0
| - remove    azure-cosmos-db-lwt     0.4.0
| - remove    bigstringaf             0.10.0
| - remove    camlp-streams           5.0.1
| - remove    csexp                   1.5.2
| - remove    http                    6.0.0
| - remove    menhirCST               20260209
| - remove    menhirGLR               20260209
| - remove    menhirLib               20260209
| - remove    menhirSdk               20260209
| - remove    mirage-crypto-ec        0.11.3
| - remove    ocaml-syntax-shims      1.0.0
| - remove    ocplib-endian           1.2
| - remove    pbkdf                   1.2.0
| - downgrade asn1-combinators        0.2.6 to 0.2.5
| - downgrade astring                 0.8.5 to 0.8.3
| - downgrade atd                     4.0.0 to 1.1.0
| - downgrade atdgen                  4.0.0 to 1.9.1
| - downgrade azure-cosmos-db         0.4.0 to 0.1.2
| - downgrade base                    v0.14.3 to v0.13.0
| - downgrade base64                  3.5.2 to 3.1.0
| - downgrade biniou                  1.2.2 to 1.2.0
| - downgrade bos                     0.2.1 to 0.1.4
| - downgrade ca-certs                0.2.3 to 0.2.0
| - downgrade cmdliner                2.1.0 to 1.0.4
| - downgrade cohttp                  6.0.0 to 5.1.0
| - downgrade cohttp-lwt              6.0.0 to 5.1.0
| - downgrade cohttp-lwt-unix         6.0.0 to 5.1.0
| - downgrade conduit                 6.2.3 to 6.1.0
| - downgrade conduit-lwt             6.2.3 to 6.1.0
| - downgrade conduit-lwt-unix        6.2.3 to 6.1.0
| - downgrade conf-libssl             4 to 1
| - downgrade conf-pkg-config         4 to 1.0
| - downgrade cppo                    1.8.0 to 1.6.1
| - downgrade cryptokit               1.20 to 1.14
| - downgrade cstruct                 6.2.0 to 6.0.0
| - downgrade domain-name             0.5.0 to 0.3.0
| - downgrade dune                    3.22.1 to 3.21.0
| - downgrade dune-configurator       3.22.1 to 2.5.1
| - downgrade easy-format             1.3.4 to 1.0.1
| - downgrade eqaf                    0.9 to 0.8
| - downgrade fmt                     0.11.0 to 0.8.8
| - downgrade fpath                   0.7.3 to 0.7.1
| - downgrade ipaddr                  5.6.2 to 5.6.0
| - downgrade ipaddr-sexp             5.6.2 to 5.6.0
| - downgrade logs                    0.8.0 to 0.7.0
| - downgrade lwt                     5.9.2 to 4.2.0
| - downgrade lwt_ppx                 5.9.1 to 2.0.2
| - downgrade lwt_ssl                 1.2.0 to 1.1.1
| - downgrade macaddr                 5.6.2 to 5.6.0
| - downgrade magic-mime              1.3.1 to 1.0.0
| - downgrade menhir                  20260209 to 20160303
| - downgrade mirage-crypto           0.11.3 to 0.10.7
| - downgrade mirage-crypto-pk        0.11.3 to 0.10.7
| - downgrade mirage-crypto-rng       0.11.3 to 0.10.7
| - downgrade num                     1.6 to 1.5
| - downgrade ocaml-compiler-libs     v0.12.4 to v0.11.0
| - downgrade ocamlbuild              0.16.1 to 0.14.0
| - downgrade ocamlfind               1.9.8 to 1.8.1
| - downgrade parsexp                 v0.14.2 to v0.13.0
| - downgrade ppx_derivers            1.2.1 to 1.0
| - downgrade ppx_sexp_conv           v0.14.3 to v0.13.0
| - downgrade ppxlib                  0.25.1 to 0.17.0
| - downgrade ptime                   1.2.0 to 0.8.5
| - downgrade rresult                 0.7.0 to 0.6.0
| - downgrade seq                     base to 0.3
| - downgrade sexplib                 v0.14.0 to v0.13.0
| - downgrade sexplib0                v0.14.0 to v0.13.0
| - downgrade ssl                     0.7.0 to 0.5.12
| - downgrade stdlib-shims            0.3.0 to 0.1.0
| - downgrade stringext               1.6.0 to 1.4.0
| - downgrade topkg                   1.1.1 to 1.0.8
| - downgrade uri                     4.4.0 to 3.0.0
| - downgrade uri-sexp                4.4.0 to 3.0.0
| - downgrade x509                    0.16.5 to 0.11.2
| - downgrade yojson                  3.0.0 to 1.5.0
| - downgrade zarith                  1.14 to 1.7-1
| - recompile base-bytes              base
| - recompile duration                0.2.1
| - recompile gmap                    0.3.0
| - recompile re                      1.11.0
| - install   bigarray-compat         1.0.0
| - install   camlzip                 1.07
| - install   conf-m4                 1
| - install   conf-perl               1
| - install   conf-which              1
| - install   dune-private-libs       2.5.1
| - install   hmap                    0.8.1
| - install   jbuilder                1.0+beta20.1
| - install   jsonm                   1.0.2
| - install   lwt_log                 1.1.0
| - install   lwt_react               1.0.1
| - install   mirage-no-solo5         1
| - install   mirage-no-xen           1
| - install   mmap                    1.0.2
| - install   mtime                   1.3.0
| - install   ocaml-migrate-parsetree 2.0.0
| - install   ocamlnet                4.1.6
| - install   ocsigenserver           5.1.0
| - install   react                   1.2.2
| - install   result                  1.5
| - install   uutf                    1.0.3
| - install   xml-light               2.3
+- 

<><> ocaml-migrate-parsetree.2.0.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.

<><> mirage-no-xen.1 installed successfully <><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.

<><> mirage-no-solo5.1 installed successfully <><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.

<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# 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.09/.opam-switch/backup/state-20260411173258.export"
Or you can retry to install your package selection with:
    /usr/bin/opam install --restore
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall azure-cosmos-db-lwt.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 "\"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-lwt.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:35.41: Job failed: Failed: Build failed
2026-04-11 17:35.41: Log analysis:
2026-04-11 17:35.41: >>> 
[ERROR] The compilation of azure-cosmos-db-lwt.0.4.0 failed at "dune build -p azure-cosmos-db-lwt -j 71 @install".
 (score = 20)
2026-04-11 17:35.41: >>> 
# Error: Library "utilities" not found.
 (score = 48)
2026-04-11 17:35.41: >>> 
# Error: Unbound module Cosmos.Databases_intf
 (score = 48)
2026-04-11 17:35.41: Library "utilities" not found.