(for PR #29945)

2026-05-23 16:28.34: New job: build lua-ml.0.9.5, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29945/head (8b623f363e6484cb1c885863fdf867c2295cd713)
                              on debian-13-ocaml-5.4/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/29945/head" && git reset --hard 8b623f36
git fetch origin master
git merge --no-edit 493123878a032e3f829b102f34e8690b3b2a4fd4
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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 lua-ml.0.9.5 0.9.5
RUN opam reinstall lua-ml.0.9.5; \
    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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lua-ml.0.9.5' && 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 .

2026-05-23 16:28.34: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb-lua-ml.0.9.5-8b623f363e6484cb1c885863fdf867c2295cd713"
2026-05-23 16:28.34: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb)
 (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 "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 lua-ml.0.9.5 0.9.5"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lua-ml.0.9.5;\
             \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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'lua-ml.0.9.5' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-05-23 16:28.34: Waiting for resource in pool OCluster
2026-05-23 16:28.34: Waiting for worker…
2026-05-23 21:53.30: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
Updating files:   7% (1384/17957)
Updating files:   8% (1437/17957)
Updating files:   9% (1617/17957)
Updating files:  10% (1796/17957)
Updating files:  10% (1884/17957)
Updating files:  11% (1976/17957)
Updating files:  12% (2155/17957)
Updating files:  12% (2229/17957)
Updating files:  13% (2335/17957)
Updating files:  14% (2514/17957)
Updating files:  15% (2694/17957)
Updating files:  16% (2874/17957)
Updating files:  17% (3053/17957)
Updating files:  17% (3193/17957)
Updating files:  18% (3233/17957)
Updating files:  19% (3412/17957)
Updating files:  20% (3592/17957)
Updating files:  21% (3771/17957)
Updating files:  22% (3951/17957)
Updating files:  22% (4071/17957)
Updating files:  23% (4131/17957)
Updating files:  24% (4310/17957)
Updating files:  24% (4417/17957)
Updating files:  25% (4490/17957)
Updating files:  25% (4654/17957)
Updating files:  26% (4669/17957)
Updating files:  27% (4849/17957)
Updating files:  27% (4934/17957)
Updating files:  27% (4972/17957)
Updating files:  28% (5028/17957)
Updating files:  28% (5035/17957)
Updating files:  29% (5208/17957)
Updating files:  29% (5340/17957)
Updating files:  30% (5388/17957)
Updating files:  31% (5567/17957)
Updating files:  32% (5747/17957)
Updating files:  33% (5926/17957)
Updating files:  34% (6106/17957)
Updating files:  35% (6285/17957)
Updating files:  35% (6396/17957)
Updating files:  36% (6465/17957)
Updating files:  37% (6645/17957)
Updating files:  38% (6824/17957)
Updating files:  38% (6971/17957)
Updating files:  39% (7004/17957)
Updating files:  40% (7183/17957)
Updating files:  41% (7363/17957)
Updating files:  42% (7542/17957)
Updating files:  42% (7671/17957)
Updating files:  42% (7703/17957)
Updating files:  43% (7722/17957)
Updating files:  43% (7739/17957)
Updating files:  43% (7783/17957)
Updating files:  43% (7838/17957)
Updating files:  44% (7902/17957)
Updating files:  45% (8081/17957)
Updating files:  46% (8261/17957)
Updating files:  46% (8354/17957)
Updating files:  47% (8440/17957)
Updating files:  47% (8491/17957)
Updating files:  48% (8620/17957)
Updating files:  48% (8770/17957)
Updating files:  49% (8799/17957)
Updating files:  50% (8979/17957)
Updating files:  51% (9159/17957)
Updating files:  52% (9338/17957)
Updating files:  53% (9518/17957)
Updating files:  54% (9697/17957)
Updating files:  54% (9740/17957)
Updating files:  55% (9877/17957)
Updating files:  56% (10056/17957)
Updating files:  57% (10236/17957)
Updating files:  58% (10416/17957)
Updating files:  58% (10561/17957)
Updating files:  59% (10595/17957)
Updating files:  60% (10775/17957)
Updating files:  61% (10954/17957)
Updating files:  61% (10994/17957)
Updating files:  62% (11134/17957)
Updating files:  63% (11313/17957)
Updating files:  64% (11493/17957)
Updating files:  65% (11673/17957)
Updating files:  66% (11852/17957)
Updating files:  66% (11953/17957)
Updating files:  67% (12032/17957)
Updating files:  68% (12211/17957)
Updating files:  69% (12391/17957)
Updating files:  70% (12570/17957)
Updating files:  71% (12750/17957)
Updating files:  72% (12930/17957)
Updating files:  73% (13109/17957)
Updating files:  74% (13289/17957)
Updating files:  75% (13468/17957)
Updating files:  75% (13621/17957)
Updating files:  76% (13648/17957)
Updating files:  76% (13723/17957)
Updating files:  77% (13827/17957)
Updating files:  78% (14007/17957)
Updating files:  79% (14187/17957)
Updating files:  80% (14366/17957)
Updating files:  81% (14546/17957)
Updating files:  82% (14725/17957)
Updating files:  83% (14905/17957)
Updating files:  84% (15084/17957)
Updating files:  85% (15264/17957)
Updating files:  85% (15363/17957)
Updating files:  85% (15430/17957)
Updating files:  86% (15444/17957)
Updating files:  87% (15623/17957)
Updating files:  87% (15653/17957)
Updating files:  88% (15803/17957)
Updating files:  89% (15982/17957)
Updating files:  90% (16162/17957)
Updating files:  91% (16341/17957)
Updating files:  92% (16521/17957)
Updating files:  93% (16701/17957)
Updating files:  94% (16880/17957)
Updating files:  95% (17060/17957)
Updating files:  96% (17239/17957)
Updating files:  97% (17419/17957)
Updating files:  98% (17598/17957)
Updating files:  98% (17705/17957)
Updating files:  99% (17778/17957)
Updating files: 100% (17957/17957)
Updating files: 100% (17957/17957), done.
HEAD is now at 493123878a Merge pull request #29931 from chetmurthy/release-pa_ppx-package-suite-at-8.05.01
Updating 493123878a..8b623f363e
Fast-forward
 packages/lua-ml/lua-ml.0.9.5/opam | 41 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 packages/lua-ml/lua-ml.0.9.5/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb' locally
docker.io/ocaml/opam@sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb: Pulling from ocaml/opam
Digest: sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb
Status: Downloaded newer image for ocaml/opam@sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb
2026-05-23 21:54.06 ---> using "57d2e9451a73ca71418d8865f91314fd310fbd9f220056a3c6e330c6a7437b30" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-23 21:54.06 ---> using "0a3ddf89b8dc8cf458650dc782918c5e434c33f565f6510d3baf11d2377b7756" 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

[NOTE] The 'jobs' option was reset, its value was 1 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=1 --global
Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-23 21:54.06 ---> using "306f9ddc86730d7d65edbd70e00b66b5dad71135e7e430ff0df5902a4a734c82" 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.5.1
# self-upgrade         no
# system               arch=s390x os=linux os-distribution=debian os-version=13
# 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.4
# invariant            ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.1
2026-05-23 21:54.06 ---> using "83dacd44ca1fbac5366438a66c0f76b56d4d4be72b3e9693f625ee5817e820ab" 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/"))
2026-05-23 21:54.06 ---> using "9f9fbba0dd7b33177ff27588a22cebb3d9640c1a45eb0508ebe69a3d508565db" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-23 21:55.30 ---> saved as "022ed13d0e0595adc749f5577060a38a55b358bff387b051460d9f752561d2d1"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-23 21:56.41 ---> saved as "1c6ab64dab3a942dc0e26c668953a5f2ce1fb8c852f04d91513756e8037965fb"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main s390x Packages [9324 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main s390x Packages [160 kB]
- Fetched 9715 kB in 3s (3529 kB/s)
- Reading package lists...
- 
2026-05-23 21:57.02 ---> saved as "69bd47dfc5da6905ca330c03080aff88d72c8a2617d2a1638aa07faebf8ac61b"

/home/opam: (run (shell "opam pin add -k version -yn lua-ml.0.9.5 0.9.5"))
lua-ml is now pinned to version 0.9.5
2026-05-23 21:57.18 ---> saved as "1e0e6e3aea38394b210806339568e216b64ca563e254230073c79bc6f181c4b0"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lua-ml.0.9.5;\
                        \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-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'lua-ml.0.9.5' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lua-ml.0.9.5 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 7 packages
  - install dune      3.23.1         [required by lua-ml]
  - install lua-ml    0.9.5 (pinned)
  - install menhir    20260209       [required by lua-ml]
  - install menhirCST 20260209       [required by menhir]
  - install menhirGLR 20260209       [required by menhir]
  - install menhirLib 20260209       [required by menhir]
  - install menhirSdk 20260209       [required by menhir]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.23.1  (cached)
-> retrieved lua-ml.0.9.5  (https://github.com/lindig/lua-ml/archive/refs/tags/0.9.5.tar.gz)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> installed dune.3.23.1
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirSdk.20260209
-> installed menhirLib.20260209
-> installed menhir.20260209
-> installed lua-ml.0.9.5
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-23 21:59.53 ---> saved as "4c28d443feaa0db1df7fc10cbae26ef4b4ca575ee0e15bb5b6c2937c4c4e3f50"
Job succeeded
2026-05-23 22:00.05: Job succeeded