(for PR #29581)

2026-03-21 23:40.10: New job: test spectrum.1.0.0.alpha2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29581/head (c52e39f11b5df3e4bb74becd6c0b64f6f336b223)
                              on ubuntu-25.10-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/29581/head" && git reset --hard c52e39f1
git fetch origin master
git merge --no-edit 76bf2ed9443fdee37e6f046c6295d358be3f8598
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:fccc42396ad3f6a3bb64d2de35908ff7339dc049277b9f10eb091adc363c9fb4
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 spectrum.1.0.0.alpha2 1.0.0.alpha2
RUN opam reinstall spectrum.1.0.0.alpha2; \
    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-25.10\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'spectrum.1.0.0.alpha2' && 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 spectrum.1.0.0.alpha2) || true
RUN opam reinstall --with-test --verbose spectrum.1.0.0.alpha2; \
    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-25.10\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'spectrum.1.0.0.alpha2' && 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-21 23:40.10: Using cache hint "ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:fccc42396ad3f6a3bb64d2de35908ff7339dc049277b9f10eb091adc363c9fb4-spectrum.1.0.0.alpha2-c52e39f11b5df3e4bb74becd6c0b64f6f336b223"
2026-03-21 23:40.10: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:fccc42396ad3f6a3bb64d2de35908ff7339dc049277b9f10eb091adc363c9fb4)
 (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 spectrum.1.0.0.alpha2 1.0.0.alpha2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall spectrum.1.0.0.alpha2;\
             \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-25.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\" != 'spectrum.1.0.0.alpha2' && 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 spectrum.1.0.0.alpha2) || true"))
 (run (shell  "opam reinstall --with-test --verbose spectrum.1.0.0.alpha2;\
             \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-25.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\" != 'spectrum.1.0.0.alpha2' && 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-21 23:40.10: Waiting for resource in pool OCluster
2026-03-21 23:41.53: Waiting for worker…
2026-03-21 23:44.59: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 76bf2ed944 Merge pull request #29572 from hannesm/release-letsencrypt-v2.0.0
Updating 76bf2ed944..c52e39f11b
Fast-forward
 packages/spectrum/spectrum.1.0.0.alpha2/opam       | 52 ++++++++++++++++++++++
 .../spectrum_capabilities.1.0.0.alpha2/opam        | 43 ++++++++++++++++++
 .../spectrum_palette_ppx.1.0.0.alpha2/opam         | 45 +++++++++++++++++++
 .../spectrum_palettes.1.0.0.alpha2/opam            | 42 +++++++++++++++++
 .../spectrum_tools.1.0.0.alpha2/opam               | 47 +++++++++++++++++++
 5 files changed, 229 insertions(+)
 create mode 100644 packages/spectrum/spectrum.1.0.0.alpha2/opam
 create mode 100644 packages/spectrum_capabilities/spectrum_capabilities.1.0.0.alpha2/opam
 create mode 100644 packages/spectrum_palette_ppx/spectrum_palette_ppx.1.0.0.alpha2/opam
 create mode 100644 packages/spectrum_palettes/spectrum_palettes.1.0.0.alpha2/opam
 create mode 100644 packages/spectrum_tools/spectrum_tools.1.0.0.alpha2/opam

(from ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:fccc42396ad3f6a3bb64d2de35908ff7339dc049277b9f10eb091adc363c9fb4)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:fccc42396ad3f6a3bb64d2de35908ff7339dc049277b9f10eb091adc363c9fb4' locally
docker.io/ocaml/opam@sha256:fccc42396ad3f6a3bb64d2de35908ff7339dc049277b9f10eb091adc363c9fb4: Pulling from ocaml/opam
0190bd5ca351: Already exists
Digest: sha256:fccc42396ad3f6a3bb64d2de35908ff7339dc049277b9f10eb091adc363c9fb4
Status: Downloaded newer image for ocaml/opam@sha256:fccc42396ad3f6a3bb64d2de35908ff7339dc049277b9f10eb091adc363c9fb4
2026-03-21 23:46.12 ---> saved as "c44b549a6f93e5c2102d3eca774bcd1b858844cf9e1a1a17320732b0e4413187"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-21 23:46.12 ---> saved as "8820d17401a1e155fab108289f168209dc1cfb10fa003f53cab713bce3f907c3"

/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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-21 23:46.40 ---> saved as "83ca80bd4ce6ab405584be48f1d889e30754daa67ebfe23616b156d093d45b18"

/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=25.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       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-03-21 23:46.41 ---> saved as "25ec6f0570aed5392fde3d475e06df34784851b5213bbd7c905505f174b053b3"

/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-21 23:46.59 ---> saved as "5e4291f5e28fd32b112202cf3cbd420cc037dd2c5e77bbc4e475583138f2a08d"

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-21 23:47.13 ---> saved as "951ae5fb9319416bc78ddf98f92efe86d34f65095accaacd210bd9c6d223172f"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-21 23:47.39 ---> saved as "a720a3b45c623367b12e452255ba2a77eabc7d2e9768454c423bca712fcfbd50"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:2 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [301 kB]
- Get:3 http://security.ubuntu.com/ubuntu questing-security/restricted amd64 Packages [217 kB]
- Get:4 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [194 kB]
- Hit:5 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:6 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [429 kB]
- Get:9 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [265 kB]
- Get:10 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [219 kB]
- Get:11 http://archive.ubuntu.com/ubuntu questing-backports/universe amd64 Packages [4037 B]
- Fetched 2032 kB in 2s (1088 kB/s)
- Reading package lists...
- 
2026-03-21 23:47.43 ---> saved as "9935ec64d41e39c5c9ed39686cb9afcdc7337d20a6c753496ac5f60b7b92818e"

/home/opam: (run (shell "opam pin add -k version -yn spectrum.1.0.0.alpha2 1.0.0.alpha2"))
spectrum is now pinned to version 1.0.0.alpha2
2026-03-21 23:47.44 ---> saved as "5ee88045cfacde077ef1a00344a4006fd06a10a17e5f6c25c2cbc31172ab925b"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall spectrum.1.0.0.alpha2;\
                        \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-25.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\" != 'spectrum.1.0.0.alpha2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
spectrum.1.0.0.alpha2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 38 packages
  - install color                 0.3.0                 [required by spectrum]
  - install cppo                  1.8.0                 [required by ppx_deriving]
  - install dune                  3.22.0                [required by spectrum]
  - install gg                    1.0.0                 [required by color, spectrum_tools]
  - install jsonm                 1.0.2                 [required by opam-core]
  - install menhir                20260209              [required by opam-file-format]
  - 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.12.4               [required by ppxlib]
  - install ocamlbuild            0.16.1                [required by gg]
  - install ocamlfind             1.9.8                 [required by ppx_deriving]
  - install ocamlgraph            2.2.0                 [required by opam-core]
  - install oktree                0.2.4                 [required by spectrum_palette_ppx]
  - install opam-core             2.5.0                 [required by opam-format]
  - install opam-file-format      2.2.0                 [required by opam-format]
  - install opam-format           2.5.0                 [required by opam-repository]
  - install opam-repository       2.5.0                 [required by opam-state]
  - install opam-state            2.5.0                 [required by spectrum_capabilities]
  - install patch                 3.1.0                 [required by opam-state]
  - install ppx_derivers          1.2.1                 [required by ppx_deriving]
  - install ppx_deriving          6.1.1                 [required by spectrum]
  - install ppxlib                0.37.0                [required by ppx_deriving]
  - install re                    1.14.0                [required by spectrum]
  - install sexplib0              v0.17.0               [required by ppxlib]
  - install sha                   1.15.4                [required by opam-core]
  - install spdx_licenses         1.4.0                 [required by opam-state]
  - install spectrum              1.0.0.alpha2 (pinned)
  - install spectrum_capabilities 1.0.0.alpha2          [required by spectrum]
  - install spectrum_palette_ppx  1.0.0.alpha2          [required by spectrum_palettes, spectrum_tools]
  - install spectrum_palettes     1.0.0.alpha2          [required by spectrum]
  - install spectrum_tools        1.0.0.alpha2          [required by spectrum]
  - install stdlib-shims          0.3.0                 [required by ppxlib]
  - install swhid_core            0.1                   [required by opam-core]
  - install topkg                 1.1.1                 [required by gg]
  - install uutf                  1.0.4                 [required by opam-core]
  - install yojson                3.0.0                 [required by spectrum_palette_ppx]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved color.0.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved dune.3.22.0  (cached)
-> retrieved gg.1.0.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlgraph.2.2.0  (cached)
-> retrieved oktree.0.2.4  (cached)
-> retrieved opam-core.2.5.0, opam-format.2.5.0, opam-repository.2.5.0, opam-state.2.5.0  (cached)
-> retrieved opam-file-format.2.2.0  (cached)
-> retrieved patch.3.1.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved sha.1.15.4  (cached)
-> retrieved spdx_licenses.1.4.0  (cached)
-> retrieved spectrum.1.0.0.alpha2, spectrum_capabilities.1.0.0.alpha2, spectrum_palette_ppx.1.0.0.alpha2, spectrum_palettes.1.0.0.alpha2, spectrum_tools.1.0.0.alpha2  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved swhid_core.0.1  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed jsonm.1.0.2
-> installed gg.1.0.0
-> installed dune.3.22.0
-> installed color.0.3.0
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed patch.3.1.0
-> installed stdlib-shims.0.3.0
-> installed ppx_derivers.1.2.1
-> installed cppo.1.8.0
-> installed spdx_licenses.1.4.0
-> installed menhirSdk.20260209
-> installed swhid_core.0.1
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed yojson.3.0.0
-> installed sha.1.15.4
-> installed re.1.14.0
-> installed ocamlgraph.2.2.0
-> installed opam-core.2.5.0
-> installed menhir.20260209
-> installed opam-file-format.2.2.0
-> installed opam-format.2.5.0
-> installed ppxlib.0.37.0
-> installed opam-repository.2.5.0
-> installed ppx_deriving.6.1.1
-> installed oktree.0.2.4
-> installed opam-state.2.5.0
-> installed spectrum_capabilities.1.0.0.alpha2
-> installed spectrum_palette_ppx.1.0.0.alpha2
-> installed spectrum_palettes.1.0.0.alpha2
-> installed spectrum_tools.1.0.0.alpha2
-> installed spectrum.1.0.0.alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-21 23:49.29 ---> saved as "12ed0162a93ddb85e544489c8320bba3497df0a5c6cf35c84223fb68f1d18bf3"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test spectrum.1.0.0.alpha2) || true"))
The following actions will be performed:
=== recompile 8 packages
  - recompile jsonm                 1.0.2                 [uses uutf]
  - recompile opam-core             2.5.0                 [uses uutf]
  - recompile opam-format           2.5.0                 [uses opam-core]
  - recompile opam-repository       2.5.0                 [uses opam-format]
  - recompile opam-state            2.5.0                 [uses opam-repository]
  - recompile spectrum              1.0.0.alpha2 (pinned)
  - recompile spectrum_capabilities 1.0.0.alpha2          [uses opam-state]
  - recompile uutf                  1.0.4                 [uses cmdliner]
=== install 12 packages
  - install   alcotest              1.9.1                 [required by spectrum]
  - install   astring               0.8.5                 [required by alcotest]
  - install   cmdliner              2.1.0                 [required by alcotest]
  - install   fmt                   0.11.0                [required by alcotest]
  - install   junit                 2.3.0                 [required by junit_alcotest]
  - install   junit_alcotest        2.3.0                 [required by spectrum]
  - install   ocaml-syntax-shims    1.0.0                 [required by alcotest]
  - install   ptime                 1.2.0                 [required by junit]
  - install   qcheck-alcotest       0.91                  [required by spectrum]
  - install   qcheck-core           0.91                  [required by qcheck-alcotest]
  - install   seq                   base                  [required by tyxml]
  - install   tyxml                 4.6.0                 [required by junit]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.1.0  (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved jsonm.1.0.2  (https://opam.ocaml.org/cache)
-> retrieved junit.2.3.0, junit_alcotest.2.3.0  (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved opam-core.2.5.0, opam-format.2.5.0, opam-repository.2.5.0, opam-state.2.5.0  (https://opam.ocaml.org/cache)
-> retrieved ptime.1.2.0  (https://opam.ocaml.org/cache)
-> retrieved qcheck-alcotest.0.91, qcheck-core.0.91  (https://opam.ocaml.org/cache)
-> installed ocaml-syntax-shims.1.0.0
-> retrieved seq.base  (2 extra sources)
-> retrieved seq.base  (2 extra sources)
-> installed seq.base
-> installed astring.0.8.5
-> retrieved spectrum.1.0.0.alpha2, spectrum_capabilities.1.0.0.alpha2  (https://github.com/anentropic/ocaml-spectrum/archive/refs/tags/1.0.0.alpha2.tar.gz)
-> retrieved tyxml.4.6.0  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> installed ptime.1.2.0
-> installed qcheck-core.0.91
-> removed   spectrum.1.0.0.alpha2
-> removed   spectrum_capabilities.1.0.0.alpha2
-> removed   opam-state.2.5.0
-> removed   opam-repository.2.5.0
-> removed   opam-format.2.5.0
-> removed   opam-core.2.5.0
-> removed   jsonm.1.0.2
-> removed   uutf.1.0.4
-> installed cmdliner.2.1.0
-> installed fmt.0.11.0
-> installed uutf.1.0.4
-> installed alcotest.1.9.1
-> installed jsonm.1.0.2
-> installed qcheck-alcotest.0.91
-> installed tyxml.4.6.0
-> installed junit.2.3.0
-> installed junit_alcotest.2.3.0
-> installed opam-core.2.5.0
-> installed opam-format.2.5.0
-> installed opam-repository.2.5.0
-> installed opam-state.2.5.0
-> installed spectrum_capabilities.1.0.0.alpha2
-> installed spectrum.1.0.0.alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-21 23:50.18 ---> saved as "d5e28428844eb246f4f36ff3be42353bf084335d2866574d58a1d9a2bc8e5239"

/home/opam: (run (shell  "opam reinstall --with-test --verbose spectrum.1.0.0.alpha2;\
                        \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-25.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\" != 'spectrum.1.0.0.alpha2' && 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 spectrum 1.0.0.alpha2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [spectrum: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "spectrum" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/spectrum.1.0.0.alpha2)
- (cd _build/default/lib/spectrum/test && ./test_stag.exe)
- Testing `Stag'.
- This run has ID `UVW6U3B3'.
- 
-   [OK]          Styles                              0   Bold.
-   [OK]          Styles                              1   Dim.
-   [OK]          Styles                              2   Italic.
-   [OK]          Styles                              3   Underline.
-   [OK]          Styles                              4   Blink.
-   [OK]          Styles                              5   RapidBlink.
-   [OK]          Styles                              6   Inverse.
-   [OK]          Styles                              7   Hidden.
-   [OK]          Styles                              8   Strikethru.
-   [OK]          Styles                              9   Overline.
-   [OK]          Foreground colors                   0   Named: red.
-   [OK]          Foreground colors                   1   Hex short: FC9.
-   [OK]          Foreground colors                   2   Hex long: f0c090.
-   [OK]          Foreground colors                   3   Rgb: (9, 21, 231).
-   [OK]          Foreground colors                   4   Hsl: (75, 100, 50).
-   [OK]          Background colors                   0   Named: red.
-   [OK]          Background colors                   1   Hex: FC9.
-   [OK]          Background colors                   2   Rgb: (0, 0, 255).
-   [OK]          Compound tags                       0   Bold + Fg.
-   [OK]          Compound tags                       1   Bold + Fg + Bg.
-   [OK]          Nesting                             0   Nested stags.
-   [OK]          Mixed stag and string tags          0   Stag then string tag.
-   [OK]          Error handling                      0   Invalid color name.
-   [OK]          Error handling                      1   Invalid hex.
-   [OK]          Error handling                      2   Invalid RGB range.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/spectrum.1.0.0.alpha2/_build/default/lib/spectrum/test/_build/_tests/Stag'.
- Test Successful in 0.004s. 25 tests run.
- (cd _build/default/lib/spectrum/test && ./test_serializers.exe)
- Testing `Serializers'.
- This run has ID `HYM31FJG'.
- 
-   [OK]          Capability-based output          0   serializer outputs.
-   [OK]          Empty token list                 0   all serializers.
-   [OK]          Style controls                   0   styles across serializers.
-   [OK]          Foreground colors                0   foreground RGB.
-   [OK]          Background colors                0   background RGB.
-   [OK]          Named colors                     0   xterm256 named.
-   [OK]          Named colors                     1   basic named.
-   [OK]          Multiple tokens                  0   compound token list.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/spectrum.1.0.0.alpha2/_build/default/lib/spectrum/test/_build/_tests/Serializers'.
- Test Successful in 0.001s. 8 tests run.
- (cd _build/default/lib/spectrum/test && ./test_lexer.exe)
- Testing `Lexer'.
- This run has ID `YUXJVIUS'.
- 
-   [OK]          Styles                                     0   Bold.
-   [OK]          Styles                                     1   Rapid blink.
-   [OK]          Styles                                     2   Overline.
-   [OK]          Named colors                               0   Foreground (im...
-   [OK]          Named colors                               1   Foreground (ex...
-   [OK]          Named colors                               2   Background (ex...
-   [OK]          Named colors                               3   Foreground (im...
-   [OK]          Named colors                               4   Foreground (ex...
-   [OK]          Named colors                               5   Background (ex...
-   [OK]          Compound (manually-defined tests)          0   red, bold, bg ...
-   [OK]          Compound (manually-defined tests)          1   ignores whites...
-   [OK]          Compound tags from named colors            0   Red,Underline.
-   [OK]          Compound tags from named colors            1   Underline,Red.
-   [OK]          Compound tags from named colors            2   Bg Red,Underline.
-   [OK]          Compound tags from named colors            3   Underline,Bg Red.
-   [OK]          Compound tags from named colors            4   dark-olive-gre...
-   [OK]          Compound tags from named colors            5   Bold,dark-oliv...
-   [OK]          Compound tags from named colors            6   Red,Underline,...
-   [OK]          Compound tags from named colors            7   Underline,Red,...
-   [OK]          Compound tags from named colors            8   Underline,Bg R...
-   [OK]          Compound tags from named colors            9   Underline,Bg R...
-   [OK]          Compound tags from named colors           10   Red,Bg Red,Und...
-   [OK]          Compound tags from named colors           11   Bg Red,Red,Und...
-   [OK]          Compound tags from named colors           12   Bg Red,Underli...
-   [OK]          Compound tags from named colors           13   Bg Red,Underli...
-   [OK]          Compound tags from named colors           14   Red,Bg Red,Bol...
-   [OK]          Compound tags from named colors           15   Bg Red,Red,Bol...
-   [OK]          Compound tags from named colors           16   Bg Red,Bold,Re...
-   [OK]          Compound tags from named colors           17   Bg Red,Bold,Un...
-   [OK]          Compound tags from named colors           18   Red,Underline,...
-   [OK]          Compound tags from named colors           19   Underline,Red,...
-   [OK]          Compound tags from named colors           20   Underline,Bold...
-   [OK]          Compound tags from named colors           21   Underline,Bold...
-   [OK]          Compound tags from named colors           22   Red,Bold,Under...
-   [OK]          Compound tags from named colors           23   Bold,Red,Under...
-   [OK]          Compound tags from named colors           24   Bold,Underline...
-   [OK]          Compound tags from named colors           25   Bold,Underline...
-   [OK]          Compound tags from named colors           26   Red,Bold,Bg Re...
-   [OK]          Compound tags from named colors           27   Bold,Red,Bg Re...
-   [OK]          Compound tags from named colors           28   Bold,Bg Red,Re...
-   [OK]          Compound tags from named colors           29   Bold,Bg Red,Un...
-   [OK]          Hex colors                                 0   Foreground (im...
-   [OK]          Hex colors                                 1   Foreground (ex...
-   [OK]          Hex colors                                 2   Background (ex...
-   [OK]          Hex colors                                 3   Foreground (im...
-   [OK]          Hex colors                                 4   Foreground (ex...
-   [OK]          Hex colors                                 5   Background (ex...
-   [OK]          Hex colors                                 6   Foreground (im...
-   [OK]          Hex colors                                 7   Foreground (ex...
-   [OK]          Hex colors                                 8   Background (ex...
-   [OK]          Hex colors                                 9   Foreground (im...
-   [OK]          Hex colors                                10   Foreground (ex...
-   [OK]          Hex colors                                11   Background (ex...
-   [OK]          Compound tags from hex colors              0   #F00,Underline.
-   [OK]          Compound tags from hex colors              1   Underline,#F00.
-   [OK]          Compound tags from hex colors              2   Bg #f0c090,Bold.
-   [OK]          Compound tags from hex colors              3   Bold,Bg #f0c090.
-   [OK]          Compound tags from hex colors              4   #F00,Underline...
-   [OK]          Compound tags from hex colors              5   Underline,#F00...
-   [OK]          Compound tags from hex colors              6   Underline,Bg #...
-   [OK]          Compound tags from hex colors              7   Underline,Bg #...
-   [OK]          Compound tags from hex colors              8   #F00,Bg #f0c09...
-   [OK]          Compound tags from hex colors              9   Bg #f0c090,#F0...
-   [OK]          Compound tags from hex colors             10   Bg #f0c090,Und...
-   [OK]          Compound tags from hex colors             11   Bg #f0c090,Und...
-   [OK]          Compound tags from hex colors             12   #F00,Bg #f0c09...
-   [OK]          Compound tags from hex colors             13   Bg #f0c090,#F0...
-   [OK]          Compound tags from hex colors             14   Bg #f0c090,Bol...
-   [OK]          Compound tags from hex colors             15   Bg #f0c090,Bol...
-   [OK]          Compound tags from hex colors             16   #F00,Underline...
-   [OK]          Compound tags from hex colors             17   Underline,#F00...
-   [OK]          Compound tags from hex colors             18   Underline,Bold...
-   [OK]          Compound tags from hex colors             19   Underline,Bold...
-   [OK]          Compound tags from hex colors             20   #F00,Bold,Unde...
-   [OK]          Compound tags from hex colors             21   Bold,#F00,Unde...
-   [OK]          Compound tags from hex colors             22   Bold,Underline...
-   [OK]          Compound tags from hex colors             23   Bold,Underline...
-   [OK]          Compound tags from hex colors             24   #F00,Bold,Bg #...
-   [OK]          Compound tags from hex colors             25   Bold,#F00,Bg #...
-   [OK]          Compound tags from hex colors             26   Bold,Bg #f0c09...
-   [OK]          Compound tags from hex colors             27   Bold,Bg #f0c09...
-   [OK]          RGB colors                                 0   Fg (implicit):...
-   [OK]          RGB colors                                 1   Fg (implicit):...
-   [OK]          RGB colors                                 2   Fg (implicit):...
-   [OK]          RGB colors                                 3   Fg (explicit):...
-   [OK]          RGB colors                                 4   Bg (explicit):...
-   [OK]          RGB colors                                 5   Fg (explicit):...
-   [OK]          RGB colors                                 6   Fg (explicit):...
-   [OK]          HSL colors                                 0   Fg (implicit):...
-   [OK]          HSL colors                                 1   Fg (implicit):...
-   [OK]          HSL colors                                 2   Fg (implicit):...
-   [OK]          HSL colors                                 3   Fg (explicit):...
-   [OK]          HSL colors                                 4   Bg (explicit):...
-   [OK]          HSL colors                                 5   Fg (explicit):...
-   [OK]          HSL colors                                 6   Fg (explicit):...
-   [OK]          HSL colors                                 7   Fg (explicit):...
-   [OK]          HSL colors                                 8   Fg (explicit):...
-   [OK]          HSL colors                                 9   Fg (implicit):...
-   [OK]          Invalid tags                               0   Invalid color ...
-   [OK]          Invalid tags                               1   Invalid color ...
-   [OK]          Invalid tags                               2   Invalid color ...
-   [OK]          Invalid tags                               3   Invalid color ...
-   [OK]          Invalid tags                               4   Invalid tag (n...
-   [OK]          Invalid tags                               5   Invalid color ...
-   [OK]          Invalid tags                               6   Invalid rgb co...
-   [OK]          Invalid tags                               7   Invalid color ...
-   [OK]          Invalid tags                               8   Invalid color ...
-   [OK]          Invalid tags                               9   Invalid hsl co...
-   [OK]          Invalid tags                              10   Invalid color ...
-   [OK]          Invalid tags                              11   Invalid color ...
-   [OK]          Invalid tags                              12   Invalid tag (n...
-   [OK]          Invalid tags                              13   Invalid color ...
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/spectrum.1.0.0.alpha2/_build/default/lib/spectrum/test/_build/_tests/Lexer'.
- Test Successful in 0.011s. 112 tests run.
- (cd _build/default/lib/spectrum/test && ./test_parser.exe)
- Testing `Parser'.
- This run has ID `PY30MFV8'.
- 
-   [OK]          Style - Valid names                       0   all valid style...
-   [OK]          Style - Invalid names                     0   unknown and emp...
-   [OK]          Style - Invalid names                     1   case insensitiv...
-   [OK]          Style - Code mapping                      0   all styles to c...
-   [OK]          Colors - Named                            0   valid xterm256 ...
-   [OK]          Colors - Named                            1   invalid color n...
-   [OK]          Colors - Hex                              0   valid hex formats.
-   [OK]          Colors - Hex                              1   invalid hex for...
-   [OK]          Colors - RGB                              0   valid RGB values.
-   [OK]          Colors - RGB                              1   out of range RG...
-   [OK]          Colors - HSL                              0   valid HSL values.
-   [OK]          Colors - HSL                              1   out of range HS...
-   [OK]          Qualified colors                          0   None qualifier ...
-   [OK]          Qualified colors                          1   fg qualifier.
-   [OK]          Qualified colors                          2   bg qualifier.
-   [OK]          Qualified colors                          3   invalid qualifier.
-   [OK]          Token aggregation - Empty/Single          0   empty token list.
-   [OK]          Token aggregation - Empty/Single          1   single control.
-   [OK]          Token aggregation - Controls              0   multiple differ...
-   [OK]          Token aggregation - Controls              1   duplicate contr...
-   [OK]          Token aggregation - Colors                0   foreground color.
-   [OK]          Token aggregation - Colors                1   background color.
-   [OK]          Token aggregation - Colors                2   both colors.
-   [OK]          Token aggregation - Colors                3   multiple fg col...
-   [OK]          Token aggregation - Mixed                 0   mixed controls ...
-   [OK]          RGBA conversion                           0   color to rgba.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/spectrum.1.0.0.alpha2/_build/default/lib/spectrum/test/_build/_tests/Parser'.
- Test Successful in 0.003s. 26 tests run.
- (cd _build/default/lib/spectrum/test && ./test_properties.exe)
- qcheck random seed: 68080642
- Testing `Properties (spectrum)'.
- This run has ID `SLVKJCOE'.
- 
-   [OK]          Parser/Lexer properties          0   Style.of_string is case-...
-   [OK]          Parser/Lexer properties          1   compound tag: style,colo...
-   [OK]          Parser/Lexer properties          2   valid 6-digit hex tags a...
-   [OK]          Parser/Lexer properties          3   FORCE_COLOR: values 0->1...
-   [OK]          Parser/Lexer properties          4   non-TTY without FORCE_CO...
-   [OK]          Parser/Lexer properties          5   Stag produces same outpu...
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/spectrum.1.0.0.alpha2/_build/default/lib/spectrum/test/_build/_tests/Properties U+0028spectrumU+0029'.
- Test Successful in 0.008s. 6 tests run.
- (cd _build/default/lib/spectrum/test && ./test_printer.exe)
- Testing `Printer'.
- This run has ID `SUD72CLS'.
- 
-   [OK]          Exn Simple: Single style             0   Bold.
-   [OK]          Exn Simple: Single style             1   Bold (case-insensiti...
-   [OK]          Exn Simple: Single style             2   Rapid blink.
-   [OK]          Exn Simple: Single colour            0   Named (foreground): ...
-   [OK]          Exn Simple: Single colour            1   Named (foreground): ...
-   [OK]          Exn Simple: Single colour            2   Hex (foreground): FC9.
-   [OK]          Exn Simple: Single colour            3   Hex (foreground): f0...
-   [OK]          Exn Simple: Single colour            4   Named (background): ...
-   [OK]          Exn Simple: Single colour            5   Hex (background): FC9.
-   [OK]          Exn Simple: Single colour            6   Hex (background): f0...
-   [OK]          Exn Simple: Single colour            7   rgb(9, 21, 231).
-   [OK]          Exn Simple: Single colour            8   hsl(75 100 50).
-   [OK]          Exn Simple: Single colour            9   hsl(75 100% 50%).
-   [OK]          Exn Simple: Nested                   0   0-3-0 tag stack.
-   [OK]          Exn Simple: Nested                   1   0-5-0 deep nesting.
-   [OK]          Exn Simple: Format args              0   One string arg.
-   [OK]          Noexn Simple: Single style           0   Bold.
-   [OK]          Noexn Simple: Single style           1   Bold (case-insensiti...
-   [OK]          Noexn Simple: Single style           2   Rapid blink.
-   [OK]          Noexn Simple: Single colour          0   Named (foreground): ...
-   [OK]          Noexn Simple: Single colour          1   Named (foreground): ...
-   [OK]          Noexn Simple: Single colour          2   Hex (foreground): FC9.
-   [OK]          Noexn Simple: Single colour          3   Hex (foreground): f0...
-   [OK]          Noexn Simple: Single colour          4   Named (background): ...
-   [OK]          Noexn Simple: Single colour          5   Hex (background): FC9.
-   [OK]          Noexn Simple: Single colour          6   Hex (background): f0...
-   [OK]          Noexn Simple: Single colour          7   rgb(9, 21, 231).
-   [OK]          Noexn Simple: Single colour          8   hsl(75 100 50).
-   [OK]          Noexn Simple: Single colour          9   hsl(75 100% 50%).
-   [OK]          Noexn Simple: Nested                 0   0-3-0 tag stack.
-   [OK]          Noexn Simple: Nested                 1   0-5-0 deep nesting.
-   [OK]          Noexn Simple: Format args            0   One string arg.
-   [OK]          Exn Format: Single style             0   Bold.
-   [OK]          Exn Format: Single style             1   Bold (case-insensiti...
-   [OK]          Exn Format: Single style             2   Rapid blink.
-   [OK]          Exn Format: Single colour            0   Named (foreground): ...
-   [OK]          Exn Format: Single colour            1   Named (foreground): ...
-   [OK]          Exn Format: Single colour            2   Hex (foreground): FC9.
-   [OK]          Exn Format: Single colour            3   Hex (foreground): f0...
-   [OK]          Exn Format: Single colour            4   Named (background): ...
-   [OK]          Exn Format: Single colour            5   Hex (background): FC9.
-   [OK]          Exn Format: Single colour            6   Hex (background): f0...
-   [OK]          Exn Format: Single colour            7   rgb(9, 21, 231).
-   [OK]          Exn Format: Single colour            8   hsl(75 100 50).
-   [OK]          Exn Format: Single colour            9   hsl(75 100% 50%).
-   [OK]          Exn Format: Nested                   0   0-3-0 tag stack.
-   [OK]          Exn Format: Nested                   1   0-5-0 deep nesting.
-   [OK]          Exn Format: Format args              0   One string arg.
-   [OK]          Noexn Format: Single style           0   Bold.
-   [OK]          Noexn Format: Single style           1   Bold (case-insensiti...
-   [OK]          Noexn Format: Single style           2   Rapid blink.
-   [OK]          Noexn Format: Single colour          0   Named (foreground): ...
-   [OK]          Noexn Format: Single colour          1   Named (foreground): ...
-   [OK]          Noexn Format: Single colour          2   Hex (foreground): FC9.
-   [OK]          Noexn Format: Single colour          3   Hex (foreground): f0...
-   [OK]          Noexn Format: Single colour          4   Named (background): ...
-   [OK]          Noexn Format: Single colour          5   Hex (background): FC9.
-   [OK]          Noexn Format: Single colour          6   Hex (background): f0...
-   [OK]          Noexn Format: Single colour          7   rgb(9, 21, 231).
-   [OK]          Noexn Format: Single colour          8   hsl(75 100 50).
-   [OK]          Noexn Format: Single colour          9   hsl(75 100% 50%).
-   [OK]          Noexn Format: Nested                 0   0-3-0 tag stack.
-   [OK]          Noexn Format: Nested                 1   0-5-0 deep nesting.
-   [OK]          Noexn Format: Format args            0   One string arg.
-   [OK]          Exn: Invalid tags                    0   Invalid color name (...
-   [OK]          Exn: Invalid tags                    1   Invalid color name (...
-   [OK]          Exn: Invalid tags                    2   Invalid color name (...
-   [OK]          Exn: Invalid tags                    3   Invalid color name.
-   [OK]          Exn: Invalid tags                    4   Invalid tag (not mat...
-   [OK]          Exn: Invalid tags                    5   Invalid color name (...
-   [OK]          Exn: Invalid tags                    6   Invalid tag (not mat...
-   [OK]          Exn: Invalid tags                    7   Invalid color name (...
-   [OK]          Noexn: Invalid tags                  0   Invalid color name (...
-   [OK]          Noexn: Invalid tags                  1   Invalid color name (...
-   [OK]          Noexn: Invalid tags                  2   Invalid color name (...
-   [OK]          Noexn: Invalid tags                  3   Invalid color name.
-   [OK]          Noexn: Invalid tags                  4   Invalid tag (not mat...
-   [OK]          Noexn: Invalid tags                  5   Invalid color name (...
-   [OK]          Noexn: Invalid tags                  6   Invalid tag (not mat...
-   [OK]          Noexn: Invalid tags                  7   Invalid color name (...
-   [OK]          Noexn: Invalid tags                  8   Recovery after inval...
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/spectrum.1.0.0.alpha2/_build/default/lib/spectrum/test/_build/_tests/Printer'.
- Test Successful in 0.008s. 81 tests run.
-> compiled  spectrum.1.0.0.alpha2
-> removed   spectrum.1.0.0.alpha2
-> installed spectrum.1.0.0.alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-21 23:50.26 ---> saved as "d95438fe9e43b9f31cb4626add5ecc21c6c885028e3369829894dd153e443fde"
Job succeeded
2026-03-21 23:50.36: Job succeeded