Build:
  1. 0
2026-03-09 19:10.56: New job: test tm-grammars.1.0.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29527/head (fedb16dfe08685fc1bf5962c8dc560d81cb9300f)
                              on debian-13-ocaml-4.14-nnpchecker/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/29527/head" && git reset --hard fedb16df
git fetch origin master
git merge --no-edit 3c70647a78a7fd22066fca4f17f7ca4514500663
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14-nnpchecker@sha256:dd5f2f37391e52e957fe2f6a2ba7589374fb0226c2f8348c4fc305a9fe607d71
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 tm-grammars.1.0.1 1.0.1
RUN opam reinstall tm-grammars.1.0.1; \
    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" != 'tm-grammars.1.0.1' && 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 tm-grammars.1.0.1) || true
RUN opam reinstall --with-test --verbose tm-grammars.1.0.1; \
    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" != 'tm-grammars.1.0.1' && 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-03-09 19:10.56: Using cache hint "ocaml/opam:debian-13-ocaml-4.14-nnpchecker@sha256:dd5f2f37391e52e957fe2f6a2ba7589374fb0226c2f8348c4fc305a9fe607d71-tm-grammars.1.0.1-fedb16dfe08685fc1bf5962c8dc560d81cb9300f"
2026-03-09 19:10.56: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-nnpchecker@sha256:dd5f2f37391e52e957fe2f6a2ba7589374fb0226c2f8348c4fc305a9fe607d71)
 (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 tm-grammars.1.0.1 1.0.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall tm-grammars.1.0.1;\
             \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\" != 'tm-grammars.1.0.1' && 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 tm-grammars.1.0.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose tm-grammars.1.0.1;\
             \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\" != 'tm-grammars.1.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-03-09 19:10.56: Waiting for resource in pool OCluster
2026-03-09 19:10.57: Waiting for worker…
2026-03-09 19:10.58: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 3c70647a78 Merge pull request #29507 from NathanReb/release-ppxlib-0-38-0-5-5-preview
Updating 3c70647a78..fedb16dfe0
Fast-forward
 packages/tm-grammars/tm-grammars.1.0.1/opam | 37 +++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 packages/tm-grammars/tm-grammars.1.0.1/opam

(from ocaml/opam:debian-13-ocaml-4.14-nnpchecker@sha256:dd5f2f37391e52e957fe2f6a2ba7589374fb0226c2f8348c4fc305a9fe607d71)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14-nnpchecker@sha256:dd5f2f37391e52e957fe2f6a2ba7589374fb0226c2f8348c4fc305a9fe607d71' locally
docker.io/ocaml/opam@sha256:dd5f2f37391e52e957fe2f6a2ba7589374fb0226c2f8348c4fc305a9fe607d71: Pulling from ocaml/opam
866771c43bf5: Already exists
1e49bea09367: Already exists
e793768537e6: Already exists
ed323d3d481a: Already exists
7df34a5cd5f1: Already exists
fd712d3eb935: Already exists
4b9fb8c99118: Already exists
9d9a01948b94: Already exists
0f1514f90b32: Already exists
e1ec5a753447: Already exists
03cc323e2f71: Already exists
c09c08ea9749: Already exists
b36b619f8e6b: Already exists
195344ca5274: Already exists
228ee78582a6: Already exists
504bde1c25b3: Already exists
9d8b1356c89f: Already exists
9d8b1356c89f: Already exists
568fb6dda155: Already exists
c499c9198aea: Already exists
048e5e358118: Already exists
871ca48eb45d: Already exists
4f4fb700ef54: Already exists
a5a2568b9df9: Already exists
068cf3106ac8: Already exists
559f54ec9b29: Already exists
798ffd96fde5: Already exists
e9a891bf80d7: Already exists
d720cfe12674: Already exists
c81c932f4a91: Already exists
79f24fa3bb11: Already exists
8c1debcd8c20: Already exists
1bb2cfea7250: Already exists
2b3d3ca75e4c: Already exists
557cacaf263c: Already exists
d10483022eef: Already exists
7b62a90d8223: Already exists
28ce8ea66e72: Already exists
d975909ea717: Already exists
5c215c69c247: Already exists
e7c082452a54: Already exists
5370d3484b9f: Pulling fs layer
3bc4325ed746: Pulling fs layer
5370d3484b9f: Waiting
6a7a372f42a8: Pulling fs layer
2f0973281918: Pulling fs layer
3bc4325ed746: Waiting
6a7a372f42a8: Waiting
2f0973281918: Waiting
5370d3484b9f: Download complete
3bc4325ed746: Verifying Checksum
3bc4325ed746: Download complete
6a7a372f42a8: Download complete
2f0973281918: Download complete
5370d3484b9f: Pull complete
3bc4325ed746: Pull complete
6a7a372f42a8: Pull complete
2f0973281918: Pull complete
Digest: sha256:dd5f2f37391e52e957fe2f6a2ba7589374fb0226c2f8348c4fc305a9fe607d71
Status: Downloaded newer image for ocaml/opam@sha256:dd5f2f37391e52e957fe2f6a2ba7589374fb0226c2f8348c4fc305a9fe607d71
2026-03-09 19:14.03 ---> saved as "fdbb021730104246a44a1c07454060f1d67022c8069b9393892e099835ddca75"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-09 19:14.04 ---> saved as "8d7108ef696a2dda28f4d325824d267bd04504336ee1c90662093f168c6888e2"

/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-03-09 19:14.28 ---> saved as "144475721dada38d3f4fe06dd689cc1aa221607eb043b1a591263fd0ca163f1f"

/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       4.14
# invariant            ["ocaml-options-only-nnpchecker"]
# compiler-packages    ocaml-option-nnpchecker.1, ocaml-options-only-nnpchecker.1, ocaml-variants.4.14.2+options
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2+options
2026-03-09 19:14.29 ---> saved as "8372aeb6bdb3cecef90952e1f909ec8b7704b43a8a53e7ac9b5544e18b961bc1"

/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-03-09 19:14.37 ---> saved as "a814911c1bbbf7a99df283d4714baedf748d88499d48b478dff043e18c65dc58"

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-09 19:14.47 ---> saved as "99cdf4bc24629d2ba385f80b3359a14d3efe345ffaa392c09ea597ba71f33073"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-09 19:15.16 ---> saved as "64f6e969c2ed796c53f246f7d4aba5921bd7d8cd02b3ae262a22760a834ed86d"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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]
- Fetched 90.7 kB in 0s (1006 kB/s)
- Reading package lists...
- 
2026-03-09 19:15.18 ---> saved as "4f4f7a4dc9f2a2464159395a0ac1a237420644cde557d894b0e016872172bac7"

/home/opam: (run (shell "opam pin add -k version -yn tm-grammars.1.0.1 1.0.1"))
tm-grammars is now pinned to version 1.0.1
2026-03-09 19:15.19 ---> saved as "0997bec60560571074675146dbbc08d24937c0d86084985daebd296a2f4a4cf5"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.1  (cached)
-> retrieved tm-grammars.1.0.1  (cached)
-> installed dune.3.21.1
-> installed tm-grammars.1.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-09 19:16.03 ---> saved as "937242bed986c3feb2477deea5e6d2dbd86032cd46024dd0386fdb1a8dba72d2"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   tm-grammars.1.0.1
-> installed tm-grammars.1.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-09 19:16.08 ---> saved as "b1d82b1d14cf49e90cb41bc7fb741141d9c8731fcd1060a99c6663a3146d296e"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [tm-grammars: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "tm-grammars" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/tm-grammars.1.0.1)
- (cd _build/default/packages/tm-grammars && /usr/bin/bash ../../scripts/gen_all_module.sh ../../sources.json)
- ../../scripts/gen_all_module.sh: line 15: jq: command not found
-> compiled  tm-grammars.1.0.1
-> removed   tm-grammars.1.0.1
-> installed tm-grammars.1.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-09 19:16.13 ---> saved as "efdc959351f5e63bc6b7fb6796d167b75ff94abe67bc72a5ec64266d12150956"
Job succeeded
2026-03-09 19:16.20: Job succeeded