2024-04-03 01:58.35: New job: build 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

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"))
)

2024-04-03 01:58.35: Waiting for resource in pool OCluster
2024-04-03 02:45.22: Waiting for worker…
2024-04-03 02:50.27: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
Updating files:  66% (22080/33415)
Updating files:  67% (22389/33415)
Updating files:  68% (22723/33415)
Updating files:  69% (23057/33415)
Updating files:  70% (23391/33415)
Updating files:  71% (23725/33415)
Updating files:  72% (24059/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:debian-12-ocaml-5.1@sha256:a10e8b8b58e2eca813f1faf74091b0dc61b2776735df960584819ef045c70928)
2024-04-03 02:50.30 ---> 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.30 ---> saved as "ced9e2e31a5309d52f97faf33cad99a11a4c3c693cd1d189c76a447fa226eddd"

/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.06 ---> 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"
Job succeeded
2024-04-03 02:53.38: Job succeeded