(for PR #28894)

2025-11-14 15:10.50: New job: test opentelemetry-client-cohttp-lwt.0.10 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-client-cohttp-lwt.0.10; \
    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-client-cohttp-lwt.0.10' && 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-client-cohttp-lwt.0.10) || true
RUN opam reinstall --with-test --verbose opentelemetry-client-cohttp-lwt.0.10; \
    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-client-cohttp-lwt.0.10' && 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-client-cohttp-lwt.0.10-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-client-cohttp-lwt.0.10;\
             \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-client-cohttp-lwt.0.10' && 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-client-cohttp-lwt.0.10) || true"))
 (run (shell  "opam reinstall --with-test --verbose opentelemetry-client-cohttp-lwt.0.10;\
             \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-client-cohttp-lwt.0.10' && 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:22.23: Waiting for worker…
2025-11-14 15:27.27: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files:  65% (12297/18769)
Updating files:  66% (12388/18769)
Updating files:  67% (12576/18769)
Updating files:  68% (12763/18769)
Updating files:  69% (12951/18769)
Updating files:  70% (13139/18769)
Updating files:  71% (13326/18769)
Updating files:  72% (13514/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-5.4@sha256:0b68f45799a4ff0af182b78277d652e076097f37cbcb04aa9d74bfbd7d300e58)
2025-11-14 15:28.02 ---> 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:28.02 ---> 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:28.02 ---> 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:28.02 ---> 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:28.02 ---> using "d7d7d34009e7cd5bb4f41663ceab70bbd4c419269902dabc72ab91552d36d91d" from cache

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

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall opentelemetry-client-cohttp-lwt.0.10;\
                        \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-client-cohttp-lwt.0.10' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
opentelemetry-client-cohttp-lwt.0.10 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 63 packages
  - install ambient-context                 0.1.0   [required by opentelemetry]
  - install angstrom                        0.16.1  [required by uri]
  - install asn1-combinators                0.3.2   [required by x509]
  - install astring                         0.8.5   [required by conduit]
  - install base                            v0.17.3 [required by ppx_sexp_conv]
  - install base64                          3.5.2   [required by cohttp]
  - install bigstringaf                     0.10.0  [required by angstrom]
  - install bos                             0.2.1   [required by ca-certs]
  - install ca-certs                        1.0.1   [required by conduit-lwt-unix]
  - install cmdliner                        2.0.0   [required by cohttp-lwt-unix]
  - install cohttp                          6.1.1   [required by cohttp-lwt, cohttp-lwt-unix]
  - install cohttp-lwt                      6.1.1   [required by opentelemetry-client-cohttp-lwt]
  - install cohttp-lwt-unix                 6.1.1   [required by opentelemetry-client-cohttp-lwt]
  - 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 conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec               4       [required by mirage-crypto-pk]
  - install conf-pkg-config                 4       [required by zarith]
  - install digestif                        1.3.0   [required by ca-certs]
  - install domain-name                     0.5.0   [required by ipaddr]
  - install duration                        0.2.1   [required by mirage-crypto-rng]
  - install eqaf                            0.10    [required by digestif, mirage-crypto]
  - install fmt                             0.11.0  [required by cohttp-lwt-unix]
  - install fpath                           0.7.3   [required by ca-certs]
  - install gmap                            0.3.0   [required by x509]
  - install hmap                            0.8.1   [required by opentelemetry]
  - install http                            6.1.1   [required by cohttp-lwt, cohttp-lwt-unix]
  - install ipaddr                          5.6.1   [required by cohttp-lwt]
  - install ipaddr-sexp                     5.6.1   [required by conduit-lwt-unix]
  - install kdf                             1.0.0   [required by x509]
  - install logs                            0.10.0  [required by cohttp-lwt, cohttp-lwt-unix]
  - install lwt_ppx                         5.9.2   [required by opentelemetry-client-cohttp-lwt]
  - install macaddr                         5.6.1   [required by ipaddr]
  - install magic-mime                      1.3.1   [required by cohttp-lwt-unix]
  - install mirage-crypto                   2.0.2   [required by ca-certs]
  - install mirage-crypto-ec                2.0.2   [required by x509]
  - install mirage-crypto-pk                2.0.2   [required by x509]
  - install mirage-crypto-rng               2.0.2   [required by x509]
  - install mtime                           2.1.0   [required by opentelemetry-client-cohttp-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 ocamlbuild                      0.16.1  [required by mtime]
  - install ohex                            0.2.0   [required by ca-certs]
  - install opentelemetry                   0.10    [required by opentelemetry-client-cohttp-lwt]
  - install opentelemetry-client-cohttp-lwt 0.10
  - 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, cohttp-lwt-unix]
  - 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 rresult                         0.7.0   [required by bos]
  - 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 topkg                           1.1.1   [required by mtime]
  - install uri                             4.4.0   [required by cohttp-lwt]
  - install uri-sexp                        4.4.0   [required by cohttp]
  - install x509                            1.0.6   [required by ca-certs]
  - install zarith                          1.14    [required by mirage-crypto-pk]

The following system packages will first need to be installed:
    libgmp-dev pkg-config

<><> 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"
- 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 ... 20653 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) ...
- 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 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 ambient-context.0.1.0  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.17.3  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved ca-certs.1.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 conf-pkg-config.4
-> installed conf-gmp.5
-> installed conf-gmp-powm-sec.4
-> installed bigstringaf.0.10.0
-> installed http.6.1.1
-> retrieved digestif.1.3.0  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved hmap.0.8.1  (cached)
-> retrieved ipaddr.5.6.1, ipaddr-sexp.5.6.1, macaddr.5.6.1  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lwt_ppx.5.9.2  (cached)
-> installed duration.0.2.1
-> retrieved magic-mime.1.3.1  (cached)
-> installed domain-name.0.5.0
-> installed gmap.0.3.0
-> installed macaddr.5.6.1
-> installed eqaf.0.10
-> retrieved mirage-crypto.2.0.2, mirage-crypto-ec.2.0.2, mirage-crypto-pk.2.0.2, mirage-crypto-rng.2.0.2  (cached)
-> installed ipaddr.5.6.1
-> retrieved mtime.2.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 ocamlbuild.0.16.1  (cached)
-> installed magic-mime.1.3.1
-> retrieved ohex.0.2.0  (cached)
-> retrieved opentelemetry.0.10, opentelemetry-client-cohttp-lwt.0.10  (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 ohex.0.2.0
-> installed digestif.1.3.0
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved ppxlib_jane.v0.17.4  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> retrieved x509.1.0.6  (cached)
-> retrieved zarith.1.14  (cached)
-> installed stringext.1.6.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed sexplib0.v0.17.0
-> installed pbrt.3.1.1
-> installed angstrom.0.16.1
-> installed mirage-crypto.2.0.2
-> installed re.1.14.0
-> installed kdf.1.0.0
-> installed cmdliner.2.0.0
-> installed uri.4.4.0
-> installed zarith.1.14
-> installed ocamlbuild.0.16.1
-> installed base.v0.17.3
-> installed topkg.1.1.1
-> installed hmap.0.8.1
-> installed rresult.0.7.0
-> installed mtime.2.1.0
-> installed fmt.0.11.0
-> installed ambient-context.0.1.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed asn1-combinators.0.3.2
-> installed logs.0.10.0
-> installed fpath.0.7.3
-> installed opentelemetry.0.10
-> installed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-pk.2.0.2
-> installed bos.0.2.1
-> installed ppxlib.0.37.0
-> installed ppxlib_jane.v0.17.4
-> installed mirage-crypto-ec.2.0.2
-> installed lwt_ppx.5.9.2
-> installed x509.1.0.6
-> installed ca-certs.1.0.1
-> installed ppx_sexp_conv.v0.17.1
-> installed ipaddr-sexp.5.6.1
-> installed uri-sexp.4.4.0
-> installed conduit.8.0.0
-> 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
[ERROR] The compilation of opentelemetry-client-cohttp-lwt.0.10 failed at "dune build -p opentelemetry-client-cohttp-lwt -j 71 --promote-install-files=false @install".

#=== ERROR while compiling opentelemetry-client-cohttp-lwt.0.10 ===============#
# 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-client-cohttp-lwt.0.10
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p opentelemetry-client-cohttp-lwt -j 71 --promote-install-files=false @install
# exit-code            1
# env-file             ~/.opam/log/opentelemetry-client-cohttp-lwt-7-4e81e0.env
# output-file          ~/.opam/log/opentelemetry-client-cohttp-lwt-7-4e81e0.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/client-cohttp-lwt/.opentelemetry_client_cohttp_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/angstrom -I /home/opam/.opam/5.4/lib/astring -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigstringaf -I /home/opam/.opam/5.4/lib/bytes -I /home/opam/.opam/5.4/lib/cohttp -I /home/opam/.opam/5.4/lib/cohttp-lwt -I /home/opam/.opam/5.4/lib/cohttp-lwt-unix -I /home/opam/.opam/5.4/lib/conduit -I /home/opam/.opam/5.4/lib/conduit-lwt -I /home/opam/.opam/5.4/lib/conduit-lwt-unix -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/hmap -I /home/opam/.opam/5.4/lib/http -I /home/opam/.opam/5.4/lib/ipaddr -I /home/opam/.opam/5.4/lib/ipaddr-sexp -I /home/opam/.opam/5.4/lib/ipaddr/unix -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/logs/fmt -I /home/opam/.opam/5.4/lib/logs/lwt -I /home/opam/.opam/5.4/lib/lwt -I /home/opam/.opam/5.4/lib/lwt/unix -I /home/opam/.opam/5.4/lib/macaddr -I /home/opam/.opam/5.4/lib/magic-mime -I /home/opam/.opam/5.4/lib/mtime -I /home/opam/.opam/5.4/lib/mtime/clock -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/ocplib-endian -I /home/opam/.opam/5.4/lib/ocplib-endian/bigstring -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/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/ptime/clock -I /home/opam/.opam/5.4/lib/re -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stringext -I /home/opam/.opam/5.4/lib/uri -I /home/opam/.opam/5.4/lib/uri-sexp -I /home/opam/.opam/5.4/lib/uri/services -cmi-file src/client-cohttp-lwt/.opentelemetry_client_cohttp_lwt.objs/byte/opentelemetry_client_cohttp_lwt.cmi -no-alias-deps -open Opentelemetry_client_cohttp_lwt__ -o src/client-cohttp-lwt/.opentelemetry_client_cohttp_lwt.objs/byte/opentelemetry_client_cohttp_lwt.cmo -c -impl src/client-cohttp-lwt/opentelemetry_client_cohttp_lwt.pp.ml)
# File "src/client-cohttp-lwt/opentelemetry_client_cohttp_lwt.ml", lines 105-108, characters 6-37:
# 105 | ......try%lwt
# 106 |         let+ r = Httpc.post ~headers ~body uri in
# 107 |         Ok r
# 108 |       with e -> Lwt.return @@ Error e
# Error: This expression should not be a function, the expected type is string
# (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -warn-error -a+8 -w +a-4-30-40-41-42-44-48-70 -strict-sequence -g -I src/client-cohttp-lwt/.opentelemetry_client_cohttp_lwt.objs/byte -I src/client-cohttp-lwt/.opentelemetry_client_cohttp_lwt.objs/native -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/angstrom -I /home/opam/.opam/5.4/lib/astring -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigstringaf -I /home/opam/.opam/5.4/lib/bytes -I /home/opam/.opam/5.4/lib/cohttp -I /home/opam/.opam/5.4/lib/cohttp-lwt -I /home/opam/.opam/5.4/lib/cohttp-lwt-unix -I /home/opam/.opam/5.4/lib/conduit -I /home/opam/.opam/5.4/lib/conduit-lwt -I /home/opam/.opam/5.4/lib/conduit-lwt-unix -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/hmap -I /home/opam/.opam/5.4/lib/http -I /home/opam/.opam/5.4/lib/http/__private__/http_bytebuffer -I /home/opam/.opam/5.4/lib/ipaddr -I /home/opam/.opam/5.4/lib/ipaddr-sexp -I /home/opam/.opam/5.4/lib/ipaddr/unix -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/logs/fmt -I /home/opam/.opam/5.4/lib/logs/lwt -I /home/opam/.opam/5.4/lib/lwt -I /home/opam/.opam/5.4/lib/lwt/unix -I /home/opam/.opam/5.4/lib/macaddr -I /home/opam/.opam/5.4/lib/magic-mime -I /home/opam/.opam/5.4/lib/mtime -I /home/opam/.opam/5.4/lib/mtime/clock -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/ocplib-endian -I /home/opam/.opam/5.4/lib/ocplib-endian/bigstring -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/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/ptime/clock -I /home/opam/.opam/5.4/lib/re -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stringext -I /home/opam/.opam/5.4/lib/uri -I /home/opam/.opam/5.4/lib/uri-sexp -I /home/opam/.opam/5.4/lib/uri/services -cmi-file src/client-cohttp-lwt/.opentelemetry_client_cohttp_lwt.objs/byte/opentelemetry_client_cohttp_lwt.cmi -no-alias-deps -open Opentelemetry_client_cohttp_lwt__ -o src/client-cohttp-lwt/.opentelemetry_client_cohttp_lwt.objs/native/opentelemetry_client_cohttp_lwt.cmx -c -impl src/client-cohttp-lwt/opentelemetry_client_cohttp_lwt.pp.ml)
# File "src/client-cohttp-lwt/opentelemetry_client_cohttp_lwt.ml", lines 105-108, characters 6-37:
# 105 | ......try%lwt
# 106 |         let+ r = Httpc.post ~headers ~body uri in
# 107 |         Ok r
# 108 |       with e -> Lwt.return @@ Error e
# Error: This expression should not be a function, the expected type is string



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build opentelemetry-client-cohttp-lwt 0.10
+- 
+- The following changes have been performed
| - install ambient-context         0.1.0
| - install angstrom                0.16.1
| - install asn1-combinators        0.3.2
| - install astring                 0.8.5
| - install base                    v0.17.3
| - install base64                  3.5.2
| - install bigstringaf             0.10.0
| - install bos                     0.2.1
| - install ca-certs                1.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 digestif                1.3.0
| - install domain-name             0.5.0
| - install duration                0.2.1
| - install eqaf                    0.10
| - install fmt                     0.11.0
| - install fpath                   0.7.3
| - install gmap                    0.3.0
| - install hmap                    0.8.1
| - install http                    6.1.1
| - install ipaddr                  5.6.1
| - install ipaddr-sexp             5.6.1
| - install kdf                     1.0.0
| - install logs                    0.10.0
| - install lwt_ppx                 5.9.2
| - install macaddr                 5.6.1
| - install magic-mime              1.3.1
| - install mirage-crypto           2.0.2
| - install mirage-crypto-ec        2.0.2
| - install mirage-crypto-pk        2.0.2
| - install mirage-crypto-rng       2.0.2
| - install mtime                   2.1.0
| - install ocaml-compiler-libs     v0.17.0
| - install ocaml-syntax-shims      1.0.0
| - install ocaml_intrinsics_kernel v0.17.1
| - install ocamlbuild              0.16.1
| - install ohex                    0.2.0
| - install opentelemetry           0.10
| - 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 rresult                 0.7.0
| - install sexplib0                v0.17.0
| - install stdlib-shims            0.3.0
| - install stringext               1.6.0
| - install topkg                   1.1.1
| - install uri                     4.4.0
| - install uri-sexp                4.4.0
| - install x509                    1.0.6
| - install zarith                  1.14
+- 
# 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-20251114152805.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-client-cohttp-lwt.0.10;
        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-client-cohttp-lwt.0.10' && 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.45: Job failed: Failed: Build failed
2025-11-14 15:29.45: Log analysis:
2025-11-14 15:29.45: >>> 
[ERROR] The compilation of opentelemetry-client-cohttp-lwt.0.10 failed at "dune build -p opentelemetry-client-cohttp-lwt -j 71 --promote-install-files=false @install".
 (score = 20)
2025-11-14 15:29.45: >>> 
# Error: This expression should not be a function, the expected type is string
 (score = 48)
2025-11-14 15:29.45: >>> 
# Error: This expression should not be a function, the expected type is string
 (score = 48)
2025-11-14 15:29.45: This expression should not be a function, the expected type is string