(for PR #29581)

2026-03-21 23:40.11: New job: build spectrum_capabilities.1.0.0.alpha2, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29581/head (c52e39f11b5df3e4bb74becd6c0b64f6f336b223)
                              on debian-13-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:debian-13-ocaml-4.14@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn spectrum_capabilities.1.0.0.alpha2 1.0.0.alpha2
RUN opam depext spectrum_capabilities.1.0.0.alpha2 && opam reinstall spectrum_capabilities.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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'spectrum_capabilities.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.11: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e-spectrum_capabilities.1.0.0.alpha2-c52e39f11b5df3e4bb74becd6c0b64f6f336b223"
2026-03-21 23:40.11: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "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 depext -u || true"))
 (run (shell "opam pin add -k version -yn spectrum_capabilities.1.0.0.alpha2 1.0.0.alpha2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext spectrum_capabilities.1.0.0.alpha2 && opam reinstall spectrum_capabilities.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 \"\\\"debian-13\\\"\"; 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_capabilities.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.11: Waiting for resource in pool OCluster
2026-03-21 23:45.50: Waiting for worker…
2026-03-21 23:49.40: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
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:debian-13-ocaml-4.14@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e)
2026-03-21 23:49.47 ---> using "32cd5b5baf995c02200cf270da597dbb25becd220af2c200c00b8b241a742195" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2026-03-21 23:49.47 ---> saved as "c343c3c6295981533755a1ca2c0ec379cf8991cedf65b273884f45bb69211880"

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-03-21 23:50.35 ---> saved as "ec37f4969fa389f1d93f40c8a369ba074d0b0e28a83cb92c21189ed51e5fc57b"

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=13
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              71
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    4.14
2026-03-21 23:50.35 ---> saved as "1a5ecbfbfc9582e170b5ac395c88085a6267e6a7a0cc61c500ff92d9b7bd5356"

/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:50.47 ---> saved as "4b2335df7d21d8b42e5d811648a3c2c1a5799baf41f9d4d77f2f8561cd56c177"

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-21 23:50.56 ---> saved as "2f16541f8b08423989d3bdf971c79b75dea6e43efbd617c2c3c3f21b306e041a"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-03-21 23:51.09 ---> saved as "4e0f4c66470f12b6e016ad9e5f9b56724b7d35d57825a12c0482b1504030e8d8"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
    apt-get update
Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9671 kB]
Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [114 kB]
Fetched 10.0 MB in 1s (7431 kB/s)
Reading package lists...
# OS package update successful
2026-03-21 23:51.11 ---> saved as "1e0dad57f9c9384bfb592f563445f999f49275b67bbf6bcb98dff72ce4f895b4"

/home/opam: (run (shell "opam pin add -k version -yn spectrum_capabilities.1.0.0.alpha2 1.0.0.alpha2"))
spectrum_capabilities is now pinned to version 1.0.0.alpha2
2026-03-21 23:51.14 ---> saved as "7bf62b980b44d147cac7de6eefc4b6babcbf06be5ff35d699e7d5f802c05673c"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext spectrum_capabilities.1.0.0.alpha2 && opam reinstall spectrum_capabilities.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 \"\\\"debian-13\\\"\"; 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_capabilities.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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
spectrum_capabilities.1.0.0.alpha2 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install dune                  3.22.0        [required by spectrum_capabilities]
  - install ocamlbuild            0.16.1        [required by jsonm]
  - install ocamlfind             1.9.8         [required by ppx_deriving]
  - install swhid_core            0.1           [required by opam-core]
  - install stdlib-shims          0.3.0         [required by ppxlib]
  - install spdx_licenses         1.4.0         [required by opam-state]
  - install sexplib0              v0.17.0       [required by ppxlib]
  - install re                    1.14.0        [required by spectrum_capabilities]
  - install ppx_derivers          1.2.1         [required by ppx_deriving]
  - install patch                 3.1.0         [required by opam-state]
  - install opam-file-format      2.1.6         [required by opam-format]
  - install ocamlgraph            2.2.0         [required by opam-core]
  - install ocaml-compiler-libs   v0.12.4       [required by ppxlib]
  - install cppo                  1.8.0         [required by ppx_deriving]
  - install topkg                 1.1.1         [required by jsonm]
  - install sha                   1.15.4        [required by opam-core]
  - install ppxlib                0.37.0        [required by ppx_deriving]
  - install uutf                  1.0.4         [required by opam-core]
  - install ppx_deriving          6.1.1         [required by spectrum_capabilities]
  - install jsonm                 1.0.2         [required by opam-core]
  - install opam-core             2.5.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 spectrum_capabilities 1.0.0.alpha2*
===== 25 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[cppo.1.8.0] found in cache
[dune.3.22.0] found in cache
[jsonm.1.0.2] found in cache
[ocaml-compiler-libs.v0.12.4] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[ocamlgraph.2.2.0] found in cache
[opam-core.2.5.0] found in cache
[opam-file-format.2.1.6] found in cache
[opam-format.2.5.0] found in cache
[opam-repository.2.5.0] found in cache
[opam-state.2.5.0] found in cache
[patch.3.1.0] found in cache
[ppx_derivers.1.2.1] found in cache
[ppx_deriving.6.1.1] found in cache
[ppxlib.0.37.0] found in cache
[re.1.14.0] found in cache
[sexplib0.v0.17.0] found in cache
[sha.1.15.4] found in cache
[spdx_licenses.1.4.0] found in cache
[spectrum_capabilities.1.0.0.alpha2] found in cache
[stdlib-shims.0.3.0] found in cache
[swhid_core.0.1] found in cache
[topkg.1.1.1] found in cache
[uutf.1.0.4] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> 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 dune.3.22.0
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed patch.3.1.0
-> installed opam-file-format.2.1.6
-> installed sexplib0.v0.17.0
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.14.0
-> installed ocamlgraph.2.2.0
-> installed spdx_licenses.1.4.0
-> installed swhid_core.0.1
-> installed sha.1.15.4
-> installed opam-core.2.5.0
-> installed ppxlib.0.37.0
-> installed opam-format.2.5.0
-> installed ppx_deriving.6.1.1
-> installed opam-repository.2.5.0
-> installed opam-state.2.5.0
-> installed spectrum_capabilities.1.0.0.alpha2
Done.
# Run eval $(opam env) to update the current shell environment
2026-03-21 23:52.18 ---> saved as "af24b073b26f955945e74abed630d4baa5856097dd4ceb1863d0ac7619759295"
Job succeeded
2026-03-21 23:52.26: Job succeeded