(for PR #25273)

2024-07-03 07:00.03: New job: build spices.0.0.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/25273/head (20766ae4a537a13e1ac026d21b630f786edfe10d)
                              on opensuse-15.6-ocaml-5.2/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/25273/head" && git reset --hard 20766ae4
git fetch origin master
git merge --no-edit f11abb6589b7c157b8bd91c5d5fcb5a92da6d892
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-5.2@sha256:c31392c3278906f6d2579d40c2f669f5dbc924e63cf4993fdeb1475363161fd6
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
RUN opam pin add -k version -yn spices.0.0.3 0.0.3
RUN opam reinstall spices.0.0.3; \
    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 "\"opensuse-15.6\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'spices.0.0.3' && 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-07-03 07:00.03: Using cache hint "ocaml/opam:opensuse-15.6-ocaml-5.2@sha256:c31392c3278906f6d2579d40c2f669f5dbc924e63cf4993fdeb1475363161fd6-spices.0.0.3-20766ae4a537a13e1ac026d21b630f786edfe10d"
2024-07-03 07:00.03: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.2@sha256:c31392c3278906f6d2579d40c2f669f5dbc924e63cf4993fdeb1475363161fd6)
 (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"))
 (run (shell "opam pin add -k version -yn spices.0.0.3 0.0.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall spices.0.0.3;\
             \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 \"\\\"opensuse-15.6\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'spices.0.0.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-07-03 07:00.03: Waiting for resource in pool OCluster
2024-07-03 12:48.20: Waiting for worker…
2024-07-03 12:52.36: Got resource from pool OCluster
Building on x86-bm-c19.sw.ocaml.org
All commits already cached
Updating files:  55% (17715/31667)
Updating files:  56% (17734/31667)
Updating files:  57% (18051/31667)
Updating files:  58% (18367/31667)
Updating files:  59% (18684/31667)
Updating files:  60% (19001/31667)
Updating files:  61% (19317/31667)
Updating files:  62% (19634/31667)
Updating files:  63% (19951/31667)
Updating files:  64% (20267/31667)
Updating files:  65% (20584/31667)
Updating files:  66% (20901/31667)
Updating files:  67% (21217/31667)
Updating files:  68% (21534/31667)
Updating files:  69% (21851/31667)
Updating files:  70% (22167/31667)
Updating files:  71% (22484/31667)
Updating files:  72% (22801/31667)
Updating files:  73% (23117/31667)
Updating files:  74% (23434/31667)
Updating files:  75% (23751/31667)
Updating files:  76% (24067/31667)
Updating files:  77% (24384/31667)
Updating files:  78% (24701/31667)
Updating files:  79% (25017/31667)
Updating files:  80% (25334/31667)
Updating files:  81% (25651/31667)
Updating files:  82% (25967/31667)
Updating files:  83% (26284/31667)
Updating files:  84% (26601/31667)
Updating files:  85% (26917/31667)
Updating files:  86% (27234/31667)
Updating files:  87% (27551/31667)
Updating files:  88% (27867/31667)
Updating files:  89% (28184/31667)
Updating files:  90% (28501/31667)
Updating files:  91% (28817/31667)
Updating files:  92% (29134/31667)
Updating files:  93% (29451/31667)
Updating files:  94% (29767/31667)
Updating files:  95% (30084/31667)
Updating files:  96% (30401/31667)
Updating files:  97% (30717/31667)
Updating files:  98% (31034/31667)
Updating files:  98% (31202/31667)
Updating files:  99% (31351/31667)
Updating files: 100% (31667/31667)
Updating files: 100% (31667/31667), done.
HEAD is now at f11abb6589 Merge pull request #26180 from mseri/fix-async_ssl
Merge made by the 'ort' strategy.
 packages/leaves/leaves.0.0.3/opam   | 42 ++++++++++++++++++++++++++++++++++
 packages/minttea/minttea.0.0.3/opam | 43 +++++++++++++++++++++++++++++++++++
 packages/spices/spices.0.0.3/opam   | 45 +++++++++++++++++++++++++++++++++++++
 3 files changed, 130 insertions(+)
 create mode 100644 packages/leaves/leaves.0.0.3/opam
 create mode 100644 packages/minttea/minttea.0.0.3/opam
 create mode 100644 packages/spices/spices.0.0.3/opam

(from ocaml/opam:opensuse-15.6-ocaml-5.2@sha256:c31392c3278906f6d2579d40c2f669f5dbc924e63cf4993fdeb1475363161fd6)
2024-07-03 12:53.17 ---> saved as "a05a4707e92708a419a5556c3e624c126a16d37089818506b34bd94d9b69462d"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-07-03 12:53.17 ---> saved as "b4cffb4633f304bd44bf7c73502b8d79de1657fe40e4eae5f9460169724c7d4e"

/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~beta, which can't be reverted.
You may want to back it up before going further.

Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-07-03 12:54.41 ---> saved as "7fde876384cb538ebfef9398d1babc0086c85c5d1813c9ae0cc4bf366a1cce24"

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-113-generic
The OCaml toplevel, version 5.2.0
2.2.0~rc1
2024-07-03 12:54.41 ---> saved as "d1d6296e11e533dc01c3ed3ef932a18fa87cf722da61b19b6fa416d697aa4b67"

/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-07-03 12:54.50 ---> saved as "fca983d5fe8a7eab24756becde1ea43d61a7191f0d8bef565a6d9bae11067c4e"

/home/opam: (copy (src .) (dst opam-repository/))
2024-07-03 12:55.02 ---> saved as "c44b44d89ee5991c1b51e2d387d168ad5d4554def8d669ff31b0dc2b2203ecf2"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-07-03 12:55.54 ---> saved as "188bac6dd580cfe43fff2a4dde948f16faef8ebcce0ce9bfe9fd6b7a4e5adb57"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [.........done]
- Building repository 'Update repository of openSUSE Backports' cache [...done]
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [........
- ..done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Repository 'Main Update Repository' is up to date.
- Repository 'Update Repository (Non-Oss)' is up to date.
- All repositories have been refreshed.
2024-07-03 12:55.59 ---> saved as "bd7c0e211c84c84ce43fdb4127bccaf3dca349a62fe64491abc4d0a17aa0a675"

/home/opam: (run (shell "opam pin add -k version -yn spices.0.0.3 0.0.3"))
spices is now pinned to version 0.0.3
2024-07-03 12:56.00 ---> saved as "bcc5c136f48da59f7f584c5038a490d29a2c0a25d27c515eb6a29956aad69b6f"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall spices.0.0.3;\
                        \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 \"\\\"opensuse-15.6\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'spices.0.0.3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
spices.0.0.3 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 8 packages
  - install colors     0.0.1          [required by spices]
  - install dune       3.16.0         [required by spices]
  - install ocamlbuild 0.14.3         [required by uutf]
  - install ocamlfind  1.9.6          [required by uutf]
  - install spices     0.0.3 (pinned)
  - install topkg      1.0.7          [required by uutf]
  - install tty        0.0.2          [required by spices]
  - install uutf       1.0.3          [required by tty]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved colors.0.0.1  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved spices.0.0.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved tty.0.0.2  (cached)
-> retrieved uutf.1.0.3  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed dune.3.16.0
-> installed colors.0.0.1
-> installed tty.0.0.2
-> installed spices.0.0.3
Done.
# Run eval $(opam env) to update the current shell environment
2024-07-03 12:57.08 ---> saved as "6418f24f5992133bb690ca47565eaaf98e1e74206b467c952d545eae09a87d9a"
Job succeeded
2024-07-03 12:57.15: Job succeeded