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 archlinux-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:archlinux-ocaml-5.1@sha256:725e02e1cb8ed98b9f477cd32e1c0d2fc538ef71061a0461277a2248c891b220
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 "\"archlinux\""; 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 "\"archlinux\""; 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:archlinux-ocaml-5.1@sha256:725e02e1cb8ed98b9f477cd32e1c0d2fc538ef71061a0461277a2248c891b220-iostream.0.2.2-acf7b866efb61d4b485571dd4084ec18f3e7bc0c"
2024-04-03 01:58.35: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.1@sha256:725e02e1cb8ed98b9f477cd32e1c0d2fc538ef71061a0461277a2248c891b220)
 (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 \"\\\"archlinux\\\"\"; 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 \"\\\"archlinux\\\"\"; 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:43.11: Waiting for worker…
2024-04-03 02:48.43: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
All commits already cached
Updating files:  72% (24273/33415)
Updating files:  73% (24393/33415)
Updating files:  74% (24728/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:archlinux-ocaml-5.1@sha256:725e02e1cb8ed98b9f477cd32e1c0d2fc538ef71061a0461277a2248c891b220)
Unable to find image 'ocaml/opam:archlinux-ocaml-5.1@sha256:725e02e1cb8ed98b9f477cd32e1c0d2fc538ef71061a0461277a2248c891b220' locally
docker.io/ocaml/opam@sha256:725e02e1cb8ed98b9f477cd32e1c0d2fc538ef71061a0461277a2248c891b220: Pulling from ocaml/opam
d1c4f38d12e4: Pulling fs layer
d1c4f38d12e4: Verifying Checksum
d1c4f38d12e4: Download complete
d1c4f38d12e4: Pull complete
Digest: sha256:725e02e1cb8ed98b9f477cd32e1c0d2fc538ef71061a0461277a2248c891b220
Status: Downloaded newer image for ocaml/opam@sha256:725e02e1cb8ed98b9f477cd32e1c0d2fc538ef71061a0461277a2248c891b220
2024-04-03 02:49.04 ---> saved as "921a2123409db696e1834aff8169e111883dbe5939674ccac336c1576c30ebae"

/: (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.04 ---> saved as "fe27d898dd7a6b7f56ea1fdeb1be657c2e8fa451c2a2b09d300f2e552e9225a5"

/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.29 ---> saved as "07180148e25642b03b91b0b94a98a03004979dfc390ef1a3d7e3fdf0abc8e08a"

/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.29 ---> saved as "5ea6649228151cd22f42fb56adbe09de6cb8fdeaac4bea50cacc0e4ffd6f53ce"

/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.37 ---> saved as "545a5dfce23d6b52704814811e28952e49b2a4c3181bd5ad3841d512eae6314d"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2024-04-03 02:51.39 ---> saved as "4459114e902a2fa0af5a902f0c1637bcf5fb6366ca941b56f45dc0552ea584f5"

/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.40 ---> saved as "8681bd2874e9d4d2e1445648ac6633d798b46431a0011ba97b7408a3c7462293"

/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 \"\\\"archlinux\\\"\"; 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
  ∗ dune     3.14.2         [required by iostream]
  ∗ iostream 0.2.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved dune.3.14.2  (cached)
⬇ retrieved iostream.0.2.2  (https://github.com/c-cube/ocaml-iostream/releases/download/v0.2.2/iostream-0.2.2.tbz)
∗ 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.27 ---> saved as "6b269b320887bd2755e0fce963bd0f6b5dd43f6a7b8d3d1d8b56239ff572fd4b"

/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
  ↻ iostream     0.2.2 (pinned)
=== install 3 packages
  ∗ ounit2       2.2.7          [required by iostream]
  ∗ seq          base           [required by ounit2]
  ∗ 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.49 ---> saved as "ce8f7b6b1dbc4c5c135cf7cd6e756a07bea58134df5d9dd92b59f527973c6be2"

/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 \"\\\"archlinux\\\"\"; 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
  ↻ 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" "31" "@install" "@runtest" (CWD=/home/opam/.opam/5.1/.opam-switch/build/iostream.0.2.2)
- (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
- (cd _build/default/test && ./t_out_buf.exe)
- ..
- Ran: 2 tests in: 0.10 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.10 ---> saved as "fbc195860e90dc7c80b19e0da5d4aae5ea1e287bc938f7bdba9165a75bc1ca47"
Job succeeded
2024-04-03 02:53.23: Job succeeded