Build:
  1. 0
2026-03-09 19:10.56: New job: build tm-grammars.1.0.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29527/head (fedb16dfe08685fc1bf5962c8dc560d81cb9300f)
                              on fedora-42-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/29527/head" && git reset --hard fedb16df
git fetch origin master
git merge --no-edit 3c70647a78a7fd22066fca4f17f7ca4514500663
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.4@sha256:d8be99c536fc25def0a0ca0ec9ebb314eabf45f37017e777b6ea79680d0769fd
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 "\"fedora-42\""; 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:fedora-42-ocaml-5.4@sha256:d8be99c536fc25def0a0ca0ec9ebb314eabf45f37017e777b6ea79680d0769fd-tm-grammars.1.0.1-fedb16dfe08685fc1bf5962c8dc560d81cb9300f"
2026-03-09 19:10.56: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:d8be99c536fc25def0a0ca0ec9ebb314eabf45f37017e777b6ea79680d0769fd)
 (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 \"\\\"fedora-42\\\"\"; 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 asteria.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:fedora-42-ocaml-5.4@sha256:d8be99c536fc25def0a0ca0ec9ebb314eabf45f37017e777b6ea79680d0769fd)
Unable to find image 'ocaml/opam:fedora-42-ocaml-5.4@sha256:d8be99c536fc25def0a0ca0ec9ebb314eabf45f37017e777b6ea79680d0769fd' locally
docker.io/ocaml/opam@sha256:d8be99c536fc25def0a0ca0ec9ebb314eabf45f37017e777b6ea79680d0769fd: Pulling from ocaml/opam
bcbfb8588268: Already exists
a63ad0cf811e: Already exists
26762bf4e806: Already exists
14827f2f8794: Already exists
849012283632: Already exists
425fb6fec6ea: Already exists
a3a231378de2: Already exists
e4aa6ada67a1: Already exists
fa5dc5ca76a9: Already exists
beb8f28f6403: Already exists
d9073b6f4f34: Already exists
cc61720b498b: Already exists
ec16e13560a9: Already exists
c915edff33e9: Already exists
47777bb2b205: Already exists
fdfa6e41431a: Already exists
fdfa6e41431a: Already exists
b8e7506942e5: Already exists
c815a02c550d: Already exists
0471d25f745f: Already exists
f847762d1393: Already exists
4f4fb700ef54: Already exists
02f11825812a: Already exists
5f52b149c240: Already exists
e26940ad43ab: Already exists
bcdaa287b766: Already exists
001da6cbc747: Already exists
0ade5152d5a1: Already exists
19cc0ca1cdac: Already exists
a5bce2399eb8: Already exists
e69f527a5db8: Already exists
1b3444ad203f: Already exists
52c403230724: Already exists
3fa0159df738: Already exists
20ee17bfd1e1: Already exists
de0a57e48266: Already exists
0e6a1b38bd96: Already exists
e867e2bef61d: Already exists
a5d06b20b20b: Already exists
9036bb3a5517: Already exists
61d8ddc704ca: Pulling fs layer
e8545d305810: Pulling fs layer
8b1e02a3e368: Pulling fs layer
565e5788f615: Pulling fs layer
e8545d305810: Waiting
8b1e02a3e368: Waiting
9bc58ac7720e: Pulling fs layer
9bc58ac7720e: Waiting
565e5788f615: Waiting
61d8ddc704ca: Download complete
61d8ddc704ca: Pull complete
8b1e02a3e368: Verifying Checksum
8b1e02a3e368: Download complete
565e5788f615: Verifying Checksum
565e5788f615: Download complete
9bc58ac7720e: Verifying Checksum
9bc58ac7720e: Download complete
e8545d305810: Verifying Checksum
e8545d305810: Download complete
e8545d305810: Pull complete
8b1e02a3e368: Pull complete
565e5788f615: Pull complete
9bc58ac7720e: Pull complete
Digest: sha256:d8be99c536fc25def0a0ca0ec9ebb314eabf45f37017e777b6ea79680d0769fd
Status: Downloaded newer image for ocaml/opam@sha256:d8be99c536fc25def0a0ca0ec9ebb314eabf45f37017e777b6ea79680d0769fd
2026-03-09 19:13.44 ---> saved as "2d04f041f26c1994beb44c153d1f2bc80c7777c428370924197b71d4ced0ea43"

/: (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:13.44 ---> saved as "b2598462b8b2a197322c36e033af8ac60f3a04f1e3fda863117df413af0e0872"

/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.06 ---> saved as "276037bc00d05a5c1af8481c5625425e76677969ca34860d0f048e81d5553d05"

/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=fedora os-version=42
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# 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-03-09 19:14.06 ---> saved as "ffc202106b34c34d3b794ba2ac1de534ccff6c67d73870f01e22b7571e93c132"

/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.16 ---> saved as "05e08d8c5bd04c355421ff172dff1e2a41da0a72831c599e3c61b2cfa49ff275"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 42 - x86_64 - Updates           100% |   3.6 KiB/s |  18.7 KiB |  00m05s
- Repositories loaded.
- Metadata cache created.
2026-03-09 19:14.46 ---> saved as "74d220e94d2e66647d26fcd32f60f49bd97af356b803d0a8c74dcff017321ff9"

/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:14.47 ---> saved as "5f126e1257c5dc5d8ca0c3aa8641bd86b1189692564a951eb5d188975d2b0993"

/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 \"\\\"fedora-42\\\"\"; 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:15.12 ---> saved as "732c203f07eda61d83302b4e7794f9666c6fa36db9321a68babd75bc4d0b8bba"
Job succeeded
2026-03-09 19:15.31: Job succeeded