(for PR #29096)

2025-12-15 03:23.27: New job: test cohttp-server-lwt-unix.6.1.1 with dune.3.21.0~alpha4, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29096/head (7d6af52f05e2c06c00193b2918193b6994ece701)
                              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/29096/head" && git reset --hard 7d6af52f
git fetch origin master
git merge --no-edit 2625e9877b44d517ad87b5bf4ff708f3e44b78d8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04
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 dune.3.21.0~alpha4 3.21.0~alpha4
RUN opam reinstall dune.3.21.0~alpha4; \
    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" != 'dune.3.21.0~alpha4' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall cohttp-server-lwt-unix.6.1.1; \
    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" != 'cohttp-server-lwt-unix.6.1.1' && 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 cohttp-server-lwt-unix.6.1.1) || true
RUN opam reinstall --with-test --verbose cohttp-server-lwt-unix.6.1.1; \
    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" != 'cohttp-server-lwt-unix.6.1.1' && 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-12-15 03:23.27: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04-dune.3.21.0~alpha4-cohttp-server-lwt-unix.6.1.1-7d6af52f05e2c06c00193b2918193b6994ece701"
2025-12-15 03:23.27: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
 (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 dune.3.21.0~alpha4 3.21.0~alpha4"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.21.0~alpha4;\
             \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\" != 'dune.3.21.0~alpha4' && 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 cohttp-server-lwt-unix.6.1.1;\
             \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\" != 'cohttp-server-lwt-unix.6.1.1' && 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 cohttp-server-lwt-unix.6.1.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose cohttp-server-lwt-unix.6.1.1;\
             \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\" != 'cohttp-server-lwt-unix.6.1.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-15 03:23.27: Waiting for resource in pool OCluster
2025-12-15 12:57.53: Waiting for worker…
2025-12-15 13:02.02: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 2625e9877b Merge pull request #29094 from anmonteiro/patch-9
Updating 2625e9877b..7d6af52f05
Fast-forward
 .../chrome-trace/chrome-trace.3.21.0~alpha4/opam   | 41 ++++++++++++
 .../dune-action-plugin.3.21.0~alpha4/opam          | 54 ++++++++++++++++
 .../dune-build-info.3.21.0~alpha4/opam             | 47 ++++++++++++++
 .../dune-configurator.3.21.0~alpha4/opam           | 51 +++++++++++++++
 packages/dune-glob/dune-glob.3.21.0~alpha4/opam    | 44 +++++++++++++
 .../dune-private-libs.3.21.0~alpha4/opam           | 52 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha4/opam   | 43 +++++++++++++
 packages/dune-rpc/dune-rpc.3.21.0~alpha4/opam      | 46 +++++++++++++
 packages/dune-site/dune-site.3.21.0~alpha4/opam    | 39 +++++++++++
 packages/dune/dune.3.21.0~alpha4/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.21.0~alpha4/opam                | 42 ++++++++++++
 packages/fs-io/fs-io.3.21.0~alpha4/opam            | 41 ++++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha4/opam  | 45 +++++++++++++
 packages/ordering/ordering.3.21.0~alpha4/opam      | 40 ++++++++++++
 packages/stdune/stdune.3.21.0~alpha4/opam          | 48 ++++++++++++++
 .../top-closure/top-closure.3.21.0~alpha4/opam     | 40 ++++++++++++
 packages/xdg/xdg.3.21.0~alpha4/opam                | 41 ++++++++++++
 17 files changed, 789 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha4/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha4/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha4/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha4/opam
 create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha4/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha4/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha4/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha4/opam
 create mode 100644 packages/dune-site/dune-site.3.21.0~alpha4/opam
 create mode 100644 packages/dune/dune.3.21.0~alpha4/opam
 create mode 100644 packages/dyn/dyn.3.21.0~alpha4/opam
 create mode 100644 packages/fs-io/fs-io.3.21.0~alpha4/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha4/opam
 create mode 100644 packages/ordering/ordering.3.21.0~alpha4/opam
 create mode 100644 packages/stdune/stdune.3.21.0~alpha4/opam
 create mode 100644 packages/top-closure/top-closure.3.21.0~alpha4/opam
 create mode 100644 packages/xdg/xdg.3.21.0~alpha4/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
2025-12-15 13:02.04 ---> using "5f87df8c1f6f0886e7311dfd3df40b8bbb961cc34c83c0d033c6dd248c84bc7d" 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-12-15 13:02.04 ---> using "f1296791f2d76481058db697105a569091a6b6345f05c94bbc5a650f1a364f9a" 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
2025-12-15 13:02.04 ---> using "0cac9a31b4750e6a46df8ed8d2f68352091a988199fdf62c52779549510cd6bf" 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
2025-12-15 13:02.04 ---> using "1deb91dc3badca969976ed6f3bc5fe7c443d73a2cfa957be662fd6f93e30aa7b" 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-12-15 13:02.04 ---> using "1a02438c8753bf7228a9eb625e65b7af26778a022b9ce0b16be5ef4f294c58cd" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-15 13:02.05 ---> using "eb7fce002d3011997e6b86dbe83f655d6b7730dccc18f79edba49a7bf7e4d9a8" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-15 13:02.05 ---> using "4b065be9f938538e7e8ff55e18456d0f2a5ae5a85bf63e0a975d8019feba2dfc" 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 [84.8 kB]
- Fetched 176 kB in 0s (1498 kB/s)
- Reading package lists...
2025-12-15 13:02.05 ---> using "e068c5ce43af944c455b2776cca2e7f3a89bfe2d7427c70330cf49a061e468e9" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.21.0~alpha4 3.21.0~alpha4"))
dune is now pinned to version 3.21.0~alpha4
2025-12-15 13:02.05 ---> using "ad19e79bfb577df8f264c31684c0c4a73a6db8efdaea63e0b97bde0e687760c9" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.21.0~alpha4;\
                        \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\" != 'dune.3.21.0~alpha4' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.21.0~alpha4 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.21.0~alpha4 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0~alpha4  (cached)
-> installed dune.3.21.0~alpha4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 13:02.05 ---> using "9f89965e525eea5c4523a287dfc7337f4f714c89b70be65eb19f4bdf8e73b31b" from cache

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cohttp-server-lwt-unix.6.1.1, http.6.1.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed csexp.1.5.2
-> installed http.6.1.1
-> retrieved dune-configurator.3.21.0~alpha4  (cached)
-> installed cppo.1.8.0
-> retrieved lwt.5.9.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed dune-configurator.3.21.0~alpha4
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocplib-endian.1.2
-> installed lwt.5.9.2
-> installed cohttp-server-lwt-unix.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 13:02.20 ---> saved as "6ad94238256a81e44dcb5279a4a6af1d1c7789a0454fb95b6aeb47df5c6ec1a7"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test cohttp-server-lwt-unix.6.1.1) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile cohttp-server-lwt-unix  6.1.1
=== install 55 packages
  - 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.1.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 cohttp-server-lwt-unix]
  - install   cohttp-lwt-unix         6.1.1   [required by cohttp-server-lwt-unix]
  - 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-server-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   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   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   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 logs]
  - install   ohex                    0.2.0   [required by ca-certs]
  - 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 ppx_sexp_conv]
  - install   ppxlib_jane             v0.17.4 [required by ppx_sexp_conv]
  - install   ptime                   1.2.0   [required by ca-certs]
  - 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 ppxlib]
  - install   stringext               1.6.0   [required by cohttp]
  - install   topkg                   1.1.1   [required by logs]
  - 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 angstrom.0.16.1  (https://opam.ocaml.org/cache)
-> retrieved asn1-combinators.0.3.2  (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved base.v0.17.3  (https://opam.ocaml.org/cache)
-> retrieved base64.3.5.2  (https://opam.ocaml.org/cache)
-> retrieved bigstringaf.0.10.0  (https://opam.ocaml.org/cache)
-> retrieved bos.0.2.1  (https://opam.ocaml.org/cache)
-> installed base64.3.5.2
-> retrieved ca-certs.1.0.1  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.1.0  (https://opam.ocaml.org/cache)
-> installed bigstringaf.0.10.0
-> retrieved cohttp.6.1.1, cohttp-lwt.6.1.1, cohttp-lwt-unix.6.1.1, cohttp-server-lwt-unix.6.1.1  (https://opam.ocaml.org/cache)
-> retrieved conduit.8.0.0, conduit-lwt.8.0.0, conduit-lwt-unix.8.0.0  (https://opam.ocaml.org/cache)
-> retrieved conf-gmp.5  (https://opam.ocaml.org/cache)
-> installed conf-gmp.5
-> retrieved conf-gmp-powm-sec.4  (https://opam.ocaml.org/cache)
-> installed conf-pkg-config.4
-> installed conf-gmp-powm-sec.4
-> retrieved digestif.1.3.0  (https://opam.ocaml.org/cache)
-> retrieved domain-name.0.5.0  (https://opam.ocaml.org/cache)
-> retrieved duration.0.2.1  (https://opam.ocaml.org/cache)
-> retrieved eqaf.0.10  (https://opam.ocaml.org/cache)
-> installed domain-name.0.5.0
-> installed duration.0.2.1
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved fpath.0.7.3  (https://opam.ocaml.org/cache)
-> retrieved gmap.0.3.0  (https://opam.ocaml.org/cache)
-> retrieved ipaddr.5.6.1, ipaddr-sexp.5.6.1, macaddr.5.6.1  (https://opam.ocaml.org/cache)
-> installed gmap.0.3.0
-> retrieved kdf.1.0.0  (https://opam.ocaml.org/cache)
-> installed eqaf.0.10
-> retrieved logs.0.10.0  (https://opam.ocaml.org/cache)
-> installed macaddr.5.6.1
-> retrieved magic-mime.1.3.1  (https://opam.ocaml.org/cache)
-> installed ipaddr.5.6.1
-> installed digestif.1.3.0
-> retrieved mirage-crypto.2.0.2, mirage-crypto-ec.2.0.2, mirage-crypto-pk.2.0.2, mirage-crypto-rng.2.0.2  (https://opam.ocaml.org/cache)
-> installed magic-mime.1.3.1
-> retrieved ocaml-compiler-libs.v0.17.0  (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (https://opam.ocaml.org/cache)
-> installed cmdliner.2.1.0
-> installed ocaml-compiler-libs.v0.17.0
-> retrieved ocamlbuild.0.16.1  (https://opam.ocaml.org/cache)
-> installed ocaml_intrinsics_kernel.v0.17.1
-> retrieved ohex.0.2.0  (https://opam.ocaml.org/cache)
-> retrieved ppx_derivers.1.2.1  (https://opam.ocaml.org/cache)
-> installed mirage-crypto.2.0.2
-> retrieved ppx_sexp_conv.v0.17.1  (https://opam.ocaml.org/cache)
-> installed ohex.0.2.0
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.37.0  (https://opam.ocaml.org/cache)
-> installed kdf.1.0.0
-> retrieved ppxlib_jane.v0.17.4  (https://opam.ocaml.org/cache)
-> installed ocaml-syntax-shims.1.0.0
-> retrieved ptime.1.2.0  (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0  (https://opam.ocaml.org/cache)
-> retrieved rresult.0.7.0  (https://opam.ocaml.org/cache)
-> retrieved sexplib0.v0.17.0  (https://opam.ocaml.org/cache)
-> retrieved stdlib-shims.0.3.0  (https://opam.ocaml.org/cache)
-> installed angstrom.0.16.1
-> retrieved stringext.1.6.0  (https://opam.ocaml.org/cache)
-> retrieved topkg.1.1.1  (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed sexplib0.v0.17.0
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (https://opam.ocaml.org/cache)
-> installed re.1.14.0
-> retrieved x509.1.0.6  (https://opam.ocaml.org/cache)
-> retrieved zarith.1.14  (https://opam.ocaml.org/cache)
-> installed uri.4.4.0
-> installed zarith.1.14
-> removed   cohttp-server-lwt-unix.6.1.1
-> installed ocamlbuild.0.16.1
-> installed base.v0.17.3
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed asn1-combinators.0.3.2
-> installed fpath.0.7.3
-> installed logs.0.10.0
-> installed mirage-crypto-rng.2.0.2
-> installed ppxlib.0.37.0
-> installed mirage-crypto-pk.2.0.2
-> installed ppxlib_jane.v0.17.4
-> installed bos.0.2.1
-> installed mirage-crypto-ec.2.0.2
-> installed ppx_sexp_conv.v0.17.1
-> installed x509.1.0.6
-> installed ca-certs.1.0.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
-> installed cohttp-server-lwt-unix.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 13:03.01 ---> saved as "3ddb75e72f9a477d72ffcb795f2cab97faa1aab2a70fde03c2f179e6c46a9c36"

/home/opam: (run (shell  "opam reinstall --with-test --verbose cohttp-server-lwt-unix.6.1.1;\
                        \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\" != 'cohttp-server-lwt-unix.6.1.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile cohttp-server-lwt-unix 6.1.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [cohttp-server-lwt-unix.6.1.1: extract]
-> retrieved cohttp-server-lwt-unix.6.1.1  (cached)
Processing  2/4: [cohttp-server-lwt-unix: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cohttp-server-lwt-unix" "-j" "255" "@install" "@cohttp-server-lwt-unix/runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/cohttp-server-lwt-unix.6.1.1)
-> compiled  cohttp-server-lwt-unix.6.1.1
-> removed   cohttp-server-lwt-unix.6.1.1
-> installed cohttp-server-lwt-unix.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 13:03.05 ---> saved as "0cbfb1a4a4f415395c8869f9bc8074d2c3d7631283b8e345b743ceab2393f7f4"
Job succeeded
2025-12-15 13:03.11: Job succeeded