(for PR #28222)

2025-08-21 14:30.26: New job: test cohttp-curl-lwt.6.1.1 with curl_lwt.0.10.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28222/head (a14b2680809606d7e55ae7ed410b73438cb77bd0)
                              on debian-12-ocaml-5.3/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/28222/head" && git reset --hard a14b2680
git fetch origin master
git merge --no-edit 4bae7ec4df49df4454ea492c8d7a1196aeae04e0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 curl_lwt.0.10.0 0.10.0
RUN opam reinstall curl_lwt.0.10.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'curl_lwt.0.10.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall cohttp-curl-lwt.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'cohttp-curl-lwt.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-curl-lwt.6.1.1) || true
RUN opam reinstall --with-test --verbose cohttp-curl-lwt.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'cohttp-curl-lwt.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-08-21 14:30.26: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da-curl_lwt.0.10.0-cohttp-curl-lwt.6.1.1-a14b2680809606d7e55ae7ed410b73438cb77bd0"
2025-08-21 14:30.26: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 curl_lwt.0.10.0 0.10.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall curl_lwt.0.10.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'curl_lwt.0.10.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall cohttp-curl-lwt.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-12\\\"\"; 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-curl-lwt.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-curl-lwt.6.1.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose cohttp-curl-lwt.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-12\\\"\"; 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-curl-lwt.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-08-21 14:30.26: Waiting for resource in pool OCluster
2025-08-21 19:40.37: Waiting for worker…
2025-08-21 19:46.15: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files:  97% (17530/18065)
Updating files:  98% (17704/18065)
Updating files:  99% (17885/18065)
Updating files: 100% (18065/18065)
Updating files: 100% (18065/18065), done.
HEAD is now at 4bae7ec4df Merge pull request #28375 from jmid/opam-compiler-re-bounds
Merge made by the 'ort' strategy.
 packages/curl_lwt/curl_lwt.0.10.0/opam            |  2 +-
 packages/lwt/lwt.6.0.0~alpha01/opam               | 69 +++++++++++++++++++++++
 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam | 44 +++++++++++++++
 packages/lwt_glib/lwt_glib.1.0.1/opam             |  2 +-
 packages/lwt_glib/lwt_glib.1.1.0/opam             |  2 +-
 packages/lwt_glib/lwt_glib.1.1.1/opam             |  2 +-
 packages/lwt_log/lwt_log.1.1.0/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.1/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.2/opam               |  2 +-
 packages/ocurl/ocurl.0.7.6/opam                   |  1 +
 packages/ocurl/ocurl.0.7.7/opam                   |  1 +
 packages/ocurl/ocurl.0.7.8/opam                   |  1 +
 packages/ocurl/ocurl.0.7.9/opam                   |  1 +
 packages/ocurl/ocurl.0.8.1/opam                   |  1 +
 packages/ocurl/ocurl.0.8.2/opam                   |  1 +
 packages/ocurl/ocurl.0.9.0/opam                   |  1 +
 packages/ocurl/ocurl.0.9.1/opam                   |  1 +
 packages/ocurl/ocurl.0.9.2/opam                   |  1 +
 18 files changed, 129 insertions(+), 7 deletions(-)
 create mode 100644 packages/lwt/lwt.6.0.0~alpha01/opam
 create mode 100644 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam

(from ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da)
2025-08-21 19:46.30 ---> saved as "7b3e7b3709bbd37e599e66041e6848f5fe2736f92dc6c0cdd0ce7e7e3b68a5fe"

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-08-21 19:46.30 ---> saved as "fdb2f3150c6149944c5fb21481d03894b2a1eb858b0e57dd2c9a75abe976a37d"

/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 development 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-08-21 19:47.07 ---> saved as "17e4912cc343bf9d6e06e48e9e9351b5dc4e90574d8d51e624e13d87c1256c34"

/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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# 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.3
# invariant            ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-08-21 19:47.09 ---> saved as "6706a07cda0f456729fd8ea317c1b2e469be2575c65745711a34e940deb30914"

/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-08-21 19:47.20 ---> saved as "446e092e760c930913d6e325d53ad558bf56968ae9672a6e786f97fb5382a4a2"

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-21 19:47.38 ---> saved as "e2d8033e36d0fb3ddcd7c5ffe7ca15b94d06ebe44acbaee74a0996ef8753f31d"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-21 19:48.00 ---> saved as "102a3119b01dda2f8e376fe34bff237f44bca320d513614a9a351f4b25965402"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [274 kB]
- Fetched 378 kB in 1s (509 kB/s)
- Reading package lists...
- 
2025-08-21 19:48.02 ---> saved as "24d874fb0411c6b2f2d4776fdc89242207712820407a8f30cf172d2fdb697872"

/home/opam: (run (shell "opam pin add -k version -yn curl_lwt.0.10.0 0.10.0"))
curl_lwt is now pinned to version 0.10.0
2025-08-21 19:48.03 ---> saved as "88aa448919c72efd3def577066b89252274df3afbebe4c8e3bc36a8141efbcd7"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall curl_lwt.0.10.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'curl_lwt.0.10.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
curl_lwt.0.10.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 11 packages
  - install base-bytes        base            [required by ocplib-endian]
  - install conf-libcurl      2               [required by curl]
  - install cppo              1.8.0           [required by lwt]
  - install csexp             1.5.2           [required by dune-configurator]
  - install curl              0.10.0          [required by curl_lwt]
  - install curl_lwt          0.10.0 (pinned)
  - install dune              3.20.0          [required by curl_lwt]
  - install dune-configurator 3.20.0          [required by curl, lwt]
  - install lwt               5.9.1           [required by curl_lwt]
  - install ocamlfind         1.9.8           [required by base-bytes]
  - install ocplib-endian     1.2             [required by lwt]

The following system packages will first need to be installed:
    libcurl4-gnutls-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libcurl4-gnutls-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libcurl4-gnutls-dev: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 ... 18778 files and directories currently installed.)
- Preparing to unpack .../libcurl4-gnutls-dev_7.88.1-10+deb12u12_amd64.deb ...
- Unpacking libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u12) ...
- Setting up libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u12) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libcurl.2
-> retrieved curl.0.10.0, curl_lwt.0.10.0  (cached)
-> retrieved dune.3.20.0, dune-configurator.3.20.0  (cached)
-> retrieved lwt.5.9.1  (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.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.0
-> installed curl.0.10.0
-> installed lwt.5.9.1
-> installed curl_lwt.0.10.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 19:48.45 ---> saved as "694e39715afb8a9273d4e42d11057a2b2455ff86c8189db4204bbbc2efee5db4"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall cohttp-curl-lwt.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-12\\\"\"; 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-curl-lwt.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-curl-lwt.6.1.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 5 packages
  - install cohttp-curl     6.1.1                   [required by cohttp-curl-lwt]
  - install cohttp-curl-lwt 6.1.1
  - install http            6.1.1                   [required by cohttp-curl-lwt]
  - install ocurl           transition (deprecated) [required by cohttp-curl-lwt]
  - install stringext       1.6.0                   [required by cohttp-curl-lwt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cohttp-curl.6.1.1, cohttp-curl-lwt.6.1.1, http.6.1.1  (cached)
-> retrieved ocurl.transition  (cached)
-> installed ocurl.transition
-> retrieved stringext.1.6.0  (cached)
-> installed stringext.1.6.0
-> installed http.6.1.1
-> installed cohttp-curl.6.1.1
-> installed cohttp-curl-lwt.6.1.1
Done.

<><> ocurl.transition installed successfully ><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> ocurl has been renamed and the ocurl package is now a transition package. Use the curl package instead.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 19:48.52 ---> saved as "6a80a868082e7319c45e638475c747463662f711d49beee3710fc7a7c9eb5800"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test cohttp-curl-lwt.6.1.1) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile cohttp-curl-lwt         6.1.1
=== install 58 packages
  - install   alcotest                1.9.0   [required by cohttp-curl-lwt]
  - install   angstrom                0.16.1  [required by uri]
  - install   asn1-combinators        0.3.2   [required by x509]
  - install   astring                 0.8.5   [required by alcotest]
  - install   base                    v0.17.3 [required by ppx_sexp_conv]
  - install   base64                  3.5.1   [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                1.3.0   [required by alcotest, cohttp-lwt-unix]
  - install   cohttp                  6.1.1   [required by cohttp-curl-lwt]
  - install   cohttp-lwt              6.1.1   [required by cohttp-curl-lwt]
  - install   cohttp-lwt-unix         6.1.1   [required by cohttp-curl-lwt]
  - install   conduit                 8.0.0   [required by conduit-lwt]
  - install   conduit-lwt             8.0.0   [required by cohttp-curl-lwt]
  - 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.4.1   [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 alcotest, 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.9.0   [required by cohttp-lwt, cohttp, 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.1   [required by ca-certs]
  - install   mirage-crypto-ec        2.0.1   [required by x509]
  - install   mirage-crypto-pk        2.0.1   [required by x509]
  - install   mirage-crypto-rng       2.0.1   [required by x509]
  - install   ocaml-compiler-libs     v0.17.0 [required by ppxlib]
  - install   ocaml-syntax-shims      1.0.0   [required by alcotest]
  - install   ocaml_intrinsics_kernel v0.17.1 [required by base]
  - install   ocamlbuild              0.16.1  [required by uutf, astring, fmt, logs]
  - install   ohex                    0.2.0   [required by ca-certs]
  - install   ounit2                  2.2.7   [required by cohttp-curl-lwt]
  - install   ppx_derivers            1.2.1   [required by ppxlib]
  - install   ppx_sexp_conv           v0.17.1 [required by cohttp-lwt, cohttp, cohttp-lwt-unix]
  - install   ppxlib                  0.36.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.13.2  [required by alcotest, cohttp]
  - install   rresult                 0.7.0   [required by bos]
  - install   seq                     base    [required by ounit2]
  - install   sexplib0                v0.17.0 [required by cohttp, cohttp-lwt]
  - install   stdlib-shims            0.3.0   [required by alcotest, ounit2]
  - install   topkg                   1.1.0   [required by uutf, astring, fmt, logs]
  - install   uri                     4.4.0   [required by cohttp-curl-lwt]
  - install   uri-sexp                4.4.0   [required by cohttp]
  - install   uutf                    1.0.4   [required by alcotest]
  - 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"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18803 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0  (https://opam.ocaml.org/cache)
-> 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.1  (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)
-> retrieved ca-certs.1.0.1  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.1.3.0  (https://opam.ocaml.org/cache)
-> installed base64.3.5.1
-> retrieved cohttp.6.1.1, cohttp-curl-lwt.6.1.1, cohttp-lwt.6.1.1, cohttp-lwt-unix.6.1.1  (https://opam.ocaml.org/cache)
-> installed bigstringaf.0.10.0
-> 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.4.1  (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.4.1
-> 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.9.0  (https://opam.ocaml.org/cache)
-> installed macaddr.5.6.1
-> retrieved magic-mime.1.3.1  (https://opam.ocaml.org/cache)
-> retrieved mirage-crypto.2.0.1, mirage-crypto-ec.2.0.1, mirage-crypto-pk.2.0.1, mirage-crypto-rng.2.0.1  (https://opam.ocaml.org/cache)
-> retrieved ocaml-compiler-libs.v0.17.0  (https://opam.ocaml.org/cache)
-> installed cmdliner.1.3.0
-> installed digestif.1.3.0
-> installed ipaddr.5.6.1
-> installed magic-mime.1.3.1
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (https://opam.ocaml.org/cache)
-> 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 ounit2.2.2.7  (https://opam.ocaml.org/cache)
-> installed ohex.0.2.0
-> retrieved ppx_derivers.1.2.1  (https://opam.ocaml.org/cache)
-> retrieved ppx_sexp_conv.v0.17.1  (https://opam.ocaml.org/cache)
-> installed ppx_derivers.1.2.1
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> retrieved ppxlib.0.36.0  (https://opam.ocaml.org/cache)
-> retrieved ppxlib_jane.v0.17.4  (https://opam.ocaml.org/cache)
-> retrieved ptime.1.2.0  (https://opam.ocaml.org/cache)
-> retrieved re.1.13.2  (https://opam.ocaml.org/cache)
-> installed mirage-crypto.2.0.1
-> installed angstrom.0.16.1
-> retrieved rresult.0.7.0  (https://opam.ocaml.org/cache)
-> retrieved seq.base  (2 extra sources)
-> retrieved seq.base  (2 extra sources)
-> installed seq.base
-> installed kdf.1.0.0
-> retrieved sexplib0.v0.17.0  (https://opam.ocaml.org/cache)
-> retrieved stdlib-shims.0.3.0  (https://opam.ocaml.org/cache)
-> retrieved topkg.1.1.0  (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> installed sexplib0.v0.17.0
-> retrieved x509.1.0.6  (https://opam.ocaml.org/cache)
-> retrieved zarith.1.14  (https://opam.ocaml.org/cache)
-> installed re.1.13.2
-> installed ounit2.2.2.7
-> installed uri.4.4.0
-> installed zarith.1.14
-> removed   cohttp-curl-lwt.6.1.1
-> installed ocamlbuild.0.16.1
-> installed base.v0.17.3
-> installed topkg.1.1.0
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> 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 alcotest.1.9.0
-> installed logs.0.9.0
-> installed mirage-crypto-rng.2.0.1
-> installed mirage-crypto-pk.2.0.1
-> installed ppxlib.0.36.0
-> installed bos.0.2.1
-> installed ppxlib_jane.v0.17.4
-> installed mirage-crypto-ec.2.0.1
-> 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-curl-lwt.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 19:49.44 ---> saved as "25f768a8dbfb22176039de6583747e52d756ac463847896e7eecfcfbc3455ac6"

/home/opam: (run (shell  "opam reinstall --with-test --verbose cohttp-curl-lwt.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-12\\\"\"; 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-curl-lwt.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-curl-lwt 6.1.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [cohttp-curl-lwt.6.1.1: extract]
-> retrieved cohttp-curl-lwt.6.1.1  (cached)
Processing  2/4: [cohttp-curl-lwt: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cohttp-curl-lwt" "-j" "71" "@install" "@cohttp-curl-lwt/runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/cohttp-curl-lwt.6.1.1)
- (cd _build/default/cohttp-curl-lwt/test && ./cohttp_curl_lwt_tests.exe)
- ..
- Ran: 2 tests in: 0.00 seconds.
- OK
- [DEBUG][application]: Cohttp debugging output is active
- [INFO][application]: Test Cohttp Server Test running on http://localhost:25190
- [INFO][application]: Running simple request
- ASSERT test 1
- [INFO][application]: Running failing request
-> compiled  cohttp-curl-lwt.6.1.1
-> removed   cohttp-curl-lwt.6.1.1
-> installed cohttp-curl-lwt.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 19:49.49 ---> saved as "c6ae85f8c8340975eb14c425e6af6a4768876bdd78b01874444a01b2e6a81894"
Job succeeded
2025-08-21 19:49.55: Job succeeded