2024-04-03 01:58.35: New job: test iostream.0.2.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/25613/head (acf7b866efb61d4b485571dd4084ec18f3e7bc0c)
                              on debian-12-ocaml-5.1-afl/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-afl@sha256:7751dc9fb42d1e313a8c67a8477d1aed0a8bf84c2641284f8be0448ba64f50c6
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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-afl@sha256:7751dc9fb42d1e313a8c67a8477d1aed0a8bf84c2641284f8be0448ba64f50c6-iostream.0.2.2-acf7b866efb61d4b485571dd4084ec18f3e7bc0c"
2024-04-03 01:58.35: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1-afl@sha256:7751dc9fb42d1e313a8c67a8477d1aed0a8bf84c2641284f8be0448ba64f50c6)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (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.30: Waiting for worker…
2024-04-03 02:48.10: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files:  84% (28372/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-afl@sha256:7751dc9fb42d1e313a8c67a8477d1aed0a8bf84c2641284f8be0448ba64f50c6)
2024-04-03 02:49.49 ---> saved as "eda39fd337424463c42e28a59b9140c5db21bd4df2becdc204a3f491062397a2"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-04-03 02:49.49 ---> saved as "7068c743d10ad03e312f07a5333ba066112bee342f88eab70f467ac1d7ae7f8e"

/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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2~alpha, which can't be reverted.
You may want to back it up before going further.

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

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-04-03 02:50.44 ---> saved as "7f344b5e0a467ce52156b9402ea5996b055bdc6e873224fb874d06feea391020"

/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.2.0~beta2~dev
2024-04-03 02:50.44 ---> saved as "e6b85d83aa986e5c2a312b101b37318d0692583d998f95189abec499ac72cbfe"

/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.59 ---> saved as "6e8a0a3d806874a3ffbe9712461037e69aa79e75398ff8bb29e386e76ce1dcbd"

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

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

/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 (985 kB/s)
- Reading package lists...
2024-04-03 02:52.08 ---> saved as "398ae0d1ec01a79a3dd11a32c34d889740cefb59e199f878ab5e7b188ede1d7e"

/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.09 ---> saved as "4ee652bf8e01f10599d80c2a6fcf7655c983ed8893502a8b0d348417300b2ca3"

/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 2 packages
  - install dune     3.14.2         [required by iostream]
  - install iostream 0.2.2 (pinned)

<><> 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:52.40 ---> saved as "79d2afbfcb73e21953375cfbf1b8edcfc32d446ad3aa4af87136b5027cb8687f"

/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:
=== recompile 1 package
  - recompile iostream     0.2.2 (pinned)
=== install 3 packages
  - install   ounit2       2.2.7          [required by iostream]
  - install   seq          base           [required by ounit2]
  - install   stdlib-shims 0.3.0          [required by ounit2]

<><> 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:52.51 ---> saved as "325f1e43bff7c9809d6dfc942dd461621491b2b1344ed8356a5b2cc705ce9a96"

/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 1 package
  - recompile iostream 0.2.2 (pinned)

<><> 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.10 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:52.59 ---> saved as "0bd8ac0d1a96068e77960827fea24e89829c1ebba422d2bb4cb048fb083b1c30"
Job succeeded
2024-04-03 02:53.04: Job succeeded