(for PR #28894)

2025-11-14 15:11.18: New job: test http-mirage-client.0.0.8 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-4.14/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-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e
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 http-mirage-client.0.0.8; \
    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" != 'http-mirage-client.0.0.8' && 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 http-mirage-client.0.0.8) || true
RUN opam reinstall --with-test --verbose http-mirage-client.0.0.8; \
    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" != 'http-mirage-client.0.0.8' && 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:11.18: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e-lwt.6.0.0-beta01-http-mirage-client.0.0.8-b3a6ad64ea3115b9993ddd431f777dde4e6ec63f"
2025-11-14 15:11.18: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e)
 (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 http-mirage-client.0.0.8;\
             \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\" != 'http-mirage-client.0.0.8' && 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 http-mirage-client.0.0.8) || true"))
 (run (shell  "opam reinstall --with-test --verbose http-mirage-client.0.0.8;\
             \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\" != 'http-mirage-client.0.0.8' && 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:11.18: Waiting for resource in pool OCluster
2025-11-14 16:12.44: Waiting for worker…
2025-11-14 16:19.19: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  71% (13492/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-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e)
2025-11-14 16:19.29 ---> using "0a7782df646ba17c4c91deb7545267f63c19555df9b225a0640862ce540c1383" 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 16:19.29 ---> using "e3cc97f3c946abac4036e9918a15af8cd2359775cb282137405852a83e5e4ac5" 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 16:19.29 ---> using "b3771c9b2a97061bcd39a540eb46c8c9391a701a6a2417777709d0e8bcafecec" 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       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-11-14 16:19.29 ---> using "8b9250364ffb330fc85473d01676fcba0e45f4a15f62098ec06ae23bfca0fd04" 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 16:19.29 ---> using "324936077a47671067794cc83def947ee8a01c92aab91da2d8bb3576676449b4" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-14 16:19.30 ---> using "30dc30ac1b4f48124c0de509329559f55130f5df01b33ff3908a7bc236663dce" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-14 16:19.30 ---> using "ee09d2afa8da6f5f6af77d0216b2a5b52af357966d838d421021879b57c2f37a" 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 (1671 kB/s)
- Reading package lists...
- 
2025-11-14 16:19.31 ---> using "2137eb5b3aecf5224e61e37ff834a4c90be62ce1fb178139730ee66a2b359eb2" 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 16:19.31 ---> using "d255c6a4cefc3406938875936573a442584f6bdd7c49c5eca2ccb30f2beaf77b" 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 16:19.31 ---> using "bd6fe0f663df2d2003d87a5d00e89c4f2a244d2bb5d1000424fa6ec0d002f686" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall http-mirage-client.0.0.8;\
                        \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\" != 'http-mirage-client.0.0.8' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
http-mirage-client.0.0.8 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 77 packages
  - install angstrom                 0.16.1 [required by h2, httpaf]
  - install arp                      4.1.0  [required by tcpip]
  - install asn1-combinators         0.3.2  [required by x509]
  - install astring                  0.8.5  [required by bos]
  - install base64                   3.5.2  [required by h2]
  - install bigstringaf              0.10.0 [required by httpaf, h2, paf]
  - install bos                      0.2.1  [required by ca-certs-nss]
  - install ca-certs-nss             3.108  [required by dns-client-mirage]
  - install cmdliner                 2.0.0  [required by fmt, tcpip]
  - 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 cstruct                  6.2.0  [required by paf]
  - install cstruct-lwt              6.2.0  [required by tcpip]
  - install digestif                 1.3.0  [required by mirage-crypto-rng, ca-certs-nss]
  - install dns                      9.1.0  [required by dns-client]
  - install dns-client               9.1.0  [required by dns-client-mirage]
  - install dns-client-mirage        9.1.0  [required by mimic-happy-eyeballs]
  - install domain-name              0.5.0  [required by happy-eyeballs-mirage]
  - install duration                 0.2.1  [required by happy-eyeballs-mirage]
  - install eqaf                     0.10   [required by digestif, mirage-crypto]
  - install ethernet                 3.2.0  [required by tcpip]
  - install faraday                  0.8.2  [required by httpaf, h2, paf]
  - install fmt                      0.11.0 [required by happy-eyeballs-mirage]
  - install fpath                    0.7.3  [required by bos]
  - install gmap                     0.3.0  [required by x509, dns]
  - install h2                       0.13.0 [required by http-mirage-client]
  - install happy-eyeballs           1.2.2  [required by happy-eyeballs-mirage]
  - install happy-eyeballs-mirage    1.2.2  [required by http-mirage-client]
  - install hpack                    0.13.0 [required by h2]
  - install http-mirage-client       0.0.8
  - install httpaf                   0.7.1  [required by http-mirage-client]
  - install httpun-types             0.2.0  [required by h2]
  - install ipaddr                   5.6.1  [required by happy-eyeballs-mirage]
  - install ipaddr-cstruct           5.6.1  [required by tcpip]
  - install kdf                      1.0.0  [required by x509, tls]
  - install ke                       0.6    [required by paf]
  - install logs                     0.10.0 [required by happy-eyeballs-mirage]
  - install lru                      0.3.1  [required by tcpip]
  - install lwt-dllist               1.1.0  [required by tcpip]
  - install macaddr                  5.6.1  [required by tcpip]
  - install macaddr-cstruct          5.6.1  [required by tcpip]
  - install metrics                  0.5.0  [required by tcpip]
  - install mimic                    0.0.9  [required by mimic-happy-eyeballs, paf]
  - install mimic-happy-eyeballs     0.0.9  [required by http-mirage-client]
  - install mirage-clock             4.2.0  [required by http-mirage-client]
  - install mirage-crypto            1.2.0  [required by mirage-crypto-rng, tls-mirage]
  - install mirage-crypto-ec         1.2.0  [required by x509, tls]
  - install mirage-crypto-pk         1.2.0  [required by tls-mirage]
  - install mirage-crypto-rng        1.2.0  [required by tcpip]
  - install mirage-crypto-rng-mirage 1.2.0  [required by dns-client-mirage]
  - install mirage-flow              5.0.0  [required by tcpip, mimic]
  - install mirage-kv                6.1.1  [required by tls-mirage]
  - install mirage-mtime             5.2.0  [required by tcpip]
  - install mirage-net               4.0.0  [required by tcpip]
  - install mirage-ptime             5.2.0  [required by tls-mirage]
  - install mirage-runtime           4.10.3 [required by mirage-crypto-rng-mirage]
  - install mirage-sleep             4.1.0  [required by tcpip]
  - install mirage-time              3.0.0  [required by http-mirage-client]
  - install mtime                    2.1.0  [required by mirage-mtime, dns-client]
  - install ocaml-syntax-shims       1.0.0  [required by angstrom]
  - install ocamlbuild               0.16.1 [required by fmt]
  - install ohex                     0.2.0  [required by dns, x509, tls]
  - install optint                   0.3.0  [required by mirage-kv]
  - install paf                      0.7.0  [required by http-mirage-client]
  - install psq                      0.2.1  [required by h2]
  - install ptime                    1.2.0  [required by tls-mirage]
  - install randomconv               0.2.0  [required by tcpip]
  - install result                   1.5    [required by httpaf]
  - install rresult                  0.7.0  [required by bos]
  - install seq                      base   [required by psq]
  - install tcpip                    9.0.1  [required by http-mirage-client]
  - install tls                      2.0.3  [required by http-mirage-client]
  - install tls-mirage               2.0.3  [required by paf]
  - install topkg                    1.1.1  [required by fmt]
  - install x509                     1.0.6  [required by http-mirage-client]
  - 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 ... 20622 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  (cached)
-> retrieved arp.4.1.0  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved ca-certs-nss.3.108  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed base64.3.5.2
-> installed conf-gmp-powm-sec.4
-> installed bigstringaf.0.10.0
-> retrieved digestif.1.3.0  (cached)
-> retrieved dns.9.1.0, dns-client.9.1.0, dns-client-mirage.9.1.0  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved ethernet.3.2.0  (cached)
-> retrieved faraday.0.8.2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved h2.0.13.0, hpack.0.13.0  (cached)
-> installed duration.0.2.1
-> retrieved happy-eyeballs.1.2.2, happy-eyeballs-mirage.1.2.2  (cached)
-> retrieved http-mirage-client.0.0.8  (cached)
-> installed gmap.0.3.0
-> installed domain-name.0.5.0
-> installed faraday.0.8.2
-> retrieved httpaf.0.7.1  (cached)
-> retrieved httpun-types.0.2.0  (cached)
-> retrieved ipaddr.5.6.1, ipaddr-cstruct.5.6.1, macaddr.5.6.1, macaddr-cstruct.5.6.1  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved ke.0.6  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> retrieved lwt-dllist.1.1.0  (cached)
-> retrieved metrics.0.5.0  (cached)
-> retrieved mimic.0.0.9, mimic-happy-eyeballs.0.0.9  (cached)
-> retrieved mirage-clock.4.2.0  (cached)
-> installed eqaf.0.10
-> installed httpun-types.0.2.0
-> installed macaddr.5.6.1
-> installed lwt-dllist.1.1.0
-> installed mirage-clock.4.2.0
-> installed ipaddr.5.6.1
-> retrieved mirage-crypto.1.2.0, mirage-crypto-ec.1.2.0, mirage-crypto-pk.1.2.0, mirage-crypto-rng.1.2.0, mirage-crypto-rng-mirage.1.2.0  (cached)
-> retrieved mirage-flow.5.0.0  (cached)
-> retrieved mirage-kv.6.1.1  (cached)
-> retrieved mirage-mtime.5.2.0  (cached)
-> retrieved mirage-net.4.0.0  (cached)
-> retrieved mirage-ptime.5.2.0  (cached)
-> installed digestif.1.3.0
-> retrieved mirage-runtime.4.10.3  (cached)
-> retrieved mirage-sleep.4.1.0  (cached)
-> retrieved mirage-time.3.0.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved paf.0.7.0  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved randomconv.0.2.0  (cached)
-> retrieved result.1.5  (cached)
-> installed mirage-time.3.0.0
-> installed mirage-sleep.4.1.0
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved tcpip.9.0.1  (cached)
-> installed ohex.0.2.0
-> installed randomconv.0.2.0
-> retrieved tls.2.0.3, tls-mirage.2.0.3  (cached)
-> installed optint.0.3.0
-> installed result.1.5
-> retrieved topkg.1.1.1  (cached)
-> retrieved x509.1.0.6  (cached)
-> retrieved zarith.1.14  (cached)
-> installed psq.0.2.1
-> installed lru.0.3.1
-> installed ocaml-syntax-shims.1.0.0
-> installed cmdliner.2.0.0
-> installed angstrom.0.16.1
-> installed mirage-crypto.1.2.0
-> installed kdf.1.0.0
-> installed httpaf.0.7.1
-> installed hpack.0.13.0
-> installed zarith.1.14
-> installed h2.0.13.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed mtime.2.1.0
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed mirage-mtime.5.2.0
-> installed mirage-kv.6.1.1
-> installed astring.0.8.5
-> installed mirage-ptime.5.2.0
-> installed ke.0.6
-> installed metrics.0.5.0
-> installed cstruct.6.2.0
-> installed asn1-combinators.0.3.2
-> installed ipaddr-cstruct.5.6.1
-> installed macaddr-cstruct.5.6.1
-> installed cstruct-lwt.6.2.0
-> installed mirage-flow.5.0.0
-> installed mirage-net.4.0.0
-> installed fpath.0.7.3
-> installed logs.0.10.0
-> installed ethernet.3.2.0
-> installed happy-eyeballs.1.2.2
-> installed mimic.0.0.9
-> installed mirage-runtime.4.10.3
-> installed arp.4.1.0
-> installed mirage-crypto-rng.1.2.0
-> installed mirage-crypto-rng-mirage.1.2.0
-> installed mirage-crypto-pk.1.2.0
-> installed dns.9.1.0
-> installed tcpip.9.0.1
-> installed happy-eyeballs-mirage.1.2.2
-> installed dns-client.9.1.0
-> installed bos.0.2.1
-> installed mirage-crypto-ec.1.2.0
-> installed x509.1.0.6
-> installed ca-certs-nss.3.108
-> installed tls.2.0.3
-> installed tls-mirage.2.0.3
-> installed dns-client-mirage.9.1.0
-> installed paf.0.7.0
-> installed mimic-happy-eyeballs.0.0.9
-> installed http-mirage-client.0.0.8
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-14 16:20.19 ---> saved as "4daf1e0ad9a79de9b74ddf625f8653ebbacc93b9793f3084fc851ece50c70d8e"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test http-mirage-client.0.0.8) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile http-mirage-client 0.0.8
=== install 7 packages
  - install   alcotest           1.9.1  [required by alcotest-lwt]
  - install   alcotest-lwt       1.9.1  [required by http-mirage-client]
  - install   mirage-clock-unix  4.2.0  [required by http-mirage-client]
  - install   mirage-time-unix   3.0.0  [required by http-mirage-client]
  - install   re                 1.14.0 [required by alcotest]
  - install   stdlib-shims       0.3.0  [required by alcotest]
  - install   uutf               1.0.4  [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1, alcotest-lwt.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved http-mirage-client.0.0.8  (https://opam.ocaml.org/cache)
-> retrieved mirage-clock-unix.4.2.0  (https://opam.ocaml.org/cache)
-> retrieved mirage-time-unix.3.0.0  (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0  (https://opam.ocaml.org/cache)
-> installed mirage-time-unix.3.0.0
-> retrieved stdlib-shims.0.3.0  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> installed mirage-clock-unix.4.2.0
-> installed re.1.14.0
-> removed   http-mirage-client.0.0.8
-> installed uutf.1.0.4
-> installed alcotest.1.9.1
-> installed alcotest-lwt.1.9.1
-> installed http-mirage-client.0.0.8
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-14 16:20.30 ---> saved as "ab5ca86904553ed7844534a8ed6f56073afd173889012a020b41cf9ba3b6261f"

/home/opam: (run (shell  "opam reinstall --with-test --verbose http-mirage-client.0.0.8;\
                        \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\" != 'http-mirage-client.0.0.8' && 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 http-mirage-client 0.0.8

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [http-mirage-client.0.0.8: extract]
-> retrieved http-mirage-client.0.0.8  (cached)
Processing  2/4: [http-mirage-client: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "http-mirage-client" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/http-mirage-client.0.0.8)
- (cd _build/default/test && ./test.exe --color=always)
- Testing `http-mirage-client'.
- This run has ID `7B1OXDPZ'.
- 
-   [OK]          http/1.1          0   Simple Hello World! (GET).
-   [OK]          http/1.1          1   Repeat (POST).
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/http-mirage-client.0.0.8/_build/default/test/_build/_tests/http-mirage-client'.
- Test Successful in 0.003s. 2 tests run.
-> compiled  http-mirage-client.0.0.8
-> removed   http-mirage-client.0.0.8
-> installed http-mirage-client.0.0.8
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-14 16:20.39 ---> saved as "8e3014d98412fdb6f8efad4366649d763c560ad63e96bcdea1f4c56991cd5c2c"
Job succeeded
2025-11-14 16:21.14: Job succeeded