(for PR #28894)

2025-11-14 15:10.50: New job: test opentelemetry-lwt.0.7 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-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/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-5.4@sha256:0b68f45799a4ff0af182b78277d652e076097f37cbcb04aa9d74bfbd7d300e58
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 opentelemetry-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-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-lwt.0.7) || true
RUN opam reinstall --with-test --verbose opentelemetry-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-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 .

2025-11-14 15:10.50: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:0b68f45799a4ff0af182b78277d652e076097f37cbcb04aa9d74bfbd7d300e58-lwt.6.0.0-beta01-opentelemetry-lwt.0.7-b3a6ad64ea3115b9993ddd431f777dde4e6ec63f"
2025-11-14 15:10.50: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:0b68f45799a4ff0af182b78277d652e076097f37cbcb04aa9d74bfbd7d300e58)
 (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 opentelemetry-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-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-lwt.0.7) || true"))
 (run (shell  "opam reinstall --with-test --verbose opentelemetry-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-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"))
)

2025-11-14 15:10.50: Waiting for resource in pool OCluster
2025-11-14 15:21.52: Waiting for worker…
2025-11-14 15:27.05: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files:  76% (14271/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-5.4@sha256:0b68f45799a4ff0af182b78277d652e076097f37cbcb04aa9d74bfbd7d300e58)
2025-11-14 15:27.26 ---> using "9f1bc9b76367c8d29be355965b06cbbd4aeb05818e6e1915136daad8eabad361" 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 15:27.26 ---> using "7167cf2609d50147b3cfe8b00e0f1981e785c56c3c47bd6356e0f3732d6bafd7" 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 15:27.26 ---> using "db7b310c65b31b91b9590efe8919a126934a7e42418115cd912ed2612662d318" 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       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
2025-11-14 15:27.26 ---> using "370daf58656f453890b2ebe0d8367763e6fea8bbb7471d68f3d783ad40f9e8ee" 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 15:27.26 ---> using "d7d7d34009e7cd5bb4f41663ceab70bbd4c419269902dabc72ab91552d36d91d" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-14 15:27.28 ---> using "f4e0d154356e420692cfb10cd4c9ed97b3fcf07a48747b5f2231088722b5f868" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-14 15:27.28 ---> using "a78aa14caebefb8ed0eb62f4e7f186d11e21cc8bd0f230f1dd3f71f819f9ee76" 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 (1259 kB/s)
- Reading package lists...
- 
2025-11-14 15:27.28 ---> using "2bf2182934e4625955cb0125ab1be29f9d725c5244e58f4af6292536d339099c" 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 15:27.28 ---> using "bad90ce549ec42ab94c0724f208b28f5f088e63a0725e1999e3ed4ce8671fd52" 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 15:27.28 ---> using "ab4fcf7261abdce9b871a0cec5a55dcde4f58e70a210d9246bdd073f337a938f" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall opentelemetry-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-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-lwt.0.7 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 13 packages
  - install ambient-context     0.1.0   [required by opentelemetry-lwt]
  - install lwt_ppx             5.9.2   [required by opentelemetry-lwt]
  - install ocaml-compiler-libs v0.17.0 [required by ppxlib]
  - install ocamlbuild          0.16.1  [required by ptime]
  - install opentelemetry       0.7     [required by opentelemetry-lwt]
  - install opentelemetry-lwt   0.7
  - install pbrt                3.1.1   [required by opentelemetry]
  - install ppx_derivers        1.2.1   [required by ppxlib]
  - install ppxlib              0.37.0  [required by lwt_ppx]
  - install ptime               1.2.0   [required by opentelemetry]
  - install sexplib0            v0.17.0 [required by ppxlib]
  - install stdlib-shims        0.3.0   [required by ppxlib, pbrt]
  - install topkg               1.1.1   [required by ptime]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ambient-context.0.1.0  (cached)
-> retrieved lwt_ppx.5.9.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved opentelemetry.0.7, opentelemetry-lwt.0.7  (cached)
-> retrieved pbrt.3.1.1  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ptime.1.2.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed ambient-context.0.1.0
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed pbrt.3.1.1
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed ptime.1.2.0
-> installed opentelemetry.0.7
-> installed ppxlib.0.37.0
-> installed lwt_ppx.5.9.2
[ERROR] The compilation of opentelemetry-lwt.0.7 failed at "dune build -p opentelemetry-lwt -j 71 --promote-install-files=false @install".

#=== ERROR while compiling opentelemetry-lwt.0.7 ==============================#
# context              2.5.0~alpha1 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.4/.opam-switch/build/opentelemetry-lwt.0.7
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p opentelemetry-lwt -j 71 --promote-install-files=false @install
# exit-code            1
# env-file             ~/.opam/log/opentelemetry-lwt-7-285e52.env
# output-file          ~/.opam/log/opentelemetry-lwt-7-285e52.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 -g -bin-annot -bin-annot-occurrences -I src/lwt/.opentelemetry_lwt.objs/byte -I /home/opam/.opam/5.4/lib/ambient-context -I /home/opam/.opam/5.4/lib/ambient-context/core -I /home/opam/.opam/5.4/lib/lwt -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/opentelemetry -I /home/opam/.opam/5.4/lib/opentelemetry/atomic -I /home/opam/.opam/5.4/lib/opentelemetry/proto -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 -no-alias-deps -o src/lwt/.opentelemetry_lwt.objs/byte/opentelemetry_lwt.cmo -c -impl src/lwt/opentelemetry_lwt.pp.ml)
# File "src/lwt/opentelemetry_lwt.ml", lines 26-33, characters 4-16:
# 26 | ....try%lwt
# 27 |       let* rv = thunk () in
# 28 |       let () = finally (Ok ()) in
# 29 |       Lwt.return rv
# 30 |     with e ->
# 31 |       let bt = Printexc.get_raw_backtrace () in
# 32 |       let () = finally (Error (Printexc.to_string e, bt)) in
# 33 |       Lwt.fail e
# Error: This expression should not be a function, the expected type is string



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build opentelemetry-lwt 0.7
+- 
+- The following changes have been performed
| - install ambient-context     0.1.0
| - install lwt_ppx             5.9.2
| - install ocaml-compiler-libs v0.17.0
| - install ocamlbuild          0.16.1
| - install opentelemetry       0.7
| - install pbrt                3.1.1
| - install ppx_derivers        1.2.1
| - install ppxlib              0.37.0
| - install ptime               1.2.0
| - install sexplib0            v0.17.0
| - install stdlib-shims        0.3.0
| - install topkg               1.1.1
+- 
# 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-20251114152729.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 opentelemetry-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-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
2025-11-14 15:29.12: Job failed: Failed: Build failed
2025-11-14 15:29.12: Log analysis:
2025-11-14 15:29.12: >>> 
[ERROR] The compilation of opentelemetry-lwt.0.7 failed at "dune build -p opentelemetry-lwt -j 71 --promote-install-files=false @install".
 (score = 20)
2025-11-14 15:29.12: >>> 
# Error: This expression should not be a function, the expected type is string
 (score = 48)
2025-11-14 15:29.12: This expression should not be a function, the expected type is string