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 ubuntu-25.04-ocaml-4.14/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:ubuntu-25.04-ocaml-4.14@sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7
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 "\"ubuntu-25.04\""; 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 "\"ubuntu-25.04\""; 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:ubuntu-25.04-ocaml-4.14@sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7-tm-grammars.1.0.1-fedb16dfe08685fc1bf5962c8dc560d81cb9300f"
2026-03-09 19:10.56: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7)
 (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 \"\\\"ubuntu-25.04\\\"\"; 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 \"\\\"ubuntu-25.04\\\"\"; 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.57: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
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:ubuntu-25.04-ocaml-4.14@sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7' locally
docker.io/ocaml/opam@sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7: Pulling from ocaml/opam
c62190a9ab61: Already exists
9a2e0901dff5: Already exists
b1f9cc70ae42: Already exists
ce0546b0dd1f: Already exists
79301f00e8ba: Already exists
9b295b25667c: Already exists
a31f71beef5e: Already exists
5f6f7ff1dd75: Already exists
3326c804f772: Already exists
dbc305c5cd35: Already exists
c2cccf40b87f: Already exists
45e66d8ca585: Already exists
fcefa7241269: Already exists
5bf160151561: Already exists
874b2264723c: Already exists
ada98df8f669: Already exists
ab8d0ea6e4f6: Already exists
ab8d0ea6e4f6: Already exists
18a72a4bedd6: Already exists
bfcd7ea0ace8: Already exists
76a18c947be5: Already exists
6fd9d51ce26c: Already exists
4f4fb700ef54: Already exists
77d410803a59: Already exists
44e2dad9dd55: Already exists
b51e285283d3: Already exists
dd8da5b96ca2: Already exists
b46c436fcec9: Already exists
a9e62b40a1cc: Already exists
f5ab56558ad4: Already exists
8f52d3d09866: Already exists
39ac1f9b485e: Already exists
503fbe92c3b9: Already exists
f3db52c04fc1: Already exists
3bb40995af78: Already exists
c83fbf1c12e8: Pulling fs layer
ad31772f43a8: Pulling fs layer
ce60cf8100fe: Pulling fs layer
ad31772f43a8: Waiting
0205937477da: Pulling fs layer
ce60cf8100fe: Waiting
24ccf4b3cee6: Pulling fs layer
0205937477da: Waiting
04a8b415dd1b: Pulling fs layer
24ccf4b3cee6: Waiting
6a54dac09e5f: Pulling fs layer
04a8b415dd1b: Waiting
6a54dac09e5f: Waiting
fa401853ce27: Pulling fs layer
c1e3a19219ec: Pulling fs layer
fa401853ce27: Waiting
b248a674c708: Pulling fs layer
c1e3a19219ec: Waiting
b248a674c708: Waiting
ad31772f43a8: Verifying Checksum
ad31772f43a8: Download complete
c83fbf1c12e8: Verifying Checksum
c83fbf1c12e8: Download complete
0205937477da: Verifying Checksum
0205937477da: Download complete
24ccf4b3cee6: Verifying Checksum
24ccf4b3cee6: Download complete
04a8b415dd1b: Verifying Checksum
04a8b415dd1b: Download complete
c83fbf1c12e8: Pull complete
ad31772f43a8: Pull complete
6a54dac09e5f: Verifying Checksum
6a54dac09e5f: Download complete
fa401853ce27: Download complete
c1e3a19219ec: Verifying Checksum
c1e3a19219ec: Download complete
b248a674c708: Verifying Checksum
b248a674c708: Download complete
ce60cf8100fe: Verifying Checksum
ce60cf8100fe: Download complete
ce60cf8100fe: Pull complete
0205937477da: Pull complete
24ccf4b3cee6: Pull complete
04a8b415dd1b: Pull complete
6a54dac09e5f: Pull complete
fa401853ce27: Pull complete
c1e3a19219ec: Pull complete
b248a674c708: Pull complete
Digest: sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7
Status: Downloaded newer image for ocaml/opam@sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7
2026-03-09 19:16.07 ---> saved as "d390f74a68cfe5f39507dabdd3ce3cc6172b1435d66e12c485766973e3769056"

/: (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:16.07 ---> saved as "d2fb1edd9549c69e4b47b0c4e5e84b106ce9739ef6fc31237ad111383a1c94e7"

/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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-09 19:16.32 ---> saved as "4041e8ff4c7a53f019635149a5781e60914890402e68bd7f3ab0298dd9bb9ef4"

/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=ubuntu os-version=25.04
# 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-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# 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
2026-03-09 19:16.33 ---> saved as "ae2f722aec6c6b260b2e7af8cec27f5bd8de4d1efaadf0362db486e3415ca4f9"

/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:16.41 ---> saved as "7c5c2109748cfd7175bb5cb79f9d6635ad091756f6a5791af227b9a1593b5d91"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://security.ubuntu.com/ubuntu plucky-security InRelease
- Hit:2 http://archive.ubuntu.com/ubuntu plucky InRelease
- Hit:3 http://archive.ubuntu.com/ubuntu plucky-updates InRelease
- Hit:4 http://archive.ubuntu.com/ubuntu plucky-backports InRelease
- Reading package lists...
- 
2026-03-09 19:17.09 ---> saved as "b5dd103afb7467857ef0a3afa771615976ff474ac473ea789501131e36e6748b"

/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:17.09 ---> saved as "274b4e0ac2517927c3985ae594b8b11ba24817e8a34c3a8cf0218909223ceed4"

/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 \"\\\"ubuntu-25.04\\\"\"; 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:17.38 ---> saved as "3b14474489c11175bbcd2931d26461ff0048271b5d1f05cf39c81e11b16dd1f6"

/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:17.43 ---> saved as "b3fdebfa1521ec2791fda7515211a1bcb8198442758a7ffef240451ecc4a3fee"

/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 \"\\\"ubuntu-25.04\\\"\"; 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:17.48 ---> saved as "1fb11a2c99fdcba4a0edef835618a2e311661b3a66a8129f7e2d7678dbe49d1a"
Job succeeded
2026-03-09 19:17.57: Job succeeded