- github
- ocaml
- opam-repository
- bda2fd
- extras,ocaml-4.14-fp,azure-cosmos-db.0.4.0,tests
(not at the head of any monitored branch or PR)
2026-04-11 17:31.10: New job: test azure-cosmos-db.0.4.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29682/head (bda2fd0485aa4e02adb1de5e7fed6109282303ad)
on debian-13-ocaml-4.14-fp/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.14-fp@sha256:7020b172af5205541ac206422a233bfb5624ebb9650c0cdfc5c40854ca908e7b
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn azure-cosmos-db.0.4.0 0.4.0
RUN opam reinstall azure-cosmos-db.0.4.0; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"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.4.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test azure-cosmos-db.0.4.0) || true
RUN opam reinstall --with-test --verbose azure-cosmos-db.0.4.0; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"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.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.10: Using cache hint "ocaml/opam:debian-13-ocaml-4.14-fp@sha256:7020b172af5205541ac206422a233bfb5624ebb9650c0cdfc5c40854ca908e7b-azure-cosmos-db.0.4.0-bda2fd0485aa4e02adb1de5e7fed6109282303ad"
2026-04-11 17:31.10: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-fp@sha256:7020b172af5205541ac206422a233bfb5624ebb9650c0cdfc5c40854ca908e7b)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn azure-cosmos-db.0.4.0 0.4.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall azure-cosmos-db.0.4.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"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.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test azure-cosmos-db.0.4.0) || true"))
(run (shell "opam reinstall --with-test --verbose azure-cosmos-db.0.4.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"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.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.10: Waiting for resource in pool OCluster
2026-04-11 17:31.15: Waiting for worker…
2026-04-11 17:31.18: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at c18adeb75d Merge pull request #29698 from daysv/release-sm-0.1.1
Updating c18adeb75d..bda2fd0485
Fast-forward
.../azure-cosmos-db-eio.0.4.0/opam | 51 ++++++++++++++++++++++
.../azure-cosmos-db-lwt.0.4.0/opam | 50 +++++++++++++++++++++
.../azure-cosmos-db/azure-cosmos-db.0.4.0/opam | 47 ++++++++++++++++++++
3 files changed, 148 insertions(+)
create mode 100644 packages/azure-cosmos-db-eio/azure-cosmos-db-eio.0.4.0/opam
create mode 100644 packages/azure-cosmos-db-lwt/azure-cosmos-db-lwt.0.4.0/opam
create mode 100644 packages/azure-cosmos-db/azure-cosmos-db.0.4.0/opam
(from ocaml/opam:debian-13-ocaml-4.14-fp@sha256:7020b172af5205541ac206422a233bfb5624ebb9650c0cdfc5c40854ca908e7b)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14-fp@sha256:7020b172af5205541ac206422a233bfb5624ebb9650c0cdfc5c40854ca908e7b' locally
docker.io/ocaml/opam@sha256:7020b172af5205541ac206422a233bfb5624ebb9650c0cdfc5c40854ca908e7b: Pulling from ocaml/opam
8f6ad858d0a4: Pulling fs layer
9cb5e198c8cf: Pulling fs layer
2d346d36dcf2: Pulling fs layer
cdc35e289b8d: Pulling fs layer
8f6ad858d0a4: Waiting
aeb7244bb580: Pulling fs layer
9cb5e198c8cf: Waiting
2d346d36dcf2: Waiting
fc1943254a0d: Pulling fs layer
84238c416f8e: Pulling fs layer
cdc35e289b8d: Waiting
aeb7244bb580: Waiting
fc1943254a0d: Waiting
fbbfe75d3112: Pulling fs layer
221fdc5d9929: Pulling fs layer
84238c416f8e: Waiting
fbbfe75d3112: Waiting
1fec9149b52a: Pulling fs layer
9c6e52557f24: Pulling fs layer
8737f5036aae: Pulling fs layer
d69c4074de14: Pulling fs layer
9c6e52557f24: Waiting
221fdc5d9929: Waiting
7237152a5f04: Pulling fs layer
8737f5036aae: Waiting
1fec9149b52a: Waiting
fba4b414d8a0: Pulling fs layer
7237152a5f04: Waiting
40d552afb3ef: Pulling fs layer
077cc17dc8e4: Pulling fs layer
40d552afb3ef: Waiting
fba4b414d8a0: Waiting
077cc17dc8e4: Waiting
169e1be36a55: Pulling fs layer
0a8a005097ab: Pulling fs layer
169e1be36a55: Waiting
caba3ec4b361: Pulling fs layer
6a364dc641f8: Pulling fs layer
0a8a005097ab: Waiting
caba3ec4b361: Waiting
4f4fb700ef54: Pulling fs layer
ab8052928cdc: Pulling fs layer
f5717a28dd6a: Pulling fs layer
4f4fb700ef54: Waiting
ab8052928cdc: Waiting
79233a9b9bed: Pulling fs layer
6a364dc641f8: Waiting
f5717a28dd6a: Waiting
d832d53e7392: Pulling fs layer
1872dad82243: Pulling fs layer
bfd849b08ba7: Pulling fs layer
79233a9b9bed: Waiting
834a8024ef15: Pulling fs layer
d832d53e7392: Waiting
98ccec79258b: Pulling fs layer
bfd849b08ba7: Waiting
834a8024ef15: Waiting
1872dad82243: Waiting
fb48f36a0542: Pulling fs layer
3688b13db8e7: Pulling fs layer
a5c099f5f72c: Pulling fs layer
1ff1760de5b0: Pulling fs layer
fb48f36a0542: Waiting
a5c099f5f72c: Waiting
3688b13db8e7: Waiting
98eec6764aa5: Pulling fs layer
aa22ae69debd: Pulling fs layer
12bfb7b962a2: Pulling fs layer
1ff1760de5b0: Waiting
98eec6764aa5: Waiting
ec25ce9bb816: Pulling fs layer
aa22ae69debd: Waiting
12bfb7b962a2: Waiting
beadd3cf7357: Pulling fs layer
d0d0c65a426d: Pulling fs layer
5bfd5b1ed008: Pulling fs layer
beadd3cf7357: Waiting
d0d0c65a426d: Waiting
3038c0eb3fc5: Pulling fs layer
6660b80223f6: Pulling fs layer
5bfd5b1ed008: Waiting
b7e39f58c8d6: Pulling fs layer
6660b80223f6: Waiting
b7e39f58c8d6: Waiting
8f6ad858d0a4: Verifying Checksum
8f6ad858d0a4: Download complete
9cb5e198c8cf: Download complete
2d346d36dcf2: Verifying Checksum
2d346d36dcf2: Download complete
cdc35e289b8d: Verifying Checksum
cdc35e289b8d: Download complete
aeb7244bb580: Verifying Checksum
aeb7244bb580: Download complete
8f6ad858d0a4: Pull complete
9cb5e198c8cf: Pull complete
2d346d36dcf2: Pull complete
cdc35e289b8d: Pull complete
aeb7244bb580: Pull complete
84238c416f8e: Verifying Checksum
fbbfe75d3112: Verifying Checksum
fbbfe75d3112: Download complete
221fdc5d9929: Verifying Checksum
221fdc5d9929: Download complete
1fec9149b52a: Verifying Checksum
1fec9149b52a: Download complete
9c6e52557f24: Verifying Checksum
9c6e52557f24: Download complete
8737f5036aae: Verifying Checksum
8737f5036aae: Download complete
d69c4074de14: Verifying Checksum
d69c4074de14: Download complete
7237152a5f04: Verifying Checksum
7237152a5f04: Download complete
fba4b414d8a0: Download complete
40d552afb3ef: Verifying Checksum
40d552afb3ef: Download complete
077cc17dc8e4: Download complete
169e1be36a55: Verifying Checksum
169e1be36a55: Download complete
0a8a005097ab: Download complete
caba3ec4b361: Download complete
6a364dc641f8: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
ab8052928cdc: Verifying Checksum
f5717a28dd6a: Verifying Checksum
f5717a28dd6a: Download complete
79233a9b9bed: Verifying Checksum
79233a9b9bed: Download complete
d832d53e7392: Verifying Checksum
d832d53e7392: Download complete
1872dad82243: Download complete
bfd849b08ba7: Verifying Checksum
bfd849b08ba7: Download complete
834a8024ef15: Verifying Checksum
834a8024ef15: Download complete
98ccec79258b: Verifying Checksum
fb48f36a0542: Download complete
3688b13db8e7: Verifying Checksum
3688b13db8e7: Download complete
a5c099f5f72c: Verifying Checksum
a5c099f5f72c: Download complete
1ff1760de5b0: Download complete
aa22ae69debd: Verifying Checksum
aa22ae69debd: Download complete
98eec6764aa5: Verifying Checksum
98eec6764aa5: Download complete
ec25ce9bb816: Verifying Checksum
ec25ce9bb816: Download complete
beadd3cf7357: Verifying Checksum
beadd3cf7357: Download complete
d0d0c65a426d: Verifying Checksum
d0d0c65a426d: Download complete
5bfd5b1ed008: Verifying Checksum
5bfd5b1ed008: Download complete
3038c0eb3fc5: Download complete
6660b80223f6: Verifying Checksum
6660b80223f6: Download complete
b7e39f58c8d6: Verifying Checksum
b7e39f58c8d6: Download complete
fc1943254a0d: Verifying Checksum
fc1943254a0d: Download complete
12bfb7b962a2: Verifying Checksum
12bfb7b962a2: Download complete
fc1943254a0d: Pull complete
84238c416f8e: Pull complete
fbbfe75d3112: Pull complete
221fdc5d9929: Pull complete
1fec9149b52a: Pull complete
9c6e52557f24: Pull complete
8737f5036aae: Pull complete
d69c4074de14: Pull complete
7237152a5f04: Pull complete
fba4b414d8a0: Pull complete
40d552afb3ef: Pull complete
077cc17dc8e4: Pull complete
169e1be36a55: Pull complete
0a8a005097ab: Pull complete
caba3ec4b361: Pull complete
6a364dc641f8: Pull complete
4f4fb700ef54: Pull complete
ab8052928cdc: Pull complete
f5717a28dd6a: Pull complete
79233a9b9bed: Pull complete
d832d53e7392: Pull complete
1872dad82243: Pull complete
bfd849b08ba7: Pull complete
834a8024ef15: Pull complete
98ccec79258b: Pull complete
fb48f36a0542: Pull complete
3688b13db8e7: Pull complete
a5c099f5f72c: Pull complete
1ff1760de5b0: Pull complete
98eec6764aa5: Pull complete
aa22ae69debd: Pull complete
12bfb7b962a2: Pull complete
ec25ce9bb816: Pull complete
beadd3cf7357: Pull complete
d0d0c65a426d: Pull complete
5bfd5b1ed008: Pull complete
3038c0eb3fc5: Pull complete
6660b80223f6: Pull complete
b7e39f58c8d6: Pull complete
Digest: sha256:7020b172af5205541ac206422a233bfb5624ebb9650c0cdfc5c40854ca908e7b
Status: Downloaded newer image for ocaml/opam@sha256:7020b172af5205541ac206422a233bfb5624ebb9650c0cdfc5c40854ca908e7b
2026-04-11 17:40.28 ---> saved as "29aee3078b3442d5c77866b3f571eb1bae72fc5f6077433b973e45d3563e70bd"
/: (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:40.28 ---> saved as "d8a2cebe22ad82f5440f481cb6c163af4f9231726327f3b6e9507bf4b68e46a1"
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-11 17:40.52 ---> saved as "68ac624830e80a8669c46ac2ef1ec8c29d8c4138abc06d8cc09e0429d9e9ff8d"
/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 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-options-only-fp"]
# compiler-packages ocaml-option-fp.1, ocaml-options-only-fp.1, ocaml-variants.4.14.3+options
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.3+options+fp
2026-04-11 17:40.53 ---> saved as "24c212d7218955b3f18f63d9705a535ca37311fbebd6b22ca847a57f9d9091f6"
/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:41.04 ---> saved as "abb79b5a4c1aae77ab8067d5682dc7a6527c128b87e75a9f7869ef17425c55b3"
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 17:41.10 ---> saved as "342f7ce3e88f596479ca5b4c17fbaaf96c534c4785b80b97f1d82223d7d3c290"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-11 17:41.30 ---> saved as "3ca154cdceb7cc07f6172aae388b9c13e4a00ce66d50c6ea100af1ac1981404d"
/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 (879 kB/s)
- Reading package lists...
2026-04-11 17:41.31 ---> saved as "e520567a94b5b18c326fbaf8ced0fb6f2fc6318cee16ad6251337087dacd1dda"
/home/opam: (run (shell "opam pin add -k version -yn azure-cosmos-db.0.4.0 0.4.0"))
azure-cosmos-db is now pinned to version 0.4.0
2026-04-11 17:41.32 ---> saved as "e15b8d2d1700273654e6c1699712d898490a7668e64941fbe863219f165528de"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall azure-cosmos-db.0.4.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"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.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
azure-cosmos-db.0.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 47 packages
- install angstrom 0.16.1 [required by uri]
- install atd 4.0.0 [required by atdgen]
- install atdgen 4.0.0 [required by azure-cosmos-db]
- install atdgen-runtime 4.0.0 [required by atdgen]
- install azure-cosmos-db 0.4.0 (pinned)
- install base v0.16.4 [required by ppx_sexp_conv]
- install base64 3.5.2 [required by azure-cosmos-db]
- install bigstringaf 0.10.0 [required by angstrom]
- install biniou 1.2.2 [required by atdgen]
- install camlp-streams 5.0.1 [required by biniou]
- install cmdliner 2.1.0 [required by atd, logs]
- install cohttp 6.2.1 [required by azure-cosmos-db]
- install conf-gmp 5 [required by conf-gmp-powm-sec, zarith]
- install conf-gmp-powm-sec 4 [required by cryptokit]
- install conf-pkg-config 4 [required by conf-zlib, zarith]
- install conf-zlib 1 [required by cryptokit]
- install cryptokit 1.21.1 [required by azure-cosmos-db]
- install csexp 1.5.2 [required by dune-configurator]
- install domain-name 0.5.0 [required by ipaddr]
- install dune 3.22.1 [required by azure-cosmos-db]
- install dune-configurator 3.22.1 [required by cryptokit]
- install easy-format 1.3.4 [required by atd]
- install http 6.2.1 [required by cohttp]
- install ipaddr 5.6.2 [required by cohttp]
- install logs 0.10.0 [required by cohttp]
- install macaddr 5.6.2 [required by ipaddr]
- install menhir 20260209 [required by atd]
- install menhirCST 20260209 [required by menhir]
- install menhirGLR 20260209 [required by menhir]
- install menhirLib 20260209 [required by menhir]
- install menhirSdk 20260209 [required by menhir]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ocaml-syntax-shims 1.0.0 [required by angstrom]
- install ocamlbuild 0.16.1 [required by logs]
- install ocamlfind 1.9.8 [required by logs, zarith]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_sexp_conv v0.16.0 [required by cohttp]
- install ppxlib 0.35.0 [required by ppx_sexp_conv]
- install re 1.14.0 [required by atdgen, cohttp]
- install sexplib0 v0.16.0 [required by cohttp]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install stringext 1.6.0 [required by cohttp]
- install topkg 1.1.1 [required by logs]
- install uri 4.4.0 [required by azure-cosmos-db]
- install uri-sexp 4.4.0 [required by cohttp]
- install yojson 3.0.0 [required by atdgen]
- install zarith 1.14 [required by cryptokit]
The following system packages will first need to be installed:
libgmp-dev pkg-config zlib1g-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config" "zlib1g-dev"
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 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 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+deb13u2) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1 (cached)
-> retrieved atd.4.0.0, atdgen.4.0.0, atdgen-runtime.4.0.0 (cached)
-> retrieved azure-cosmos-db.0.4.0 (cached)
-> retrieved base.v0.16.4 (cached)
-> retrieved base64.3.5.2 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved biniou.1.2.2 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.2.1.0 (cached)
-> retrieved cohttp.6.2.1, http.6.2.1 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-gmp-powm-sec.4 (cached)
-> retrieved cryptokit.1.21.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-name.0.5.0 (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed conf-gmp-powm-sec.4
-> installed conf-zlib.1
-> retrieved dune.3.22.1, dune-configurator.3.22.1 (cached)
-> retrieved easy-format.1.3.4 (cached)
-> retrieved ipaddr.5.6.2, macaddr.5.6.2 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> installed cmdliner.2.1.0
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.16.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> retrieved zarith.1.14 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.1.1
-> installed logs.0.10.0
-> installed dune.3.22.1
-> installed base64.3.5.2
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed domain-name.0.5.0
-> installed easy-format.1.3.4
-> installed http.6.2.1
-> installed macaddr.5.6.2
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed ppx_derivers.1.2.1
-> installed re.1.14.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed yojson.3.0.0
-> installed 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 cryptokit.1.21.1
-> installed uri.4.4.0
-> installed base.v0.16.4
-> installed menhir.20260209
-> installed atd.4.0.0
-> installed atdgen.4.0.0
-> installed ppxlib.0.35.0
-> installed ppx_sexp_conv.v0.16.0
-> installed uri-sexp.4.4.0
-> installed cohttp.6.2.1
-> installed azure-cosmos-db.0.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-11 17:42.29 ---> saved as "db654aa221e8413202569189dcf97fc702400c9af6cb77a91c843fd0c3826203"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test azure-cosmos-db.0.4.0) || true"))
The following actions will be performed:
=== downgrade 1 package
- downgrade cmdliner 2.1.0 to 1.3.0 [required by bisect_ppx]
=== recompile 5 packages
- recompile atd 4.0.0 [uses cmdliner]
- recompile atdgen 4.0.0 [uses atd]
- recompile azure-cosmos-db 0.4.0 (pinned)
- recompile cohttp 6.2.1 [uses logs]
- recompile logs 0.10.0 [uses cmdliner]
=== install 1 package
- install bisect_ppx 2.8.3 [required by azure-cosmos-db]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved atd.4.0.0, atdgen.4.0.0 (https://opam.ocaml.org/cache)
-> retrieved azure-cosmos-db.0.4.0 (https://github.com/mknaack/azure-cosmos-db/archive/refs/tags/0.4.0.tar.gz)
-> retrieved bisect_ppx.2.8.3 (https://opam.ocaml.org/cache)
-> retrieved cmdliner.1.3.0 (https://opam.ocaml.org/cache)
-> retrieved cohttp.6.2.1 (https://opam.ocaml.org/cache)
-> retrieved logs.0.10.0 (https://opam.ocaml.org/cache)
-> removed azure-cosmos-db.0.4.0
-> removed atdgen.4.0.0
-> removed atd.4.0.0
-> removed cohttp.6.2.1
-> removed logs.0.10.0
-> removed cmdliner.2.1.0
-> installed cmdliner.1.3.0
-> installed logs.0.10.0
-> installed atd.4.0.0
-> installed cohttp.6.2.1
-> installed bisect_ppx.2.8.3
-> installed atdgen.4.0.0
[ERROR] The compilation of azure-cosmos-db.0.4.0 failed at "dune build -p azure-cosmos-db -j 255 @install @runtest".
#=== ERROR while compiling azure-cosmos-db.0.4.0 ==============================#
# context 2.5.0 | linux/x86_64 | ocaml-options-only-fp.1 | pinned(https://github.com/mknaack/azure-cosmos-db/archive/refs/tags/0.4.0.tar.gz)
# path ~/.opam/4.14/.opam-switch/build/azure-cosmos-db.0.4.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p azure-cosmos-db -j 255 @install @runtest
# exit-code 1
# env-file ~/.opam/log/azure-cosmos-db-7-230bdb.env
# output-file ~/.opam/log/azure-cosmos-db-7-230bdb.out
### output ###
# File "test/eio/dune", line 3, characters 51-59:
# 3 | (libraries test_core azure-cosmos-db-eio alcotest eio_main utilities)
# ^^^^^^^^
# Error: Library "eio_main" not found.
# -> required by _build/default/test/eio/test.exe
# -> required by alias test/eio/runtest-test in test/eio/dune:2
# -> required by alias test/eio/runtest
# File "test/lwt/dune", line 3, characters 65-75:
# 3 | (libraries test_core azure-cosmos-db-lwt alcotest-lwt utilities app_config)
# ^^^^^^^^^^
# Error: Library "app_config" not found.
# -> required by _build/default/test/lwt/test.exe
# -> required by alias test/lwt/runtest-test in test/lwt/dune:2
# -> required by alias test/lwt/runtest
# File "test/lwt/dune", line 7, characters 7-14:
# 7 | (pps lwt_ppx)))
# ^^^^^^^
# Error: Library "lwt_ppx" not found.
# -> required by _build/default/test/lwt/.merlin-conf/exe-test
# -> required by _build/default/test/lwt/test.exe
# -> required by alias test/lwt/runtest-test in test/lwt/dune:2
# -> required by alias test/lwt/runtest
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build azure-cosmos-db 0.4.0
+-
+- The following changes have been performed
| - remove azure-cosmos-db 0.4.0
| - downgrade cmdliner 2.1.0 to 1.3.0
| - recompile atd 4.0.0
| - recompile atdgen 4.0.0
| - recompile cohttp 6.2.1
| - recompile logs 0.10.0
| - install bisect_ppx 2.8.3
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260411174229.export"
Or you can retry to install your package selection with:
/usr/bin/opam install --restore
2026-04-11 17:42.43 ---> saved as "c6beabd045fdd1e867e8b1c1f93cc3ff36bf21765aea2d6d161845bf20fa36db"
/home/opam: (run (shell "opam reinstall --with-test --verbose azure-cosmos-db.0.4.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"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.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
azure-cosmos-db.0.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install azure-cosmos-db 0.4.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/3: [azure-cosmos-db.0.4.0: extract]
-> retrieved azure-cosmos-db.0.4.0 (cached)
Processing 2/3: [azure-cosmos-db: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "azure-cosmos-db" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/azure-cosmos-db.0.4.0)
- File "test/eio/dune", line 3, characters 51-59:
- 3 | (libraries test_core azure-cosmos-db-eio alcotest eio_main utilities)
- ^^^^^^^^
- Error: Library "eio_main" not found.
- -> required by _build/default/test/eio/test.exe
- -> required by alias test/eio/runtest-test in test/eio/dune:2
- -> required by alias test/eio/runtest
- File "test/lwt/dune", line 3, characters 65-75:
- 3 | (libraries test_core azure-cosmos-db-lwt alcotest-lwt utilities app_config)
- ^^^^^^^^^^
- Error: Library "app_config" not found.
- -> required by _build/default/test/lwt/test.exe
- -> required by alias test/lwt/runtest-test in test/lwt/dune:2
- -> required by alias test/lwt/runtest
- File "test/lwt/dune", line 7, characters 7-14:
- 7 | (pps lwt_ppx)))
- ^^^^^^^
- Error: Library "lwt_ppx" not found.
- -> required by _build/default/test/lwt/.merlin-conf/exe-test
- -> required by _build/default/test/lwt/test.exe
- -> required by alias test/lwt/runtest-test in test/lwt/dune:2
- -> required by alias test/lwt/runtest
[ERROR] The compilation of azure-cosmos-db.0.4.0 failed at "dune build -p azure-cosmos-db -j 255 @install @runtest".
#=== ERROR while compiling azure-cosmos-db.0.4.0 ==============================#
# context 2.5.0 | linux/x86_64 | ocaml-options-only-fp.1 | pinned(https://github.com/mknaack/azure-cosmos-db/archive/refs/tags/0.4.0.tar.gz)
# path ~/.opam/4.14/.opam-switch/build/azure-cosmos-db.0.4.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p azure-cosmos-db -j 255 @install @runtest
# exit-code 1
# env-file ~/.opam/log/azure-cosmos-db-7-e2e17f.env
# output-file ~/.opam/log/azure-cosmos-db-7-e2e17f.out
### output ###
# File "test/eio/dune", line 3, characters 51-59:
# 3 | (libraries test_core azure-cosmos-db-eio alcotest eio_main utilities)
# ^^^^^^^^
# Error: Library "eio_main" not found.
# -> required by _build/default/test/eio/test.exe
# -> required by alias test/eio/runtest-test in test/eio/dune:2
# -> required by alias test/eio/runtest
# File "test/lwt/dune", line 3, characters 65-75:
# 3 | (libraries test_core azure-cosmos-db-lwt alcotest-lwt utilities app_config)
# ^^^^^^^^^^
# Error: Library "app_config" not found.
# -> required by _build/default/test/lwt/test.exe
# -> required by alias test/lwt/runtest-test in test/lwt/dune:2
# -> required by alias test/lwt/runtest
# File "test/lwt/dune", line 7, characters 7-14:
# 7 | (pps lwt_ppx)))
# ^^^^^^^
# Error: Library "lwt_ppx" not found.
# -> required by _build/default/test/lwt/.merlin-conf/exe-test
# -> required by _build/default/test/lwt/test.exe
# -> required by alias test/lwt/runtest-test in test/lwt/dune:2
# -> required by alias test/lwt/runtest
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build azure-cosmos-db 0.4.0
+-
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose azure-cosmos-db.0.4.0' failed.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose azure-cosmos-db.0.4.0;
res=$?;
test "$res" != 31 && exit "$res";
export OPAMCLI=2.0;
build_dir=$(opam var prefix)/.opam-switch/build;
failed=$(ls "$build_dir");
partial_fails="";
for pkg in $failed; do
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"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.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:42.53: Job failed: Failed: Build failed
2026-04-11 17:42.53: Log analysis:
2026-04-11 17:42.53: >>>
[ERROR] The compilation of azure-cosmos-db.0.4.0 failed at "dune build -p azure-cosmos-db -j 255 @install @runtest".
(score = 20)
2026-04-11 17:42.53: >>>
# Error: Library "eio_main" not found.
(score = 48)
2026-04-11 17:42.53: >>>
# Error: Library "app_config" not found.
(score = 48)
2026-04-11 17:42.53: >>>
# Error: Library "lwt_ppx" not found.
(score = 48)
2026-04-11 17:42.53: >>>
[ERROR] The compilation of azure-cosmos-db.0.4.0 failed at "dune build -p azure-cosmos-db -j 255 @install @runtest".
(score = 20)
2026-04-11 17:42.53: >>>
# Error: Library "eio_main" not found.
(score = 48)
2026-04-11 17:42.53: >>>
# Error: Library "app_config" not found.
(score = 48)
2026-04-11 17:42.53: >>>
# Error: Library "lwt_ppx" not found.
(score = 48)
2026-04-11 17:42.53: Library "eio_main" not found.