(not at the head of any monitored branch or PR)
2026-04-12 18:50.46: New job: test ochre-cli.1.0.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29700/head (c7d1605439a68ff5f5d9f600bbf5faa96cbbaf3e)
                              on ubuntu-22.04-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/29700/head" && git reset --hard c7d16054
git fetch origin master
git merge --no-edit 0404939bde256ca9d097922f265c4342b3b383b0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:5fc5b51eded8a6de6e78d576f7105e35e1463154f0c2755ecc131f72fcca7481
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 ochre-cli.1.0.0 1.0.0
RUN opam reinstall ochre-cli.1.0.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" != 'ochre-cli.1.0.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 ochre-cli.1.0.0) || true
RUN opam reinstall --with-test --verbose ochre-cli.1.0.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" != 'ochre-cli.1.0.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-04-12 18:50.46: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:5fc5b51eded8a6de6e78d576f7105e35e1463154f0c2755ecc131f72fcca7481-ochre-cli.1.0.0-c7d1605439a68ff5f5d9f600bbf5faa96cbbaf3e"
2026-04-12 18:50.46: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:5fc5b51eded8a6de6e78d576f7105e35e1463154f0c2755ecc131f72fcca7481)
 (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 ochre-cli.1.0.0 1.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ochre-cli.1.0.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\" != 'ochre-cli.1.0.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 ochre-cli.1.0.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose ochre-cli.1.0.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\" != 'ochre-cli.1.0.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-04-12 18:50.46: Waiting for resource in pool OCluster
2026-04-12 18:50.47: Waiting for worker…
2026-04-12 18:50.47: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 0404939bde Merge pull request #29648 from sanette/opam-publish-tsdl-ttf.0.7
Updating 0404939bde..c7d1605439
Fast-forward
 packages/ochre-cli/ochre-cli.1.0.0/opam | 44 +++++++++++++++++++++++++++++
 packages/ochre/ochre.1.0.0/opam         | 49 +++++++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)
 create mode 100644 packages/ochre-cli/ochre-cli.1.0.0/opam
 create mode 100644 packages/ochre/ochre.1.0.0/opam

(from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:5fc5b51eded8a6de6e78d576f7105e35e1463154f0c2755ecc131f72fcca7481)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:5fc5b51eded8a6de6e78d576f7105e35e1463154f0c2755ecc131f72fcca7481' locally
docker.io/ocaml/opam@sha256:5fc5b51eded8a6de6e78d576f7105e35e1463154f0c2755ecc131f72fcca7481: Pulling from ocaml/opam
96c832531c38: Pulling fs layer
be6140a0cb64: Pulling fs layer
608f87e27826: Pulling fs layer
1aa87020d09e: Pulling fs layer
4627ead79e82: Pulling fs layer
ee9881e62e45: Pulling fs layer
d1d3e9200dcf: Pulling fs layer
ec36963b8a83: Pulling fs layer
7bc64237e0ad: Pulling fs layer
ba55965465d5: Pulling fs layer
b03036c91202: Pulling fs layer
050bdaad79dd: Pulling fs layer
4f1899b260b5: Pulling fs layer
c487507eff9e: Pulling fs layer
c2dcac9e6df9: Pulling fs layer
c1ee5cca067f: Pulling fs layer
3e174e38f08d: Pulling fs layer
4f4fb700ef54: Pulling fs layer
c270e7eb5e33: Pulling fs layer
7bc64237e0ad: Waiting
ba55965465d5: Waiting
5c70a5db4ab3: Pulling fs layer
b03036c91202: Waiting
d5011a742c2c: Pulling fs layer
050bdaad79dd: Waiting
ee9881e62e45: Waiting
1aa87020d09e: Waiting
b54614c1ffad: Pulling fs layer
4627ead79e82: Waiting
4f1899b260b5: Waiting
1bac2e6260de: Pulling fs layer
c487507eff9e: Waiting
35b321a19b20: Pulling fs layer
c2dcac9e6df9: Waiting
d56c99376aae: Pulling fs layer
79da19725cc7: Pulling fs layer
c1ee5cca067f: Waiting
f374ac7c013d: Pulling fs layer
3e174e38f08d: Waiting
4f629b75fa51: Pulling fs layer
d1d3e9200dcf: Waiting
7b2eb58cb8af: Pulling fs layer
ec36963b8a83: Waiting
c23c11692b20: Pulling fs layer
4f4fb700ef54: Waiting
560a78851f09: Pulling fs layer
51e7bc687f21: Pulling fs layer
c270e7eb5e33: Waiting
49eee95e1b5c: Pulling fs layer
5c70a5db4ab3: Waiting
d5011a742c2c: Waiting
d7c037862372: Pulling fs layer
1bac2e6260de: Waiting
b54614c1ffad: Waiting
010178408f7a: Pulling fs layer
35b321a19b20: Waiting
25237071c175: Pulling fs layer
7b2eb58cb8af: Waiting
d56c99376aae: Waiting
a9853caa4557: Pulling fs layer
ff8459f61690: Pulling fs layer
c23c11692b20: Waiting
79da19725cc7: Waiting
8627c8ff42c3: Pulling fs layer
560a78851f09: Waiting
f374ac7c013d: Waiting
4f629b75fa51: Waiting
28d2f927ef7e: Pulling fs layer
087b792a743a: Pulling fs layer
51e7bc687f21: Waiting
863efaa1c566: Pulling fs layer
25237071c175: Waiting
a9853caa4557: Waiting
e473b78bcaa5: Pulling fs layer
ff8459f61690: Waiting
478edae74b00: Pulling fs layer
8627c8ff42c3: Waiting
283d2439377d: Pulling fs layer
49eee95e1b5c: Waiting
a98801f039f2: Pulling fs layer
28d2f927ef7e: Waiting
e473b78bcaa5: Waiting
087b792a743a: Waiting
478edae74b00: Waiting
863efaa1c566: Waiting
283d2439377d: Waiting
a98801f039f2: Waiting
010178408f7a: Waiting
d7c037862372: Waiting
608f87e27826: Download complete
be6140a0cb64: Verifying Checksum
be6140a0cb64: Download complete
96c832531c38: Verifying Checksum
96c832531c38: Download complete
4627ead79e82: Verifying Checksum
4627ead79e82: Download complete
96c832531c38: Pull complete
be6140a0cb64: Pull complete
608f87e27826: Pull complete
d1d3e9200dcf: Verifying Checksum
d1d3e9200dcf: Download complete
ec36963b8a83: Verifying Checksum
ec36963b8a83: Download complete
7bc64237e0ad: Verifying Checksum
7bc64237e0ad: Download complete
ba55965465d5: Verifying Checksum
ba55965465d5: Download complete
b03036c91202: Verifying Checksum
b03036c91202: Download complete
ee9881e62e45: Verifying Checksum
ee9881e62e45: Download complete
1aa87020d09e: Verifying Checksum
1aa87020d09e: Download complete
050bdaad79dd: Verifying Checksum
050bdaad79dd: Download complete
4f1899b260b5: Verifying Checksum
4f1899b260b5: Download complete
c487507eff9e: Verifying Checksum
c487507eff9e: Download complete
c2dcac9e6df9: Verifying Checksum
c2dcac9e6df9: Download complete
3e174e38f08d: Download complete
c1ee5cca067f: Verifying Checksum
c1ee5cca067f: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
c270e7eb5e33: Download complete
5c70a5db4ab3: Verifying Checksum
5c70a5db4ab3: Download complete
d5011a742c2c: Verifying Checksum
d5011a742c2c: Download complete
1bac2e6260de: Download complete
b54614c1ffad: Download complete
35b321a19b20: Verifying Checksum
35b321a19b20: Download complete
d56c99376aae: Verifying Checksum
d56c99376aae: Download complete
f374ac7c013d: Verifying Checksum
f374ac7c013d: Download complete
79da19725cc7: Verifying Checksum
79da19725cc7: Download complete
7b2eb58cb8af: Download complete
c23c11692b20: Verifying Checksum
c23c11692b20: Download complete
1aa87020d09e: Pull complete
560a78851f09: Verifying Checksum
560a78851f09: Download complete
4627ead79e82: Pull complete
51e7bc687f21: Download complete
49eee95e1b5c: Verifying Checksum
49eee95e1b5c: Download complete
010178408f7a: Verifying Checksum
010178408f7a: Download complete
4f629b75fa51: Download complete
a9853caa4557: Download complete
ff8459f61690: Download complete
8627c8ff42c3: Download complete
28d2f927ef7e: Verifying Checksum
28d2f927ef7e: Download complete
087b792a743a: Verifying Checksum
087b792a743a: Download complete
863efaa1c566: Verifying Checksum
863efaa1c566: Download complete
ee9881e62e45: Pull complete
d1d3e9200dcf: Pull complete
ec36963b8a83: Pull complete
7bc64237e0ad: Pull complete
ba55965465d5: Pull complete
b03036c91202: Pull complete
050bdaad79dd: Pull complete
4f1899b260b5: Pull complete
c487507eff9e: Pull complete
c2dcac9e6df9: Pull complete
c1ee5cca067f: Pull complete
3e174e38f08d: Pull complete
4f4fb700ef54: Pull complete
c270e7eb5e33: Pull complete
5c70a5db4ab3: Pull complete
d5011a742c2c: Pull complete
b54614c1ffad: Pull complete
1bac2e6260de: Pull complete
35b321a19b20: Pull complete
d56c99376aae: Pull complete
79da19725cc7: Pull complete
f374ac7c013d: Pull complete
4f629b75fa51: Pull complete
7b2eb58cb8af: Pull complete
c23c11692b20: Pull complete
560a78851f09: Pull complete
51e7bc687f21: Pull complete
49eee95e1b5c: Pull complete
e473b78bcaa5: Verifying Checksum
e473b78bcaa5: Download complete
478edae74b00: Verifying Checksum
478edae74b00: Download complete
283d2439377d: Verifying Checksum
283d2439377d: Download complete
a98801f039f2: Download complete
25237071c175: Verifying Checksum
25237071c175: Download complete
d7c037862372: Verifying Checksum
d7c037862372: Download complete
d7c037862372: Pull complete
010178408f7a: Pull complete
25237071c175: Pull complete
a9853caa4557: Pull complete
ff8459f61690: Pull complete
8627c8ff42c3: Pull complete
28d2f927ef7e: Pull complete
087b792a743a: Pull complete
863efaa1c566: Pull complete
e473b78bcaa5: Pull complete
478edae74b00: Pull complete
283d2439377d: Pull complete
a98801f039f2: Pull complete
Digest: sha256:5fc5b51eded8a6de6e78d576f7105e35e1463154f0c2755ecc131f72fcca7481
Status: Downloaded newer image for ocaml/opam@sha256:5fc5b51eded8a6de6e78d576f7105e35e1463154f0c2755ecc131f72fcca7481
2026-04-12 18:51.20 ---> using "ab25ffcf6726cdcc6be6fa71b85a66fe5df5054c63930250ca6418280d896610" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-12 18:51.20 ---> using "bbfcea2158d3ee6082bb30b4d749d055f30bfe9a409dbe8791d57e637287c2a1" from cache

/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-04-12 18:51.20 ---> using "3430503605e471a0bcae37fb507b0002dae050088830b5b60db5e2260a45ac89" from cache

/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       5.4
# invariant            ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, 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.1
2026-04-12 18:51.20 ---> using "95d248013725808c2dc61e2e3863b367d1e202675b1027b3a4fe6c02555cca21" from cache

/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-04-12 18:51.20 ---> using "2863a29b62e2ba39a27b4f46c22de516e0c1a7a9e9fc38609a4c0c61fd8f969c" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-12 18:51.28 ---> saved as "a1688f3a9ea1e2517739ac6eb352ec96d161f3d33c5d3e078f44395be2b18085"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-12 18:51.47 ---> saved as "a202c07224a75b93ee4fa94e8bc734ffb465848991bd0078b663d784bb3597d7"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:2 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6917 kB]
- Get:3 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3889 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1311 kB]
- Hit:5 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [7143 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1622 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4226 kB]
- Fetched 25.5 MB in 11s (2339 kB/s)
- Reading package lists...
- 
2026-04-12 18:52.00 ---> saved as "7d6569b5d2aa95422e904ffbf9d195d561732eb47b2dfb103bce6e7979ce8236"

/home/opam: (run (shell "opam pin add -k version -yn ochre-cli.1.0.0 1.0.0"))
ochre-cli is now pinned to version 1.0.0
2026-04-12 18:52.01 ---> saved as "8e419ce2c53100770cc1a5b15a72018f95ef6d13c6f6854f3080758a60ddfbc7"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ochre-cli.1.0.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\" != 'ochre-cli.1.0.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ochre-cli.1.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 28 packages
  - install base64              3.5.2          [required by plist-xml]
  - install cmdliner            2.1.0          [required by ochre-cli]
  - install conf-oniguruma      1              [required by ochre]
  - install conf-pkg-config     4              [required by conf-oniguruma]
  - install csexp               1.5.2          [required by dune-configurator]
  - install dune                3.22.1         [required by ochre-cli]
  - install dune-configurator   3.22.1         [required by ochre]
  - install ISO8601             0.2.6          [required by plist-xml]
  - install melange-json-native 2.0.0          [required by ochre]
  - install menhir              20260209       [required by plist-xml]
  - install menhirCST           20260209       [required by menhir]
  - install menhirGLR           20260209       [required by menhir]
  - install menhirLib           20260209       [required by menhir]
  - install menhirSdk           20260209       [required by menhir]
  - install ocaml-compiler-libs v0.17.0        [required by ppxlib]
  - install ocamlbuild          0.16.1         [required by xmlm]
  - install ocamlfind           1.9.8          [required by xmlm]
  - install ochre               1.0.0          [required by ochre-cli]
  - install ochre-cli           1.0.0 (pinned)
  - install plist-xml           0.5.1          [required by ochre]
  - install ppx_derivers        1.2.1          [required by ppxlib]
  - install ppxlib              0.38.0         [required by melange-json-native]
  - install sexplib0            v0.17.0        [required by ppxlib]
  - install stdlib-shims        0.3.0          [required by ppxlib]
  - install tm-grammars         1.1.0          [required by ochre-cli]
  - install topkg               1.1.1          [required by xmlm]
  - install xmlm                1.4.0          [required by plist-xml]
  - install yojson              3.0.0          [required by ochre]

The following system packages will first need to be installed:
    libonig-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libonig-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 15669 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.72.4-0ubuntu2.9_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.72.4-0ubuntu2.9) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.72.4-0ubuntu2.9_all.deb ...
- Unpacking libglib2.0-data (2.72.4-0ubuntu2.9) ...
- Selecting previously unselected package libicu70:amd64.
- Preparing to unpack .../2-libicu70_70.1-2_amd64.deb ...
- Unpacking libicu70:amd64 (70.1-2) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../3-libxml2_2.9.13+dfsg-1ubuntu0.11_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.13+dfsg-1ubuntu0.11) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../4-shared-mime-info_2.1-2_amd64.deb ...
- Unpacking shared-mime-info (2.1-2) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../5-xdg-user-dirs_0.17-2ubuntu4_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2ubuntu4) ...
- Selecting previously unselected package libonig5:amd64.
- Preparing to unpack .../6-libonig5_6.9.7.1-2build1_amd64.deb ...
- Unpacking libonig5:amd64 (6.9.7.1-2build1) ...
- Selecting previously unselected package libonig-dev.
- Preparing to unpack .../7-libonig-dev_6.9.7.1-2build1_amd64.deb ...
- Unpacking libonig-dev (6.9.7.1-2build1) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../8-pkg-config_0.29.2-1ubuntu3_amd64.deb ...
- Unpacking pkg-config (0.29.2-1ubuntu3) ...
- Setting up xdg-user-dirs (0.17-2ubuntu4) ...
- Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.9) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.72.4-0ubuntu2.9) ...
- Setting up pkg-config (0.29.2-1ubuntu3) ...
- Setting up libonig5:amd64 (6.9.7.1-2build1) ...
- Setting up libicu70:amd64 (70.1-2) ...
- Setting up libonig-dev (6.9.7.1-2build1) ...
- Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.11) ...
- Setting up shared-mime-info (2.1-2) ...
- Processing triggers for libc-bin (2.35-0ubuntu3.13) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.2  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> installed conf-oniguruma.1
-> retrieved dune.3.22.1, dune-configurator.3.22.1  (cached)
-> retrieved ISO8601.0.2.6  (cached)
-> retrieved melange-json-native.2.0.0  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> installed cmdliner.2.1.0
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ochre.1.0.0, ochre-cli.1.0.0  (https://github.com/davesnx/ochre/releases/download/1.0.0/ochre-1.0.0.tbz)
-> retrieved plist-xml.0.5.1  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.38.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved tm-grammars.1.1.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved xmlm.1.4.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed xmlm.1.4.0
-> installed dune.3.22.1
-> installed base64.3.5.2
-> installed csexp.1.5.2
-> installed ISO8601.0.2.6
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed yojson.3.0.0
-> installed dune-configurator.3.22.1
-> installed tm-grammars.1.1.0
-> installed menhir.20260209
-> installed plist-xml.0.5.1
-> installed ppxlib.0.38.0
-> installed melange-json-native.2.0.0
-> installed ochre.1.0.0
-> installed ochre-cli.1.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-12 18:53.40 ---> saved as "79a9ddcf898ea2b215d331a82659139fa86b34a6caa6a7fad509362f64b600eb"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test ochre-cli.1.0.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile ochre-cli          1.0.0 (pinned)
=== install 10 packages
  - install   alcotest           1.9.1          [required by ochre-cli]
  - install   astring            0.8.5          [required by alcotest]
  - install   cstruct            6.2.0          [required by hex]
  - install   ezjsonm            1.3.0          [required by ochre-cli]
  - install   fmt                0.11.0         [required by alcotest]
  - install   hex                1.5.0          [required by ezjsonm]
  - install   jsonm              1.0.2          [required by ezjsonm]
  - install   ocaml-syntax-shims 1.0.0          [required by alcotest]
  - install   re                 1.14.0         [required by alcotest]
  - install   uutf               1.0.4          [required by alcotest, ezjsonm]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved cstruct.6.2.0  (https://opam.ocaml.org/cache)
-> retrieved ezjsonm.1.3.0  (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved hex.1.5.0  (https://opam.ocaml.org/cache)
-> retrieved jsonm.1.0.2  (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed ocaml-syntax-shims.1.0.0
-> installed uutf.1.0.4
-> removed   ochre-cli.1.0.0
-> installed re.1.14.0
-> installed cstruct.6.2.0
-> installed hex.1.5.0
-> installed alcotest.1.9.1
-> installed jsonm.1.0.2
-> installed ezjsonm.1.3.0
[ERROR] The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 71 @install @runtest".

#=== ERROR while compiling ochre-cli.1.0.0 ====================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.1 | pinned(https://github.com/davesnx/ochre/releases/download/1.0.0/ochre-1.0.0.tbz)
# path                 ~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ochre-cli -j 71 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/ochre-cli-7-70273d.env
# output-file          ~/.opam/log/ochre-cli-7-70273d.out
### output ###
# (cd _build/.sandbox/69c1e1f4c32058fed27dda16eab8138a/default/vendor/ocaml-oniguruma/test && ./test_misc.exe)
# 6.9.7
# (cd _build/.sandbox/ccbe9035ddbddfea5846c5e83427e048/default/vendor/ocaml-textmate-language/test && ./test_find.exe)
# Testing `Finding'.
# This run has ID `AFLLTP9U'.
# 
#   [OK]          data/multiwhile.json          0   Yojson.
#   [OK]          data/multiwhile.json          1   Ezjsonm.
# 
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/ccbe9035ddbddfea5846c5e83427e048/default/vendor/ocaml-textmate-language/test/_build/_tests/Finding'.
# Test Successful in 0.000s. 2 tests run.
# (cd _build/.sandbox/c3f0d3b8ae700b239f8e333e370a5359/default/vendor/ocaml-textmate-language/test && ./test_ocaml.exe)
# Testing `OCaml'.
# This run has ID `AIJ5NGP2'.
# 
#   [OK]          data/ocaml.tmLanguage.json          0   Yojson.
#   [OK]          data/ocaml.tmLanguage.json          1   Ezjsonm.
# 
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/c3f0d3b8ae700b239f8e333e370a5359/default/vendor/ocaml-textmate-language/test/_build/_tests/OCaml'.
# Test Successful in 0.006s. 2 tests run.
# (cd _build/.sandbox/c96b1050b576265dc39bf363fdc3f75c/default/vendor/ocaml-textmate-language/test && ./test_csharp.exe)
# Testing `C#'.
# This run has ID `0JZ6PGEB'.
# 
#   [OK]          data/csharp.tmLanguage          0   Plist.
# 
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/c96b1050b576265dc39bf363fdc3f75c/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+0023'.
# Test Successful in 0.011s. 1 test run.
# File "test/cram/cli_reason.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/cram/cli_reason.t _build/default/test/cram/cli_reason.t.corrected
# diff --git a/_build/default/test/cram/cli_reason.t b/_build/default/test/cram/cli_reason.t.corrected
# index 1070df1..fda56fb 100644
# --- a/_build/default/test/cram/cli_reason.t
# +++ b/_build/default/test/cram/cli_reason.t.corrected
# @@ -1,12 +1,5 @@
#  Reason bundled grammar works through the CLI
#    $ printf 'let x = 1;\n' | ochre reason --format tokens
# -  line 1:
# -    "let"  storage.type, source.reason
# -    " "  source.reason
# -    "x"  entity.name.function, source.reason
# -    " "  source.reason
# -    "="  keyword.control.less, source.reason
# -    " "  source.reason
# -    "1"  constant.numeric, source.reason
# -    ";"  message.error, keyword.control, keyword.operator, variable.interpolation, variable.other.class.js, source.reason
# -    "\n"  source.reason
# +  ochre: No bundled grammar for 'reason'. Available: . Use --grammar to provide
# +         one.
# +  [124]
# (cd _build/.sandbox/864b2e8251049a2ea3adf7817292cfe2/default/vendor/ocaml-textmate-language/test && ./test_tokenize.exe)
# Testing `Highlighting'.
# This run has ID `LLJZH7FP'.
# 
#   [OK]          data/a.json                              0   Yojson.
#   [OK]          data/a.json                              1   Ezjsonm.
#   [OK]          data/while.json                          0   Yojson.
#   [OK]          data/while.json                          1   Ezjsonm.
#   [OK]          data/multiwhile.json                     0   Yojson.
#   [OK]          data/multiwhile.json                     1   Ezjsonm.
#   [OK]          data/groups.json                         0   Yojson.
#   [OK]          data/groups.json                         1   Ezjsonm.
#   [OK]          data/zero_width_loop.json                0   Yojson.
#   [OK]          data/zero_width_loop.json                1   Ezjsonm.
#   [OK]          data/zero_width_end_loop.json            0   Yojson.
#   [OK]          data/zero_width_end_loop.json            1   Ezjsonm.
#   [OK]          data/zero_width_match_loop.json          0   Yojson.
#   [OK]          data/zero_width_match_loop.json          1   Ezjsonm.
#   [OK]          g-anchor-end-pattern                     0   Closes quoted sc...
#   [OK]          g-anchor-end-pattern                     1   Positive \G end ...
#   [OK]          g-anchor-end-pattern                     2   Negative \G end ...
#   [OK]          g-anchor-parent-and-while                0   Nested patterns ...
#   [OK]          g-anchor-parent-and-while                1   Empty content cl...
#   [OK]          g-anchor-parent-and-while                2   Positive \G whil...
#   [OK]          g-anchor-parent-and-while                3   Negative \G whil...
#   [OK]          overlapping-begin-captures               0   Keeps string sco...
#   [OK]          injections                               0   Right-priority i...
#   [OK]          injections                               1   Left-priority in...
#   [OK]          injections                               2   Injection does n...
# 
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/864b2e8251049a2ea3adf7817292cfe2/default/vendor/ocaml-textmate-language/test/_build/_tests/Highlighting'.
# Test Successful in 0.005s. 25 tests run.
# (cd _build/.sandbox/30f0055792f1c859f3e021c5c795c155/default/vendor/ocaml-textmate-language/test && ./test_cpp.exe)
# Testing `C++'.
# This run has ID `JNHY5Q1H'.
# 
#   [OK]          data/cpp.tmLanguage.json          0   Yojson.
#   [OK]          data/cpp.tmLanguage.json          1   Ezjsonm.
# 
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/30f0055792f1c859f3e021c5c795c155/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+002BU+002B'.
# Test Successful in 0.083s. 2 tests run.
# (cd _build/.sandbox/4fff90f12e0941d2e7f751360fb2d702/default/test && ./test_ochre.exe)
# Testing `Ochre'.
# This run has ID `24ZAQOG2'.
# 
#   [OK]          theme                       0   Load theme from string.
#   [OK]          theme                       1   Make raw theme.
#   [OK]          scope                       0   Scope matching via tokens.
#   [OK]          scope                       1   Scope properties merge by rule.
#   [OK]          grammar                     0   Accept capture arrays.
#   [OK]          transform                   0   Empty transforms passthrough.
#   [OK]          transform                   1   Transform ordering (last wins).
#   [OK]          transform                   2   Transform determinism.
#   [OK]          transform                   3   Line highlight builtin.
#   [OK]          transform                   4   Hook execution order.
#   [OK]          notation-transform          0   Notation highlight basic.
#   [OK]          notation-transform          1   Notation highlight no match.
#   [OK]          notation-transform          2   Notation diff add.
#   [OK]          notation-transform          3   Notation diff remove.
#   [OK]          notation-transform          4   Notation diff no match.
#   [OK]          notation-transform          5   Notation word highlight basic.
#   [OK]          notation-transform          6   Notation word highlight no ma...
#   [OK]          notation-transform          7   Notation highlight with highl...
#   [OK]          decoration                  0   Empty decorations passthrough.
#   [OK]          decoration                  1   Whole token decoration.
#   [OK]          decoration                  2   Token splitting at boundary.
#   [OK]          decoration                  3   Mid-token split.
#   [OK]          decoration                  4   Multi-token decoration.
#   [OK]          decoration                  5   Negative character position.
#   [OK]          decoration                  6   Overlapping decorations.
#   [OK]          decoration                  7   Multiline decoration.
#   [OK]          decoration                  8   Decoration with highlighter.
# 
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/4fff90f12e0941d2e7f751360fb2d702/default/test/_build/_tests/Ochre'.
# Test Successful in 0.006s. 27 tests run.



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ochre-cli 1.0.0
+- 
+- The following changes have been performed
| - remove  ochre-cli          1.0.0
| - install alcotest           1.9.1
| - install astring            0.8.5
| - install cstruct            6.2.0
| - install ezjsonm            1.3.0
| - install fmt                0.11.0
| - install hex                1.5.0
| - install jsonm              1.0.2
| - install ocaml-syntax-shims 1.0.0
| - install re                 1.14.0
| - install uutf               1.0.4
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.4/.opam-switch/backup/state-20260412185341.export"
Or you can retry to install your package selection with:
    /usr/bin/opam install --restore
2026-04-12 18:54.00 ---> saved as "a4c4cb820e7bd9b0f60b5dbaede0ce618cdf3d9140e5ea95acdb16246768e9bf"

/home/opam: (run (shell  "opam reinstall --with-test --verbose ochre-cli.1.0.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\" != 'ochre-cli.1.0.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ochre-cli.1.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install ochre-cli 1.0.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/3: [ochre-cli: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ochre-cli" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0)
- (cd _build/.sandbox/69c1e1f4c32058fed27dda16eab8138a/default/vendor/ocaml-oniguruma/test && ./test_misc.exe)
- 6.9.7
- (cd _build/.sandbox/ccbe9035ddbddfea5846c5e83427e048/default/vendor/ocaml-textmate-language/test && ./test_find.exe)
- Testing `Finding'.
- This run has ID `P7SJDSQ9'.
- 
-   [OK]          data/multiwhile.json          0   Yojson.
-   [OK]          data/multiwhile.json          1   Ezjsonm.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/ccbe9035ddbddfea5846c5e83427e048/default/vendor/ocaml-textmate-language/test/_build/_tests/Finding'.
- Test Successful in 0.000s. 2 tests run.
- (cd _build/.sandbox/864b2e8251049a2ea3adf7817292cfe2/default/vendor/ocaml-textmate-language/test && ./test_tokenize.exe)
- Testing `Highlighting'.
- This run has ID `Q18PWLT8'.
- 
-   [OK]          data/a.json                              0   Yojson.
-   [OK]          data/a.json                              1   Ezjsonm.
-   [OK]          data/while.json                          0   Yojson.
-   [OK]          data/while.json                          1   Ezjsonm.
-   [OK]          data/multiwhile.json                     0   Yojson.
-   [OK]          data/multiwhile.json                     1   Ezjsonm.
-   [OK]          data/groups.json                         0   Yojson.
-   [OK]          data/groups.json                         1   Ezjsonm.
-   [OK]          data/zero_width_loop.json                0   Yojson.
-   [OK]          data/zero_width_loop.json                1   Ezjsonm.
-   [OK]          data/zero_width_end_loop.json            0   Yojson.
-   [OK]          data/zero_width_end_loop.json            1   Ezjsonm.
-   [OK]          data/zero_width_match_loop.json          0   Yojson.
-   [OK]          data/zero_width_match_loop.json          1   Ezjsonm.
-   [OK]          g-anchor-end-pattern                     0   Closes quoted sc...
-   [OK]          g-anchor-end-pattern                     1   Positive \G end ...
-   [OK]          g-anchor-end-pattern                     2   Negative \G end ...
-   [OK]          g-anchor-parent-and-while                0   Nested patterns ...
-   [OK]          g-anchor-parent-and-while                1   Empty content cl...
-   [OK]          g-anchor-parent-and-while                2   Positive \G whil...
-   [OK]          g-anchor-parent-and-while                3   Negative \G whil...
-   [OK]          overlapping-begin-captures               0   Keeps string sco...
-   [OK]          injections                               0   Right-priority i...
-   [OK]          injections                               1   Left-priority in...
-   [OK]          injections                               2   Injection does n...
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/864b2e8251049a2ea3adf7817292cfe2/default/vendor/ocaml-textmate-language/test/_build/_tests/Highlighting'.
- Test Successful in 0.005s. 25 tests run.
- (cd _build/.sandbox/c3f0d3b8ae700b239f8e333e370a5359/default/vendor/ocaml-textmate-language/test && ./test_ocaml.exe)
- Testing `OCaml'.
- This run has ID `DWV12AQJ'.
- 
-   [OK]          data/ocaml.tmLanguage.json          0   Yojson.
-   [OK]          data/ocaml.tmLanguage.json          1   Ezjsonm.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/c3f0d3b8ae700b239f8e333e370a5359/default/vendor/ocaml-textmate-language/test/_build/_tests/OCaml'.
- Test Successful in 0.004s. 2 tests run.
- (cd _build/.sandbox/c96b1050b576265dc39bf363fdc3f75c/default/vendor/ocaml-textmate-language/test && ./test_csharp.exe)
- Testing `C#'.
- This run has ID `56BESOJ8'.
- 
-   [OK]          data/csharp.tmLanguage          0   Plist.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/c96b1050b576265dc39bf363fdc3f75c/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+0023'.
- Test Successful in 0.007s. 1 test run.
- File "test/cram/cli_reason.t", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/cram/cli_reason.t _build/default/test/cram/cli_reason.t.corrected
- diff --git a/_build/default/test/cram/cli_reason.t b/_build/default/test/cram/cli_reason.t.corrected
- index 1070df1..fda56fb 100644
- --- a/_build/default/test/cram/cli_reason.t
- +++ b/_build/default/test/cram/cli_reason.t.corrected
- @@ -1,12 +1,5 @@
-  Reason bundled grammar works through the CLI
-    $ printf 'let x = 1;\n' | ochre reason --format tokens
- -  line 1:
- -    "let"  storage.type, source.reason
- -    " "  source.reason
- -    "x"  entity.name.function, source.reason
- -    " "  source.reason
- -    "="  keyword.control.less, source.reason
- -    " "  source.reason
- -    "1"  constant.numeric, source.reason
- -    ";"  message.error, keyword.control, keyword.operator, variable.interpolation, variable.other.class.js, source.reason
- -    "\n"  source.reason
- +  ochre: No bundled grammar for 'reason'. Available: . Use --grammar to provide
- +         one.
- +  [124]
- (cd _build/.sandbox/30f0055792f1c859f3e021c5c795c155/default/vendor/ocaml-textmate-language/test && ./test_cpp.exe)
- Testing `C++'.
- This run has ID `YAMWNECG'.
- 
-   [OK]          data/cpp.tmLanguage.json          0   Yojson.
-   [OK]          data/cpp.tmLanguage.json          1   Ezjsonm.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/30f0055792f1c859f3e021c5c795c155/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+002BU+002B'.
- Test Successful in 0.042s. 2 tests run.
- (cd _build/.sandbox/4fff90f12e0941d2e7f751360fb2d702/default/test && ./test_ochre.exe)
- Testing `Ochre'.
- This run has ID `D7MUQKMX'.
- 
-   [OK]          theme                       0   Load theme from string.
-   [OK]          theme                       1   Make raw theme.
-   [OK]          scope                       0   Scope matching via tokens.
-   [OK]          scope                       1   Scope properties merge by rule.
-   [OK]          grammar                     0   Accept capture arrays.
-   [OK]          transform                   0   Empty transforms passthrough.
-   [OK]          transform                   1   Transform ordering (last wins).
-   [OK]          transform                   2   Transform determinism.
-   [OK]          transform                   3   Line highlight builtin.
-   [OK]          transform                   4   Hook execution order.
-   [OK]          notation-transform          0   Notation highlight basic.
-   [OK]          notation-transform          1   Notation highlight no match.
-   [OK]          notation-transform          2   Notation diff add.
-   [OK]          notation-transform          3   Notation diff remove.
-   [OK]          notation-transform          4   Notation diff no match.
-   [OK]          notation-transform          5   Notation word highlight basic.
-   [OK]          notation-transform          6   Notation word highlight no ma...
-   [OK]          notation-transform          7   Notation highlight with highl...
-   [OK]          decoration                  0   Empty decorations passthrough.
-   [OK]          decoration                  1   Whole token decoration.
-   [OK]          decoration                  2   Token splitting at boundary.
-   [OK]          decoration                  3   Mid-token split.
-   [OK]          decoration                  4   Multi-token decoration.
-   [OK]          decoration                  5   Negative character position.
-   [OK]          decoration                  6   Overlapping decorations.
-   [OK]          decoration                  7   Multiline decoration.
-   [OK]          decoration                  8   Decoration with highlighter.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/4fff90f12e0941d2e7f751360fb2d702/default/test/_build/_tests/Ochre'.
- Test Successful in 0.004s. 27 tests run.
[ERROR] The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 71 @install @runtest".

#=== ERROR while compiling ochre-cli.1.0.0 ====================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.1 | pinned(https://github.com/davesnx/ochre/releases/download/1.0.0/ochre-1.0.0.tbz)
# path                 ~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ochre-cli -j 71 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/ochre-cli-7-4fda55.env
# output-file          ~/.opam/log/ochre-cli-7-4fda55.out
### output ###
# (cd _build/.sandbox/69c1e1f4c32058fed27dda16eab8138a/default/vendor/ocaml-oniguruma/test && ./test_misc.exe)
# 6.9.7
# (cd _build/.sandbox/ccbe9035ddbddfea5846c5e83427e048/default/vendor/ocaml-textmate-language/test && ./test_find.exe)
# Testing `Finding'.
# This run has ID `P7SJDSQ9'.
# 
#   [OK]          data/multiwhile.json          0   Yojson.
#   [OK]          data/multiwhile.json          1   Ezjsonm.
# 
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/ccbe9035ddbddfea5846c5e83427e048/default/vendor/ocaml-textmate-language/test/_build/_tests/Finding'.
# Test Successful in 0.000s. 2 tests run.
# (cd _build/.sandbox/864b2e8251049a2ea3adf7817292cfe2/default/vendor/ocaml-textmate-language/test && ./test_tokenize.exe)
# Testing `Highlighting'.
# This run has ID `Q18PWLT8'.
# 
#   [OK]          data/a.json                              0   Yojson.
#   [OK]          data/a.json                              1   Ezjsonm.
#   [OK]          data/while.json                          0   Yojson.
#   [OK]          data/while.json                          1   Ezjsonm.
#   [OK]          data/multiwhile.json                     0   Yojson.
#   [OK]          data/multiwhile.json                     1   Ezjsonm.
#   [OK]          data/groups.json                         0   Yojson.
#   [OK]          data/groups.json                         1   Ezjsonm.
#   [OK]          data/zero_width_loop.json                0   Yojson.
#   [OK]          data/zero_width_loop.json                1   Ezjsonm.
#   [OK]          data/zero_width_end_loop.json            0   Yojson.
#   [OK]          data/zero_width_end_loop.json            1   Ezjsonm.
#   [OK]          data/zero_width_match_loop.json          0   Yojson.
#   [OK]          data/zero_width_match_loop.json          1   Ezjsonm.
#   [OK]          g-anchor-end-pattern                     0   Closes quoted sc...
#   [OK]          g-anchor-end-pattern                     1   Positive \G end ...
#   [OK]          g-anchor-end-pattern                     2   Negative \G end ...
#   [OK]          g-anchor-parent-and-while                0   Nested patterns ...
#   [OK]          g-anchor-parent-and-while                1   Empty content cl...
#   [OK]          g-anchor-parent-and-while                2   Positive \G whil...
#   [OK]          g-anchor-parent-and-while                3   Negative \G whil...
#   [OK]          overlapping-begin-captures               0   Keeps string sco...
#   [OK]          injections                               0   Right-priority i...
#   [OK]          injections                               1   Left-priority in...
#   [OK]          injections                               2   Injection does n...
# 
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/864b2e8251049a2ea3adf7817292cfe2/default/vendor/ocaml-textmate-language/test/_build/_tests/Highlighting'.
# Test Successful in 0.005s. 25 tests run.
# (cd _build/.sandbox/c3f0d3b8ae700b239f8e333e370a5359/default/vendor/ocaml-textmate-language/test && ./test_ocaml.exe)
# Testing `OCaml'.
# This run has ID `DWV12AQJ'.
# 
#   [OK]          data/ocaml.tmLanguage.json          0   Yojson.
#   [OK]          data/ocaml.tmLanguage.json          1   Ezjsonm.
# 
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/c3f0d3b8ae700b239f8e333e370a5359/default/vendor/ocaml-textmate-language/test/_build/_tests/OCaml'.
# Test Successful in 0.004s. 2 tests run.
# (cd _build/.sandbox/c96b1050b576265dc39bf363fdc3f75c/default/vendor/ocaml-textmate-language/test && ./test_csharp.exe)
# Testing `C#'.
# This run has ID `56BESOJ8'.
# 
#   [OK]          data/csharp.tmLanguage          0   Plist.
# 
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/c96b1050b576265dc39bf363fdc3f75c/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+0023'.
# Test Successful in 0.007s. 1 test run.
# File "test/cram/cli_reason.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/cram/cli_reason.t _build/default/test/cram/cli_reason.t.corrected
# diff --git a/_build/default/test/cram/cli_reason.t b/_build/default/test/cram/cli_reason.t.corrected
# index 1070df1..fda56fb 100644
# --- a/_build/default/test/cram/cli_reason.t
# +++ b/_build/default/test/cram/cli_reason.t.corrected
# @@ -1,12 +1,5 @@
#  Reason bundled grammar works through the CLI
#    $ printf 'let x = 1;\n' | ochre reason --format tokens
# -  line 1:
# -    "let"  storage.type, source.reason
# -    " "  source.reason
# -    "x"  entity.name.function, source.reason
# -    " "  source.reason
# -    "="  keyword.control.less, source.reason
# -    " "  source.reason
# -    "1"  constant.numeric, source.reason
# -    ";"  message.error, keyword.control, keyword.operator, variable.interpolation, variable.other.class.js, source.reason
# -    "\n"  source.reason
# +  ochre: No bundled grammar for 'reason'. Available: . Use --grammar to provide
# +         one.
# +  [124]
# (cd _build/.sandbox/30f0055792f1c859f3e021c5c795c155/default/vendor/ocaml-textmate-language/test && ./test_cpp.exe)
# Testing `C++'.
# This run has ID `YAMWNECG'.
# 
#   [OK]          data/cpp.tmLanguage.json          0   Yojson.
#   [OK]          data/cpp.tmLanguage.json          1   Ezjsonm.
# 
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/30f0055792f1c859f3e021c5c795c155/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+002BU+002B'.
# Test Successful in 0.042s. 2 tests run.
# (cd _build/.sandbox/4fff90f12e0941d2e7f751360fb2d702/default/test && ./test_ochre.exe)
# Testing `Ochre'.
# This run has ID `D7MUQKMX'.
# 
#   [OK]          theme                       0   Load theme from string.
#   [OK]          theme                       1   Make raw theme.
#   [OK]          scope                       0   Scope matching via tokens.
#   [OK]          scope                       1   Scope properties merge by rule.
#   [OK]          grammar                     0   Accept capture arrays.
#   [OK]          transform                   0   Empty transforms passthrough.
#   [OK]          transform                   1   Transform ordering (last wins).
#   [OK]          transform                   2   Transform determinism.
#   [OK]          transform                   3   Line highlight builtin.
#   [OK]          transform                   4   Hook execution order.
#   [OK]          notation-transform          0   Notation highlight basic.
#   [OK]          notation-transform          1   Notation highlight no match.
#   [OK]          notation-transform          2   Notation diff add.
#   [OK]          notation-transform          3   Notation diff remove.
#   [OK]          notation-transform          4   Notation diff no match.
#   [OK]          notation-transform          5   Notation word highlight basic.
#   [OK]          notation-transform          6   Notation word highlight no ma...
#   [OK]          notation-transform          7   Notation highlight with highl...
#   [OK]          decoration                  0   Empty decorations passthrough.
#   [OK]          decoration                  1   Whole token decoration.
#   [OK]          decoration                  2   Token splitting at boundary.
#   [OK]          decoration                  3   Mid-token split.
#   [OK]          decoration                  4   Multi-token decoration.
#   [OK]          decoration                  5   Negative character position.
#   [OK]          decoration                  6   Overlapping decorations.
#   [OK]          decoration                  7   Multiline decoration.
#   [OK]          decoration                  8   Decoration with highlighter.
# 
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/4fff90f12e0941d2e7f751360fb2d702/default/test/_build/_tests/Ochre'.
# Test Successful in 0.004s. 27 tests run.



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ochre-cli 1.0.0
+- 
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose ochre-cli.1.0.0' failed.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose ochre-cli.1.0.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" != 'ochre-cli.1.0.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 1
2026-04-12 18:54.29: Job failed: Failed: Build failed
2026-04-12 18:54.29: Log analysis:
2026-04-12 18:54.29: >>> 
[ERROR] The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 71 @install @runtest".
 (score = 20)
2026-04-12 18:54.29: >>> 
[ERROR] The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 71 @install @runtest".
 (score = 20)
2026-04-12 18:54.29: The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 71 @install @runtest".