2024-04-03 01:58.35: New job: test iostream.0.2.2, using opam 2.1
                              from https://github.com/ocaml/opam-repository.git#refs/pull/25613/head (acf7b866efb61d4b485571dd4084ec18f3e7bc0c)
                              on debian-12-ocaml-5.1/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/25613/head" && git reset --hard acf7b866
git fetch origin master
git merge --no-edit 689abe198230df164170b233c08b7722d4fea5b3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:a10e8b8b58e2eca813f1faf74091b0dc61b2776735df960584819ef045c70928
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
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 iostream.0.2.2 0.2.2
RUN opam reinstall iostream.0.2.2; \
    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" != 'iostream.0.2.2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
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 reinstall --with-test iostream.0.2.2) || true
RUN opam reinstall --with-test --verbose iostream.0.2.2; \
    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" != 'iostream.0.2.2' && 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 .

2024-04-03 01:58.35: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:a10e8b8b58e2eca813f1faf74091b0dc61b2776735df960584819ef045c70928-iostream.0.2.2-acf7b866efb61d4b485571dd4084ec18f3e7bc0c"
2024-04-03 01:58.35: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:a10e8b8b58e2eca813f1faf74091b0dc61b2776735df960584819ef045c70928)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (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 iostream.0.2.2 0.2.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall iostream.0.2.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        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\" != 'iostream.0.2.2' && 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[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 (network host)
      (shell "(opam reinstall --with-test iostream.0.2.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose iostream.0.2.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        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\" != 'iostream.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-04-03 01:58.35: Waiting for resource in pool OCluster
2024-04-03 02:45.25: Waiting for worker…
2024-04-03 02:50.30: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
Updating files:  78% (26252/33415)
Updating files:  79% (26398/33415)
Updating files:  80% (26732/33415)
Updating files:  81% (27067/33415)
Updating files:  82% (27401/33415)
Updating files:  83% (27735/33415)
Updating files:  84% (28069/33415)
Updating files:  85% (28403/33415)
Updating files:  86% (28737/33415)
Updating files:  87% (29072/33415)
Updating files:  88% (29406/33415)
Updating files:  89% (29740/33415)
Updating files:  90% (30074/33415)
Updating files:  91% (30408/33415)
Updating files:  92% (30742/33415)
Updating files:  93% (31076/33415)
Updating files:  94% (31411/33415)
Updating files:  95% (31745/33415)
Updating files:  96% (32079/33415)
Updating files:  97% (32413/33415)
Updating files:  98% (32747/33415)
Updating files:  99% (33081/33415)
Updating files: 100% (33415/33415)
Updating files: 100% (33415/33415), done.
HEAD is now at 689abe1982 Merge pull request #24314 from Khady/release-argon2-1.0.2
Updating 689abe1982..acf7b866ef
Fast-forward
 .../iostream-camlzip/iostream-camlzip.0.2.2/opam   | 40 ++++++++++++++++++++++
 packages/iostream/iostream.0.2.2/opam              | 39 +++++++++++++++++++++
 2 files changed, 79 insertions(+)
 create mode 100644 packages/iostream-camlzip/iostream-camlzip.0.2.2/opam
 create mode 100644 packages/iostream/iostream.0.2.2/opam

(from ocaml/opam:debian-12-ocaml-5.1@sha256:a10e8b8b58e2eca813f1faf74091b0dc61b2776735df960584819ef045c70928)
2024-04-03 02:50.33 ---> using "07a8eca15cb397abcfc96b32f34ab95e165d28e98619dc5782e54470c43d0523" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-03 02:50.33 ---> using "ced9e2e31a5309d52f97faf33cad99a11a4c3c693cd1d189c76a447fa226eddd" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This 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
2024-04-03 02:51.57 ---> saved as "deccf6dd4bba881714527447cdbdbaa73c96314837f404e1a8760d213a5abb11"

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 5.1.1
2.1.5
2024-04-03 02:51.57 ---> saved as "24e116fdaa4ecacfe9f304d883724b6eadb4463d8947e1d09ad7627ab9638f67"

/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/"))
2024-04-03 02:52.05 ---> saved as "50bd279e066b1ecdac1deb95df2e9eed0d03d3bbbb0a827c6727fce1bc87dffe"

/home/opam: (copy (src .) (dst opam-repository/))
2024-04-03 02:52.18 ---> saved as "aaf1328d55155b3d9f20ccb0f77c7bddab0b417a5c066939610124609143eede"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-04-03 02:52.41 ---> saved as "10b770f498700871d10d1a8e61f09c92d63d99edae83faab60cc1dd27d20586d"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [150 kB]
- Fetched 253 kB in 0s (941 kB/s)
- Reading package lists...
2024-04-03 02:52.42 ---> saved as "bfd24bc5217e75454028f7966e7ce456967e9361026aaf55134a92ab691bef74"

/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 iostream.0.2.2 0.2.2"))
iostream is now pinned to version 0.2.2
2024-04-03 02:52.43 ---> saved as "3e142218d176ae2165d762b238113341a35f59bf0baeaa2ac408ffa3937c410a"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall iostream.0.2.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        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\" != 'iostream.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
iostream.0.2.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install dune     3.14.2 [required by iostream]
  - install iostream 0.2.2*
===== 2 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.14.2  (cached)
-> retrieved iostream.0.2.2  (cached)
-> installed dune.3.14.2
-> installed iostream.0.2.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-03 02:53.26 ---> saved as "4a7fad0b6cfb2a2dc18dff186a6c30ae685028a0b3dfe4a20ab577cef48fee3e"

/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 (network host)
                 (shell "(opam reinstall --with-test iostream.0.2.2) || true"))
The following actions will be performed:
  - install   seq          base   [required by ounit2]
  - install   stdlib-shims 0.3.0  [required by ounit2]
  - install   ounit2       2.2.7  [required by iostream]
  - recompile iostream     0.2.2*
===== 3 to install | 1 to recompile =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ounit2.2.2.7  (https://github.com/gildor478/ounit/releases/download/v2.2.7/ounit-2.2.7.tbz)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz)
-> removed   iostream.0.2.2
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed iostream.0.2.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-03 02:53.53 ---> saved as "2e06cad913371658344e15dda32af889006fdc53b558267a496b014d64b3ac2a"

/home/opam: (run (shell  "opam reinstall --with-test --verbose iostream.0.2.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        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\" != 'iostream.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
  - recompile iostream 0.2.2*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [iostream: dune subst]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "subst" (CWD=/home/opam/.opam/5.1/.opam-switch/build/iostream.0.2.2)
Processing  2/4: [iostream: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "iostream" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.1/.opam-switch/build/iostream.0.2.2)
- (cd _build/default/test && ./t_out_buf.exe)
- ..
- Ran: 2 tests in: 0.10 seconds.
- OK
- (cd _build/default/test && ./t_in.exe)
- .........
- Ran: 9 tests in: 0.11 seconds.
- OK
- (cd _build/default/test && ./t_in_buf.exe)
- ...
- Ran: 3 tests in: 0.11 seconds.
- OK
-> compiled  iostream.0.2.2
-> removed   iostream.0.2.2
-> installed iostream.0.2.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-03 02:54.15 ---> saved as "46898ecef3837e4535b403ade35e08383dda13642aa1125e547ae53fd71987fe"
Job succeeded
2024-04-03 02:54.26: Job succeeded