(for PR #29312)

2026-01-30 20:43.28: New job: build matrix.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29312/head (4219a994291bbd7606c64e62833ff523b0ca72c2)
                              on alpine-3.22-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29312/head" && git reset --hard 4219a994
git fetch origin master
git merge --no-edit 0758d335cb8d1367e501844fb86be0b07e4918ac
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
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 matrix.0.1.0 0.1.0
RUN opam reinstall matrix.0.1.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"alpine-3.22\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'matrix.0.1.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2026-01-30 20:43.28: Using cache hint "ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216-matrix.0.1.0-4219a994291bbd7606c64e62833ff523b0ca72c2"
2026-01-30 20:43.28: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)
 (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 matrix.0.1.0 0.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall matrix.0.1.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"alpine-3.22\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'matrix.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-30 20:43.28: Waiting for resource in pool OCluster
2026-01-30 21:00.06: Waiting for worker…
2026-01-30 21:02.02: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 0758d335cb Merge pull request #29298 from raphael-proust/opam-publish-lwt_ppx.5.9.3
Updating 0758d335cb..4219a99429
Fast-forward
 packages/matrix/matrix.0.1.0/opam | 42 +++++++++++++++++++++++++++++++++++
 packages/mosaic/mosaic.0.1.0/opam | 46 +++++++++++++++++++++++++++++++++++++++
 packages/toffee/toffee.0.1.0/opam | 41 ++++++++++++++++++++++++++++++++++
 3 files changed, 129 insertions(+)
 create mode 100644 packages/matrix/matrix.0.1.0/opam
 create mode 100644 packages/mosaic/mosaic.0.1.0/opam
 create mode 100644 packages/toffee/toffee.0.1.0/opam

(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216' locally
docker.io/ocaml/opam@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216: Pulling from ocaml/opam
2d35ebdb57d9: Pulling fs layer
adfc86c1accf: Pulling fs layer
d09377907434: Pulling fs layer
a699cf44908b: Pulling fs layer
c088e74f1f31: Pulling fs layer
2d35ebdb57d9: Waiting
adfc86c1accf: Waiting
7e99e6eaa847: Pulling fs layer
d09377907434: Waiting
db4b89a22482: Pulling fs layer
a699cf44908b: Waiting
c088e74f1f31: Waiting
f1f17593da04: Pulling fs layer
7e99e6eaa847: Waiting
bb79fbf72548: Pulling fs layer
f1f17593da04: Waiting
cf69890848e3: Pulling fs layer
bb79fbf72548: Waiting
80e325d6146c: Pulling fs layer
66a526c41d4c: Pulling fs layer
347d38b311ac: Pulling fs layer
984612fde4c4: Pulling fs layer
0ac0da982daa: Pulling fs layer
984612fde4c4: Waiting
209c9bca9b0e: Pulling fs layer
3d3356d548ff: Pulling fs layer
c072da09f122: Pulling fs layer
209c9bca9b0e: Waiting
4f4fb700ef54: Pulling fs layer
3d3356d548ff: Waiting
c072da09f122: Waiting
eff3d806a4a8: Pulling fs layer
4f4fb700ef54: Waiting
f5c413f5234b: Pulling fs layer
09ddc5430e22: Pulling fs layer
2c7c283b1afc: Pulling fs layer
4af9a971b585: Pulling fs layer
f5c413f5234b: Waiting
df8d9be3e30d: Pulling fs layer
09ddc5430e22: Waiting
5e55ae3325a7: Pulling fs layer
4af9a971b585: Waiting
635cb27b4304: Pulling fs layer
5e55ae3325a7: Waiting
898fbde8ad42: Pulling fs layer
635cb27b4304: Waiting
66c0ffc92413: Pulling fs layer
c8cca855638d: Pulling fs layer
45d2501a899c: Pulling fs layer
898fbde8ad42: Waiting
10b0fe6926c2: Pulling fs layer
0a1d7b83a687: Pulling fs layer
10b0fe6926c2: Waiting
2c3441915309: Pulling fs layer
3d1a575b1bb0: Pulling fs layer
6e5fa830b59d: Pulling fs layer
72225f5a6449: Pulling fs layer
2c3441915309: Waiting
5a8b6a59afe3: Pulling fs layer
81299dd100ce: Pulling fs layer
72225f5a6449: Waiting
ad267db4d3a7: Pulling fs layer
5a8b6a59afe3: Waiting
81299dd100ce: Waiting
de32f8de692b: Pulling fs layer
ad267db4d3a7: Waiting
de32f8de692b: Waiting
2d35ebdb57d9: Verifying Checksum
2d35ebdb57d9: Download complete
adfc86c1accf: Download complete
2d35ebdb57d9: Pull complete
adfc86c1accf: Pull complete
d09377907434: Verifying Checksum
d09377907434: Download complete
d09377907434: Pull complete
c088e74f1f31: Verifying Checksum
c088e74f1f31: Download complete
7e99e6eaa847: Verifying Checksum
7e99e6eaa847: Download complete
db4b89a22482: Verifying Checksum
db4b89a22482: Download complete
f1f17593da04: Verifying Checksum
f1f17593da04: Download complete
a699cf44908b: Verifying Checksum
a699cf44908b: Download complete
cf69890848e3: Verifying Checksum
cf69890848e3: Download complete
bb79fbf72548: Verifying Checksum
bb79fbf72548: Download complete
80e325d6146c: Verifying Checksum
80e325d6146c: Download complete
347d38b311ac: Download complete
984612fde4c4: Download complete
66a526c41d4c: Verifying Checksum
66a526c41d4c: Download complete
209c9bca9b0e: Verifying Checksum
209c9bca9b0e: Download complete
0ac0da982daa: Download complete
3d3356d548ff: Verifying Checksum
3d3356d548ff: Download complete
c072da09f122: Verifying Checksum
c072da09f122: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
eff3d806a4a8: Download complete
09ddc5430e22: Verifying Checksum
09ddc5430e22: Download complete
f5c413f5234b: Download complete
2c7c283b1afc: Verifying Checksum
2c7c283b1afc: Download complete
df8d9be3e30d: Verifying Checksum
df8d9be3e30d: Download complete
4af9a971b585: Verifying Checksum
4af9a971b585: Download complete
5e55ae3325a7: Download complete
635cb27b4304: Download complete
898fbde8ad42: Verifying Checksum
898fbde8ad42: Download complete
66c0ffc92413: Verifying Checksum
66c0ffc92413: Download complete
c8cca855638d: Verifying Checksum
c8cca855638d: Download complete
45d2501a899c: Verifying Checksum
45d2501a899c: Download complete
0a1d7b83a687: Verifying Checksum
0a1d7b83a687: Download complete
3d1a575b1bb0: Download complete
6e5fa830b59d: Verifying Checksum
6e5fa830b59d: Download complete
72225f5a6449: Verifying Checksum
72225f5a6449: Download complete
a699cf44908b: Pull complete
c088e74f1f31: Pull complete
7e99e6eaa847: Pull complete
db4b89a22482: Pull complete
f1f17593da04: Pull complete
bb79fbf72548: Pull complete
cf69890848e3: Pull complete
80e325d6146c: Pull complete
66a526c41d4c: Pull complete
347d38b311ac: Pull complete
984612fde4c4: Pull complete
0ac0da982daa: Pull complete
209c9bca9b0e: Pull complete
3d3356d548ff: Pull complete
c072da09f122: Pull complete
4f4fb700ef54: Pull complete
5a8b6a59afe3: Verifying Checksum
5a8b6a59afe3: Download complete
eff3d806a4a8: Pull complete
f5c413f5234b: Pull complete
09ddc5430e22: Pull complete
2c7c283b1afc: Pull complete
81299dd100ce: Verifying Checksum
81299dd100ce: Download complete
4af9a971b585: Pull complete
10b0fe6926c2: Verifying Checksum
10b0fe6926c2: Download complete
df8d9be3e30d: Pull complete
5e55ae3325a7: Pull complete
635cb27b4304: Pull complete
898fbde8ad42: Pull complete
66c0ffc92413: Pull complete
de32f8de692b: Download complete
c8cca855638d: Pull complete
45d2501a899c: Pull complete
2c3441915309: Verifying Checksum
2c3441915309: Download complete
ad267db4d3a7: Verifying Checksum
ad267db4d3a7: Download complete
10b0fe6926c2: Pull complete
0a1d7b83a687: Pull complete
2c3441915309: Pull complete
3d1a575b1bb0: Pull complete
6e5fa830b59d: Pull complete
72225f5a6449: Pull complete
5a8b6a59afe3: Pull complete
81299dd100ce: Pull complete
ad267db4d3a7: Pull complete
de32f8de692b: Pull complete
Digest: sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
Status: Downloaded newer image for ocaml/opam@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
2026-01-30 21:02.04 ---> using "d1cef22083ba59d6db4e2f107091c68dd70ebdcc64c3894ad7db7be62ad17f4a" 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-01-30 21:02.04 ---> using "d2cb172e755b5e8a0ee24e133445a3ea22478f4e48886729c76cbcde08270342" 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.

[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
Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-30 21:02.04 ---> using "4b7ed401555204d1f183307388cb649d473c8a52ff80ce2f5a4e8504a88269c7" 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=alpine os-version=3.22.2
# 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-01-30 21:02.04 ---> using "9b1883465557a61ecd00e6282d59de098d32d80cc71a923a8ed0faa5af1a02e7" 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-01-30 21:02.04 ---> using "be1c70f0be6391803fdc2f3adb75bd0fc31dd6c9a80328fabfc5d1e074dcb1ff" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-30 21:02.11 ---> saved as "547b62c2360a377da8ceb373dd558510dc8f914afb639b468d34da776a4eb8d8"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-30 21:02.39 ---> saved as "b6edf431aac9508b108eb624fe3d7112178e554e3005f649fbeaad921fcfdd57"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.22.3-1-gc6c5e5eda18 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.3-2-gf789f241095 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20260127-175-g5524259eafb [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-229-gc31cd1a0916 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-227-g9d44b00f373 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60856 distinct packages available
2026-01-30 21:02.41 ---> saved as "4d0acaa839a75902764f4fb3e9362c81a4e6e417fd435555a215999d80c35207"

/home/opam: (run (shell "opam pin add -k version -yn matrix.0.1.0 0.1.0"))
matrix is now pinned to version 0.1.0
2026-01-30 21:02.43 ---> saved as "d336675439e8f491d371306bf977de39673fe6e933095b2522a323cfe8687f88"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall matrix.0.1.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"alpine-3.22\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'matrix.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
matrix.0.1.0 is not installed. Install it? [Y/n] y
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.14.2 -> ocaml = 4.14.2
    - matrix -> ocaml >= 5.4
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - matrix -> ocaml >= 5.4 -> ocaml-variants >= 5.4.0~

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall matrix.0.1.0;
        res=$?;
        test "$res" != 31 && exit "$res";
        export OPAMCLI=2.0;
        build_dir=$(opam var prefix)/.opam-switch/build;
        failed=$(ls "$build_dir");
        partial_fails="";
        for pkg in $failed; do
          if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"alpine-3.22\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'matrix.0.1.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2026-01-30 21:03.04: Job failed: Failed: Build failed
2026-01-30 21:03.04: Log analysis:
2026-01-30 21:03.04: >>> 
No solution found, exiting
 (score = 100)
2026-01-30 21:03.04: [SKIP] Package not available