(not at the head of any monitored branch or PR)
2023-11-20 13:09.41: New job: build tls-mirage.0.17.3, lower-bounds, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/24811/head (8e4a280bd2cfccbde2299325e7065ac8f821685a)
                              on debian-12-ocaml-4.12/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/24811/head" && git reset --hard 8e4a280b
git fetch origin master
git merge --no-edit 2dcd8684f95238ebe345f74fa6b964d42688f5b0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.12@sha256:c24a7ac30ad681e17379468a66f1a33bdf9042eebbcdf27f49aa93a30e865183
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
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
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn tls-mirage.0.17.3 0.17.3
RUN opam reinstall tls-mirage.0.17.3; \
    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" != 'tls-mirage.0.17.3' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMFIXUPCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMUPGRADECRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMEXTERNALSOLVER="builtin-0install"
RUN opam reinstall tls-mirage.0.17.3; \
    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" != 'tls-mirage.0.17.3' && 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 .

2023-11-20 13:09.41: Using cache hint "ocaml/opam:debian-12-ocaml-4.12@sha256:c24a7ac30ad681e17379468a66f1a33bdf9042eebbcdf27f49aa93a30e865183-tls-mirage.0.17.3-8e4a280bd2cfccbde2299325e7065ac8f821685a"
2023-11-20 13:09.41: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.12@sha256:c24a7ac30ad681e17379468a66f1a33bdf9042eebbcdf27f49aa93a30e865183)
 (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"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (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"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (shell "opam pin add -k version -yn tls-mirage.0.17.3 0.17.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall tls-mirage.0.17.3;\
             \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\" != 'tls-mirage.0.17.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA +removed,+count[version-lag,solution])
 (env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])
 (env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])
 (env OPAMEXTERNALSOLVER builtin-0install)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall tls-mirage.0.17.3;\
             \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\" != 'tls-mirage.0.17.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2023-11-20 13:09.41: Waiting for resource in pool OCluster
2023-11-20 13:09.45: Waiting for worker…
2023-11-20 13:09.45: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  95% (30803/32192)
Updating files:  96% (30905/32192)
Updating files:  97% (31227/32192)
Updating files:  98% (31549/32192)
Updating files:  99% (31871/32192)
Updating files: 100% (32192/32192)
Updating files: 100% (32192/32192), done.
HEAD is now at 2dcd8684f9 Merge pull request #24800 from grainbot/opam-publish-libbinaryen.115.0.0
Updating 2dcd8684f9..8e4a280bd2
Fast-forward
 packages/tls-async/tls-async.0.17.3/opam   | 47 ++++++++++++++++++++++
 packages/tls-eio/tls-eio.0.17.3/opam       | 55 ++++++++++++++++++++++++++
 packages/tls-lwt/tls-lwt.0.17.3/opam       | 41 +++++++++++++++++++
 packages/tls-mirage/tls-mirage.0.17.3/opam | 46 ++++++++++++++++++++++
 packages/tls/tls.0.17.3/opam               | 63 ++++++++++++++++++++++++++++++
 5 files changed, 252 insertions(+)
 create mode 100644 packages/tls-async/tls-async.0.17.3/opam
 create mode 100644 packages/tls-eio/tls-eio.0.17.3/opam
 create mode 100644 packages/tls-lwt/tls-lwt.0.17.3/opam
 create mode 100644 packages/tls-mirage/tls-mirage.0.17.3/opam
 create mode 100644 packages/tls/tls.0.17.3/opam

(from ocaml/opam:debian-12-ocaml-4.12@sha256:c24a7ac30ad681e17379468a66f1a33bdf9042eebbcdf27f49aa93a30e865183)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.12@sha256:c24a7ac30ad681e17379468a66f1a33bdf9042eebbcdf27f49aa93a30e865183' locally
docker.io/ocaml/opam@sha256:c24a7ac30ad681e17379468a66f1a33bdf9042eebbcdf27f49aa93a30e865183: Pulling from ocaml/opam
35c3df7e1e56: Pulling fs layer
35c3df7e1e56: Verifying Checksum
35c3df7e1e56: Download complete
35c3df7e1e56: Pull complete
Digest: sha256:c24a7ac30ad681e17379468a66f1a33bdf9042eebbcdf27f49aa93a30e865183
Status: Downloaded newer image for ocaml/opam@sha256:c24a7ac30ad681e17379468a66f1a33bdf9042eebbcdf27f49aa93a30e865183
2023-11-20 13:11.54 ---> saved as "820c61fc0a3a3bcdc4b29db98e8901d2cea2a9aad0dbc28dccebab86f78916d6"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2023-11-20 13:11.54 ---> saved as "ffa27d2e1f7df17571fec083e1da0ce42067fb249cebf2f0a068bb3c58315354"

/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.

Continue? [y/n] y
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2~alpha, which can't be reverted.
You may want to back it up before going further.

Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2023-11-20 13:13.01 ---> saved as "2fc6bd393961feffebffd8719a6f1b8e1004181e44a1508a5aa5f5e4f310be5f"

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/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/"))
2023-11-20 13:13.12 ---> saved as "8d75d241b3ac9e51ba851aed7bbaceea786ed1f4130972b1f6a0b6cb0aa95b5d"

/home/opam: (copy (src .) (dst opam-repository/))
2023-11-20 13:13.23 ---> saved as "fa7b421ecca3e5f038a8e3a7129b208bbc578c2765541709dcc65ec0881d8d8a"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2023-11-20 13:14.11 ---> saved as "b8994ead8fce717ac740e12bbd43a336437a00b21a33d2e083ef2291fc4aedc9"

/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 [52.1 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 [102 kB]
- Fetched 202 kB in 0s (512 kB/s)
- Reading package lists...
- 
2023-11-20 13:14.12 ---> saved as "d93e592ec69c99e279634ab12ddc4be809b1dd0a79c0c339123d6bca10c24e68"

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (shell "opam pin add -k version -yn tls-mirage.0.17.3 0.17.3"))
tls-mirage is now pinned to version 0.17.3
2023-11-20 13:14.13 ---> saved as "fc839fb35fccea7299135825c4654ebf6ee4736c4e89672668d2ee235cf8a7cb"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall tls-mirage.0.17.3;\
                        \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\" != 'tls-mirage.0.17.3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
tls-mirage.0.17.3 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 39 packages
  - install asn1-combinators  0.2.6           [required by x509]
  - install base-bytes        base            [required by ocplib-endian]
  - install base64            3.5.1           [required by x509]
  - install conf-gmp          4               [required by conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec 3               [required by mirage-crypto-pk]
  - install cppo              1.6.9           [required by lwt]
  - install csexp             1.5.2           [required by dune-configurator]
  - install cstruct           6.2.0           [required by mirage-flow, mirage-crypto, mirage-crypto-pk, tls]
  - install domain-name       0.4.0           [required by tls]
  - install dune              3.11.1          [required by tls-mirage]
  - install dune-configurator 3.11.1          [required by lwt, mirage-crypto]
  - install duration          0.2.1           [required by mirage-crypto-rng]
  - install eqaf              0.9             [required by mirage-crypto, mirage-crypto-pk]
  - install fmt               0.9.0           [required by tls-mirage]
  - install gmap              0.3.0           [required by x509]
  - install hkdf              1.0.4           [required by tls]
  - install ipaddr            5.5.0           [required by tls]
  - install logs              0.7.0           [required by tls]
  - install lwt               5.7.0           [required by tls-mirage]
  - install macaddr           5.5.0           [required by ipaddr]
  - install mirage-clock      4.2.0           [required by tls-mirage]
  - install mirage-crypto     0.11.2          [required by tls-mirage]
  - install mirage-crypto-ec  0.11.2          [required by tls]
  - install mirage-crypto-pk  0.11.2          [required by tls-mirage]
  - install mirage-crypto-rng 0.11.2          [required by mirage-crypto-pk, tls]
  - install mirage-flow       3.0.0           [required by tls-mirage]
  - install mirage-kv         6.1.1           [required by tls-mirage]
  - install ocamlbuild        0.14.2          [required by fmt]
  - install ocamlfind         1.9.6           [required by fmt]
  - install ocplib-endian     1.2             [required by lwt]
  - install optint            0.3.0           [required by mirage-kv]
  - install pbkdf             1.2.0           [required by x509]
  - install ptime             1.1.0           [required by tls-mirage]
  - install sexplib0          v0.16.0         [required by mirage-crypto-pk]
  - install tls               0.17.3          [required by tls-mirage]
  - install tls-mirage        0.17.3 (pinned)
  - install topkg             1.0.7           [required by fmt]
  - install x509              0.16.5          [required by tls-mirage]
  - install zarith            1.13            [required by mirage-crypto-pk]

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

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

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

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev"
- 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 ... 18743 files and directories currently installed.)
- Preparing to unpack .../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 .../libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Processing triggers for libc-bin (2.36-9+deb12u3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.2.6  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> installed conf-gmp.4
-> retrieved domain-name.0.4.0  (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved dune.3.11.1, dune-configurator.3.11.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved hkdf.1.0.4  (cached)
-> retrieved ipaddr.5.5.0, macaddr.5.5.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved mirage-clock.4.2.0  (cached)
-> retrieved mirage-crypto.0.11.2, mirage-crypto-ec.0.11.2, mirage-crypto-pk.0.11.2, mirage-crypto-rng.0.11.2  (cached)
-> retrieved mirage-flow.3.0.0  (cached)
-> retrieved mirage-kv.6.1.1  (cached)
-> retrieved ocamlbuild.0.14.2  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved pbkdf.1.2.0  (cached)
-> retrieved ptime.1.1.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved tls.0.17.3, tls-mirage.0.17.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved x509.0.16.5  (cached)
-> retrieved zarith.1.13  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.2
-> installed zarith.1.13
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed ptime.1.1.0
-> installed dune.3.11.1
-> installed mirage-clock.4.2.0
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed macaddr.5.5.0
-> installed optint.0.3.0
-> installed sexplib0.v0.16.0
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed eqaf.0.9
-> installed ipaddr.5.5.0
-> installed asn1-combinators.0.2.6
-> installed dune-configurator.3.11.1
-> installed mirage-crypto.0.11.2
-> installed pbkdf.1.2.0
-> installed hkdf.1.0.4
-> installed lwt.5.7.0
-> installed mirage-flow.3.0.0
-> installed mirage-kv.6.1.1
-> installed logs.0.7.0
-> installed mirage-crypto-rng.0.11.2
-> installed mirage-crypto-pk.0.11.2
-> installed mirage-crypto-ec.0.11.2
-> installed x509.0.16.5
-> installed tls.0.17.3
-> installed tls-mirage.0.17.3
Done.
# Run eval $(opam env) to update the current shell environment
2023-11-20 13:15.36 ---> saved as "5daefa08b3ee319ae7bd72a4f0a5eaab0277ca1bb89bda7d1e913156ec320e33"

/home/opam: (env OPAMCRITERIA +removed,+count[version-lag,solution])

/home/opam: (env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])

/home/opam: (env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])

/home/opam: (env OPAMEXTERNALSOLVER builtin-0install)

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall tls-mirage.0.17.3;\
                        \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\" != 'tls-mirage.0.17.3' && 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:
=== remove 2 packages
  - remove    csexp             1.5.2              [conflicts with dune]
  - remove    optint            0.3.0              [conflicts with dune]
=== downgrade 32 packages
  - downgrade asn1-combinators  0.2.6 to 0.2.4     [uses dune]
  - downgrade base64            3.5.1 to 3.1.0     [uses dune]
  - downgrade conf-gmp          4 to 1             [required by conf-gmp-powm-sec]
  - downgrade conf-gmp-powm-sec 3 to 1             [required by mirage-crypto-pk]
  - downgrade cppo              1.6.9 to 1.6.1     [required by lwt]
  - downgrade cstruct           6.2.0 to 6.0.0     [uses dune]
  - downgrade domain-name       0.4.0 to 0.3.0     [uses dune]
  - downgrade dune              3.11.1 to 3.0.2    [required by tls-mirage]
  - downgrade dune-configurator 3.11.1 to 2.3.0    [uses dune]
  - downgrade duration          0.2.1 to 0.1.0     [uses ocamlfind]
  - downgrade eqaf              0.9 to 0.8         [uses dune]
  - downgrade fmt               0.9.0 to 0.8.7     [required by tls-mirage]
  - downgrade ipaddr            5.5.0 to 5.2.0     [uses dune]
  - downgrade logs              0.7.0 to 0.6.3     [uses lwt]
  - downgrade lwt               5.7.0 to 5.4.0     [required by tls-mirage]
  - downgrade macaddr           5.5.0 to 5.2.0     [uses dune]
  - downgrade mirage-clock      4.2.0 to 3.0.1     [required by tls-mirage]
  - downgrade mirage-crypto     0.11.2 to 0.11.0   [required by tls-mirage]
  - downgrade mirage-crypto-ec  0.11.2 to 0.11.0   [uses dune]
  - downgrade mirage-crypto-pk  0.11.2 to 0.11.0   [required by tls-mirage]
  - downgrade mirage-crypto-rng 0.11.2 to 0.11.0   [uses dune]
  - downgrade mirage-flow       3.0.0 to 2.0.1     [required by tls-mirage]
  - downgrade mirage-kv         6.1.1 to 3.0.1     [required by tls-mirage]
  - downgrade ocamlbuild        0.14.2 to 0.14.0   [required by duration]
  - downgrade ocamlfind         1.9.6 to 1.8.1     [required by zarith]
  - downgrade ocplib-endian     1.2 to 1.0         [required by lwt]
  - downgrade pbkdf             1.2.0 to 1.1.0     [uses dune]
  - downgrade ptime             1.1.0 to 0.8.1     [required by tls-mirage]
  - downgrade sexplib0          v0.16.0 to v0.11.0 [uses jbuilder]
  - downgrade topkg             1.0.7 to 1.0.3     [uses ocamlfind]
  - downgrade x509              0.16.5 to 0.15.0   [required by tls-mirage]
  - downgrade zarith            1.13 to 1.4        [required by asn1-combinators]
=== recompile 5 packages
  - recompile base-bytes        base               [uses ocamlfind]
  - recompile gmap              0.3.0              [uses dune]
  - recompile hkdf              1.0.4              [uses dune]
  - recompile tls               0.17.3             [uses dune]
  - recompile tls-mirage        0.17.3 (pinned)
=== install 12 packages
  - install   astring           0.8.5              [required by domain-name]
  - install   bigarray-compat   1.0.0              [required by asn1-combinators]
  - install   conf-m4           1                  [required by ocamlfind]
  - install   conf-perl         1                  [required by zarith]
  - install   dune-private-libs 2.3.0              [required by dune-configurator]
  - install   jbuilder          1.0+beta20.1       [required by cppo]
  - install   mirage-device     2.0.0              [required by mirage-kv]
  - install   mmap              1.1.0              [required by lwt]
  - install   result            1.5                [required by lwt]
  - install   rresult           0.4.0              [required by x509]
  - install   seq               0.2.2              [required by lwt]
  - install   stdlib-shims      0.1.0              [required by asn1-combinators]

The following system packages will first need to be installed:
    m4

<><> 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" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (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 ... 18765 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.2.4  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.1.0  (cached)
-> retrieved bigarray-compat.1.0.0  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-perl.1
-> installed conf-m4.1
-> retrieved cstruct.6.0.0  (cached)
-> retrieved domain-name.0.3.0  (cached)
-> retrieved dune.3.0.2  (cached)
-> retrieved dune-configurator.2.3.0, dune-private-libs.2.3.0  (cached)
-> retrieved duration.0.1.0  (cached)
-> retrieved eqaf.0.8  (cached)
-> retrieved fmt.0.8.7  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved hkdf.1.0.4  (cached)
-> retrieved ipaddr.5.2.0, macaddr.5.2.0  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved logs.0.6.3  (cached)
-> retrieved lwt.5.4.0  (cached)
-> retrieved mirage-clock.3.0.1  (cached)
-> retrieved mirage-crypto.0.11.0, mirage-crypto-ec.0.11.0, mirage-crypto-pk.0.11.0, mirage-crypto-rng.0.11.0  (cached)
-> retrieved mirage-device.2.0.0  (cached)
-> retrieved mirage-flow.2.0.1  (cached)
-> retrieved mirage-kv.3.0.1  (cached)
-> retrieved mmap.1.1.0  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved ocplib-endian.1.0  (cached)
-> retrieved pbkdf.1.1.0  (cached)
-> retrieved ptime.0.8.1  (cached)
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.4.0  (cached)
-> retrieved seq.0.2.2  (cached)
-> retrieved sexplib0.v0.11.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved tls.0.17.3, tls-mirage.0.17.3  (cached)
-> retrieved topkg.1.0.3  (cached)
-> retrieved x509.0.15.0  (cached)
-> retrieved zarith.1.4  (cached)
-> installed jbuilder.1.0+beta20.1
-> removed   tls-mirage.0.17.3
-> removed   mirage-clock.4.2.0
-> removed   mirage-flow.3.0.0
-> removed   mirage-kv.6.1.1
-> removed   optint.0.3.0
-> removed   tls.0.17.3
-> removed   hkdf.1.0.4
-> removed   x509.0.16.5
-> removed   asn1-combinators.0.2.6
-> removed   base64.3.5.1
-> removed   gmap.0.3.0
-> removed   ipaddr.5.5.0
-> removed   domain-name.0.4.0
-> removed   macaddr.5.5.0
-> removed   mirage-crypto-ec.0.11.2
-> removed   mirage-crypto-pk.0.11.2
-> removed   conf-gmp-powm-sec.3
-> removed   mirage-crypto-rng.0.11.2
-> removed   duration.0.2.1
-> removed   logs.0.7.0
-> removed   lwt.5.7.0
-> removed   ocplib-endian.1.2
-> removed   base-bytes.base
-> removed   cppo.1.6.9
-> removed   pbkdf.1.2.0
-> removed   mirage-crypto.0.11.2
-> removed   dune-configurator.3.11.1
-> removed   csexp.1.5.2
-> removed   eqaf.0.9
-> removed   cstruct.6.2.0
-> removed   fmt.0.9.0
-> removed   ptime.1.1.0
-> removed   sexplib0.v0.16.0
-> removed   dune.3.11.1
-> removed   topkg.1.0.7
-> removed   ocamlbuild.0.14.2
-> removed   zarith.1.13
-> removed   conf-gmp.4
-> removed   ocamlfind.1.9.6
-> installed conf-gmp.1
-> installed dune.3.0.2
-> installed ocamlbuild.0.14.0
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed bigarray-compat.1.0.0
-> installed conf-gmp-powm-sec.1
-> installed gmap.0.3.0
-> installed macaddr.5.2.0
-> installed mirage-clock.3.0.1
-> installed mmap.1.1.0
-> installed result.1.5
-> installed seq.0.2.2
-> installed sexplib0.v0.11.0
-> installed stdlib-shims.0.1.0
-> installed base64.3.1.0
-> installed cstruct.6.0.0
-> installed cppo.1.6.1
-> installed eqaf.0.8
-> installed dune-private-libs.2.3.0
-> installed zarith.1.4
-> installed dune-configurator.2.3.0
-> installed mirage-crypto.0.11.0
-> installed topkg.1.0.3
-> installed hkdf.1.0.4
-> installed pbkdf.1.1.0
-> installed duration.0.1.0
-> installed rresult.0.4.0
-> installed fmt.0.8.7
-> installed ptime.0.8.1
-> installed astring.0.8.5
-> installed ocplib-endian.1.0
-> installed asn1-combinators.0.2.4
-> installed domain-name.0.3.0
-> installed ipaddr.5.2.0
-> installed lwt.5.4.0
-> installed mirage-device.2.0.0
-> installed mirage-flow.2.0.1
-> installed mirage-kv.3.0.1
-> installed logs.0.6.3
-> installed mirage-crypto-rng.0.11.0
-> installed mirage-crypto-pk.0.11.0
-> installed mirage-crypto-ec.0.11.0
-> installed x509.0.15.0
-> installed tls.0.17.3
-> installed tls-mirage.0.17.3
Done.
# Run eval $(opam env) to update the current shell environment
2023-11-20 13:16.43 ---> saved as "836e54132f792f41a77f2e33168929e839a8ea89e057fdf5455eb8f62d21d124"
Job succeeded
2023-11-20 13:16.52: Job succeeded