(for PR #21122)

2022-04-07 12:54.47: New job: build mirage-block-ccm.1.0.2, lower-bounds, using opam 2.1
                              from https://github.com/ocaml/opam-repository.git#refs/pull/21122/head (854464dcb0d584c0d9a7b6cbdf5b33d0d390d5b6)
                              on debian-11-ocaml-4.12/amd64

To reproduce locally:

git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/21122/head" && git reset --hard 854464dc
git fetch origin master
git merge 4d72a962379797389a56c9429260f356d6033ac7
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-4.12@sha256:fb1b72039bfdcd0e32ba3e86f48a23030259d628a73991b833bfdfe6586d80d5
USER 1000:1000
WORKDIR /home/opam
RUN for pkg in $(opam pin list --short); do opam pin remove "$pkg"; done
RUN opam repository remove -a multicore || true
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
ENV OPAMPRECISETRACKING="1"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam pin add -k version -yn mirage-block-ccm.1.0.2 1.0.2
RUN opam update --depexts
RUN opam remove mirage-block-ccm.1.0.2 && opam install --deps-only mirage-block-ccm.1.0.2 && opam install -v mirage-block-ccm.1.0.2; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-11\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    done; \
    exit 1
ENV OPAMCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMEXTERNALSOLVER="builtin-0install"
RUN opam update --depexts
RUN opam remove mirage-block-ccm.1.0.2 && opam install --deps-only mirage-block-ccm.1.0.2 && opam install -v mirage-block-ccm.1.0.2; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-11\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    done; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2022-04-07 12:54.47: Using cache hint "ocaml/opam:debian-11-ocaml-4.12@sha256:fb1b72039bfdcd0e32ba3e86f48a23030259d628a73991b833bfdfe6586d80d5-mirage-block-ccm.1.0.2-854464dcb0d584c0d9a7b6cbdf5b33d0d390d5b6"
2022-04-07 12:54.47: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.12@sha256:fb1b72039bfdcd0e32ba3e86f48a23030259d628a73991b833bfdfe6586d80d5)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "for pkg in $(opam pin list --short); do opam pin remove \"$pkg\"; done"))
 (run (shell "opam repository remove -a multicore || true"))
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
 (run (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (env OPAMPRECISETRACKING 1)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (shell "opam pin add -k version -yn mirage-block-ccm.1.0.2 1.0.2"))
 (run (network host)
      (shell "opam update --depexts"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam remove mirage-block-ccm.1.0.2 && opam install --deps-only mirage-block-ccm.1.0.2 && opam install -v mirage-block-ccm.1.0.2;\
             \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        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n        done;\
             \n        exit 1"))
 (env OPAMCRITERIA +removed,+count[version-lag,solution])
 (env OPAMEXTERNALSOLVER builtin-0install)
 (run (network host)
      (shell "opam update --depexts"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam remove mirage-block-ccm.1.0.2 && opam install --deps-only mirage-block-ccm.1.0.2 && opam install -v mirage-block-ccm.1.0.2;\
             \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        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n        done;\
             \n        exit 1"))
)

2022-04-07 12:54.47: Waiting for resource in pool OCluster
2022-04-07 13:17.50: Waiting for worker...
2022-04-07 13:23.28: Got resource from pool OCluster
Building on x86-bm-9.ocamllabs.io
All commits already cached
Updating files:   4% (1188/25408)
Updating files:   5% (1271/25408)
Updating files:   6% (1525/25408)
Updating files:   7% (1779/25408)
Updating files:   8% (2033/25408)
Updating files:   9% (2287/25408)
Updating files:   9% (2343/25408)
Updating files:  10% (2541/25408)
Updating files:  11% (2795/25408)
Updating files:  12% (3049/25408)
Updating files:  13% (3304/25408)
Updating files:  14% (3558/25408)
Updating files:  14% (3779/25408)
Updating files:  15% (3812/25408)
Updating files:  16% (4066/25408)
Updating files:  17% (4320/25408)
Updating files:  18% (4574/25408)
Updating files:  19% (4828/25408)
Updating files:  19% (4855/25408)
Updating files:  20% (5082/25408)
Updating files:  21% (5336/25408)
Updating files:  22% (5590/25408)
Updating files:  22% (5602/25408)
Updating files:  23% (5844/25408)
Updating files:  24% (6098/25408)
Updating files:  25% (6352/25408)
Updating files:  25% (6508/25408)
Updating files:  26% (6607/25408)
Updating files:  27% (6861/25408)
Updating files:  28% (7115/25408)
Updating files:  29% (7369/25408)
Updating files:  29% (7382/25408)
Updating files:  30% (7623/25408)
Updating files:  31% (7877/25408)
Updating files:  32% (8131/25408)
Updating files:  33% (8385/25408)
Updating files:  33% (8413/25408)
Updating files:  34% (8639/25408)
Updating files:  35% (8893/25408)
Updating files:  36% (9147/25408)
Updating files:  36% (9205/25408)
Updating files:  37% (9401/25408)
Updating files:  38% (9656/25408)
Updating files:  39% (9910/25408)
Updating files:  40% (10164/25408)
Updating files:  40% (10242/25408)
Updating files:  41% (10418/25408)
Updating files:  42% (10672/25408)
Updating files:  43% (10926/25408)
Updating files:  44% (11180/25408)
Updating files:  45% (11434/25408)
Updating files:  46% (11688/25408)
Updating files:  46% (11867/25408)
Updating files:  47% (11942/25408)
Updating files:  48% (12196/25408)
Updating files:  49% (12450/25408)
Updating files:  50% (12704/25408)
Updating files:  51% (12959/25408)
Updating files:  52% (13213/25408)
Updating files:  53% (13467/25408)
Updating files:  53% (13704/25408)
Updating files:  54% (13721/25408)
Updating files:  55% (13975/25408)
Updating files:  56% (14229/25408)
Updating files:  57% (14483/25408)
Updating files:  58% (14737/25408)
Updating files:  59% (14991/25408)
Updating files:  59% (15242/25408)
Updating files:  60% (15245/25408)
Updating files:  61% (15499/25408)
Updating files:  62% (15753/25408)
Updating files:  63% (16008/25408)
Updating files:  64% (16262/25408)
Updating files:  65% (16516/25408)
Updating files:  66% (16770/25408)
Updating files:  66% (16907/25408)
Updating files:  67% (17024/25408)
Updating files:  68% (17278/25408)
Updating files:  69% (17532/25408)
Updating files:  70% (17786/25408)
Updating files:  71% (18040/25408)
Updating files:  72% (18294/25408)
Updating files:  73% (18548/25408)
Updating files:  73% (18750/25408)
Updating files:  74% (18802/25408)
Updating files:  75% (19056/25408)
Updating files:  76% (19311/25408)
Updating files:  77% (19565/25408)
Updating files:  78% (19819/25408)
Updating files:  79% (20073/25408)
Updating files:  80% (20327/25408)
Updating files:  81% (20581/25408)
Updating files:  82% (20835/25408)
Updating files:  83% (21089/25408)
Updating files:  84% (21343/25408)
Updating files:  84% (21443/25408)
Updating files:  85% (21597/25408)
Updating files:  86% (21851/25408)
Updating files:  87% (22105/25408)
Updating files:  88% (22360/25408)
Updating files:  89% (22614/25408)
Updating files:  90% (22868/25408)
Updating files:  91% (23122/25408)
Updating files:  92% (23376/25408)
Updating files:  93% (23630/25408)
Updating files:  94% (23884/25408)
Updating files:  94% (23986/25408)
Updating files:  95% (24138/25408)
Updating files:  96% (24392/25408)
Updating files:  97% (24646/25408)
Updating files:  98% (24900/25408)
Updating files:  99% (25154/25408)
Updating files: 100% (25408/25408)
Updating files: 100% (25408/25408), done.
HEAD is now at 4d72a96237 Merge pull request #21082 from zoggy/opam-publish-chamo.3.0
Merge made by the 'recursive' strategy.
 .../mirage-block-ccm/mirage-block-ccm.1.0.2/opam   | 51 ++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 packages/mirage-block-ccm/mirage-block-ccm.1.0.2/opam

(from ocaml/opam:debian-11-ocaml-4.12@sha256:fb1b72039bfdcd0e32ba3e86f48a23030259d628a73991b833bfdfe6586d80d5)
2022-04-07 13:23.49 ---> using "c04d13aaec8a4d6295b886c01ccfa272a636cfb8679505fbc0120b0880383678" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "for pkg in $(opam pin list --short); do opam pin remove \"$pkg\"; done"))
Ok, ocaml-base-compiler is no longer pinned to https://github.com/ocaml/ocaml/archive/4.12.1.tar.gz (version 4.12.1)
No package build needed.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2022-04-07 13:23.49 ---> using "07b482d281217368bbae80ba310d6ccc649fa1bf7dbd7f40587b74d7279c5544" from cache

/home/opam: (run (shell "opam repository remove -a multicore || true"))
[WARNING] No configured repositories by these names found: multicore
2022-04-07 13:23.49 ---> using "50e81eb5c51c1e154d2ee809f0887ba75e66e2c30095f53d276b7aeff02445fe" from cache

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2022-04-07 13:23.49 ---> using "a65ae1a89bf41aed1460a537a68f673f717197f95953a76342c6c3fb47cb881f" from cache

/home/opam: (run (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
Format upgrade done.
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2022-04-07 13:23.49 ---> using "6d7fc317e9f1872e34a18161fb355b3cf23d0c1f40326e040104d1c7a5881dcd" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (run (shell "rm -rf opam-repository/"))
2022-04-07 13:23.49 ---> using "d22d8a011312611e25a14519093e90208dc4428ec0a247240966295dc90a5cd1" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2022-04-07 13:23.51 ---> using "18686bf0f4e178a25be2f09a7e9ebec37dc554409c87f635c276b5bd40fc0f79" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2022-04-07 13:23.51 ---> using "130efefaa01fef7f64f625a43c324667f058fb96ead8424763aaf56cfbdc7b19" from cache

/home/opam: (run (shell "opam pin add -k version -yn mirage-block-ccm.1.0.2 1.0.2"))
mirage-block-ccm is now pinned to version 1.0.2
2022-04-07 13:23.51 ---> using "45a595dabd4ada7aedbd361b6ee0fee580ac95748eafcdf6f9bcbed5ce1102ad" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB]
- Get:3 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
- Get:4 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [124 kB]
- Fetched 207 kB in 1s (176 kB/s)
- Reading package lists...
- 
2022-04-07 13:23.51 ---> using "6604af43a19e3d0b8b1e0f40d484602b3edbb612cd672ead7fde973aeb2978ba" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam remove mirage-block-ccm.1.0.2 && opam install --deps-only mirage-block-ccm.1.0.2 && opam install -v mirage-block-ccm.1.0.2;\
                        \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        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n        done;\
                        \n        exit 1"))
Nothing to do.
[NOTE] mirage-block-ccm.1.0.2 is not installed.

The following actions will be performed:
  - install conf-pkg-config   2
  - install seq               base
  - install dune              3.0.3
  - install ocamlfind         1.9.3
  - install ocamlbuild        0.14.1
  - install result            1.5
  - install duration          0.2.0
  - install csexp             1.5.1
  - install cppo              1.6.8
  - install bigarray-compat   1.1.0
  - install base-bytes        base
  - install topkg             1.0.5
  - install dune-configurator 3.0.3
  - install mmap              1.2.0
  - install ocplib-endian     1.2
  - install mtime             1.4.0
  - install fmt               0.9.0
  - install lwt               5.5.0
  - install cstruct           6.1.0
  - install logs              0.7.0
  - install mirage-block      3.0.0
  - install eqaf              0.8
  - install mirage-crypto     0.10.6
  - install mirage-crypto-rng 0.10.6
===== 24 to install =====

The following system packages will first need to be installed:
    pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0: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 ... 18283 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.66.8-1_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.66.8-1) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.66.8-1_all.deb ...
- Unpacking libglib2.0-data (2.66.8-1) ...
- Selecting previously unselected package libicu67:amd64.
- Preparing to unpack .../2-libicu67_67.1-7_amd64.deb ...
- Unpacking libicu67:amd64 (67.1-7) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../3-libxml2_2.9.10+dfsg-6.7+deb11u1_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u1) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../4-pkg-config_0.29.2-1_amd64.deb ...
- Unpacking pkg-config (0.29.2-1) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../5-shared-mime-info_2.0-1_amd64.deb ...
- Unpacking shared-mime-info (2.0-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../6-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up libicu67:amd64 (67.1-7) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:amd64 (2.66.8-1) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.66.8-1) ...
- Setting up pkg-config (0.29.2-1) ...
- Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u1) ...
- Setting up shared-mime-info (2.0-1) ...
- Processing triggers for libc-bin (2.31-13+deb11u3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cppo.1.6.8  (cached)
-> retrieved csexp.1.5.1  (cached)
-> retrieved cstruct.6.1.0  (cached)
-> installed conf-pkg-config.2
-> retrieved dune.3.0.3  (cached)
-> retrieved dune-configurator.3.0.3  (cached)
-> retrieved duration.0.2.0  (cached)
-> retrieved eqaf.0.8  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.5.0  (cached)
-> retrieved mirage-block.3.0.0  (cached)
-> retrieved mirage-crypto.0.10.6  (cached)
-> retrieved mirage-crypto-rng.0.10.6  (cached)
-> retrieved mmap.1.2.0  (cached)
-> retrieved mtime.1.4.0  (cached)
-> retrieved ocamlbuild.0.14.1  (cached)
-> retrieved ocamlfind.1.9.3  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved result.1.5  (cached)
-> installed seq.base
-> retrieved topkg.1.0.5  (cached)
-> installed ocamlfind.1.9.3
-> installed base-bytes.base
-> installed ocamlbuild.0.14.1
-> installed topkg.1.0.5
-> installed mtime.1.4.0
-> installed fmt.0.9.0
-> installed dune.3.0.3
-> installed duration.0.2.0
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.1
-> installed cstruct.6.1.0
-> installed result.1.5
-> installed mmap.1.2.0
-> installed eqaf.0.8
-> installed cppo.1.6.8
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.0.3
-> installed mirage-crypto.0.10.6
-> installed lwt.5.5.0
-> installed mirage-block.3.0.0
-> installed logs.0.7.0
-> installed mirage-crypto-rng.0.10.6
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
  - install mirage-block-ccm 1.0.2*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved mirage-block-ccm.1.0.2  (cached)
Processing  2/3: [mirage-block-ccm: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-block-ccm" "-j" "31" (CWD=/home/opam/.opam/4.12/.opam-switch/build/mirage-block-ccm.1.0.2)
-> compiled  mirage-block-ccm.1.0.2
-> installed mirage-block-ccm.1.0.2
Done.
# Run eval $(opam env) to update the current shell environment
2022-04-07 13:23.56 ---> saved as "d22cecf90213a9321d5ca4bfca1b63301f30b2e366e6ac29aa5a8d97414d4f4f"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
- Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
- Reading package lists...
- 
2022-04-07 13:23.58 ---> saved as "36154e893869c0812b82a3d632cb08846b5b2fbb2e0fec2d9047f96e85d6196c"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam remove mirage-block-ccm.1.0.2 && opam install --deps-only mirage-block-ccm.1.0.2 && opam install -v mirage-block-ccm.1.0.2;\
                        \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        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n        done;\
                        \n        exit 1"))
The following actions will be performed:
  - remove mirage-block-ccm 1.0.2*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   mirage-block-ccm.1.0.2
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
  - downgrade ocamlbuild        0.14.1 to 0.14.0
  - remove    opam-depext       1.2.1
  - install   conf-m4           1                [required by ocamlfind]
  - install   jbuilder          1.0+beta20.1     [required by cppo]
  - remove    csexp             1.5.1            [conflicts with dune]
  - downgrade result            1.5 to 1.0
  - downgrade conf-pkg-config   2 to 1.0
  - downgrade ocamlfind         1.9.3 to 1.8.1
  - downgrade dune              3.0.3 to 2.8.0
  - recompile base-bytes        base             [uses ocamlfind]
  - downgrade topkg             1.0.5 to 1.0.3   [uses ocamlbuild, ocamlfind]
  - install   dune-private-libs 2.3.0            [required by dune-configurator]
  - downgrade seq               base to 0.2.2    [uses dune]
  - downgrade mmap              1.2.0 to 1.1.0   [uses dune]
  - downgrade bigarray-compat   1.1.0 to 1.0.0   [uses dune]
  - downgrade cppo              1.6.8 to 1.6.1
  - downgrade mtime             1.4.0 to 1.0.0   [uses ocamlbuild, ocamlfind]
  - downgrade fmt               0.9.0 to 0.8.0   [uses ocamlfind, ocamlbuild, result]
  - downgrade duration          0.2.0 to 0.1.0   [uses ocamlbuild, ocamlfind]
  - downgrade dune-configurator 3.0.3 to 2.3.0   [uses dune]
  - downgrade cstruct           6.1.0 to 6.0.0   [uses dune]
  - downgrade ocplib-endian     1.2 to 1.0       [uses ocamlbuild, cppo, ocamlfind]
  - downgrade eqaf              0.8 to 0.7       [uses dune]
  - downgrade lwt               5.5.0 to 5.4.0   [uses dune, cppo, result]
  - downgrade mirage-crypto     0.10.6 to 0.8.5  [uses conf-pkg-config, dune]
  - install   mirage-device     2.0.0            [required by mirage-block]
  - downgrade logs              0.7.0 to 0.6.2   [uses ocamlfind, ocamlbuild, result]
  - downgrade mirage-block      3.0.0 to 2.0.1   [uses dune]
  - downgrade mirage-crypto-rng 0.10.6 to 0.8.5  [uses dune]
===== 4 to install | 1 to recompile | 22 to downgrade | 2 to remove =====

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

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libsigsegv2: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 ... 18686 files and directories currently installed.)
- Preparing to unpack .../libsigsegv2_2.13-1_amd64.deb ...
- Unpacking libsigsegv2:amd64 (2.13-1) ...
- Selecting previously unselected package m4.
- Preparing to unpack .../archives/m4_1.4.18-5_amd64.deb ...
- Unpacking m4 (1.4.18-5) ...
- Setting up libsigsegv2:amd64 (2.13-1) ...
- Setting up m4 (1.4.18-5) ...
- Processing triggers for libc-bin (2.31-13+deb11u3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   opam-depext.1.2.1
-> retrieved bigarray-compat.1.0.0  (https://github.com/mirage/bigarray-compat/archive/v1.0.0.tar.gz)
-> retrieved cppo.1.6.1  (https://github.com/mjambon/cppo/archive/v1.6.1.tar.gz)
-> retrieved cstruct.6.0.0  (cached)
-> installed conf-m4.1
-> retrieved dune.2.8.0  (cached)
-> retrieved dune-configurator.2.3.0  (cached)
-> retrieved dune-private-libs.2.3.0  (cached)
-> retrieved duration.0.1.0  (https://github.com/hannesm/duration/releases/download/0.1.0/duration-0.1.0.tbz)
-> retrieved eqaf.0.7  (https://github.com/mirage/eqaf/releases/download/v0.7/eqaf-v0.7.tbz)
-> retrieved fmt.0.8.0  (http://erratique.ch/software/fmt/releases/fmt-0.8.0.tbz)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved logs.0.6.2  (http://erratique.ch/software/logs/releases/logs-0.6.2.tbz)
-> retrieved lwt.5.4.0  (cached)
-> retrieved mirage-block.2.0.1  (cached)
-> retrieved mirage-crypto.0.8.5  (https://github.com/mirage/mirage-crypto/releases/download/v0.8.5/mirage-crypto-v0.8.5.tbz)
-> retrieved mirage-crypto-rng.0.8.5  (cached)
-> retrieved mirage-device.2.0.0  (cached)
-> retrieved mmap.1.1.0  (https://github.com/mirage/mmap/releases/download/v1.1.0/mmap-v1.1.0.tbz)
-> retrieved mtime.1.0.0  (http://erratique.ch/software/mtime/releases/mtime-1.0.0.tbz)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved ocplib-endian.1.0  (https://github.com/OCamlPro/ocplib-endian/archive/1.0.tar.gz)
-> retrieved result.1.0  (cached)
-> retrieved seq.0.2.2  (cached)
-> retrieved topkg.1.0.3  (cached)
-> installed jbuilder.1.0+beta20.1
-> removed   mirage-block.3.0.0
-> removed   mirage-crypto-rng.0.10.6
-> removed   duration.0.2.0
-> removed   logs.0.7.0
-> removed   lwt.5.5.0
-> removed   mirage-crypto.0.10.6
-> removed   conf-pkg-config.2
-> removed   dune-configurator.3.0.3
-> removed   csexp.1.5.1
-> removed   eqaf.0.8
-> removed   cstruct.6.1.0
-> removed   fmt.0.9.0
-> removed   mmap.1.2.0
-> removed   bigarray-compat.1.1.0
-> removed   mtime.1.4.0
-> removed   ocplib-endian.1.2
-> removed   base-bytes.base
-> removed   cppo.1.6.8
-> removed   result.1.5
-> removed   dune.3.0.3
-> removed   seq.base
-> removed   topkg.1.0.5
-> removed   ocamlbuild.0.14.1
-> removed   ocamlfind.1.9.3
-> installed conf-pkg-config.1.0
-> installed dune.2.8.0
-> installed ocamlbuild.0.14.0
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed bigarray-compat.1.0.0
-> installed mmap.1.1.0
-> installed result.1.0
-> installed seq.0.2.2
-> installed cstruct.6.0.0
-> installed eqaf.0.7
-> installed dune-private-libs.2.3.0
-> installed cppo.1.6.1
-> installed dune-configurator.2.3.0
-> installed mirage-crypto.0.8.5
-> installed topkg.1.0.3
-> installed duration.0.1.0
-> installed fmt.0.8.0
-> installed mtime.1.0.0
-> installed ocplib-endian.1.0
-> installed lwt.5.4.0
-> installed mirage-device.2.0.0
-> installed mirage-block.2.0.1
-> installed logs.0.6.2
-> installed mirage-crypto-rng.0.8.5
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
  - install mirage-block-ccm 1.0.2*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/3: [mirage-block-ccm: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-block-ccm" "-j" "31" (CWD=/home/opam/.opam/4.12/.opam-switch/build/mirage-block-ccm.1.0.2)
-> compiled  mirage-block-ccm.1.0.2
-> installed mirage-block-ccm.1.0.2
Done.
# Run eval $(opam env) to update the current shell environment
2022-04-07 13:26.00 ---> saved as "b5b0146dae3eb40077d2c339f1f009a0b8d0b18b826e0461a8e584f3eb225b86"
Job succeeded
2022-04-07 13:27.10: Job succeeded