(not at the head of any monitored branch or PR)
2025-05-30 13:18.19: New job: test ancient.0.10.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27965/head (468c97008e09c06f872780fab8b1e953f8c31ebf)
                              on debian-12-ocaml-5.3/s390x

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27965/head" && git reset --hard 468c9700
git fetch origin master
git merge --no-edit edaf2946e3454afde810eb17e5013eb7b2d138e3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:c6ddd278b965854a25bdd62f096b277025fc8d8a5dd7bf9b4fd3ed4855beacc4
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
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 ancient.0.10.0 0.10.0
RUN opam reinstall ancient.0.10.0; \
    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" != 'ancient.0.10.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test ancient.0.10.0) || true
RUN opam reinstall --with-test --verbose ancient.0.10.0; \
    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" != 'ancient.0.10.0' && 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 .

2025-05-30 13:18.19: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:c6ddd278b965854a25bdd62f096b277025fc8d8a5dd7bf9b4fd3ed4855beacc4-ancient.0.10.0-468c97008e09c06f872780fab8b1e953f8c31ebf"
2025-05-30 13:18.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:c6ddd278b965854a25bdd62f096b277025fc8d8a5dd7bf9b4fd3ed4855beacc4)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (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 ancient.0.10.0 0.10.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ancient.0.10.0;\
             \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\" != 'ancient.0.10.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test ancient.0.10.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose ancient.0.10.0;\
             \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\" != 'ancient.0.10.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-05-30 13:18.19: Waiting for resource in pool OCluster
2025-05-31 00:14.19: Waiting for worker…
2025-05-31 07:34.42: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
Updating files:  51% (12027/23165)
Updating files:  52% (12046/23165)
Updating files:  53% (12278/23165)
Updating files:  54% (12510/23165)
Updating files:  55% (12741/23165)
Updating files:  56% (12973/23165)
Updating files:  57% (13205/23165)
Updating files:  58% (13436/23165)
Updating files:  59% (13668/23165)
Updating files:  60% (13899/23165)
Updating files:  61% (14131/23165)
Updating files:  62% (14363/23165)
Updating files:  63% (14594/23165)
Updating files:  64% (14826/23165)
Updating files:  65% (15058/23165)
Updating files:  66% (15289/23165)
Updating files:  67% (15521/23165)
Updating files:  68% (15753/23165)
Updating files:  69% (15984/23165)
Updating files:  70% (16216/23165)
Updating files:  71% (16448/23165)
Updating files:  72% (16679/23165)
Updating files:  73% (16911/23165)
Updating files:  74% (17143/23165)
Updating files:  75% (17374/23165)
Updating files:  76% (17606/23165)
Updating files:  77% (17838/23165)
Updating files:  78% (18069/23165)
Updating files:  79% (18301/23165)
Updating files:  80% (18532/23165)
Updating files:  81% (18764/23165)
Updating files:  82% (18996/23165)
Updating files:  83% (19227/23165)
Updating files:  84% (19459/23165)
Updating files:  85% (19691/23165)
Updating files:  86% (19922/23165)
Updating files:  87% (20154/23165)
Updating files:  88% (20386/23165)
Updating files:  89% (20617/23165)
Updating files:  90% (20849/23165)
Updating files:  91% (21081/23165)
Updating files:  92% (21312/23165)
Updating files:  93% (21544/23165)
Updating files:  94% (21776/23165)
Updating files:  95% (22007/23165)
Updating files:  96% (22239/23165)
Updating files:  97% (22471/23165)
Updating files:  98% (22702/23165)
Updating files:  99% (22934/23165)
Updating files:  99% (23164/23165)
Updating files: 100% (23165/23165)
Updating files: 100% (23165/23165), done.
HEAD is now at edaf2946e3 Merge pull request #27961 from hannesm/fix-dns-cli
Updating edaf2946e3..468c97008e
Fast-forward
 packages/ancient/ancient.0.10.0/opam | 53 ++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
 create mode 100644 packages/ancient/ancient.0.10.0/opam

(from ocaml/opam:debian-12-ocaml-5.3@sha256:c6ddd278b965854a25bdd62f096b277025fc8d8a5dd7bf9b4fd3ed4855beacc4)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:c6ddd278b965854a25bdd62f096b277025fc8d8a5dd7bf9b4fd3ed4855beacc4' locally
docker.io/ocaml/opam@sha256:c6ddd278b965854a25bdd62f096b277025fc8d8a5dd7bf9b4fd3ed4855beacc4: Pulling from ocaml/opam
Digest: sha256:c6ddd278b965854a25bdd62f096b277025fc8d8a5dd7bf9b4fd3ed4855beacc4
Status: Downloaded newer image for ocaml/opam@sha256:c6ddd278b965854a25bdd62f096b277025fc8d8a5dd7bf9b4fd3ed4855beacc4
2025-05-31 07:34.47 ---> using "9b6a5e6be41008ca991c3ffcbdc7c7dca1431dfba3b507f42d303ca926cf3a2a" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-31 07:34.47 ---> using "56302392103a9348dbf2c243a642530cd882dd2a5380db5e536ce93a38be02c2" from cache

/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, 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] Initialised
2025-05-31 07:34.47 ---> using "85131acdaad7aeaf250df99324e57c3a54c4843541542443482fa0e9e34e9f97" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=s390x os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 3
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# invariant            ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-05-31 07:34.47 ---> using "28852ae6c8859c1660e401aa11dfe09106d662ae4ccdadf1113655222ee09aac" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/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/"))
2025-05-31 07:34.47 ---> using "de41cee56c1d78ace9639b374f7846a489339df9169b1963d68bf99cbc9f244a" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-05-31 07:35.44 ---> saved as "ab5b2110874fca91c5258e56af511d9f5001a80817e1429dedbef60405a25709"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-31 07:38.40 ---> saved as "35093429d9a9bd476059f2c098cb7e8f633f1bbd4526c7336b4715ba9cf38ef1"

/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 s390x Packages [232 kB]
- Fetched 336 kB in 1s (276 kB/s)
- Reading package lists...
- 
2025-05-31 07:38.55 ---> saved as "bc8bb7885cfaf3573564890bc4a17426f7334a1a6a4d26cec417432ceec6c13c"

/home/opam: (run (shell "opam pin add -k version -yn ancient.0.10.0 0.10.0"))
ancient is now pinned to version 0.10.0
2025-05-31 07:39.07 ---> saved as "559a0e34d1972125dbcd7be090dba30c3098b1d818a5271679b51b0315320c97"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ancient.0.10.0;\
                        \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\" != 'ancient.0.10.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ancient.0.10.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
  - install ancient 0.10.0 (pinned)
  - install dune    3.19.0          [required by ancient]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ancient.0.10.0  (https://github.com/OCamlPro/ocaml-ancient/releases/download/0.10.0/ancient-0.10.0.tbz)
-> retrieved dune.3.19.0  (cached)
-> installed dune.3.19.0
-> installed ancient.0.10.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-31 07:42.00 ---> saved as "f6da92962c2e935000dd87c5d2e944d37fa25b3c7243925cb75186057c9a5350"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test ancient.0.10.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile ancient 0.10.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   ancient.0.10.0
-> installed ancient.0.10.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-31 07:42.28 ---> saved as "b055257bd15aa9837f4d2dc29188bd9918325fe73c8d19ce83027c06cca0a71b"

/home/opam: (run (shell  "opam reinstall --with-test --verbose ancient.0.10.0;\
                        \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\" != 'ancient.0.10.0' && 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 ancient 0.10.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [ancient: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ancient" "-j" "3" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/ancient.0.10.0)
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -DHAVE_LIMITS_H -DHAVE_UNISTD_H -DHAVE_MMAP -g -I /home/opam/.opam/5.3/lib/ocaml -I /home/opam/.opam/5.3/lib/ocaml/unix -o mmtrace.o -c mmalloc/mmtrace.c)
- mmalloc/mmtrace.c:99:1: warning: 'tr_reallochook' defined but not used [-Wunused-function]
-    99 | tr_reallochook (PTR md, PTR ptr, size_t size)
-       | ^~~~~~~~~~~~~~
- (cd _build/default/test && ./dict_write.exe words output 0x440000000000)
- Added 1000 words to the tree.
- Sharing tree in data file ...
- Garbage collecting ...
- Detaching file and finishing.
- (cd _build/default/test && ./dict_verify.exe words output)
- Verification succeeded.
-> compiled  ancient.0.10.0
-> removed   ancient.0.10.0
-> installed ancient.0.10.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-31 07:43.17 ---> saved as "97b10c6595cd51438bd2d9cb423192d4716f5040fb2967746ecce138c9f623c8"
Job succeeded
2025-05-31 07:45.10: Job succeeded