(for PR #27494)

2025-02-24 08:32.15: New job: test cohttp-mirage.6.0.0~alpha0 with ocamlmod.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27494/head (0def47e7b511023db693d6098b7284568d1f56f0)
                              on debian-12-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/27494/head" && git reset --hard 0def47e7
git fetch origin master
git merge --no-edit 4022a684b64be8161a05cf897f492f8680792469
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098
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 ocamlmod.0.1.0 0.1.0
RUN opam reinstall ocamlmod.0.1.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" != 'ocamlmod.0.1.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-mirage.6.0.0~alpha0; \
    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-mirage.6.0.0~alpha0' && 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-mirage.6.0.0~alpha0) || true
RUN opam reinstall --with-test --verbose cohttp-mirage.6.0.0~alpha0; \
    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-mirage.6.0.0~alpha0' && 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-02-24 08:32.15: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098-ocamlmod.0.1.0-cohttp-mirage.6.0.0~alpha0-0def47e7b511023db693d6098b7284568d1f56f0"
2025-02-24 08:32.15: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
 (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 ocamlmod.0.1.0 0.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocamlmod.0.1.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\" != 'ocamlmod.0.1.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-mirage.6.0.0~alpha0;\
             \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-mirage.6.0.0~alpha0' && 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-mirage.6.0.0~alpha0) || true"))
 (run (shell  "opam reinstall --with-test --verbose cohttp-mirage.6.0.0~alpha0;\
             \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-mirage.6.0.0~alpha0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-02-24 08:32.15: Waiting for resource in pool OCluster
2025-02-24 09:50.09: Waiting for worker…
2025-02-24 09:52.13: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
Updating files:  58% (13138/22467)
Updating files:  59% (13256/22467)
Updating files:  60% (13481/22467)
Updating files:  61% (13705/22467)
Updating files:  62% (13930/22467)
Updating files:  63% (14155/22467)
Updating files:  64% (14379/22467)
Updating files:  65% (14604/22467)
Updating files:  66% (14829/22467)
Updating files:  67% (15053/22467)
Updating files:  68% (15278/22467)
Updating files:  69% (15503/22467)
Updating files:  70% (15727/22467)
Updating files:  71% (15952/22467)
Updating files:  72% (16177/22467)
Updating files:  73% (16401/22467)
Updating files:  74% (16626/22467)
Updating files:  75% (16851/22467)
Updating files:  76% (17075/22467)
Updating files:  77% (17300/22467)
Updating files:  78% (17525/22467)
Updating files:  79% (17749/22467)
Updating files:  80% (17974/22467)
Updating files:  81% (18199/22467)
Updating files:  82% (18423/22467)
Updating files:  83% (18648/22467)
Updating files:  84% (18873/22467)
Updating files:  85% (19097/22467)
Updating files:  86% (19322/22467)
Updating files:  87% (19547/22467)
Updating files:  88% (19771/22467)
Updating files:  89% (19996/22467)
Updating files:  90% (20221/22467)
Updating files:  91% (20445/22467)
Updating files:  92% (20670/22467)
Updating files:  93% (20895/22467)
Updating files:  94% (21119/22467)
Updating files:  95% (21344/22467)
Updating files:  96% (21569/22467)
Updating files:  97% (21793/22467)
Updating files:  98% (22018/22467)
Updating files:  99% (22243/22467)
Updating files: 100% (22467/22467)
Updating files: 100% (22467/22467), done.
HEAD is now at 4022a684b6 Merge pull request #27464 from hannesm/release-crunch-v4.0.0
Updating 4022a684b6..0def47e7b5
Fast-forward
 packages/ocamlmod/ocamlmod.0.1.0/opam | 37 +++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 packages/ocamlmod/ocamlmod.0.1.0/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098' locally
docker.io/ocaml/opam@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098: Pulling from ocaml/opam
abf49717bc35: Pulling fs layer
abf49717bc35: Verifying Checksum
abf49717bc35: Download complete
abf49717bc35: Pull complete
Digest: sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098
Status: Downloaded newer image for ocaml/opam@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098
2025-02-24 09:52.25 ---> using "fd8c1dcac8c3a6cd3ee8edd679de5f3384de62d6f587d449e00238111470ab75" 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-02-24 09:52.25 ---> using "63348f49024352af4df51181a4d2b78015b336e78bdb909884d7d69472d901a3" 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 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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-24 09:52.25 ---> using "43a9673a4da24840797129b74017b6eb598863ba09d5d1a9bc3d3bd190bc8651" 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.4.0~alpha1~dev (34b7b4ec4af0ebd3c8fc4aee8088471be2ad48c7)
# 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                 31
# repositories         1 (local), 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-02-24 09:52.25 ---> using "5b9fc6f723d0065251ab5d52aa7740a229f8f438bf79f559d9f8db36ee599317" 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-02-24 09:52.25 ---> using "a874c49896169ec02e95177c8b5fb923a0e02dbc7bef07316a52b7ca53832295" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-02-24 09:52.27 ---> using "4253df3ceb367f320e2e59481694f41945d0aa5a3aff8e84d62ec30597769699" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-24 09:52.27 ---> using "b0d31e1d3e54c8f2cf9229a7a258f86593277d01a3029f618e9e06729f50143c" 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 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 [246 kB]
- Fetched 349 kB in 0s (848 kB/s)
- Reading package lists...
- 
2025-02-24 09:52.27 ---> using "3190819e9a9b503daf97a971adb376054d5dae792297b7f693d4b54899654a95" from cache

/home/opam: (run (shell "opam pin add -k version -yn ocamlmod.0.1.0 0.1.0"))
ocamlmod is now pinned to version 0.1.0
2025-02-24 09:52.27 ---> using "a1c9a3b28bfa48ebb2cb16d4ad6c5c79f4f4025f4430dedc449bfd06148b496a" from cache

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2  (cached)
-> retrieved ocamlmod.0.1.0  (cached)
-> installed dune.3.17.2
-> installed ocamlmod.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 09:52.27 ---> using "518b5c4f8da5b692ed3584669396faac7fdc0a48af64716bd9f64828cc9889f6" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall cohttp-mirage.6.0.0~alpha0;\
                        \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-mirage.6.0.0~alpha0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
cohttp-mirage.6.0.0~alpha0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 100 packages
  - install angstrom                 0.16.1       [required by uri]
  - install arp                      4.0.0        [required by tcpip]
  - install asn1-combinators         0.3.2        [required by x509]
  - install astring                  0.8.5        [required by cohttp-mirage]
  - install base                     v0.16.3      [required by ppx_sexp_conv]
  - install base-bytes               base         [required by cohttp]
  - 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-nss]
  - install ca-certs-nss             3.108        [required by conduit-mirage]
  - install cmdliner                 1.3.0        [required by logs, ca-certs-nss]
  - install cohttp                   6.0.0~alpha0 [required by cohttp-mirage]
  - install cohttp-lwt               6.0.0~alpha0 [required by cohttp-mirage]
  - install cohttp-mirage            6.0.0~alpha0
  - install conduit                  7.1.0        [required by cohttp-mirage]
  - install conduit-lwt              7.1.0        [required by conduit-mirage]
  - install conduit-mirage           7.1.0        [required by cohttp-mirage]
  - install conf-bash                1            [required by base]
  - install conf-gmp                 4            [required by conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec        3            [required by mirage-crypto-pk]
  - install conf-pkg-config          4            [required by io-page]
  - install cppo                     1.8.0        [required by lwt]
  - install csexp                    1.5.2        [required by dune-configurator]
  - install cstruct                  6.2.0        [required by cohttp-mirage]
  - install cstruct-lwt              6.2.0        [required by tcpip]
  - install digestif                 1.2.0        [required by 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 conduit-mirage]
  - install domain-name              0.4.1        [required by ipaddr, dns-client-mirage]
  - install dune-configurator        3.17.2       [required by base, lwt]
  - install duration                 0.2.1        [required by happy-eyeballs-mirage, happy-eyeballs, mirage-crypto-rng-mirage]
  - install eqaf                     0.10         [required by digestif]
  - install ethernet                 3.2.0        [required by tcpip]
  - install fmt                      0.9.0        [required by cohttp-mirage]
  - install fpath                    0.7.3        [required by bos]
  - install gmap                     0.3.0        [required by x509]
  - install happy-eyeballs           1.2.2        [required by dns-client-mirage]
  - install happy-eyeballs-mirage    1.2.2        [required by conduit-mirage]
  - install http                     6.0.0~alpha0 [required by cohttp, cohttp-lwt]
  - install io-page                  3.0.0        [required by vchan]
  - install ipaddr                   5.6.0        [required by conduit, conduit-mirage]
  - install ipaddr-cstruct           5.6.0        [required by tcpip]
  - install ipaddr-sexp              5.6.0        [required by conduit, conduit-mirage]
  - install kdf                      1.0.0        [required by x509]
  - install logs                     0.7.0        [required by conduit, cohttp-lwt, mirage-channel]
  - install lru                      0.3.1        [required by dns, tcpip]
  - install lwt                      5.9.0        [required by cohttp-mirage]
  - install lwt-dllist               1.0.1        [required by tcpip]
  - install macaddr                  5.6.0        [required by ipaddr]
  - install macaddr-cstruct          5.6.0        [required by tcpip]
  - install magic-mime               1.3.1        [required by cohttp-mirage]
  - install metrics                  0.4.1        [required by dns, tcpip]
  - install mirage-channel           4.1.0        [required by cohttp-mirage]
  - install mirage-clock             4.2.0        [required by conduit-mirage]
  - install mirage-crypto            1.2.0        [required by x509, tls-mirage]
  - install mirage-crypto-ec         1.2.0        [required by x509]
  - install mirage-crypto-pk         1.2.0        [required by x509, tls-mirage]
  - install mirage-crypto-rng        1.2.0        [required by dns-client, x509, mirage-crypto-rng-mirage]
  - install mirage-crypto-rng-mirage 1.2.0        [required by conduit-mirage]
  - install mirage-flow              5.0.0        [required by cohttp-mirage]
  - install mirage-flow-combinators  5.0.0        [required by conduit-mirage]
  - install mirage-kv                6.1.1        [required by cohttp-mirage]
  - install mirage-mtime             5.0.0        [required by mirage-flow-combinators]
  - install mirage-net               4.0.0        [required by tcpip]
  - install mirage-ptime             5.0.0        [required by tls-mirage]
  - install mirage-runtime           4.8.2        [required by mirage-crypto-rng-mirage]
  - install mirage-sleep             4.0.0        [required by tcpip]
  - install mirage-time              3.0.0        [required by conduit-mirage]
  - install mtime                    2.1.0        [required by dns-client]
  - install ocaml-compiler-libs      v0.12.4      [required by ppxlib]
  - install ocaml-syntax-shims       1.0.0        [required by angstrom]
  - install ocamlbuild               0.15.0       [required by astring]
  - install ocamlfind                1.9.8        [required by astring]
  - install ocplib-endian            1.2          [required by lwt]
  - install ohex                     0.2.0        [required by x509]
  - install optint                   0.3.0        [required by mirage-kv]
  - install ppx_derivers             1.2.1        [required by ppxlib]
  - install ppx_sexp_conv            v0.16.0      [required by cohttp-mirage]
  - install ppxlib                   0.35.0       [required by ppx_sexp_conv]
  - install psq                      0.2.1        [required by lru]
  - install ptime                    1.2.0        [required by x509, tls-mirage]
  - install randomconv               0.2.0        [required by dns-client]
  - install re                       1.12.0       [required by cohttp]
  - install rresult                  0.7.0        [required by bos]
  - install seq                      base         [required by re]
  - install sexplib0                 v0.16.0      [required by conduit, cohttp, cohttp-lwt, conduit-mirage]
  - install stdlib-shims             0.3.0        [required by ppxlib]
  - install stringext                1.6.0        [required by cohttp]
  - install tcpip                    9.0.0        [required by conduit-mirage]
  - install tls                      2.0.0        [required by conduit-mirage]
  - install tls-mirage               2.0.0        [required by conduit-mirage]
  - install topkg                    1.0.7        [required by astring]
  - install uri                      4.4.0        [required by conduit, cohttp, cohttp-lwt, conduit-mirage]
  - install uri-sexp                 4.4.0        [required by cohttp]
  - install vchan                    6.0.2        [required by conduit-mirage]
  - install x509                     1.0.5        [required by ca-certs-nss, dns-client-mirage]
  - install xenstore                 2.3.0        [required by conduit-mirage]
  - install xenstore_transport       1.3.0        [required by vchan]
  - 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 ... 18745 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+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved arp.4.0.0  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.16.3  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved ca-certs-nss.3.108  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cohttp.6.0.0~alpha0, cohttp-lwt.6.0.0~alpha0, cohttp-mirage.6.0.0~alpha0, http.6.0.0~alpha0  (cached)
-> installed base64.3.5.1
-> retrieved conduit.7.1.0, conduit-lwt.7.1.0, conduit-mirage.7.1.0  (cached)
-> retrieved conf-gmp.4  (cached)
-> retrieved conf-gmp-powm-sec.3  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-bash.1
-> installed conf-pkg-config.4
-> installed conf-gmp.4
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0  (cached)
-> installed conf-gmp-powm-sec.3
-> installed csexp.1.5.2
-> installed http.6.0.0~alpha0
-> retrieved digestif.1.2.0  (cached)
-> retrieved dns.9.1.0, dns-client.9.1.0, dns-client-mirage.9.1.0  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> installed cppo.1.8.0
-> installed domain-name.0.4.1
-> retrieved dune-configurator.3.17.2  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved ethernet.3.2.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved happy-eyeballs.1.2.2, happy-eyeballs-mirage.1.2.2  (cached)
-> retrieved io-page.3.0.0  (cached)
-> retrieved ipaddr.5.6.0, ipaddr-cstruct.5.6.0, ipaddr-sexp.5.6.0, macaddr.5.6.0, macaddr-cstruct.5.6.0  (cached)
-> installed cmdliner.1.3.0
-> installed duration.0.2.1
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> retrieved lwt.5.9.0  (cached)
-> installed gmap.0.3.0
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved magic-mime.1.3.1  (cached)
-> retrieved metrics.0.4.1  (cached)
-> retrieved mirage-channel.4.1.0  (cached)
-> retrieved mirage-clock.4.2.0  (cached)
-> installed eqaf.0.10
-> installed macaddr.5.6.0
-> installed lwt-dllist.1.0.1
-> installed mirage-clock.4.2.0
-> 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)
-> installed ipaddr.5.6.0
-> retrieved mirage-flow.5.0.0, mirage-flow-combinators.5.0.0  (cached)
-> retrieved mirage-kv.6.1.1  (cached)
-> retrieved mirage-mtime.5.0.0  (cached)
-> retrieved mirage-net.4.0.0  (cached)
-> retrieved mirage-ptime.5.0.0  (cached)
-> retrieved mirage-runtime.4.8.2  (cached)
-> retrieved mirage-sleep.4.0.0  (cached)
-> retrieved mirage-time.3.0.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> installed magic-mime.1.3.1
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> installed digestif.1.2.0
-> retrieved ppxlib.0.35.0  (cached)
-> installed dune-configurator.3.17.2
-> installed ohex.0.2.0
-> installed ppx_derivers.1.2.1
-> retrieved psq.0.2.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved randomconv.0.2.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> installed optint.0.3.0
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> installed randomconv.0.2.0
-> retrieved tcpip.9.0.0  (cached)
-> retrieved tls.2.0.0, tls-mirage.2.0.0  (cached)
-> installed psq.0.2.1
-> installed stringext.1.6.0
-> retrieved topkg.1.0.7  (cached)
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed bigstringaf.0.10.0
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> retrieved vchan.6.0.2  (cached)
-> retrieved x509.1.0.5  (cached)
-> installed ocaml-syntax-shims.1.0.0
-> installed lru.0.3.1
-> retrieved xenstore.2.3.0  (cached)
-> retrieved xenstore_transport.1.3.0  (cached)
-> retrieved zarith.1.14  (cached)
-> installed sexplib0.v0.16.0
-> installed angstrom.0.16.1
-> installed re.1.12.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed mirage-crypto.1.2.0
-> installed ocplib-endian.1.2
-> installed kdf.1.0.0
-> installed uri.4.4.0
-> installed ocamlbuild.0.15.0
-> installed base.v0.16.3
-> installed lwt.5.9.0
-> installed zarith.1.14
-> installed mirage-time.3.0.0
-> installed mirage-sleep.4.0.0
-> installed xenstore.2.3.0
-> installed xenstore_transport.1.3.0
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed fmt.0.9.0
-> installed mtime.2.1.0
-> installed mirage-mtime.5.0.0
-> installed metrics.0.4.1
-> installed ptime.1.2.0
-> installed cstruct.6.2.0
-> installed astring.0.8.5
-> installed mirage-kv.6.1.1
-> installed mirage-flow.5.0.0
-> installed macaddr-cstruct.5.6.0
-> installed cstruct-lwt.6.2.0
-> installed mirage-ptime.5.0.0
-> installed ipaddr-cstruct.5.6.0
-> installed io-page.3.0.0
-> installed mirage-net.4.0.0
-> installed asn1-combinators.0.3.2
-> installed vchan.6.0.2
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed ethernet.3.2.0
-> installed mirage-channel.4.1.0
-> installed mirage-flow-combinators.5.0.0
-> installed happy-eyeballs.1.2.2
-> installed mirage-runtime.4.8.2
-> installed mirage-crypto-rng.1.2.0
-> installed arp.4.0.0
-> installed mirage-crypto-rng-mirage.1.2.0
-> installed mirage-crypto-pk.1.2.0
-> installed dns.9.1.0
-> installed dns-client.9.1.0
-> installed tcpip.9.0.0
-> installed ppxlib.0.35.0
-> installed bos.0.2.1
-> installed happy-eyeballs-mirage.1.2.2
-> installed ppx_sexp_conv.v0.16.0
-> installed mirage-crypto-ec.1.2.0
-> installed ipaddr-sexp.5.6.0
-> installed uri-sexp.4.4.0
-> installed x509.1.0.5
-> installed conduit.7.1.0
-> installed ca-certs-nss.3.108
-> installed cohttp.6.0.0~alpha0
-> installed tls.2.0.0
-> installed conduit-lwt.7.1.0
-> installed tls-mirage.2.0.0
-> installed dns-client-mirage.9.1.0
-> installed cohttp-lwt.6.0.0~alpha0
-> installed conduit-mirage.7.1.0
-> installed cohttp-mirage.6.0.0~alpha0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 09:55.02 ---> saved as "8dec3193ea669a710163107482686ac12febf87e6100c990673bcb99ef7ba8c8"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test cohttp-mirage.6.0.0~alpha0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile cohttp-mirage 6.0.0~alpha0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cohttp-mirage.6.0.0~alpha0  (https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha0/cohttp-eio-6.0.0.alpha0.tbz)
-> removed   cohttp-mirage.6.0.0~alpha0
-> installed cohttp-mirage.6.0.0~alpha0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 09:55.20 ---> saved as "3df3745eb08a95078fefe882b36490f9a622262ce70a3d45b712466b333602ab"

/home/opam: (run (shell  "opam reinstall --with-test --verbose cohttp-mirage.6.0.0~alpha0;\
                        \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-mirage.6.0.0~alpha0' && 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-mirage 6.0.0~alpha0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [cohttp-mirage.6.0.0~alpha0: extract]
-> retrieved cohttp-mirage.6.0.0~alpha0  (cached)
Processing  2/4: [cohttp-mirage: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cohttp-mirage" "-j" "31" "--promote-install-files=false" "@install" "@cohttp-mirage/runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/cohttp-mirage.6.0.0~alpha0)
Processing  2/4: [cohttp-mirage: dune install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "cohttp-mirage" "--create-install-files" "cohttp-mirage" (CWD=/home/opam/.opam/4.14/.opam-switch/build/cohttp-mirage.6.0.0~alpha0)
-> compiled  cohttp-mirage.6.0.0~alpha0
-> removed   cohttp-mirage.6.0.0~alpha0
-> installed cohttp-mirage.6.0.0~alpha0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 09:55.42 ---> saved as "5f6f773cee48a6fdef14fa02038fa5f201259363f974ce8e444f7cae7ec551ad"
Job succeeded
2025-02-24 09:55.59: Job succeeded