Build:
  1. 0
2026-02-26 17:31.26: New job: test tree-sitter.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29312/head (8c083980be49cd4fc405e80bab0aa50d6cebdaac)
                              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/29312/head" && git reset --hard 8c083980
git fetch origin master
git merge --no-edit 5119fbb0776fa3cd71b09f40a51e40f783c539bf
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.4@sha256:58854f5a9bbe7510edae11bbf46a9a0ef7ca7758a29592225a79a473ee91855c
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 tree-sitter.0.1.0 0.1.0
RUN opam reinstall tree-sitter.0.1.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 "\"fedora-42\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'tree-sitter.0.1.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 tree-sitter.0.1.0) || true
RUN opam reinstall --with-test --verbose tree-sitter.0.1.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 "\"fedora-42\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'tree-sitter.0.1.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-02-26 17:31.26: Using cache hint "ocaml/opam:fedora-42-ocaml-5.4@sha256:58854f5a9bbe7510edae11bbf46a9a0ef7ca7758a29592225a79a473ee91855c-tree-sitter.0.1.0-8c083980be49cd4fc405e80bab0aa50d6cebdaac"
2026-02-26 17:31.26: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:58854f5a9bbe7510edae11bbf46a9a0ef7ca7758a29592225a79a473ee91855c)
 (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 tree-sitter.0.1.0 0.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall tree-sitter.0.1.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 \"\\\"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\" != 'tree-sitter.0.1.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 tree-sitter.0.1.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose tree-sitter.0.1.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 \"\\\"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\" != 'tree-sitter.0.1.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-02-26 17:31.26: Waiting for resource in pool OCluster
2026-02-27 02:10.23: Waiting for worker…
2026-02-27 02:12.39: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 5119fbb077 Merge pull request #29462 from Octachron/OCaml_5.5.0_alpha1
Updating 5119fbb077..8c083980be
Fast-forward
 packages/matrix-eio/matrix-eio.0.1.0/opam   | 42 ++++++++++++++++++++++++++
 packages/matrix/matrix.0.1.0/opam           | 42 ++++++++++++++++++++++++++
 packages/mosaic/mosaic.0.1.0/opam           | 46 +++++++++++++++++++++++++++++
 packages/toffee/toffee.0.1.0/opam           | 42 ++++++++++++++++++++++++++
 packages/tree-sitter/tree-sitter.0.1.0/opam | 41 +++++++++++++++++++++++++
 5 files changed, 213 insertions(+)
 create mode 100644 packages/matrix-eio/matrix-eio.0.1.0/opam
 create mode 100644 packages/matrix/matrix.0.1.0/opam
 create mode 100644 packages/mosaic/mosaic.0.1.0/opam
 create mode 100644 packages/toffee/toffee.0.1.0/opam
 create mode 100644 packages/tree-sitter/tree-sitter.0.1.0/opam

(from ocaml/opam:fedora-42-ocaml-5.4@sha256:58854f5a9bbe7510edae11bbf46a9a0ef7ca7758a29592225a79a473ee91855c)
2026-02-27 02:12.50 ---> saved as "9e7e269291cfbae7a41f7dfb44a242938c8195461d7fa17694399e71f8e2fa78"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-27 02:12.50 ---> saved as "2c84d4ea5396b82dc810c61d296b826214804f9347b92e2161e9da256379a5d2"

/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-02-27 02:13.20 ---> saved as "943b4261c0479e4688fa73713b63c0de457bae92ef312371b1010523af554890"

/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                 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-02-27 02:13.20 ---> saved as "0fe34dd9a9db9dca76ac4456abed41b69119b0186026829f097764d6a6dd78f9"

/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-02-27 02:13.28 ---> saved as "3869d18a6cee49d87d216155ba418ca4bb51404883b2ecb252e6140de11b5372"

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-27 02:13.35 ---> saved as "650a7aeca90ab89c2f6b42c76d684a214f99de01f906bd5a64bc959c95d66363"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-27 02:14.02 ---> saved as "3867bec96a0c4198160b9309a0ee89d813b7a7dc9a03668c661307380c52613b"

/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% |  66.7 KiB/s |  15.5 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.
2026-02-27 02:14.09 ---> saved as "7c0cfc9a429922e6da69c613cb1f932eae7746f106a5b827136cff12cf3486be"

/home/opam: (run (shell "opam pin add -k version -yn tree-sitter.0.1.0 0.1.0"))
tree-sitter is now pinned to version 0.1.0
2026-02-27 02:14.09 ---> saved as "35413886aadc945ace13f8295ea60bd58e2da7d9ea8e510cfa630221a5bffe45"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.1  (cached)
-> retrieved tree-sitter.0.1.0  (https://github.com/tmattio/mosaic/releases/download/0.1.0/mosaic-0.1.0.tbz)
-> installed dune.3.21.1
-> installed tree-sitter.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-27 02:15.00 ---> saved as "9e8ece436a70ed1d4d53245b3f8de9a33e3594ab1a9b6c7b096ecb6a4c6f02a0"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test tree-sitter.0.1.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile tree-sitter 0.1.0 (pinned)
=== install 1 package
  - install   windtrap    0.1.0          [required by tree-sitter]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved windtrap.0.1.0  (https://opam.ocaml.org/cache)
-> removed   tree-sitter.0.1.0
-> installed windtrap.0.1.0
-> installed tree-sitter.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-27 02:15.22 ---> saved as "7855f87bfa268f97bef1c3fb7ceb64710068b6909e9f4f27495cfff2d999eae8"

/home/opam: (run (shell  "opam reinstall --with-test --verbose tree-sitter.0.1.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 \"\\\"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\" != 'tree-sitter.0.1.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 tree-sitter 0.1.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [tree-sitter: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "tree-sitter" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/tree-sitter.0.1.0)
- (cd _build/default/tree-sitter/test && ./test_tree_sitter.exe)
- 
- Testing tree-sitter.
- 
- ...................................................
- 
- All tests passed in 5ms. 51 tests run.
- 
- Test output saved to ~/.opam/5.4/.opam-switch/build/tree-sitter.0.1.0/_build/_tests/tree-sitter/M2TQIIPU/
-> compiled  tree-sitter.0.1.0
-> removed   tree-sitter.0.1.0
-> installed tree-sitter.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-27 02:15.41 ---> saved as "ad759c876c5da8bcd5f76572cb27b73b4835ca525ae1192b23be4cd7cd176922"
Job succeeded
2026-02-27 02:16.19: Job succeeded