2024-04-03 01:58.35: New job: test iostream.0.2.2, using opam 2.0
                              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.0 /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 depext -u || 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 depext iostream.0.2.2 && 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 depext --with-test iostream.0.2.2 && opam reinstall --with-test iostream.0.2.2) || true
RUN opam depext --with-test iostream.0.2.2 && 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.0 /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 depext -u || 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 depext iostream.0.2.2 && 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 depext --with-test iostream.0.2.2 && opam reinstall --with-test iostream.0.2.2) || true"))
 (run (shell  "opam depext --with-test iostream.0.2.2 && 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.21: Waiting for worker…
2024-04-03 02:50.09: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
Updating files:  74% (24928/33415)
Updating files:  75% (25062/33415)
Updating files:  76% (25396/33415)
Updating files:  77% (25730/33415)
Updating files:  78% (26064/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.11 ---> using "07a8eca15cb397abcfc96b32f34ab95e165d28e98619dc5782e54470c43d0523" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2024-04-03 02:50.11 ---> using "f913a444adb09263a026ba99168cdfa9bf344fcccb6face1b1a8329fe7c61808" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 includes many performance improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2024-04-03 02:50.47 ---> saved as "39317c5bda386f43d2e2581c14160232cdc805ce4bf9473678b9b0deb4aca980"

/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.0.10
2024-04-03 02:50.48 ---> saved as "da96076877f52e049c252c2770a485648ba4a948fdadbf899be070086c82344c"

/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:50.56 ---> saved as "6e04e8b1762370f857d45016fa5a040a8091c5e5dd547eb881474b784ae899a0"

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 includes many performance improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2024-04-03 02:51.40 ---> saved as "dbfcb032924dd3d65f49d0fe918cc2c84ac780fa5e4aca670d05d69753c32511"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 (1040 kB/s)
Reading package lists...
# OS package update successful
2024-04-03 02:51.42 ---> saved as "f89e5d90413b0f4aada7f4627ee79835467fbdce0a12b53de45bd37455c61012"

/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:51.42 ---> saved as "3c7dda71d5783a019756a962643dfa5073a34dacfe2631ee9eed73118e991914"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext iostream.0.2.2 && 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
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 =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.14.2] found in cache
[iostream.0.2.2] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> 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:52.28 ---> saved as "f0fe2ce9d2dfbcc57f7bc7c1ff592f9a86e64206efc68feee65803bf9121480b"

/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 depext --with-test iostream.0.2.2 && opam reinstall --with-test iostream.0.2.2) || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
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 =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ounit2.2.2.7] downloaded from https://github.com/gildor478/ounit/releases/download/v2.2.7/ounit-2.2.7.tbz
[stdlib-shims.0.3.0] downloaded from https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> 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.00 ---> saved as "dba43e2b543a98af370c7053e252ba39c56cce44f06ae2961480bf0b4cc44cf0"

/home/opam: (run (shell  "opam depext --with-test iostream.0.2.2 && 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following actions will be performed:
  - recompile iostream 0.2.2*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [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  1/3: [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_buf.exe)
- ...
- Ran: 3 tests in: 0.11 seconds.
- OK
- (cd _build/default/test && ./t_in.exe)
- .........
- Ran: 9 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:53.22 ---> saved as "752b2d17938763acd7d4f728bb9eb89c85205c2fa4b78cbc8ea00ff598bf763e"
Job succeeded
2024-04-03 02:53.30: Job succeeded