(for PR #27494)

2025-02-24 08:32.13: New job: test git-mirage.3.14.0 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 git-mirage.3.14.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" != 'git-mirage.3.14.0' && 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 git-mirage.3.14.0) || true
RUN opam reinstall --with-test --verbose git-mirage.3.14.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" != 'git-mirage.3.14.0' && 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.13: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098-ocamlmod.0.1.0-git-mirage.3.14.0-0def47e7b511023db693d6098b7284568d1f56f0"
2025-02-24 08:32.13: 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 git-mirage.3.14.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\" != 'git-mirage.3.14.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 (network host)
      (shell "(opam reinstall --with-test git-mirage.3.14.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose git-mirage.3.14.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\" != 'git-mirage.3.14.0' && 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.13: Waiting for resource in pool OCluster
2025-02-24 09:43.18: Waiting for worker…
2025-02-24 09:46.34: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
Updating files:  68% (15306/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:46.40 ---> 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:46.40 ---> 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:46.40 ---> 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:46.40 ---> 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:46.40 ---> using "a874c49896169ec02e95177c8b5fb923a0e02dbc7bef07316a52b7ca53832295" from cache

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-24 09:46.42 ---> 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 (1471 kB/s)
- Reading package lists...
2025-02-24 09:46.42 ---> 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:46.42 ---> 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:46.42 ---> using "518b5c4f8da5b692ed3584669396faac7fdc0a48af64716bd9f64828cc9889f6" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall git-mirage.3.14.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\" != 'git-mirage.3.14.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
git-mirage.3.14.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 102 packages
  - install angstrom              0.16.1             [required by git]
  - install arp                   3.1.1              [required by tcpip]
  - install asn1-combinators      0.2.6              [required by x509]
  - install astring               0.8.5              [required by git]
  - install awa                   0.3.0              [required by git-mirage]
  - install awa-mirage            0.3.0              [required by git-mirage]
  - install base-bytes            base               [required by ocplib-endian]
  - install base64                3.5.1              [required by git-mirage]
  - install bigstringaf           0.10.0             [required by git, git-paf]
  - install bos                   0.2.1              [required by ca-certs-nss]
  - install ca-certs-nss          3.101              [required by git-mirage]
  - install carton                0.7.2              [required by git]
  - install carton-git            0.7.2              [required by git]
  - install carton-lwt            0.7.2              [required by git]
  - install checkseum             0.5.2              [required by git]
  - install cmdliner              1.3.0              [required by awa, ca-certs-nss]
  - 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 zarith]
  - install cppo                  1.8.0              [required by lwt]
  - install csexp                 1.5.2              [required by dune-configurator]
  - install cstruct               6.2.0              [required by git-mirage]
  - install cstruct-lwt           6.2.0              [required by tcpip]
  - install cstruct-unix          6.2.0              [required by awa]
  - install decompress            1.5.3              [required by git]
  - install digestif              1.2.0              [required by git]
  - install dns                   7.0.3              [required by git-mirage]
  - install dns-client            7.0.3              [required by git-mirage]
  - install dns-client-mirage     7.0.3              [required by happy-eyeballs-mirage]
  - install domain-name           0.4.1              [required by git-mirage]
  - install duff                  0.5                [required by carton]
  - install dune-configurator     3.17.2             [required by mirage-crypto, mirage-crypto-ec]
  - install duration              0.2.1              [required by happy-eyeballs, awa-mirage, dns, happy-eyeballs-mirage]
  - install emile                 1.1                [required by git]
  - install encore                0.8                [required by git]
  - install eqaf                  0.9                [required by awa]
  - install ethernet              3.2.0              [required by tcpip]
  - install faraday               0.8.2              [required by httpaf, paf]
  - install fmt                   0.9.0              [required by git-mirage]
  - install fpath                 0.7.3              [required by git]
  - install git                   3.14.0             [required by git-mirage]
  - install git-mirage            3.14.0
  - install git-paf               3.14.0             [required by git-mirage]
  - install gmap                  0.3.0              [required by dns]
  - install h2                    0.13.0             [required by paf]
  - install happy-eyeballs        0.6.0              [required by git-mirage]
  - install happy-eyeballs-mirage 0.6.0              [required by git-mirage]
  - install hex                   1.5.0              [required by git-mirage]
  - install hkdf                  1.0.4 (deprecated) [required by tls]
  - install hpack                 0.13.0             [required by h2]
  - install httpaf                0.7.1              [required by git-paf]
  - install httpun-types          0.2.0              [required by h2]
  - install hxd                   0.3.3              [required by git]
  - install ipaddr                5.6.0              [required by git-mirage]
  - install ipaddr-cstruct        5.6.0              [required by tcpip]
  - install ke                    0.6                [required by git]
  - install logs                  0.7.0              [required by happy-eyeballs, git, ca-certs-nss, etc.]
  - install lru                   0.3.1              [required by dns]
  - install lwt                   5.9.0              [required by git-mirage]
  - install lwt-dllist            1.0.1              [required by tcpip]
  - install macaddr               5.6.0              [required by ipaddr, tcpip]
  - install macaddr-cstruct       5.6.0              [required by tcpip]
  - install metrics               0.4.1              [required by dns]
  - install mimic                 0.0.6              [required by git-mirage]
  - install mimic-happy-eyeballs  0.0.6              [required by git-mirage]
  - install mirage-clock          4.2.0              [required by git-mirage]
  - install mirage-crypto         0.11.3             [required by git-mirage]
  - install mirage-crypto-ec      0.11.3             [required by awa]
  - install mirage-crypto-pk      0.11.3             [required by awa]
  - install mirage-crypto-rng     0.11.3             [required by awa, dns-client]
  - install mirage-flow           3.0.0              [required by git-mirage]
  - install mirage-kv             6.1.1              [required by tls-mirage]
  - install mirage-net            4.0.0              [required by tcpip]
  - install mirage-random         3.0.0 (deprecated) [required by git-mirage]
  - install mirage-time           3.0.0              [required by git-mirage]
  - install mtime                 2.1.0              [required by awa-mirage, awa, dns-client]
  - install ocaml-syntax-shims    1.0.0              [required by angstrom]
  - install ocamlbuild            0.15.0             [required by mtime, logs, bos]
  - install ocamlfind             1.9.8              [required by mtime, logs, bos]
  - install ocamlgraph            2.1.0              [required by git]
  - install ocplib-endian         1.2                [required by lwt]
  - install optint                0.3.0              [required by git]
  - install paf                   0.5.0              [required by git-paf]
  - install pbkdf                 1.2.0              [required by x509]
  - install pecu                  0.7                [required by emile]
  - install psq                   0.2.1              [required by git]
  - install ptime                 1.2.0              [required by git-mirage]
  - install randomconv            0.1.3              [required by dns-client]
  - install result                1.5                [required by git-mirage]
  - install rresult               0.7.0              [required by git-mirage]
  - install seq                   base               [required by psq]
  - install sexplib0              v0.17.0            [required by mirage-crypto-pk]
  - install stdlib-shims          0.3.0              [required by ocamlgraph]
  - install stringext             1.6.0              [required by uri]
  - install tcpip                 8.0.0              [required by git-mirage]
  - install tls                   0.17.3             [required by git-mirage]
  - install tls-mirage            0.17.3             [required by git-mirage]
  - install topkg                 1.0.7              [required by mtime, logs, bos]
  - install uri                   4.4.0              [required by git-mirage]
  - install uutf                  1.0.3              [required by emile]
  - install x509                  0.16.5             [required by git-mirage]
  - install zarith                1.14               [required by awa]

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.3.1.1  (cached)
-> retrieved asn1-combinators.0.2.6  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved awa.0.3.0, awa-mirage.0.3.0  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved ca-certs-nss.3.101  (cached)
-> retrieved carton.0.7.2, carton-git.0.7.2, carton-lwt.0.7.2  (cached)
-> retrieved checkseum.0.5.2  (cached)
-> retrieved cmdliner.1.3.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-pkg-config.4
-> installed conf-gmp.4
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0, cstruct-unix.6.2.0  (cached)
-> installed conf-gmp-powm-sec.3
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> retrieved decompress.1.5.3  (cached)
-> retrieved digestif.1.2.0  (cached)
-> installed cppo.1.8.0
-> retrieved dns.7.0.3, dns-client.7.0.3, dns-client-mirage.7.0.3  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved duff.0.5  (cached)
-> installed domain-name.0.4.1
-> retrieved dune-configurator.3.17.2  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved emile.1.1  (cached)
-> retrieved encore.0.8  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved ethernet.3.2.0  (cached)
-> retrieved faraday.0.8.2  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> installed cmdliner.1.3.0
-> retrieved git.3.14.0, git-mirage.3.14.0, git-paf.3.14.0  (cached)
-> installed duration.0.2.1
-> retrieved gmap.0.3.0  (cached)
-> retrieved h2.0.13.0, hpack.0.13.0  (cached)
-> retrieved happy-eyeballs.0.6.0, happy-eyeballs-mirage.0.6.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved hkdf.1.0.4  (cached)
-> retrieved httpaf.0.7.1  (cached)
-> retrieved httpun-types.0.2.0  (cached)
-> retrieved hxd.0.3.3  (cached)
-> installed gmap.0.3.0
-> retrieved ipaddr.5.6.0, ipaddr-cstruct.5.6.0, macaddr.5.6.0, macaddr-cstruct.5.6.0  (cached)
-> retrieved ke.0.6  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> retrieved lwt.5.9.0  (cached)
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved metrics.0.4.1  (cached)
-> retrieved mimic.0.0.6, mimic-happy-eyeballs.0.0.6  (cached)
-> retrieved mirage-clock.4.2.0  (cached)
-> installed macaddr.5.6.0
-> installed lwt-dllist.1.0.1
-> installed mirage-clock.4.2.0
-> installed ipaddr.5.6.0
-> retrieved mirage-crypto.0.11.3, mirage-crypto-ec.0.11.3, mirage-crypto-pk.0.11.3, mirage-crypto-rng.0.11.3  (cached)
-> installed dune-configurator.3.17.2
-> retrieved mirage-flow.3.0.0  (cached)
-> retrieved mirage-kv.6.1.1  (cached)
-> retrieved mirage-net.4.0.0  (cached)
-> retrieved mirage-random.3.0.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.15.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlgraph.2.1.0  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved paf.0.5.0  (cached)
-> retrieved pbkdf.1.2.0  (cached)
-> retrieved pecu.0.7  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved randomconv.0.1.3  (cached)
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed bigstringaf.0.10.0
-> retrieved stringext.1.6.0  (cached)
-> retrieved tcpip.8.0.0  (cached)
-> installed optint.0.3.0
-> installed pecu.0.7
-> retrieved tls.0.17.3, tls-mirage.0.17.3  (cached)
-> installed result.1.5
-> retrieved topkg.1.0.7  (cached)
-> installed stringext.1.6.0
-> installed stdlib-shims.0.3.0
-> installed psq.0.2.1
-> installed faraday.0.8.2
-> retrieved uri.4.4.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved x509.0.16.5  (cached)
-> retrieved zarith.1.14  (cached)
-> installed ocaml-syntax-shims.1.0.0
-> installed sexplib0.v0.17.0
-> installed httpun-types.0.2.0
-> installed lru.0.3.1
-> installed checkseum.0.5.2
-> installed angstrom.0.16.1
-> installed hpack.0.13.0
-> installed httpaf.0.7.1
-> installed decompress.1.5.3
-> installed ocamlgraph.2.1.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed h2.0.13.0
-> installed uri.4.4.0
-> installed ocplib-endian.1.2
-> installed ocamlbuild.0.15.0
-> installed zarith.1.14
-> installed lwt.5.9.0
-> installed mirage-time.3.0.0
-> installed hxd.0.3.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed duff.0.5
-> installed emile.1.1
-> installed mirage-kv.6.1.1
-> installed ke.0.6
-> installed encore.0.8
-> installed metrics.0.4.1
-> installed cstruct.6.2.0
-> installed cstruct-unix.6.2.0
-> installed cstruct-lwt.6.2.0
-> installed fpath.0.7.3
-> installed mirage-flow.3.0.0
-> installed mirage-net.4.0.0
-> installed macaddr-cstruct.5.6.0
-> installed randomconv.0.1.3
-> installed hex.1.5.0
-> installed ipaddr-cstruct.5.6.0
-> installed mirage-random.3.0.0
-> installed eqaf.0.9
-> installed asn1-combinators.0.2.6
-> installed logs.0.7.0
-> installed happy-eyeballs.0.6.0
-> installed ethernet.3.2.0
-> installed mimic.0.0.6
-> installed arp.3.1.1
-> installed digestif.1.2.0
-> installed dns.7.0.3
-> installed mirage-crypto.0.11.3
-> installed tcpip.8.0.0
-> installed hkdf.1.0.4
-> installed pbkdf.1.2.0
-> installed bos.0.2.1
-> installed mirage-crypto-rng.0.11.3
-> installed mirage-crypto-pk.0.11.3
-> installed dns-client.7.0.3
-> installed carton.0.7.2
-> installed carton-lwt.0.7.2
-> installed carton-git.0.7.2
-> installed git.3.14.0
-> installed mirage-crypto-ec.0.11.3
-> installed x509.0.16.5
-> installed ca-certs-nss.3.101
-> installed awa.0.3.0
-> installed tls.0.17.3
-> installed awa-mirage.0.3.0
-> installed tls-mirage.0.17.3
-> installed dns-client-mirage.7.0.3
-> installed paf.0.5.0
-> installed happy-eyeballs-mirage.0.6.0
-> installed git-paf.3.14.0
-> installed mimic-happy-eyeballs.0.0.6
-> installed git-mirage.3.14.0
Done.

<><> mirage-random.3.0.0 installed successfully <><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> mirage-random is deprecated

<><> hkdf.1.0.4 installed successfully ><><><><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 09:48.16 ---> saved as "467fc985399008b83d3ac47046c49056c216c138f20659b3bc6d862cd32f2990"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test git-mirage.3.14.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile git-mirage   3.14.0
=== install 3 packages
  - install   alcotest     1.8.0  [required by git-mirage]
  - install   alcotest-lwt 1.8.0  [required by git-mirage]
  - install   re           1.12.0 [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.8.0, alcotest-lwt.1.8.0  (https://github.com/mirage/alcotest/releases/download/1.8.0/alcotest-1.8.0.tbz)
-> retrieved git-mirage.3.14.0  (https://github.com/mirage/ocaml-git/releases/download/3.14.0/git-3.14.0.tbz)
-> retrieved re.1.12.0  (https://github.com/ocaml/ocaml-re/releases/download/1.12.0/re-1.12.0.tbz)
-> removed   git-mirage.3.14.0
-> installed re.1.12.0
-> installed alcotest.1.8.0
-> installed alcotest-lwt.1.8.0
-> installed git-mirage.3.14.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 09:48.43 ---> saved as "681ef85877f5be336c8c5298cd8b86fe99fff0c70b70084280ebd2dd461d1b6d"

/home/opam: (run (shell  "opam reinstall --with-test --verbose git-mirage.3.14.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\" != 'git-mirage.3.14.0' && 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 git-mirage 3.14.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [git-mirage.3.14.0: extract]
-> retrieved git-mirage.3.14.0  (cached)
Processing  2/4: [git-mirage: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "git-mirage" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/git-mirage.3.14.0)
Processing  2/4: [git-mirage: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "git-mirage" "-j" "31" "--no-buffer" (CWD=/home/opam/.opam/4.14/.opam-switch/build/git-mirage.3.14.0)
-> compiled  git-mirage.3.14.0
-> removed   git-mirage.3.14.0
-> installed git-mirage.3.14.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 09:49.03 ---> saved as "e5e1d0d11068baf0ffb2c7567ab2b92351302b59449f2a8b6c80ab3a9c1b6692"
Job succeeded
2025-02-24 09:49.33: Job succeeded