(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 ubuntu-24.04-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:ubuntu-24.04-ocaml-4.14@sha256:458f06d1dec2c657e98484451140d4129abb934ad590479ec7b4b4a7bc60b6b8
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 "\"ubuntu-24.04\""; 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:ubuntu-24.04-ocaml-4.14@sha256:458f06d1dec2c657e98484451140d4129abb934ad590479ec7b4b4a7bc60b6b8-matrix.0.1.0-4219a994291bbd7606c64e62833ff523b0ca72c2"
2026-01-30 20:43.28: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:458f06d1dec2c657e98484451140d4129abb934ad590479ec7b4b4a7bc60b6b8)
 (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 \"\\\"ubuntu-24.04\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != '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 20:59.12: Waiting for worker…
2026-01-30 21:01.06: Got resource from pool OCluster
Building on laodoke.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:ubuntu-24.04-ocaml-4.14@sha256:458f06d1dec2c657e98484451140d4129abb934ad590479ec7b4b4a7bc60b6b8)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:458f06d1dec2c657e98484451140d4129abb934ad590479ec7b4b4a7bc60b6b8' locally
docker.io/ocaml/opam@sha256:458f06d1dec2c657e98484451140d4129abb934ad590479ec7b4b4a7bc60b6b8: Pulling from ocaml/opam
a3629ac5b9f4: Already exists
1df74ae2bf3e: Already exists
2563f25c1178: Already exists
f5fc2898bd97: Already exists
07bec2374ef4: Already exists
182b6598c3cc: Already exists
8c2da7c8c95f: Already exists
20cf8da7cf35: Already exists
7610f2cf1786: Already exists
7399021ff14f: Already exists
9456e89e55d4: Already exists
e5df944e4bd8: Already exists
2333fbde88eb: Already exists
13a073e08a30: Already exists
ec62492105dc: Already exists
f036ba372f52: Already exists
3682b95f48a4: Already exists
3682b95f48a4: Already exists
32baad6bd40c: Already exists
55ea33603a54: Already exists
01e4c8c454ad: Already exists
49e757bc4eaa: Already exists
4f4fb700ef54: Already exists
9ca2cd4333a3: Already exists
24fda3688513: Already exists
79b4050536fd: Already exists
a301a466fc25: Already exists
c92e4a5fb48f: Already exists
c232f3271d8c: Already exists
38ee7210bcfc: Already exists
8aa9bd545ce6: Already exists
894091e858fb: Already exists
77f8f8d20b66: Already exists
9dba2465b196: Already exists
9e601e55f327: Already exists
f35ddc136152: Already exists
9ae0bef3d320: Already exists
cea410b8abb3: Already exists
08accec35800: Already exists
17947165f33a: Already exists
9811f6717868: Already exists
785aa6530c08: Pulling fs layer
e5ae7628bb7b: Pulling fs layer
785aa6530c08: Waiting
4c8749b32c0c: Pulling fs layer
e5ae7628bb7b: Waiting
ed12334bba7e: Pulling fs layer
4c8749b32c0c: Waiting
ed12334bba7e: Waiting
785aa6530c08: Verifying Checksum
785aa6530c08: Download complete
e5ae7628bb7b: Verifying Checksum
e5ae7628bb7b: Download complete
4c8749b32c0c: Verifying Checksum
4c8749b32c0c: Download complete
ed12334bba7e: Download complete
785aa6530c08: Pull complete
e5ae7628bb7b: Pull complete
4c8749b32c0c: Pull complete
ed12334bba7e: Pull complete
Digest: sha256:458f06d1dec2c657e98484451140d4129abb934ad590479ec7b4b4a7bc60b6b8
Status: Downloaded newer image for ocaml/opam@sha256:458f06d1dec2c657e98484451140d4129abb934ad590479ec7b4b4a7bc60b6b8
2026-01-30 21:02.47 ---> saved as "ef22c250542bfdbbae9cc5c0c5dceee33d5c6eaa63ef93c0e62d649e6d282495"

/: (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.47 ---> saved as "c251ce5de8f1dcb3f4e9868a1767d064a61ed8a672fc9b46e38879811acd3f1e"

/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-01-30 21:03.19 ---> saved as "7b55e10f5dd0388aa6ba103350ef862c5c92b529b74ca73daa95dc41c93d1c35"

/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=24.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       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:03.19 ---> saved as "04a39fc8f9cbcda862ac5ac152045e90fc625ce172fbed975a274fc7bc2d10a3"

/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:03.27 ---> saved as "6a011008d5f0e7ef6ebeff21dbb4abb16ef9541e67aba1cbae658604f0fec279"

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-30 21:04.00 ---> saved as "3557916df3ba5c50d455ecd1749722a405a14e7d072a1fdce43ff908c936ddf9"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3008 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1194 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1975 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1776 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [34.8 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [38.1 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2171 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3219 kB]
- Fetched 13.8 MB in 1s (12.3 MB/s)
- Reading package lists...
- 
2026-01-30 21:04.27 ---> saved as "8beb7c0c25b47c7091000b022afd411e519db15187d8fa2e70b79fc5bf82bea3"

/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:04.28 ---> saved as "784e82212f350a1af4bce9d00e2853919dbb6f8c8a3ce10da68c22e8563b18b4"

/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 \"\\\"ubuntu-24.04\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != '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
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - matrix -> ocaml >= 5.4 -> ocaml-variants (< 5.5.1~ | >= 5.6.0~)
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - matrix -> ocaml >= 5.4 -> ocaml-variants < 5.4.1~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - matrix -> ocaml >= 5.4 -> ocaml-variants < 5.4.1~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

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 "\"ubuntu-24.04\""; 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:05.00: Job failed: Failed: Build failed
2026-01-30 21:05.00: Log analysis:
2026-01-30 21:05.00: >>> 
No solution found, exiting
 (score = 100)
2026-01-30 21:05.00: [SKIP] Package not available