(for PR #29211)

2026-01-18 13:43.31: New job: build menhirLib.20260112, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29211/head (40f2d815046034974151fd6cb87d492d7533b91e)
                              on debian-13-ocaml-5.4/i386

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29211/head" && git reset --hard 40f2d815
git fetch origin master
git merge --no-edit 5a5103c1c342a572f3174f77c2bf2a3883cd4a69
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 menhirLib.20260112 20260112
RUN opam reinstall menhirLib.20260112; \
    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" != 'menhirLib.20260112' && 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-01-18 13:43.31: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913-menhirLib.20260112-40f2d815046034974151fd6cb87d492d7533b91e"
2026-01-18 13:43.31: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913)
 (shell /usr/bin/linux32 /bin/sh -c)
 (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 menhirLib.20260112 20260112"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall menhirLib.20260112;\
             \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\" != 'menhirLib.20260112' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-18 13:43.31: Waiting for resource in pool OCluster
2026-01-18 13:47.24: Waiting for worker…
2026-01-18 13:49.36: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 5a5103c1c3 Merge pull request #29240 from sanette/opam-publish-ufind.0.2.0
Updating 5a5103c1c3..40f2d81504
Fast-forward
 packages/menhir/menhir.20260112/opam       | 32 ++++++++++++++++++++++++++++++
 packages/menhirCST/menhirCST.20260112/opam | 30 ++++++++++++++++++++++++++++
 packages/menhirGLR/menhirGLR.20260112/opam | 30 ++++++++++++++++++++++++++++
 packages/menhirLib/menhirLib.20260112/opam | 31 +++++++++++++++++++++++++++++
 packages/menhirSdk/menhirSdk.20260112/opam | 31 +++++++++++++++++++++++++++++
 5 files changed, 154 insertions(+)
 create mode 100644 packages/menhir/menhir.20260112/opam
 create mode 100644 packages/menhirCST/menhirCST.20260112/opam
 create mode 100644 packages/menhirGLR/menhirGLR.20260112/opam
 create mode 100644 packages/menhirLib/menhirLib.20260112/opam
 create mode 100644 packages/menhirSdk/menhirSdk.20260112/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913' locally
docker.io/ocaml/opam@sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913: Pulling from ocaml/opam
7ba68d5e03a0: Pulling fs layer
07b8ed5c5fc7: Pulling fs layer
58593d382636: Pulling fs layer
0ac347eff7cb: Pulling fs layer
9e0dce827f6c: Pulling fs layer
59412abebd11: Pulling fs layer
0ac347eff7cb: Waiting
6f40c6b8e49d: Pulling fs layer
9e0dce827f6c: Waiting
d425252fe4ce: Pulling fs layer
59412abebd11: Waiting
6f40c6b8e49d: Waiting
d2fd5628395f: Pulling fs layer
d425252fe4ce: Waiting
1afdf15deb97: Pulling fs layer
d2fd5628395f: Waiting
b0f895c507c7: Pulling fs layer
1afdf15deb97: Waiting
008ad3ebfa79: Pulling fs layer
b0f895c507c7: Waiting
2c2f57579aeb: Pulling fs layer
008ad3ebfa79: Waiting
d53c2fa82d21: Pulling fs layer
2c2f57579aeb: Waiting
e4d849d21609: Pulling fs layer
105c7911a399: Pulling fs layer
d53c2fa82d21: Waiting
e4d849d21609: Waiting
cffce0974ee5: Pulling fs layer
105c7911a399: Waiting
2592e9c0b5c6: Pulling fs layer
e781106bd8eb: Pulling fs layer
2592e9c0b5c6: Waiting
a92c4ad367c1: Pulling fs layer
a5032c647546: Pulling fs layer
db024d7ceed7: Pulling fs layer
e781106bd8eb: Waiting
a92c4ad367c1: Waiting
a5032c647546: Waiting
4f4fb700ef54: Pulling fs layer
db024d7ceed7: Waiting
b736586eae86: Pulling fs layer
0793122c5463: Pulling fs layer
d43d7e0d3789: Pulling fs layer
524f31350c16: Pulling fs layer
0793122c5463: Waiting
4f4fb700ef54: Waiting
d43d7e0d3789: Waiting
b736586eae86: Waiting
524f31350c16: Waiting
834542d0184a: Pulling fs layer
92a1bdddbb21: Pulling fs layer
db8f6f57c096: Pulling fs layer
8b21ba328ac8: Pulling fs layer
b62a644fd3ae: Pulling fs layer
834542d0184a: Waiting
74df08082153: Pulling fs layer
db8f6f57c096: Waiting
8b21ba328ac8: Waiting
92a1bdddbb21: Waiting
b62a644fd3ae: Waiting
4544a2d99dec: Pulling fs layer
74df08082153: Waiting
f1c2491fd607: Pulling fs layer
b65b8b420dec: Pulling fs layer
f1c2491fd607: Waiting
4544a2d99dec: Waiting
b7d2dd83e3d1: Pulling fs layer
b65b8b420dec: Waiting
2705612c6e82: Pulling fs layer
296f4af8d4cd: Pulling fs layer
6858402c6fe2: Pulling fs layer
b7d2dd83e3d1: Waiting
2705612c6e82: Waiting
296f4af8d4cd: Waiting
a04f04ce7fcc: Pulling fs layer
6858402c6fe2: Waiting
91d4a726377c: Pulling fs layer
d00b82ade35e: Pulling fs layer
91d4a726377c: Waiting
a04f04ce7fcc: Waiting
a0753987c7c1: Pulling fs layer
d00b82ade35e: Waiting
fe4e08258b65: Pulling fs layer
810890259cc3: Pulling fs layer
a0753987c7c1: Waiting
fe4e08258b65: Waiting
a8378ff06e69: Pulling fs layer
810890259cc3: Waiting
995a6beb057b: Pulling fs layer
a8378ff06e69: Waiting
995a6beb057b: Waiting
07b8ed5c5fc7: Verifying Checksum
07b8ed5c5fc7: Download complete
58593d382636: Download complete
9e0dce827f6c: Verifying Checksum
9e0dce827f6c: Download complete
7ba68d5e03a0: Verifying Checksum
7ba68d5e03a0: Download complete
6f40c6b8e49d: Verifying Checksum
6f40c6b8e49d: Download complete
0ac347eff7cb: Verifying Checksum
0ac347eff7cb: Download complete
d425252fe4ce: Verifying Checksum
d425252fe4ce: Download complete
1afdf15deb97: Verifying Checksum
1afdf15deb97: Download complete
d2fd5628395f: Verifying Checksum
d2fd5628395f: Download complete
b0f895c507c7: Verifying Checksum
b0f895c507c7: Download complete
008ad3ebfa79: Verifying Checksum
008ad3ebfa79: Download complete
2c2f57579aeb: Verifying Checksum
2c2f57579aeb: Download complete
d53c2fa82d21: Verifying Checksum
d53c2fa82d21: Download complete
e4d849d21609: Download complete
105c7911a399: Download complete
cffce0974ee5: Verifying Checksum
cffce0974ee5: Download complete
2592e9c0b5c6: Verifying Checksum
2592e9c0b5c6: Download complete
e781106bd8eb: Verifying Checksum
e781106bd8eb: Download complete
a92c4ad367c1: Verifying Checksum
a92c4ad367c1: Download complete
a5032c647546: Verifying Checksum
a5032c647546: Download complete
7ba68d5e03a0: Pull complete
07b8ed5c5fc7: Pull complete
58593d382636: Pull complete
59412abebd11: Verifying Checksum
59412abebd11: Download complete
db024d7ceed7: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
b736586eae86: Verifying Checksum
b736586eae86: Download complete
d43d7e0d3789: Download complete
524f31350c16: Download complete
834542d0184a: Verifying Checksum
834542d0184a: Download complete
0ac347eff7cb: Pull complete
0793122c5463: Verifying Checksum
0793122c5463: Download complete
9e0dce827f6c: Pull complete
92a1bdddbb21: Verifying Checksum
92a1bdddbb21: Download complete
db8f6f57c096: Download complete
8b21ba328ac8: Download complete
74df08082153: Verifying Checksum
74df08082153: Download complete
4544a2d99dec: Verifying Checksum
4544a2d99dec: Download complete
b62a644fd3ae: Verifying Checksum
b62a644fd3ae: Download complete
f1c2491fd607: Verifying Checksum
f1c2491fd607: Download complete
b7d2dd83e3d1: Verifying Checksum
b7d2dd83e3d1: Download complete
296f4af8d4cd: Download complete
6858402c6fe2: Download complete
a04f04ce7fcc: Download complete
91d4a726377c: Verifying Checksum
91d4a726377c: Download complete
d00b82ade35e: Verifying Checksum
d00b82ade35e: Download complete
a0753987c7c1: Verifying Checksum
a0753987c7c1: Download complete
2705612c6e82: Verifying Checksum
2705612c6e82: Download complete
810890259cc3: Verifying Checksum
810890259cc3: Download complete
fe4e08258b65: Verifying Checksum
fe4e08258b65: Download complete
a8378ff06e69: Verifying Checksum
a8378ff06e69: Download complete
995a6beb057b: Download complete
b65b8b420dec: Verifying Checksum
b65b8b420dec: Download complete
59412abebd11: Pull complete
6f40c6b8e49d: Pull complete
d425252fe4ce: Pull complete
d2fd5628395f: Pull complete
1afdf15deb97: Pull complete
b0f895c507c7: Pull complete
008ad3ebfa79: Pull complete
2c2f57579aeb: Pull complete
d53c2fa82d21: Pull complete
e4d849d21609: Pull complete
105c7911a399: Pull complete
cffce0974ee5: Pull complete
2592e9c0b5c6: Pull complete
e781106bd8eb: Pull complete
a92c4ad367c1: Pull complete
a5032c647546: Pull complete
db024d7ceed7: Pull complete
4f4fb700ef54: Pull complete
b736586eae86: Pull complete
0793122c5463: Pull complete
d43d7e0d3789: Pull complete
524f31350c16: Pull complete
834542d0184a: Pull complete
92a1bdddbb21: Pull complete
db8f6f57c096: Pull complete
8b21ba328ac8: Pull complete
b62a644fd3ae: Pull complete
74df08082153: Pull complete
4544a2d99dec: Pull complete
f1c2491fd607: Pull complete
b65b8b420dec: Pull complete
b7d2dd83e3d1: Pull complete
2705612c6e82: Pull complete
296f4af8d4cd: Pull complete
6858402c6fe2: Pull complete
a04f04ce7fcc: Pull complete
91d4a726377c: Pull complete
d00b82ade35e: Pull complete
a0753987c7c1: Pull complete
fe4e08258b65: Pull complete
810890259cc3: Pull complete
a8378ff06e69: Pull complete
995a6beb057b: Pull complete
Digest: sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913
Status: Downloaded newer image for ocaml/opam@sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913
2026-01-18 13:49.42 ---> using "69cdc841404901a469c1696bcc1bb4860cfbf93d8bb71cbd8d79aded069cd577" from cache

/: (shell /usr/bin/linux32 /bin/sh -c)

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-18 13:49.42 ---> using "a9640ab6e956dadbc2b4f50518c76b75157570311b174afe3a7482467ab94293" 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.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
2026-01-18 13:49.42 ---> using "da528fc5c4b75980b700d0790ce5ebcf71e7563267bed96a09df9d5ccd003d9b" 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.0
# self-upgrade         no
# system               arch=x86_32 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                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-option-bytecode-only.1, ocaml-options-vanilla.1
# ocaml:native         false
# ocaml:native-tools   false
# ocaml:native-dynlink false
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0+bytecode-only
2026-01-18 13:49.42 ---> using "1b08a0d9137210c542b156b6f82a5915a8568eeef98e03fd7d8a429d1903acfb" 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-01-18 13:49.42 ---> using "c9588b84fd43367de35112dc3ff507b0bbddedb502eb55070fe49451d4cf70d8" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-18 13:49.50 ---> saved as "f99459305c9230cc0e1ec6cdf2c7a0d6937500a1bab2b9314e19fe497a6dbb29"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-18 13:50.27 ---> saved as "8ca835a9ee6aab8f6dd6c3ae89db5dc0c777a8d5189c6f6d33cef6f470161728"

/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 i386 Packages [9429 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main i386 Packages [87.8 kB]
- Fetched 9748 kB in 2s (3960 kB/s)
- Reading package lists...
- 
2026-01-18 13:50.30 ---> saved as "cca73c7a1c0200d637495480f4d07f1dc61aeab22a26749e0b62767834289a32"

/home/opam: (run (shell "opam pin add -k version -yn menhirLib.20260112 20260112"))
menhirLib is now pinned to version 20260112
2026-01-18 13:50.31 ---> saved as "304234435d96c6288b8b6e2bd951e58111f334f0c2f78f1a4cf91ba09cd8731d"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0  (cached)
-> retrieved menhirLib.20260112  (cached)
-> installed dune.3.21.0
-> installed menhirLib.20260112
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-18 13:51.48 ---> saved as "6aceb1dee681a3cc46e74c7fdfbdf732e48cb3d9431aaf247033b072bfc98642"
Job succeeded
2026-01-18 13:51.54: Job succeeded