(for PR #27494)

2025-02-24 08:27.50: New job: test cohttp-mirage.6.0.0~alpha2 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-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/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-5.3@sha256:6434bcbbde140b05dae76dbfeb2fd716579c003b44f3df292eca16e85504ddfa
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~alpha2; \
    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~alpha2' && 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~alpha2) || true
RUN opam reinstall --with-test --verbose cohttp-mirage.6.0.0~alpha2; \
    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~alpha2' && 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:27.50: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:6434bcbbde140b05dae76dbfeb2fd716579c003b44f3df292eca16e85504ddfa-ocamlmod.0.1.0-cohttp-mirage.6.0.0~alpha2-0def47e7b511023db693d6098b7284568d1f56f0"
2025-02-24 08:27.50: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:6434bcbbde140b05dae76dbfeb2fd716579c003b44f3df292eca16e85504ddfa)
 (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~alpha2;\
             \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~alpha2' && 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~alpha2) || true"))
 (run (shell  "opam reinstall --with-test --verbose cohttp-mirage.6.0.0~alpha2;\
             \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~alpha2' && 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:27.50: Waiting for resource in pool OCluster
2025-02-24 08:46.23: Waiting for worker…
2025-02-24 08:48.57: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files:  85% (19099/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-5.3@sha256:6434bcbbde140b05dae76dbfeb2fd716579c003b44f3df292eca16e85504ddfa)
2025-02-24 08:49.35 ---> using "23dae15f16843ab5902c5cce9dbc18fd61fe6dc052057f0ca063cfb82b8c6dd6" 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 08:49.35 ---> using "183edc09aeb266c8756ce60cea25267fe78c7a43703c1513a283c115167b7488" 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 08:49.35 ---> using "8e1e5f9e47249315fa4f367468a5580b9a2d4fb00771b5f67957813a2010eb5a" 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                 255
# repositories         1 (local), 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-02-24 08:49.35 ---> using "4cd6cccf714a1634d818d6eb3b887ad5badd1a7417d4e90c35d117f1146753a8" 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 08:49.35 ---> using "3ac4b16e3d83257487674750e6b6f55616930da6a06edec95bf943f1ece34ca9" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-02-24 08:49.36 ---> using "1c38e787d16f29c3597c5d40726661029f4fe0c698531818e285f99130d24419" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-24 08:49.36 ---> using "f0b53c67cd3e068efb6a6b3d130dd9b412070380b8fd1e4ec8f8b7a129670091" 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 (714 kB/s)
- Reading package lists...
- 
2025-02-24 08:49.36 ---> using "c53107140f307b72e4e85063f7d75176980d3788184361659b0fd0307f9d092e" 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 08:49.36 ---> using "3e40d7eca8182458466b5dd8a604eec903345a19e4a9382fb8bc4265abf29ee4" 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 08:49.36 ---> using "c6c6331fa6a5604d8af6254f166c8c8a030e766013f76a16a9bc754b5e924252" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall cohttp-mirage.6.0.0~alpha2;\
                        \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~alpha2' && 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~alpha2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 101 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.17.1      [required by ppx_sexp_conv]
  - install base-bytes               base         [required by ocplib-endian]
  - 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~alpha2 [required by cohttp-mirage]
  - install cohttp-lwt               6.0.0~alpha2 [required by cohttp-mirage]
  - install cohttp-mirage            6.0.0~alpha2
  - 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-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~alpha2 [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.17.0      [required by ppxlib]
  - install ocaml-syntax-shims       1.0.0        [required by angstrom]
  - install ocaml_intrinsics_kernel  v0.17.1      [required by base]
  - install ocamlbuild               0.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.17.0      [required by cohttp-mirage]
  - install ppxlib                   0.35.0       [required by ppx_sexp_conv]
  - install ppxlib_jane              v0.17.2      [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.17.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 ... 18776 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.17.1  (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~alpha2, cohttp-lwt.6.0.0~alpha2, cohttp-mirage.6.0.0~alpha2, http.6.0.0~alpha2  (cached)
-> 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)
-> installed base64.3.5.1
-> installed conf-pkg-config.4
-> installed conf-gmp.4
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0  (cached)
-> installed conf-gmp-powm-sec.3
-> installed http.6.0.0~alpha2
-> installed csexp.1.5.2
-> 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 domain-name.0.4.1
-> installed cppo.1.8.0
-> 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
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> installed duration.0.2.1
-> 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 macaddr.5.6.0
-> installed lwt-dllist.1.0.1
-> installed eqaf.0.10
-> 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)
-> 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)
-> installed ipaddr.5.6.0
-> retrieved mirage-ptime.5.0.0  (cached)
-> retrieved mirage-runtime.4.8.2  (cached)
-> installed magic-mime.1.3.1
-> 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.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> installed dune-configurator.3.17.2
-> installed digestif.1.2.0
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> installed ocaml_intrinsics_kernel.v0.17.1
-> retrieved optint.0.3.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.17.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved ppxlib_jane.v0.17.2  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved randomconv.0.2.0  (cached)
-> installed ohex.0.2.0
-> installed ppx_derivers.1.2.1
-> installed bigstringaf.0.10.0
-> retrieved re.1.12.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> installed optint.0.3.0
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved tcpip.9.0.0  (cached)
-> installed randomconv.0.2.0
-> retrieved tls.2.0.0, tls-mirage.2.0.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> installed ocaml-compiler-libs.v0.17.0
-> installed psq.0.2.1
-> installed stringext.1.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed stdlib-shims.0.3.0
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> retrieved vchan.6.0.2  (cached)
-> retrieved x509.1.0.5  (cached)
-> retrieved xenstore.2.3.0  (cached)
-> retrieved xenstore_transport.1.3.0  (cached)
-> retrieved zarith.1.14  (cached)
-> installed sexplib0.v0.17.0
-> installed lru.0.3.1
-> installed mirage-crypto.1.2.0
-> installed angstrom.0.16.1
-> installed re.1.12.0
-> installed kdf.1.0.0
-> installed uri.4.4.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocplib-endian.1.2
-> installed ocamlbuild.0.15.0
-> installed zarith.1.14
-> installed base.v0.17.1
-> installed lwt.5.9.0
-> 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 mtime.2.1.0
-> installed fmt.0.9.0
-> installed ptime.1.2.0
-> installed mirage-mtime.5.0.0
-> installed astring.0.8.5
-> installed mirage-kv.6.1.1
-> installed mirage-ptime.5.0.0
-> installed metrics.0.4.1
-> installed cstruct.6.2.0
-> installed asn1-combinators.0.3.2
-> installed ipaddr-cstruct.5.6.0
-> installed cstruct-lwt.6.2.0
-> installed macaddr-cstruct.5.6.0
-> installed io-page.3.0.0
-> installed mirage-flow.5.0.0
-> installed mirage-net.4.0.0
-> installed fpath.0.7.3
-> installed ppxlib.0.35.0
-> installed vchan.6.0.2
-> installed logs.0.7.0
-> installed mirage-flow-combinators.5.0.0
-> installed ethernet.3.2.0
-> installed happy-eyeballs.1.2.2
-> installed mirage-channel.4.1.0
-> installed mirage-runtime.4.8.2
-> installed mirage-crypto-rng.1.2.0
-> installed arp.4.0.0
-> installed ppxlib_jane.v0.17.2
-> installed mirage-crypto-rng-mirage.1.2.0
-> installed mirage-crypto-pk.1.2.0
-> installed dns.9.1.0
-> installed tcpip.9.0.0
-> installed dns-client.9.1.0
-> installed happy-eyeballs-mirage.1.2.2
-> installed bos.0.2.1
-> installed ppx_sexp_conv.v0.17.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 cohttp.6.0.0~alpha2
-> installed ca-certs-nss.3.108
-> 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~alpha2
-> installed conduit-mirage.7.1.0
-> installed cohttp-mirage.6.0.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 08:50.28 ---> saved as "53256d624e5cd9368bdf7afacfbb9cb34d3c1d602a851275959afd8dabe8cfd9"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cohttp-mirage.6.0.0~alpha2  (https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha2/cohttp-6.0.0.alpha2.tbz)
-> removed   cohttp-mirage.6.0.0~alpha2
-> installed cohttp-mirage.6.0.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 08:50.39 ---> saved as "12fdf210006f414cc73e6dd6dcee5623d631a425b25a7fd1b2fc8e77c5498309"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [cohttp-mirage.6.0.0~alpha2: extract]
-> retrieved cohttp-mirage.6.0.0~alpha2  (cached)
Processing  2/4: [cohttp-mirage: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cohttp-mirage" "-j" "255" "@install" "@cohttp-mirage/runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/cohttp-mirage.6.0.0~alpha2)
-> compiled  cohttp-mirage.6.0.0~alpha2
-> removed   cohttp-mirage.6.0.0~alpha2
-> installed cohttp-mirage.6.0.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 08:50.51 ---> saved as "6a900baa7795130ab83b609f7b183a407d5d1df689ada4fc55d55d1c50d04588"
Job succeeded
2025-02-24 08:51.02: Job succeeded