(for PR #28894)

2025-11-14 15:11.19: New job: test azure-cosmos-db.0.1.6 with lwt.6.0.0-beta01, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28894/head (b3a6ad64ea3115b9993ddd431f777dde4e6ec63f)
                              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/28894/head" && git reset --hard b3a6ad64
git fetch origin master
git merge --no-edit 2ec6d6cc9216d1f4ec93aec16f34d7a35a7ef543
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e
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 lwt.6.0.0-beta01 6.0.0-beta01
RUN opam reinstall lwt.6.0.0-beta01; \
    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" != 'lwt.6.0.0-beta01' && 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.1.6; \
    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.1.6' && 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.1.6) || true
RUN opam reinstall --with-test --verbose azure-cosmos-db.0.1.6; \
    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.1.6' && 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-11-14 15:11.19: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e-lwt.6.0.0-beta01-azure-cosmos-db.0.1.6-b3a6ad64ea3115b9993ddd431f777dde4e6ec63f"
2025-11-14 15:11.19: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e)
 (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 lwt.6.0.0-beta01 6.0.0-beta01"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt.6.0.0-beta01;\
             \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\" != 'lwt.6.0.0-beta01' && 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.1.6;\
             \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.1.6' && 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.1.6) || true"))
 (run (shell  "opam reinstall --with-test --verbose azure-cosmos-db.0.1.6;\
             \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.1.6' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-11-14 15:11.19: Waiting for resource in pool OCluster
2025-11-14 16:30.53: Waiting for worker…
2025-11-14 16:37.28: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  72% (13591/18769)
Updating files:  73% (13702/18769)
Updating files:  74% (13890/18769)
Updating files:  75% (14077/18769)
Updating files:  76% (14265/18769)
Updating files:  77% (14453/18769)
Updating files:  78% (14640/18769)
Updating files:  79% (14828/18769)
Updating files:  80% (15016/18769)
Updating files:  81% (15203/18769)
Updating files:  82% (15391/18769)
Updating files:  83% (15579/18769)
Updating files:  84% (15766/18769)
Updating files:  85% (15954/18769)
Updating files:  86% (16142/18769)
Updating files:  87% (16330/18769)
Updating files:  88% (16517/18769)
Updating files:  89% (16705/18769)
Updating files:  90% (16893/18769)
Updating files:  91% (17080/18769)
Updating files:  92% (17268/18769)
Updating files:  93% (17456/18769)
Updating files:  94% (17643/18769)
Updating files:  95% (17831/18769)
Updating files:  96% (18019/18769)
Updating files:  97% (18206/18769)
Updating files:  98% (18394/18769)
Updating files:  99% (18582/18769)
Updating files: 100% (18769/18769)
Updating files: 100% (18769/18769), done.
HEAD is now at 2ec6d6cc92 Merge pull request #28891 from c-cube/release-moonpool-v0.10
Updating 2ec6d6cc92..b3a6ad64ea
Fast-forward
 packages/lwt/lwt.6.0.0-beta01/opam                 | 66 ++++++++++++++++++++++
 packages/lwt_direct/lwt_direct.6.0.0-beta01/opam   | 42 ++++++++++++++
 packages/lwt_ppx/lwt_ppx.6.0.0-beta01/opam         | 43 ++++++++++++++
 .../lwt_runtime_events.6.0.0-beta01/opam           | 40 +++++++++++++
 4 files changed, 191 insertions(+)
 create mode 100644 packages/lwt/lwt.6.0.0-beta01/opam
 create mode 100644 packages/lwt_direct/lwt_direct.6.0.0-beta01/opam
 create mode 100644 packages/lwt_ppx/lwt_ppx.6.0.0-beta01/opam
 create mode 100644 packages/lwt_runtime_events/lwt_runtime_events.6.0.0-beta01/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e)
2025-11-14 16:37.41 ---> using "0a7782df646ba17c4c91deb7545267f63c19555df9b225a0640862ce540c1383" 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-11-14 16:37.41 ---> using "e3cc97f3c946abac4036e9918a15af8cd2359775cb282137405852a83e5e4ac5" 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-11-14 16:37.41 ---> using "b3771c9b2a97061bcd39a540eb46c8c9391a701a6a2417777709d0e8bcafecec" 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~alpha1
# 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-11-14 16:37.41 ---> using "8b9250364ffb330fc85473d01676fcba0e45f4a15f62098ec06ae23bfca0fd04" 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-11-14 16:37.41 ---> using "324936077a47671067794cc83def947ee8a01c92aab91da2d8bb3576676449b4" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-14 16:37.43 ---> using "30dc30ac1b4f48124c0de509329559f55130f5df01b33ff3908a7bc236663dce" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-14 16:37.43 ---> using "ee09d2afa8da6f5f6af77d0216b2a5b52af357966d838d421021879b57c2f37a" 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 [71.4 kB]
- Fetched 162 kB in 0s (1671 kB/s)
- Reading package lists...
- 
2025-11-14 16:37.43 ---> using "2137eb5b3aecf5224e61e37ff834a4c90be62ce1fb178139730ee66a2b359eb2" from cache

/home/opam: (run (shell "opam pin add -k version -yn lwt.6.0.0-beta01 6.0.0-beta01"))
lwt is now pinned to version 6.0.0-beta01
2025-11-14 16:37.43 ---> using "d255c6a4cefc3406938875936573a442584f6bdd7c49c5eca2ccb30f2beaf77b" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt.6.0.0-beta01;\
                        \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\" != 'lwt.6.0.0-beta01' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lwt.6.0.0-beta01 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
  - install base-bytes        base                  [required by ocplib-endian]
  - install cppo              1.8.0                 [required by lwt]
  - install csexp             1.5.2                 [required by dune-configurator]
  - install dune              3.20.2                [required by lwt]
  - install dune-configurator 3.20.2                [required by lwt]
  - install lwt               6.0.0-beta01 (pinned)
  - install ocamlfind         1.9.8                 [required by base-bytes]
  - install ocplib-endian     1.2                   [required by lwt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved lwt.6.0.0-beta01  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.2
-> installed lwt.6.0.0-beta01
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-14 16:37.43 ---> using "bd6fe0f663df2d2003d87a5d00e89c4f2a244d2bb5d1000424fa6ec0d002f686" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall azure-cosmos-db.0.1.6;\
                        \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.1.6' && 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.1.6 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 72 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                 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.1.6
  - install base                v0.16.4            [required by ppx_sexp_conv]
  - install base64              3.5.2              [required by azure-cosmos-db]
  - install bigstringaf         0.10.0             [required by angstrom]
  - install biniou              1.2.2              [required by atdgen]
  - install 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.0.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 zarith, conf-gmp-powm-sec]
  - install conf-gmp-powm-sec   4                  [required by cryptokit]
  - install conf-pkg-config     4                  [required by conf-zlib]
  - install conf-zlib           1                  [required by cryptokit]
  - install cryptokit           1.20               [required by azure-cosmos-db]
  - install cstruct             6.2.0              [required by tls]
  - install domain-name         0.5.0              [required by tls]
  - 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, tls]
  - install fpath               0.7.3              [required by ca-certs]
  - install gmap                0.3.0              [required by x509]
  - install hkdf                1.0.4 (deprecated) [required by tls]
  - install http                6.1.1              [required by cohttp, cohttp-lwt-unix]
  - install ipaddr              5.6.1              [required by tls]
  - install ipaddr-sexp         5.6.1              [required by conduit-lwt-unix]
  - install logs                0.10.0             [required by cohttp-lwt-unix, cohttp, tls]
  - install lwt_ppx             5.9.1              [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       0.11.3             [required by tls]
  - install mirage-crypto-ec    0.11.3             [required by tls]
  - install mirage-crypto-pk    0.11.3             [required by tls]
  - install mirage-crypto-rng   0.11.3             [required by tls]
  - 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 ocamlnet]
  - install ocamlnet            4.1.9-2            [required by azure-cosmos-db]
  - install pbkdf               1.2.0              [required by x509]
  - 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 stdlib-shims        0.3.0              [required by ppxlib]
  - install stringext           1.6.0              [required by cohttp]
  - install tls                 0.17.5             [required by azure-cosmos-db]
  - 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 tls]
  - 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 pkg-config zlib1g-dev

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

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

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config" "zlib1g-dev"
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 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 pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../6-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-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 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.2.6  (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.1.6  (https://opam.ocaml.org/cache)
-> 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.0.2.3  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.2.0.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
-> 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)
-> installed camlp-streams.5.0.1
-> retrieved cryptokit.1.20  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved cstruct.6.2.0  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> installed conf-gmp-powm-sec.4
-> installed conf-zlib.1
-> retrieved easy-format.1.3.4  (cached)
-> retrieved eqaf.0.9  (cached)
-> installed bigstringaf.0.10.0
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved hkdf.1.0.4  (cached)
-> retrieved ipaddr.5.6.1, ipaddr-sexp.5.6.1, macaddr.5.6.1  (cached)
-> retrieved logs.0.10.0  (cached)
-> installed http.6.1.1
-> installed domain-name.0.5.0
-> installed duration.0.2.1
-> retrieved lwt_ppx.5.9.1  (cached)
-> retrieved magic-mime.1.3.1  (cached)
-> installed gmap.0.3.0
-> installed easy-format.1.3.4
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> installed macaddr.5.6.1
-> installed biniou.1.2.2
-> installed menhirCST.20250912
-> installed magic-mime.1.3.1
-> 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 ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed menhirSdk.20250912
-> installed menhirLib.20250912
-> installed ipaddr.5.6.1
-> retrieved ocamlnet.4.1.9-2  (cached)
-> retrieved pbkdf.1.2.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> installed ocaml-syntax-shims.1.0.0
-> retrieved ppxlib.0.35.0  (cached)
-> installed ocaml-compiler-libs.v0.12.4
-> 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 stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> installed angstrom.0.16.1
-> retrieved tls.0.17.5  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> installed stdlib-shims.0.3.0
-> retrieved x509.0.16.5  (cached)
-> installed stringext.1.6.0
-> retrieved yojson.2.2.2  (cached)
-> retrieved zarith.1.14  (cached)
-> installed cmdliner.2.0.0
-> installed re.1.14.0
-> installed sexplib0.v0.16.0
-> installed uri.4.4.0
-> installed yojson.2.2.2
-> installed atdgen-runtime.2.16.0
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed cryptokit.1.20
-> installed base.v0.16.4
-> 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 cstruct.6.2.0
-> installed eqaf.0.9
-> installed logs.0.10.0
-> installed fpath.0.7.3
-> installed asn1-combinators.0.2.6
-> installed menhir.20250912
-> installed mirage-crypto.0.11.3
-> installed hkdf.1.0.4
-> installed bos.0.2.1
-> installed pbkdf.1.2.0
-> installed mirage-crypto-rng.0.11.3
-> installed mirage-crypto-pk.0.11.3
-> installed atd.2.16.0
-> installed ppxlib.0.35.0
-> installed atdgen.2.15.0
-> installed lwt_ppx.5.9.1
-> installed ppx_sexp_conv.v0.16.0
-> installed mirage-crypto-ec.0.11.3
-> installed ipaddr-sexp.5.6.1
-> installed uri-sexp.4.4.0
-> installed x509.0.16.5
-> installed ca-certs.0.2.3
-> installed conduit.8.0.0
-> installed tls.0.17.5
-> 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 ocamlnet.4.1.9-2
[ERROR] The compilation of azure-cosmos-db.0.1.6 failed at "dune build -p azure-cosmos-db -j 71".

#=== ERROR while compiling azure-cosmos-db.0.1.6 ==============================#
# context              2.5.0~alpha1 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/azure-cosmos-db.0.1.6
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p azure-cosmos-db -j 71
# exit-code            1
# env-file             ~/.opam/log/azure-cosmos-db-7-97e3de.env
# output-file          ~/.opam/log/azure-cosmos-db-7-97e3de.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.cosmos.objs/byte -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/atdgen -I /home/opam/.opam/4.14/lib/atdgen-runtime -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/biniou -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/camlp-streams -I /home/opam/.opam/4.14/lib/cohttp -I /home/opam/.opam/4.14/lib/cohttp-lwt -I /home/opam/.opam/4.14/lib/cohttp-lwt-unix -I /home/opam/.opam/4.14/lib/conduit -I /home/opam/.opam/4.14/lib/conduit-lwt -I /home/opam/.opam/4.14/lib/conduit-lwt-unix -I /home/opam/.opam/4.14/lib/cryptokit -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/easy-format -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/http -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/ipaddr-sexp -I /home/opam/.opam/4.14/lib/ipaddr/unix -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/logs/fmt -I /home/opam/.opam/4.14/lib/logs/lwt -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/magic-mime -I /home/opam/.opam/4.14/lib/netstring -I /home/opam/.opam/4.14/lib/netsys -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uri-sexp -I /home/opam/.opam/4.14/lib/uri/services -I /home/opam/.opam/4.14/lib/yojson -I /home/opam/.opam/4.14/lib/zarith -intf-suffix .ml -no-alias-deps -open Cosmos -o src/.cosmos.objs/byte/cosmos__Databases.cmo -c -impl src/databases.pp.ml)
# File "src/databases.ml", lines 181-184, characters 4-33:
# 181 | ....let%lwt exists = get name in
# 182 |     match exists with
# 183 |     | (404, _) -> create name
# 184 |     | result -> Lwt.return result
# Error: This expression should not be a function, the expected type is string
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/.cosmos.objs/byte -I src/.cosmos.objs/native -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/atdgen -I /home/opam/.opam/4.14/lib/atdgen-runtime -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/biniou -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/camlp-streams -I /home/opam/.opam/4.14/lib/cohttp -I /home/opam/.opam/4.14/lib/cohttp-lwt -I /home/opam/.opam/4.14/lib/cohttp-lwt-unix -I /home/opam/.opam/4.14/lib/conduit -I /home/opam/.opam/4.14/lib/conduit-lwt -I /home/opam/.opam/4.14/lib/conduit-lwt-unix -I /home/opam/.opam/4.14/lib/cryptokit -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/easy-format -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/http -I /home/opam/.opam/4.14/lib/http/__private__/http_bytebuffer -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/ipaddr-sexp -I /home/opam/.opam/4.14/lib/ipaddr/unix -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/logs/fmt -I /home/opam/.opam/4.14/lib/logs/lwt -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/magic-mime -I /home/opam/.opam/4.14/lib/netstring -I /home/opam/.opam/4.14/lib/netsys -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uri-sexp -I /home/opam/.opam/4.14/lib/uri/services -I /home/opam/.opam/4.14/lib/yojson -I /home/opam/.opam/4.14/lib/zarith -intf-suffix .ml -no-alias-deps -open Cosmos -o src/.cosmos.objs/native/cosmos__Databases.cmx -c -impl src/databases.pp.ml)
# File "src/databases.ml", lines 181-184, characters 4-33:
# 181 | ....let%lwt exists = get name in
# 182 |     match exists with
# 183 |     | (404, _) -> create name
# 184 |     | result -> Lwt.return result
# Error: This expression should not be a function, the expected type is string



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build azure-cosmos-db 0.1.6
+- 
+- The following changes have been performed
| - install angstrom            0.16.1
| - install asn1-combinators    0.2.6
| - install astring             0.8.5
| - install atd                 2.16.0
| - install atdgen              2.15.0
| - install atdgen-runtime      2.16.0
| - install base                v0.16.4
| - install base64              3.5.2
| - install bigstringaf         0.10.0
| - install biniou              1.2.2
| - install bos                 0.2.1
| - install ca-certs            0.2.3
| - install camlp-streams       5.0.1
| - install cmdliner            2.0.0
| - install cohttp              6.1.1
| - install cohttp-lwt          6.1.1
| - install cohttp-lwt-unix     6.1.1
| - install conduit             8.0.0
| - install conduit-lwt         8.0.0
| - install conduit-lwt-unix    8.0.0
| - install conf-gmp            5
| - install conf-gmp-powm-sec   4
| - install conf-pkg-config     4
| - install conf-zlib           1
| - install cryptokit           1.20
| - install cstruct             6.2.0
| - install domain-name         0.5.0
| - install duration            0.2.1
| - install easy-format         1.3.4
| - install eqaf                0.9
| - install fmt                 0.11.0
| - install fpath               0.7.3
| - install gmap                0.3.0
| - install hkdf                1.0.4
| - install http                6.1.1
| - install ipaddr              5.6.1
| - install ipaddr-sexp         5.6.1
| - install logs                0.10.0
| - install lwt_ppx             5.9.1
| - install macaddr             5.6.1
| - install magic-mime          1.3.1
| - install menhir              20250912
| - install menhirCST           20250912
| - install menhirLib           20250912
| - install menhirSdk           20250912
| - install mirage-crypto       0.11.3
| - install mirage-crypto-ec    0.11.3
| - install mirage-crypto-pk    0.11.3
| - install mirage-crypto-rng   0.11.3
| - install ocaml-compiler-libs v0.12.4
| - install ocaml-syntax-shims  1.0.0
| - install ocamlbuild          0.16.1
| - install ocamlnet            4.1.9-2
| - install pbkdf               1.2.0
| - install ppx_derivers        1.2.1
| - install ppx_sexp_conv       v0.16.0
| - install ppxlib              0.35.0
| - install ptime               1.2.0
| - install re                  1.14.0
| - install rresult             0.7.0
| - install seq                 base
| - install sexplib0            v0.16.0
| - install stdlib-shims        0.3.0
| - install stringext           1.6.0
| - install tls                 0.17.5
| - install topkg               1.1.1
| - install uri                 4.4.0
| - install uri-sexp            4.4.0
| - install x509                0.16.5
| - install yojson              2.2.2
| - install zarith              1.14
+- 

<><> hkdf.1.0.4 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.14/.opam-switch/backup/state-20251114163744.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall azure-cosmos-db.0.1.6;
        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.1.6' && 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
2025-11-14 16:40.48: Job failed: Failed: Build failed
2025-11-14 16:40.48: Log analysis:
2025-11-14 16:40.48: >>> 
[ERROR] The compilation of azure-cosmos-db.0.1.6 failed at "dune build -p azure-cosmos-db -j 71".
 (score = 20)
2025-11-14 16:40.48: >>> 
# Error: This expression should not be a function, the expected type is string
 (score = 48)
2025-11-14 16:40.48: >>> 
# Error: This expression should not be a function, the expected type is string
 (score = 48)
2025-11-14 16:40.48: This expression should not be a function, the expected type is string