(for PR #29211)

2026-01-18 13:53.36: New job: test github-data.4.5.0 with menhir.20260112, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29211/head (40f2d815046034974151fd6cb87d492d7533b91e)
                              on debian-13-ocaml-5.4/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/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:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17
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 menhir.20260112 20260112
RUN opam reinstall menhir.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" != 'menhir.20260112' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall github-data.4.5.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'github-data.4.5.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 github-data.4.5.0) || true
RUN opam reinstall --with-test --verbose github-data.4.5.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'github-data.4.5.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 .

2026-01-18 13:53.36: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17-menhir.20260112-github-data.4.5.0-40f2d815046034974151fd6cb87d492d7533b91e"
2026-01-18 13:53.36: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17)
 (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 menhir.20260112 20260112"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall menhir.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\" != 'menhir.20260112' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall github-data.4.5.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-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\" != 'github-data.4.5.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 github-data.4.5.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose github-data.4.5.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-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\" != 'github-data.4.5.0' && 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:53.36: Waiting for resource in pool OCluster
2026-01-19 03:11.24: Waiting for worker…
2026-01-19 03:14.37: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  58% (11313/19232)
Updating files:  59% (11347/19232)
Updating files:  60% (11540/19232)
Updating files:  61% (11732/19232)
Updating files:  62% (11924/19232)
Updating files:  63% (12117/19232)
Updating files:  64% (12309/19232)
Updating files:  65% (12501/19232)
Updating files:  66% (12694/19232)
Updating files:  67% (12886/19232)
Updating files:  68% (13078/19232)
Updating files:  69% (13271/19232)
Updating files:  70% (13463/19232)
Updating files:  71% (13655/19232)
Updating files:  72% (13848/19232)
Updating files:  73% (14040/19232)
Updating files:  74% (14232/19232)
Updating files:  75% (14424/19232)
Updating files:  76% (14617/19232)
Updating files:  77% (14809/19232)
Updating files:  78% (15001/19232)
Updating files:  79% (15194/19232)
Updating files:  80% (15386/19232)
Updating files:  81% (15578/19232)
Updating files:  82% (15771/19232)
Updating files:  83% (15963/19232)
Updating files:  84% (16155/19232)
Updating files:  85% (16348/19232)
Updating files:  86% (16540/19232)
Updating files:  87% (16732/19232)
Updating files:  88% (16925/19232)
Updating files:  89% (17117/19232)
Updating files:  90% (17309/19232)
Updating files:  91% (17502/19232)
Updating files:  92% (17694/19232)
Updating files:  93% (17886/19232)
Updating files:  94% (18079/19232)
Updating files:  95% (18271/19232)
Updating files:  96% (18463/19232)
Updating files:  97% (18656/19232)
Updating files:  98% (18848/19232)
Updating files:  99% (19040/19232)
Updating files: 100% (19232/19232)
Updating files: 100% (19232/19232), done.
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:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17)
2026-01-19 03:14.52 ---> using "03f0951594c938350775771f8c8fede6d107f2d2eee244220b7b8b4b1567de6e" 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-01-19 03:14.52 ---> using "c933f036b19f2f0c0887f671ec993a9dc79755040cbb635c24c9b9c241c841cd" 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.

Continue? [Y/n] y
Format upgrade done.
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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-19 03:14.52 ---> using "7ecc7f75a5bf9dcfd6502f8a59ae1f7ab294c7cb737f8dd9abe743475bc57ced" 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_64 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-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.0
2026-01-19 03:14.52 ---> using "f03eee248d01b26761fba1ca57252b7a2d5a4073d6250967ee99f663b30113e2" 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-19 03:14.52 ---> using "bf0379b82096b6ba5dc91e9f0222794ba43ccc18e72cfb20cf13ead08a8436d8" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-19 03:14.54 ---> using "0ed1d9c145a2b48fac22cb53b8008eeef11c4a96f96a19fff9f3d1e885a5b444" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-19 03:14.54 ---> using "eb0a526a32045957167c53e916e11c5286822a1d0aba89b0768d0431c74f44ee" from cache

/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 amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [96.1 kB]
- Fetched 9998 kB in 2s (4762 kB/s)
- Reading package lists...
- 
2026-01-19 03:14.54 ---> using "3f2c8957312ae9fbcbb0378ea7a46110f808b4ad392ee5b1663055f9961af660" from cache

/home/opam: (run (shell "opam pin add -k version -yn menhir.20260112 20260112"))
menhir is now pinned to version 20260112
2026-01-19 03:14.54 ---> using "704d9c6ef06824e9a93cda037ac8cce706785b9ba7422f7b2708b6a0054ed887" from cache

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0  (cached)
-> retrieved menhir.20260112, menhirCST.20260112, menhirGLR.20260112, menhirLib.20260112, menhirSdk.20260112  (cached)
-> installed dune.3.21.0
-> installed menhirCST.20260112
-> installed menhirLib.20260112
-> installed menhirGLR.20260112
-> installed menhirSdk.20260112
-> installed menhir.20260112
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 03:14.54 ---> using "683008d4f8bf3b53cd4ba5de13efa38561a89b7ae279f8ea290ca59cd2adee24" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall github-data.4.5.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-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\" != 'github-data.4.5.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
github-data.4.5.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 10 packages
  - install atd            3.0.1  [required by atdgen]
  - install atdgen         3.0.1  [required by github-data]
  - install atdgen-runtime 3.0.1  [required by github-data]
  - install biniou         1.2.2  [required by atdgen]
  - install camlp-streams  5.0.1  [required by biniou]
  - install cmdliner       2.1.0  [required by atd]
  - install easy-format    1.3.4  [required by atd]
  - install github-data    4.5.0
  - install re             1.14.0 [required by atdgen]
  - install yojson         3.0.0  [required by github-data]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved atd.3.0.1, atdgen.3.0.1, atdgen-runtime.3.0.1  (cached)
-> retrieved biniou.1.2.2  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved easy-format.1.3.4  (cached)
-> retrieved github-data.4.5.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed easy-format.1.3.4
-> installed camlp-streams.5.0.1
-> installed re.1.14.0
-> installed biniou.1.2.2
-> installed yojson.3.0.0
-> installed atdgen-runtime.3.0.1
-> installed cmdliner.2.1.0
-> installed atd.3.0.1
-> installed atdgen.3.0.1
-> installed github-data.4.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 03:15.50 ---> saved as "2eb4398f2debc62827e4f7ae9662490c8571e94dedf0734a1ae4c32c07dd623b"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved github-data.4.5.0  (https://opam.ocaml.org/cache)
-> removed   github-data.4.5.0
-> installed github-data.4.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 03:16.15 ---> saved as "8e684769fd3fec271d69254a70efbfb0fdbf481dd078b65209817a724a925e2f"

/home/opam: (run (shell  "opam reinstall --with-test --verbose github-data.4.5.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-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\" != 'github-data.4.5.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 github-data 4.5.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [github-data.4.5.0: extract]
-> retrieved github-data.4.5.0  (cached)
Processing  2/4: [github-data: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "github-data" "-j" "71" (CWD=/home/opam/.opam/5.4/.opam-switch/build/github-data.4.5.0)
- (cd _build/default/lib_data && /home/opam/.opam/5.4/bin/atdgen -j -j-std github.atd)
- Warning: option "-j-std" is deprecated.
Processing  2/4: [github-data: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "github-data" "-j" "71" (CWD=/home/opam/.opam/5.4/.opam-switch/build/github-data.4.5.0)
-> compiled  github-data.4.5.0
-> removed   github-data.4.5.0
-> installed github-data.4.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 03:16.40 ---> saved as "d1b269383a5fe4c7a1fb47a862bcfbd173b6a211aca1eb5331e8908dbe0f8cda"
Job succeeded
2026-01-19 03:16.45: Job succeeded