Build:
  1. 0
2026-02-26 17:31.27: New job: build tree-sitter.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29312/head (8c083980be49cd4fc405e80bab0aa50d6cebdaac)
                              on ubuntu-22.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/29312/head" && git reset --hard 8c083980
git fetch origin master
git merge --no-edit 5119fbb0776fa3cd71b09f40a51e40f783c539bf
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:07ed2d7187463ff20113057fdb465434720c1c90e049a2938428b3283d675ce2
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 "\"ubuntu-22.04\""; 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.27: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:07ed2d7187463ff20113057fdb465434720c1c90e049a2938428b3283d675ce2-tree-sitter.0.1.0-8c083980be49cd4fc405e80bab0aa50d6cebdaac"
2026-02-26 17:31.27: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:07ed2d7187463ff20113057fdb465434720c1c90e049a2938428b3283d675ce2)
 (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 \"\\\"ubuntu-22.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\" != '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.27: Waiting for resource in pool OCluster
2026-02-27 02:11.41: Waiting for worker…
2026-02-27 02:13.17: Got resource from pool OCluster
Building on eumache
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:ubuntu-22.04-ocaml-4.14@sha256:07ed2d7187463ff20113057fdb465434720c1c90e049a2938428b3283d675ce2)
2026-02-27 02:14.00 ---> saved as "3d96e6f94c8a4d508e65cc2ac01d726244331e452aa3e1936f2a66a1553b4f67"

/: (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:14.03 ---> saved as "97c0fcec70dfe1f0517f5509dc9e00509fc4720b51d08c9cbf49d68cd0cd1def"

/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:14.35 ---> saved as "6d64e2ab1174a1276eb904616e206782c8a2ac0c98199099b9e0491516c710d9"

/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=22.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-02-27 02:14.36 ---> saved as "2feb60c68798cc92cd427f301e93d01cbd80523a6c008df79b6a6a2f4192a2dd"

/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:14.51 ---> saved as "0f4dac5e4983ff5646bca086107a3ac36d9d9f68a69e66b224a7cdbe6b980bc3"

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-27 02:15.00 ---> saved as "3e6287d73a43654e531afe7969ae7081acb4cf010f0f2fba4e6ce8a18ad1d2ba"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4115 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1613 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6870 kB]
- Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3772 kB]
- Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6643 kB]
- Get:10 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1302 kB]
- Fetched 24.7 MB in 2s (12.5 MB/s)
- Reading package lists...
- 
2026-02-27 02:15.30 ---> saved as "ee8aa5ec1834424ad31b762569a4e8183ea0bd8637a4d0000b00099e4873a617"

/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:15.31 ---> saved as "c66399ff87c3eea56a7dd741d8c322dd5f1ddb8209dc300ea0afdf5d8d1664a9"

/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 \"\\\"ubuntu-22.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\" != '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
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - tree-sitter -> ocaml >= 5.1 -> ocaml-variants < 5.6.1~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - tree-sitter -> ocaml >= 5.1 -> ocaml-variants < 5.1.1~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - tree-sitter -> ocaml >= 5.1 -> ocaml-variants < 5.2.1~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "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 "\"ubuntu-22.04\""; 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" failed with exit status 20
2026-02-27 02:15.54: Job failed: Failed: Build failed
2026-02-27 02:15.54: Log analysis:
2026-02-27 02:15.54: >>> 
No solution found, exiting
 (score = 100)
2026-02-27 02:15.54: [SKIP] Package not available