2026-02-18 14:09.39: New job: test opentelemetry-cohttp-lwt.0.7 with ambient-context.0.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29418/head (918be552fb423202b7bb8628e34edf8b9e4bffc5)
on debian-13-ocaml-5.4/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/29418/head" && git reset --hard 918be552
git fetch origin master
git merge --no-edit 0431a98cc2177cbcc88e0937fe5b1b48e457e990
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c
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 ambient-context.0.2 0.2
RUN opam reinstall ambient-context.0.2; \
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" != 'ambient-context.0.2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall opentelemetry-cohttp-lwt.0.7; \
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" != 'opentelemetry-cohttp-lwt.0.7' && 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 opentelemetry-cohttp-lwt.0.7) || true
RUN opam reinstall --with-test --verbose opentelemetry-cohttp-lwt.0.7; \
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" != 'opentelemetry-cohttp-lwt.0.7' && 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-02-18 14:09.39: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c-ambient-context.0.2-opentelemetry-cohttp-lwt.0.7-918be552fb423202b7bb8628e34edf8b9e4bffc5"
2026-02-18 14:09.39: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
(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 ambient-context.0.2 0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ambient-context.0.2;\
\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\" != 'ambient-context.0.2' && 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 opentelemetry-cohttp-lwt.0.7;\
\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\" != 'opentelemetry-cohttp-lwt.0.7' && 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 opentelemetry-cohttp-lwt.0.7) || true"))
(run (shell "opam reinstall --with-test --verbose opentelemetry-cohttp-lwt.0.7;\
\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\" != 'opentelemetry-cohttp-lwt.0.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-02-18 14:09.39: Waiting for resource in pool OCluster
2026-02-18 14:09.39: Waiting for worker…
2026-02-18 14:09.39: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 0431a98cc2 Merge pull request #29419 from dinosaure/release-hxd-v0.4.0
Merge made by the 'ort' strategy.
.../ambient-context-eio.0.2/opam | 42 +++++++++++++++++++
.../ambient-context-lwt.0.2/opam | 42 +++++++++++++++++++
packages/ambient-context/ambient-context.0.2/opam | 48 ++++++++++++++++++++++
3 files changed, 132 insertions(+)
create mode 100644 packages/ambient-context-eio/ambient-context-eio.0.2/opam
create mode 100644 packages/ambient-context-lwt/ambient-context-lwt.0.2/opam
create mode 100644 packages/ambient-context/ambient-context.0.2/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
2026-02-18 14:09.58 ---> using "3c18c9e472a4f76bc128dc0a5a1e21158ba3dbd0d6773ace6ec33f0cfe6fac9b" 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-02-18 14:09.58 ---> using "7a3442ad99cd957e3ce65df65cad40aee4354c6d524c7813b8b589bc410c187e" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-02-18 14:09.58 ---> using "4214446d06a5b764dff5167574d07a5b4441731262795df63d7a3c5f64e1a189" 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 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2026-02-18 14:09.58 ---> using "8bf276ecf196c09ac4fb294f887dce47d9744c212aabbbad5d313f0a4179272a" 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-02-18 14:09.58 ---> using "c04e3f046c8eaf07d3d8f4b30debe47a6f7742bcdbfbfeb4d464149613cd35cd" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-18 14:09.59 ---> using "2a8a815df32fe72a83d5242d6f05dd264149561ff5cac3122e3e7594ee03819f" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-18 14:10.14 ---> saved as "bd342f36ba9b77a7f18d2058f7c2dc1417b0c093651c940e63e6cc1eaa8ab6f4"
/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 [108 kB]
- Fetched 199 kB in 0s (1304 kB/s)
- Reading package lists...
2026-02-18 14:10.15 ---> saved as "1167e7bb133ecefc190a91769886bb399d6dd46f97549f966072ccea83cf55b1"
/home/opam: (run (shell "opam pin add -k version -yn ambient-context.0.2 0.2"))
ambient-context is now pinned to version 0.2
2026-02-18 14:10.15 ---> saved as "aa02ed8bbf092b905b808a6247506c6ccc7056a98102a74e30df9ea418dc9d3d"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ambient-context.0.2;\
\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\" != 'ambient-context.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ambient-context.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
- install ambient-context 0.2 (pinned)
- install dune 3.21.1 [required by ambient-context]
- install hmap 0.8.1 [required by ambient-context]
- install ocamlbuild 0.16.1 [required by hmap]
- install ocamlfind 1.9.8 [required by hmap]
- install topkg 1.1.1 [required by hmap]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ambient-context.0.2 (cached)
-> retrieved dune.3.21.1 (cached)
-> retrieved hmap.0.8.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved topkg.1.1.1 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed hmap.0.8.1
-> installed dune.3.21.1
-> installed ambient-context.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-18 14:10.37 ---> saved as "05a10ada17af4aa6639b5946e655ce78742fba67341eda402fc37c0b7c42b6a9"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall opentelemetry-cohttp-lwt.0.7;\
\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\" != 'opentelemetry-cohttp-lwt.0.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
opentelemetry-cohttp-lwt.0.7 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 34 packages
- install angstrom 0.16.1 [required by uri]
- install base v0.17.3 [required by ppx_sexp_conv]
- install base-bytes base [required by cohttp]
- install base64 3.5.2 [required by cohttp]
- install bigstringaf 0.10.0 [required by angstrom]
- install cohttp 5.3.1 [required by cohttp-lwt]
- install cohttp-lwt 5.3.0 [required by opentelemetry-cohttp-lwt]
- install cppo 1.8.0 [required by lwt]
- install csexp 1.5.2 [required by dune-configurator]
- install dune-configurator 3.21.1 [required by lwt]
- install jsonm 1.0.2 [required by cohttp]
- install logs 0.10.0 [required by cohttp-lwt]
- install lwt 6.1.0 [required by opentelemetry-cohttp-lwt]
- install lwt_ppx 6.1.0 [required by opentelemetry-lwt]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml-syntax-shims 1.0.0 [required by angstrom]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ocplib-endian 1.2 [required by lwt]
- install opentelemetry 0.7 [required by opentelemetry-cohttp-lwt]
- install opentelemetry-cohttp-lwt 0.7
- install opentelemetry-lwt 0.7 [required by opentelemetry-cohttp-lwt]
- install pbrt 3.1.1 [required by opentelemetry]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_sexp_conv v0.17.1 [required by cohttp-lwt]
- install ppxlib 0.37.0 [required by lwt_ppx]
- install ppxlib_jane v0.17.4 [required by ppx_sexp_conv]
- install ptime 1.2.0 [required by opentelemetry]
- install re 1.14.0 [required by cohttp]
- install sexplib0 v0.17.0 [required by cohttp-lwt]
- install stdlib-shims 0.3.0 [required by pbrt]
- install stringext 1.6.0 [required by cohttp]
- install uri 4.4.0 [required by cohttp-lwt]
- install uri-sexp 4.4.0 [required by cohttp]
- install uutf 1.0.4 [required by jsonm]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1 (cached)
-> retrieved base.v0.17.3 (cached)
-> installed base-bytes.base
-> retrieved base64.3.5.2 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved cohttp.5.3.1 (cached)
-> retrieved cohttp-lwt.5.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed base64.3.5.2
-> installed csexp.1.5.2
-> retrieved dune-configurator.3.21.1 (cached)
-> installed cppo.1.8.0
-> retrieved jsonm.1.0.2 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved lwt.6.1.0, lwt_ppx.6.1.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved opentelemetry.0.7, opentelemetry-cohttp-lwt.0.7, opentelemetry-lwt.0.7 (cached)
-> retrieved pbrt.3.1.1 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.17.1 (cached)
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ocplib-endian.1.2
-> retrieved ppxlib.0.37.0 (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib_jane.v0.17.4 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> installed stringext.1.6.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed uutf.1.0.4
-> installed dune-configurator.3.21.1
-> installed pbrt.3.1.1
-> installed re.1.14.0
-> installed ptime.1.2.0
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed jsonm.1.0.2
[ERROR] The compilation of opentelemetry.0.7 failed at "dune build -p opentelemetry -j 255 --promote-install-files=false @install".
-> installed uri.4.4.0
-> installed lwt.6.1.0
-> installed logs.0.10.0
-> installed base.v0.17.3
-> installed ppxlib.0.37.0
-> installed ppxlib_jane.v0.17.4
-> installed lwt_ppx.6.1.0
-> installed ppx_sexp_conv.v0.17.1
-> installed uri-sexp.4.4.0
-> installed cohttp.5.3.1
-> installed cohttp-lwt.5.3.0
#=== ERROR while compiling opentelemetry.0.7 ==================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/opentelemetry.0.7
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p opentelemetry -j 255 --promote-install-files=false @install
# exit-code 1
# env-file ~/.opam/log/opentelemetry-7-3af65f.env
# output-file ~/.opam/log/opentelemetry-7-3af65f.out
### output ###
# (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -warn-error -a+8 -w +a-4-30-40-41-42-44-48-70 -strict-sequence -warn-error -a+8 -g -bin-annot -bin-annot-occurrences -I src/core/.opentelemetry.objs/byte -I /home/opam/.opam/5.4/lib/ambient-context -I /home/opam/.opam/5.4/lib/ambient-context/atomic -I /home/opam/.opam/5.4/lib/ambient-context/core -I /home/opam/.opam/5.4/lib/hmap -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/pbrt -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/ptime/clock -I src/atomic/.opentelemetry_atomic.objs/byte -I src/proto/.opentelemetry_proto.objs/byte -no-alias-deps -open Opentelemetry__ -o src/core/.opentelemetry.objs/byte/opentelemetry.cmo -c -impl src/core/opentelemetry.ml)
# File "src/core/opentelemetry.ml", line 696, characters 28-47:
# 696 | let ambient_scope_key : t Ambient_context.key = Ambient_context.create_key ()
# ^^^^^^^^^^^^^^^^^^^
# Error: Unbound type constructor Ambient_context.key
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build opentelemetry 0.7
+-
+- The following changes have been performed (the rest was aborted)
| - install angstrom 0.16.1
| - install base v0.17.3
| - install base-bytes base
| - install base64 3.5.2
| - install bigstringaf 0.10.0
| - install cohttp 5.3.1
| - install cohttp-lwt 5.3.0
| - install cppo 1.8.0
| - install csexp 1.5.2
| - install dune-configurator 3.21.1
| - install jsonm 1.0.2
| - install logs 0.10.0
| - install lwt 6.1.0
| - install lwt_ppx 6.1.0
| - install ocaml-compiler-libs v0.17.0
| - install ocaml-syntax-shims 1.0.0
| - install ocaml_intrinsics_kernel v0.17.1
| - install ocplib-endian 1.2
| - install pbrt 3.1.1
| - install ppx_derivers 1.2.1
| - install ppx_sexp_conv v0.17.1
| - install ppxlib 0.37.0
| - install ppxlib_jane v0.17.4
| - install ptime 1.2.0
| - install re 1.14.0
| - install sexplib0 v0.17.0
| - install stdlib-shims 0.3.0
| - install stringext 1.6.0
| - install uri 4.4.0
| - install uri-sexp 4.4.0
| - install uutf 1.0.4
+-
# 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/5.4/.opam-switch/backup/state-20260218141038.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.
opam-repo-ci detected dependencies failing: opentelemetry.0.7
"/usr/bin/env" "bash" "-c" "opam reinstall opentelemetry-cohttp-lwt.0.7;
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" != 'opentelemetry-cohttp-lwt.0.7' && 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-02-18 14:11.11: Job failed: Failed: Build failed
2026-02-18 14:11.11: Log analysis:
2026-02-18 14:11.11: >>>
[ERROR] The compilation of opentelemetry.0.7 failed at "dune build -p opentelemetry -j 255 --promote-install-files=false @install".
(score = 20)
2026-02-18 14:11.11: >>>
# Error: Unbound type constructor Ambient_context.key
(score = 48)
2026-02-18 14:11.11: >>>
opam-repo-ci detected dependencies failing: opentelemetry.0.7
(score = 75)
2026-02-18 14:11.11: opentelemetry.0.7 failed to build