(not at the head of any monitored branch or PR)
2022-07-26 15:57.52: New job: test mirage-kv-unix.2.0.0 with ounit2.2.2.6, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/21354/head (10b49fadb0efcff442ed8cae85f7cc119fe28629)
                              on debian-11-ocaml-4.14/amd64

To reproduce locally:

git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/21354/head" && git reset --hard 10b49fad
git fetch origin master
git merge 42e749bdca1e36a9f7bbef60b3507d34c6c57fa3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-4.14@sha256:1461d919411f5999f6d7ffd573b9b5385cda91accf83d3866b26097e791220be
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-dev /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 ounit2.2.2.6 2.2.6
RUN opam update --depexts
RUN opam remove ounit2.2.2.6 && opam install --deps-only ounit2.2.2.6 && opam install -v ounit2.2.2.6; \
    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
RUN opam update --depexts
RUN opam remove mirage-kv-unix.2.0.0 && opam install --deps-only mirage-kv-unix.2.0.0 && opam install -v mirage-kv-unix.2.0.0; \
    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
RUN opam update --depexts
RUN opam remove mirage-kv-unix.2.0.0 && opam install --deps-only --with-test mirage-kv-unix.2.0.0 && opam install -v --with-test mirage-kv-unix.2.0.0; \
    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-07-26 15:57.52: Using cache hint "ocaml/opam:debian-11-ocaml-4.14@sha256:1461d919411f5999f6d7ffd573b9b5385cda91accf83d3866b26097e791220be-ounit2.2.2.6-mirage-kv-unix.2.0.0-10b49fadb0efcff442ed8cae85f7cc119fe28629"
2022-07-26 15:57.52: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.14@sha256:1461d919411f5999f6d7ffd573b9b5385cda91accf83d3866b26097e791220be)
 (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-dev /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 ounit2.2.2.6 2.2.6"))
 (run (network host)
      (shell "opam update --depexts"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam remove ounit2.2.2.6 && opam install --deps-only ounit2.2.2.6 && opam install -v ounit2.2.2.6;\
             \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"))
 (run (network host)
      (shell "opam update --depexts"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam remove mirage-kv-unix.2.0.0 && opam install --deps-only mirage-kv-unix.2.0.0 && opam install -v mirage-kv-unix.2.0.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        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"))
 (run (network host)
      (shell "opam update --depexts"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam remove mirage-kv-unix.2.0.0 && opam install --deps-only --with-test mirage-kv-unix.2.0.0 && opam install -v --with-test mirage-kv-unix.2.0.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        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-07-26 15:57.52: Waiting for resource in pool OCluster
2022-07-27 02:45.28: Waiting for worker...
2022-07-27 02:48.02: Got resource from pool OCluster
Building on phoebe.ocamllabs.io
All commits already cached
Updating files:  16% (4402/26809)
Updating files:  17% (4558/26809)
Updating files:  18% (4826/26809)
Updating files:  19% (5094/26809)
Updating files:  20% (5362/26809)
Updating files:  21% (5630/26809)
Updating files:  22% (5898/26809)
Updating files:  23% (6167/26809)
Updating files:  24% (6435/26809)
Updating files:  25% (6703/26809)
Updating files:  26% (6971/26809)
Updating files:  27% (7239/26809)
Updating files:  28% (7507/26809)
Updating files:  29% (7775/26809)
Updating files:  30% (8043/26809)
Updating files:  31% (8311/26809)
Updating files:  32% (8579/26809)
Updating files:  33% (8847/26809)
Updating files:  34% (9116/26809)
Updating files:  35% (9384/26809)
Updating files:  36% (9652/26809)
Updating files:  37% (9920/26809)
Updating files:  38% (10188/26809)
Updating files:  39% (10456/26809)
Updating files:  40% (10724/26809)
Updating files:  40% (10826/26809)
Updating files:  41% (10992/26809)
Updating files:  42% (11260/26809)
Updating files:  43% (11528/26809)
Updating files:  44% (11796/26809)
Updating files:  45% (12065/26809)
Updating files:  46% (12333/26809)
Updating files:  47% (12601/26809)
Updating files:  48% (12869/26809)
Updating files:  49% (13137/26809)
Updating files:  50% (13405/26809)
Updating files:  51% (13673/26809)
Updating files:  52% (13941/26809)
Updating files:  53% (14209/26809)
Updating files:  54% (14477/26809)
Updating files:  55% (14745/26809)
Updating files:  56% (15014/26809)
Updating files:  57% (15282/26809)
Updating files:  58% (15550/26809)
Updating files:  59% (15818/26809)
Updating files:  60% (16086/26809)
Updating files:  61% (16354/26809)
Updating files:  62% (16622/26809)
Updating files:  63% (16890/26809)
Updating files:  64% (17158/26809)
Updating files:  65% (17426/26809)
Updating files:  66% (17694/26809)
Updating files:  67% (17963/26809)
Updating files:  68% (18231/26809)
Updating files:  68% (18445/26809)
Updating files:  69% (18499/26809)
Updating files:  70% (18767/26809)
Updating files:  71% (19035/26809)
Updating files:  72% (19303/26809)
Updating files:  73% (19571/26809)
Updating files:  74% (19839/26809)
Updating files:  75% (20107/26809)
Updating files:  76% (20375/26809)
Updating files:  77% (20643/26809)
Updating files:  78% (20912/26809)
Updating files:  79% (21180/26809)
Updating files:  80% (21448/26809)
Updating files:  81% (21716/26809)
Updating files:  82% (21984/26809)
Updating files:  83% (22252/26809)
Updating files:  84% (22520/26809)
Updating files:  85% (22788/26809)
Updating files:  86% (23056/26809)
Updating files:  87% (23324/26809)
Updating files:  88% (23592/26809)
Updating files:  89% (23861/26809)
Updating files:  90% (24129/26809)
Updating files:  91% (24397/26809)
Updating files:  92% (24665/26809)
Updating files:  93% (24933/26809)
Updating files:  94% (25201/26809)
Updating files:  95% (25469/26809)
Updating files:  95% (25497/26809)
Updating files:  96% (25737/26809)
Updating files:  97% (26005/26809)
Updating files:  98% (26273/26809)
Updating files:  99% (26541/26809)
Updating files: 100% (26809/26809)
Updating files: 100% (26809/26809), done.
HEAD is now at 42e749bdca Merge pull request #21885 from kit-ty-kate/fix-123
Merge made by the 'ort' strategy.
 packages/ounit2/ounit2.2.2.0/opam | 3 +++
 packages/ounit2/ounit2.2.2.1/opam | 3 +++
 packages/ounit2/ounit2.2.2.2/opam | 3 +++
 packages/ounit2/ounit2.2.2.3/opam | 3 +++
 packages/ounit2/ounit2.2.2.4/opam | 3 +++
 packages/ounit2/ounit2.2.2.5/opam | 3 +++
 packages/ounit2/ounit2.2.2.6/opam | 3 +++
 7 files changed, 21 insertions(+)

(from ocaml/opam:debian-11-ocaml-4.14@sha256:1461d919411f5999f6d7ffd573b9b5385cda91accf83d3866b26097e791220be)
2022-07-27 02:48.19 ---> using "d837bbe1b6e58c32e942b55a1eb695ef30d2cac63c8a5d708beb3548d17192b4" 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.14.0.tar.gz (version 4.14.0)
No package build needed.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2022-07-27 02:48.19 ---> using "543d29c04ee698e03faf7cfdc4bb3cf9e04a80ab924d981f1055393f1479d117" from cache

/home/opam: (run (shell "opam repository remove -a multicore || true"))
[WARNING] No configured repositories by these names found: multicore
2022-07-27 02:48.19 ---> using "e8a5c58b05459f7be98d7b03e29623d3a05b15b34833b50ebffb60eff7871cde" from cache

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2022-07-27 02:48.19 ---> using "4687a20afa7557b4b2498b537430ed75c7b51cd6cad60d9c4757ff852befb1a7" 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.

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.

Continue? [y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2022-07-27 02:48.19 ---> using "87c4051d859f505ce794fbdc2ed87105744babed536dd4b09731a9b1e22fd3d4" 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-07-27 02:48.19 ---> using "96a067e6b08152c0f77ff1628817c13e12ac3db1ba1ac882a90278edcbb3d011" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2022-07-27 02:48.21 ---> using "5ce106567f73501cd746c3358ba50b49e5b3ad28d47e7894c1f65b44fcda87e7" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2022-07-27 02:48.21 ---> using "0981e55d831537155c9e161d0ab37d0aeee18cf4c3d1dbad8143304b4c508a5d" from cache

/home/opam: (run (shell "opam pin add -k version -yn ounit2.2.2.6 2.2.6"))
ounit2 is now pinned to version 2.2.6
2022-07-27 02:48.21 ---> using "5fe022f83019704f452f80b482d2664c108ef3b0db68d3d1a678877c57899514" 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-security bullseye-security InRelease [48.4 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [168 kB]
- Fetched 261 kB in 0s (598 kB/s)
- Reading package lists...
- 
2022-07-27 02:48.21 ---> using "bba8fa4a5c1f1400d75bbcf96a0ee68a81add5cecd202565a9f5c5fee420ee15" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam remove ounit2.2.2.6 && opam install --deps-only ounit2.2.2.6 && opam install -v ounit2.2.2.6;\
                        \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"))
[NOTE] ounit2.2.2.6 is not installed.

Nothing to do.
The following actions will be performed:
=== install 5 packages
  - install base-bytes   base  [required by ounit2]
  - install dune         3.4.1 [required by ounit2]
  - install ocamlfind    1.9.5 [required by base-bytes]
  - install seq          base  [required by ounit2]
  - install stdlib-shims 0.3.0 [required by ounit2]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.4.1  (cached)
-> retrieved ocamlfind.1.9.5  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed ocamlfind.1.9.5
-> installed base-bytes.base
-> installed dune.3.4.1
-> installed stdlib-shims.0.3.0
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
=== install 1 package
  - install ounit2 2.2.6 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved ounit2.2.2.6  (cached)
Processing  2/3: [ounit2: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ounit2" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ounit2.2.2.6)
-> compiled  ounit2.2.2.6
-> installed ounit2.2.2.6
Done.
# Run eval $(opam env) to update the current shell environment
2022-07-27 02:48.21 ---> using "30ffb98ca5d746f12c3bdf5a986e46c37913ec070b54b003cb2d38c3fd7f35da" 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
- Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
- Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
- Reading package lists...
- 
2022-07-27 02:48.21 ---> using "2919a1480a2dc287c5298d1836e68fea0c6af5c5d1819935dd1505c6728c35d4" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam remove mirage-kv-unix.2.0.0 && opam install --deps-only mirage-kv-unix.2.0.0 && opam install -v mirage-kv-unix.2.0.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        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"))
[NOTE] mirage-kv-unix.2.0.0 is not installed.

Nothing to do.
The following actions will be performed:
=== install 13 packages
  - install cppo              1.6.9  [required by lwt]
  - install csexp             1.5.1  [required by dune-configurator]
  - install cstruct           6.1.1  [required by mirage-kv-unix]
  - install dune-configurator 3.4.1  [required by lwt]
  - install fmt               0.9.0  [required by cstruct]
  - install lwt               5.6.1  [required by mirage-kv-unix]
  - install mirage-device     1.2.0  [required by mirage-kv]
  - install mirage-kv         2.0.0  [required by mirage-kv-lwt]
  - install mirage-kv-lwt     2.0.0  [required by mirage-kv-unix]
  - install ocamlbuild        0.14.1 [required by ptime]
  - install ocplib-endian     1.2    [required by lwt]
  - install ptime             1.0.0  [required by mirage-kv-unix]
  - install topkg             1.0.5  [required by ptime]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.1  (cached)
-> retrieved cstruct.6.1.1  (cached)
-> installed csexp.1.5.1
-> retrieved dune-configurator.3.4.1  (cached)
-> retrieved fmt.0.9.0  (cached)
-> installed cppo.1.6.9
-> retrieved lwt.5.6.1  (cached)
-> retrieved mirage-device.1.2.0  (cached)
-> retrieved mirage-kv.2.0.0, mirage-kv-lwt.2.0.0  (cached)
-> retrieved ocamlbuild.0.14.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ptime.1.0.0  (cached)
-> retrieved topkg.1.0.5  (cached)
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.4.1
-> installed lwt.5.6.1
-> installed ocamlbuild.0.14.1
-> installed topkg.1.0.5
-> installed fmt.0.9.0
-> installed ptime.1.0.0
-> installed mirage-device.1.2.0
-> installed mirage-kv.2.0.0
-> installed cstruct.6.1.1
-> installed mirage-kv-lwt.2.0.0
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
=== install 1 package
  - install mirage-kv-unix 2.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved mirage-kv-unix.2.0.0  (cached)
Processing  2/3: [mirage-kv-unix: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-kv-unix" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-kv-unix.2.0.0)
-> compiled  mirage-kv-unix.2.0.0
-> installed mirage-kv-unix.2.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2022-07-27 02:49.07 ---> saved as "b47c7afcc8f55a13a1b656e84da1d041277287b1230932f2711f34db6bc79231"

/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-security bullseye-security InRelease
- Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
- Reading package lists...
- 
2022-07-27 02:49.09 ---> saved as "81a721067d49facb18e3f0bef5748195a9a5d7e844e87adfd74923602feb248c"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam remove mirage-kv-unix.2.0.0 && opam install --deps-only --with-test mirage-kv-unix.2.0.0 && opam install -v --with-test mirage-kv-unix.2.0.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        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 1 package
  - remove mirage-kv-unix 2.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   mirage-kv-unix.2.0.0
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
=== recompile 5 packages
  - recompile cstruct           6.1.1  [uses fmt]
  - recompile fmt               0.9.0  [uses cmdliner]
  - recompile mirage-device     1.2.0  [uses fmt]
  - recompile mirage-kv         2.0.0  [uses fmt]
  - recompile mirage-kv-lwt     2.0.0  [uses cstruct]
=== install 10 packages
  - install   alcotest          1.3.0  [required by mirage-kv-unix]
  - install   astring           0.8.5  [required by alcotest]
  - install   cmdliner          1.1.1  [required by alcotest]
  - install   mirage-clock      2.0.0  [required by mirage-clock-unix]
  - install   mirage-clock-lwt  2.0.0  [required by mirage-clock-unix]
  - install   mirage-clock-unix 2.0.0  [required by mirage-kv-unix]
  - install   re                1.10.4 [required by alcotest]
  - install   rresult           0.7.0  [required by mirage-kv-unix]
  - install   uuidm             0.9.8  [required by alcotest]
  - install   uutf              1.0.3  [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.3.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.1.1  (cached)
-> retrieved cstruct.6.1.1  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved mirage-clock.2.0.0, mirage-clock-lwt.2.0.0, mirage-clock-unix.2.0.0  (cached)
-> retrieved mirage-device.1.2.0  (cached)
-> retrieved mirage-kv.2.0.0, mirage-kv-lwt.2.0.0  (cached)
-> retrieved re.1.10.4  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved uuidm.0.9.8  (cached)
-> retrieved uutf.1.0.3  (cached)
-> installed rresult.0.7.0
-> installed re.1.10.4
-> installed astring.0.8.5
-> removed   mirage-kv-lwt.2.0.0
-> removed   cstruct.6.1.1
-> removed   mirage-kv.2.0.0
-> removed   mirage-device.1.2.0
-> removed   fmt.0.9.0
-> installed cmdliner.1.1.1
-> installed uuidm.0.9.8
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed mirage-device.1.2.0
-> installed mirage-clock.2.0.0
-> installed mirage-kv.2.0.0
-> installed cstruct.6.1.1
-> installed mirage-clock-lwt.2.0.0
-> installed mirage-kv-lwt.2.0.0
-> installed alcotest.1.3.0
-> installed mirage-clock-unix.2.0.0
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
=== install 1 package
  - install mirage-kv-unix 2.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved mirage-kv-unix.2.0.0  (cached)
Processing  2/3: [mirage-kv-unix: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-kv-unix" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-kv-unix.2.0.0)
Processing  2/3: [mirage-kv-unix: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "mirage-kv-unix" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-kv-unix.2.0.0)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I test/.test_kv_unix.eobjs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-clock -I /home/opam/.opam/4.14/lib/mirage-clock-lwt -I /home/opam/.opam/4.14/lib/mirage-clock-unix -I /home/opam/.opam/4.14/lib/mirage-device -I /home/opam/.opam/4.14/lib/mirage-kv -I /home/opam/.opam/4.14/lib/mirage-kv-lwt -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uuidm -I /home/opam/.opam/4.14/lib/uutf -I src/.mirage_kv_unix.objs/byte -no-alias-deps -o test/.test_kv_unix.eobjs/byte/test_kv_unix.cmo -c -impl test/test_kv_unix.ml)
- File "test/test_kv_unix.ml", line 31, characters 16-25:
- 31 | let failf fmt = Fmt.kstrf Alcotest.fail fmt
-                      ^^^^^^^^^
- Alert deprecated: Fmt.kstrf
- use Fmt.kstr instead.
- File "test/test_kv_unix.ml", line 42, characters 12-20:
- 42 |   let str = Fmt.strf "%s-%a" s (Ptime.pp_rfc3339 ~space:false ()) now in
-                  ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I test/.test_kv_unix.eobjs/byte -I test/.test_kv_unix.eobjs/native -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-clock -I /home/opam/.opam/4.14/lib/mirage-clock-lwt -I /home/opam/.opam/4.14/lib/mirage-clock-unix -I /home/opam/.opam/4.14/lib/mirage-device -I /home/opam/.opam/4.14/lib/mirage-kv -I /home/opam/.opam/4.14/lib/mirage-kv-lwt -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uuidm -I /home/opam/.opam/4.14/lib/uutf -I src/.mirage_kv_unix.objs/byte -I src/.mirage_kv_unix.objs/native -intf-suffix .ml -no-alias-deps -o test/.test_kv_unix.eobjs/native/test_kv_unix.cmx -c -impl test/test_kv_unix.ml)
- File "test/test_kv_unix.ml", line 31, characters 16-25:
- 31 | let failf fmt = Fmt.kstrf Alcotest.fail fmt
-                      ^^^^^^^^^
- Alert deprecated: Fmt.kstrf
- use Fmt.kstr instead.
- File "test/test_kv_unix.ml", line 42, characters 12-20:
- 42 |   let str = Fmt.strf "%s-%a" s (Ptime.pp_rfc3339 ~space:false ()) now in
-                  ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
- File "test/dune", line 6, characters 0-109:
-  6 | (alias
-  7 |  (name runtest)
-  8 |  (deps
-  9 |   (:< test_kv_unix.exe)
- 10 |   (source_tree test_directory))
- 11 |  (action
- 12 |   (run %{<})))
- (cd _build/default/test && ./test_kv_unix.exe)
- Testing `KV'.
- This run has ID `E14089EA-5536-4604-B028-661770A1812E'.
- 
-   [OK]          connect          0   connect_to_empty_string.
-   [OK]          connect          1   connect_to_dev_null.
-   [OK]          connect          2   connect_present_dir.
-   [OK]          read             0   read_nonexistent_file_from_root.
-   [OK]          read             1   read_nonexistent_file_from_dir.
-   [OK]          read             2   read_empty_file.
-   [OK]          read             3   read_big_file.
-   [OK]          size             0   size_nonexistent_file.
-   [OK]          size             1   size_empty_file.
-   [OK]          size             2   size_small_file.
-   [OK]          size             3   size_a_directory.
-   [OK]          size             4   size_big_file.
- > [FAIL]        destroy          0   destroy_file.
-   [FAIL]        destroy          1   create_destroy_file.
-   [OK]          write            0   write_not_a_dir.
-   [OK]          write            1   write_zero_bytes.
-   [OK]          write            2   write_contents_correct.
-   [OK]          write            3   write_overwrite_dir.
-   [OK]          write            4   write_big_file.
- 
- ┌──────────────────────────────────────────────────────────────────────────────┐
- │ [FAIL]        destroy          0   destroy_file.                             │
- └──────────────────────────────────────────────────────────────────────────────┘
- [exception] Unix.Unix_error(Unix.EROFS, "mkdir", "/tmp/test_directory2-2022-07-27T02:49:53-00:00")
- 
- Logs saved to `~/.opam/4.14/.opam-switch/build/mirage-kv-unix.2.0.0/_build/default/test/_build/_tests/KV/destroy.000.output'.
-  ──────────────────────────────────────────────────────────────────────────────
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/mirage-kv-unix.2.0.0/_build/default/test/_build/_tests/KV'.
- 2 failures! in 0.005s. 19 tests run.
[ERROR] The compilation of mirage-kv-unix.2.0.0 failed at "dune runtest -p mirage-kv-unix -j 31".

#=== ERROR while compiling mirage-kv-unix.2.0.0 ===============================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.4.14.0 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/mirage-kv-unix.2.0.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune runtest -p mirage-kv-unix -j 31
# exit-code            1
# env-file             ~/.opam/log/mirage-kv-unix-1465-66210b.env
# output-file          ~/.opam/log/mirage-kv-unix-1465-66210b.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I test/.test_kv_unix.eobjs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-clock -I /home/opam/.opam/4.14/lib/mirage-clock-lwt -I /home/opam/.opam/4.14/lib/mirage-clock-unix -I /home/opam/.opam/4.14/lib/mirage-device -I /home/opam/.opam/4.14/lib/mirage-kv -I /home/opam/.opam/4.14/lib/mirage-kv-lwt -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uuidm -I /home/opam/.opam/4.14/lib/uutf -I src/.mirage_kv_unix.objs/byte -no-alias-deps -o test/.test_kv_unix.eobjs/byte/test_kv_unix.cmo -c -impl test/test_kv_unix.ml)
# File "test/test_kv_unix.ml", line 31, characters 16-25:
# 31 | let failf fmt = Fmt.kstrf Alcotest.fail fmt
#                      ^^^^^^^^^
# Alert deprecated: Fmt.kstrf
# use Fmt.kstr instead.
# File "test/test_kv_unix.ml", line 42, characters 12-20:
# 42 |   let str = Fmt.strf "%s-%a" s (Ptime.pp_rfc3339 ~space:false ()) now in
#                  ^^^^^^^^
# Alert deprecated: Fmt.strf
# use Fmt.str instead.
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I test/.test_kv_unix.eobjs/byte -I test/.test_kv_unix.eobjs/native -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-clock -I /home/opam/.opam/4.14/lib/mirage-clock-lwt -I /home/opam/.opam/4.14/lib/mirage-clock-unix -I /home/opam/.opam/4.14/lib/mirage-device -I /home/opam/.opam/4.14/lib/mirage-kv -I /home/opam/.opam/4.14/lib/mirage-kv-lwt -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uuidm -I /home/opam/.opam/4.14/lib/uutf -I src/.mirage_kv_unix.objs/byte -I src/.mirage_kv_unix.objs/native -intf-suffix .ml -no-alias-deps -o test/.test_kv_unix.eobjs/native/test_kv_unix.cmx -c -impl test/test_kv_unix.ml)
# File "test/test_kv_unix.ml", line 31, characters 16-25:
# 31 | let failf fmt = Fmt.kstrf Alcotest.fail fmt
#                      ^^^^^^^^^
# Alert deprecated: Fmt.kstrf
# use Fmt.kstr instead.
# File "test/test_kv_unix.ml", line 42, characters 12-20:
# 42 |   let str = Fmt.strf "%s-%a" s (Ptime.pp_rfc3339 ~space:false ()) now in
#                  ^^^^^^^^
# Alert deprecated: Fmt.strf
# use Fmt.str instead.
# File "test/dune", line 6, characters 0-109:
#  6 | (alias
#  7 |  (name runtest)
#  8 |  (deps
#  9 |   (:< test_kv_unix.exe)
# 10 |   (source_tree test_directory))
# 11 |  (action
# 12 |   (run %{<})))
# (cd _build/default/test && ./test_kv_unix.exe)
# Testing `KV'.
# This run has ID `E14089EA-5536-4604-B028-661770A1812E'.
# 
#   [OK]          connect          0   connect_to_empty_string.
#   [OK]          connect          1   connect_to_dev_null.
#   [OK]          connect          2   connect_present_dir.
#   [OK]          read             0   read_nonexistent_file_from_root.
#   [OK]          read             1   read_nonexistent_file_from_dir.
#   [OK]          read             2   read_empty_file.
#   [OK]          read             3   read_big_file.
#   [OK]          size             0   size_nonexistent_file.
#   [OK]          size             1   size_empty_file.
#   [OK]          size             2   size_small_file.
#   [OK]          size             3   size_a_directory.
#   [OK]          size             4   size_big_file.
# > [FAIL]        destroy          0   destroy_file.
#   [FAIL]        destroy          1   create_destroy_file.
#   [OK]          write            0   write_not_a_dir.
#   [OK]          write            1   write_zero_bytes.
#   [OK]          write            2   write_contents_correct.
#   [OK]          write            3   write_overwrite_dir.
#   [OK]          write            4   write_big_file.
# 
# ┌──────────────────────────────────────────────────────────────────────────────┐
# │ [FAIL]        destroy          0   destroy_file.                             │
# └──────────────────────────────────────────────────────────────────────────────┘
# [exception] Unix.Unix_error(Unix.EROFS, "mkdir", "/tmp/test_directory2-2022-07-27T02:49:53-00:00")
# 
# Logs saved to `~/.opam/4.14/.opam-switch/build/mirage-kv-unix.2.0.0/_build/default/test/_build/_tests/KV/destroy.000.output'.
#  ──────────────────────────────────────────────────────────────────────────────
# 
# Full test results in `~/.opam/4.14/.opam-switch/build/mirage-kv-unix.2.0.0/_build/default/test/_build/_tests/KV'.
# 2 failures! in 0.005s. 19 tests run.



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build mirage-kv-unix 2.0.0
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -v --with-test mirage-kv-unix.2.0.0' failed.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/bin/bash" "-c"
"opam remove mirage-kv-unix.2.0.0 && opam install --deps-only --with-test mirage-kv-unix.2.0.0 && opam install -v --with-test mirage-kv-unix.2.0.0;
        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" failed with exit status 1
2022-07-27 02:50.16: Job failed: Failed: Build failed
2022-07-27 02:50.16: Log analysis:
2022-07-27 02:50.16: >>> 
[ERROR] The compilation of mirage-kv-unix.2.0.0 failed at "dune runtest -p mirage-kv-unix -j 31".
 (score = 20)
2022-07-27 02:50.16: The compilation of mirage-kv-unix.2.0.0 failed at "dune runtest -p mirage-kv-unix -j 31".