(for PR #29581)

2026-03-21 23:40.10: New job: build spectrum_palettes.1.0.0.alpha2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29581/head (c52e39f11b5df3e4bb74becd6c0b64f6f336b223)
                              on debian-13-ocaml-4.09/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.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a
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_palettes.1.0.0.alpha2 1.0.0.alpha2
RUN opam reinstall spectrum_palettes.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_palettes.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:debian-13-ocaml-4.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a-spectrum_palettes.1.0.0.alpha2-c52e39f11b5df3e4bb74becd6c0b64f6f336b223"
2026-03-21 23:40.10: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a)
 (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_palettes.1.0.0.alpha2 1.0.0.alpha2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall spectrum_palettes.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_palettes.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:40.14: Waiting for worker…
2026-03-21 23:40.19: Got resource from pool OCluster
Building on eumache
Updating files:  66% (12225/18509)
Updating files:  67% (12402/18509)
Updating files:  68% (12587/18509)
Updating files:  69% (12772/18509)
Updating files:  70% (12957/18509)
Updating files:  71% (13142/18509)
Updating files:  72% (13327/18509)
Updating files:  73% (13512/18509)
Updating files:  74% (13697/18509)
Updating files:  75% (13882/18509)
Updating files:  76% (14067/18509)
Updating files:  77% (14252/18509)
Updating files:  78% (14438/18509)
Updating files:  79% (14623/18509)
Updating files:  80% (14808/18509)
Updating files:  81% (14993/18509)
Updating files:  82% (15178/18509)
Updating files:  83% (15363/18509)
Updating files:  84% (15548/18509)
Updating files:  85% (15733/18509)
Updating files:  86% (15918/18509)
Updating files:  87% (16103/18509)
Updating files:  88% (16288/18509)
Updating files:  89% (16474/18509)
Updating files:  90% (16659/18509)
Updating files:  91% (16844/18509)
Updating files:  92% (17029/18509)
Updating files:  93% (17214/18509)
Updating files:  94% (17399/18509)
Updating files:  95% (17584/18509)
Updating files:  96% (17769/18509)
Updating files:  97% (17954/18509)
Updating files:  98% (18139/18509)
Updating files:  99% (18324/18509)
Updating files: 100% (18509/18509)
Updating files: 100% (18509/18509), done.
HEAD is now at e26ca33066 conf-findutils: add missing maintainer field
warning: The last gc run reported the following. Please correct the root cause
and remove .git/gc.log
Automatic cleanup will not be performed until the file is removed.

warning: There are too many unreachable loose objects; run 'git prune' to remove them.

HEAD is now at 76bf2ed944 Merge pull request #29572 from hannesm/release-letsencrypt-v2.0.0
Updating 76bf2ed944..c52e39f11b
Fast-forward
Auto packing the repository in the background for optimum performance.
See "git help gc" for manual housekeeping.
warning: The last gc run reported the following. Please correct the root cause
and remove .git/gc.log
Automatic cleanup will not be performed until the file is removed.

warning: There are too many unreachable loose objects; run 'git prune' to remove them.

 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.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a)
2026-03-21 23:40.57 ---> saved as "28cee70f2eb4fa8fb33112744eaac147d7365d8f1114c87e4f5433c6be525f95"

/: (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:40.58 ---> saved as "eb34a849434848887e17643bfc5b19cf7996da90a81882ef0bd61eaa7fd9ff7e"

/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-03-21 23:41.39 ---> saved as "0003a71ebd4ab3ce935ff5f3e04e9bd6e993a18314c88922744f54e8dc023704"

/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=debian os-version=13
# 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.09
# invariant            ["ocaml-base-compiler" {= "4.09.1"}]
# compiler-packages    ocaml-base-compiler.4.09.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.09/lib/ocaml/stublibs:/home/opam/.opam/4.09/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.09.1
2026-03-21 23:41.41 ---> saved as "f3d1e9811ca4558178fb38657f03c553e6d2a5ba134103e097a5bee09900a528"

/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:41.52 ---> saved as "7c1a5b88a5a052e9a2eeb60b1790687f985ea94a444a5352580992b19ba6e790"

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-21 23:42.03 ---> saved as "32a38221fd9b97243a631ba9b470816f9d97cb8944aff209c53de1b3167d30f3"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/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 (7159 kB/s)
- Reading package lists...
- 
2026-03-21 23:42.29 ---> saved as "b32749295b3f4865a1ba28a7757850a7de1baac0ef08899aea780b43c0ef5524"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall spectrum_palettes.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_palettes.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_palettes.1.0.0.alpha2 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.09.1
    - spectrum_palettes >= 1.0.0.alpha2 -> ocaml >= 4.14 -> ocaml-variants (< 4.14.5~ | >= 5.0.0~)
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - spectrum_palettes >= 1.0.0.alpha2 -> ocaml >= 4.14 -> ocaml-variants < 4.14.1~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - spectrum_palettes >= 1.0.0.alpha2 -> ocaml >= 4.14 -> ocaml-variants >= 5.0.0~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall spectrum_palettes.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_palettes.1.0.0.alpha2' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2026-03-21 23:42.55: Job failed: Failed: Build failed
2026-03-21 23:42.55: Log analysis:
2026-03-21 23:42.55: >>> 
No solution found, exiting
 (score = 100)
2026-03-21 23:42.55: [SKIP] Package not available