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 centos-10-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:centos-10-ocaml-5.4@sha256:1379b098f9fcd8d84d7973ba13e85a4d8b667f4bda2995f8f9f84c31bc079f89
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 "\"centos-10\""; 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:centos-10-ocaml-5.4@sha256:1379b098f9fcd8d84d7973ba13e85a4d8b667f4bda2995f8f9f84c31bc079f89-tm-grammars.1.0.1-fedb16dfe08685fc1bf5962c8dc560d81cb9300f"
2026-03-09 19:10.56: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-5.4@sha256:1379b098f9fcd8d84d7973ba13e85a4d8b667f4bda2995f8f9f84c31bc079f89)
 (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 \"\\\"centos-10\\\"\"; 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 toxis.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:centos-10-ocaml-5.4@sha256:1379b098f9fcd8d84d7973ba13e85a4d8b667f4bda2995f8f9f84c31bc079f89)
Unable to find image 'ocaml/opam:centos-10-ocaml-5.4@sha256:1379b098f9fcd8d84d7973ba13e85a4d8b667f4bda2995f8f9f84c31bc079f89' locally
docker.io/ocaml/opam@sha256:1379b098f9fcd8d84d7973ba13e85a4d8b667f4bda2995f8f9f84c31bc079f89: Pulling from ocaml/opam
13d6f62103f4: Pulling fs layer
d9d26153f90a: Pulling fs layer
58ac1abc8813: Pulling fs layer
1faa459e7e0b: Pulling fs layer
050b6ab16999: Pulling fs layer
7e5cbdc43c14: Pulling fs layer
1faa459e7e0b: Waiting
050b6ab16999: Waiting
7e5cbdc43c14: Waiting
d9d26153f90a: Verifying Checksum
d9d26153f90a: Download complete
1faa459e7e0b: Download complete
050b6ab16999: Download complete
7e5cbdc43c14: Download complete
13d6f62103f4: Verifying Checksum
13d6f62103f4: Download complete
58ac1abc8813: Verifying Checksum
58ac1abc8813: Download complete
13d6f62103f4: Pull complete
d9d26153f90a: Pull complete
58ac1abc8813: Pull complete
1faa459e7e0b: Pull complete
050b6ab16999: Pull complete
7e5cbdc43c14: Pull complete
Digest: sha256:1379b098f9fcd8d84d7973ba13e85a4d8b667f4bda2995f8f9f84c31bc079f89
Status: Downloaded newer image for ocaml/opam@sha256:1379b098f9fcd8d84d7973ba13e85a4d8b667f4bda2995f8f9f84c31bc079f89
2026-03-09 19:13.38 ---> saved as "ce44dddf4f6d3e9fd22de8ec0289a5de219a3d07df382d071d662657157eccb1"

/: (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.38 ---> saved as "116ba10b2a8b8411fe3b8231e67762caf26106e5e56eff8aec19c4dabba5ca10"

/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.07 ---> saved as "ec066a7698f1d120131eb0a3bcc7a8af76d8ca2193cf208fe69986b006bedeff"

/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=centos os-version=10
# 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-03-09 19:14.07 ---> saved as "7ff3bf604e178fb42acf358f11308adbcbdeafc998e3a9b9cc24dc19b4697290"

/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.14 ---> saved as "c2e04bf19893832e92020e2cb370c7060ae9dcf950abcba56713063ea12f1d23"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS                        23 kB/s |  15 kB     00:00    
- CentOS Stream 10 - BaseOS                       493 kB/s | 6.9 MB     00:14    
- CentOS Stream 10 - AppStream                     70 kB/s |  16 kB     00:00    
- CentOS Stream 10 - AppStream                    642 kB/s | 3.6 MB     00:05    
- CentOS Stream 10 - CRB                           33 kB/s |  15 kB     00:00    
- CentOS Stream 10 - CRB                          324 kB/s | 831 kB     00:02    
- CentOS Stream 10 - Extras packages              103 kB/s |  17 kB     00:00    
- CentOS Stream 10 - Extras packages               12 kB/s | 9.9 kB     00:00    
- Metadata cache created.
2026-03-09 19:15.08 ---> saved as "77cf636efd5dc6f1c8600b42aca4527ea5b4713705f9eea63e703aa0bf2a4112"

/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.09 ---> saved as "c193a30410cbba953fd928d25c6d6d5679f13bce33ed7edbc2ed7ddd60210772"

/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 \"\\\"centos-10\\\"\"; 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.42 ---> saved as "7539ba997206e58f87b9885757756da784fdd720b69a77722e2e60cc1bc0e199"
Job succeeded
2026-03-09 19:15.49: Job succeeded