(for PR #29068)

2026-03-19 08:08.42: New job: build matcha.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29068/head (199fe28cd74a5ffe7f2f116239daf07e8ca8c28f)
                              on debian-13-ocaml-4.14/arm32v7

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29068/head" && git reset --hard 199fe28c
git fetch origin master
git merge --no-edit 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:240308a5d75926948dbd1ab448e6f5b34c6a57e65a302c58d266a8b73278c8ee
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 matcha.0.1.0 0.1.0
RUN opam reinstall matcha.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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'matcha.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-03-19 08:08.42: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:240308a5d75926948dbd1ab448e6f5b34c6a57e65a302c58d266a8b73278c8ee-matcha.0.1.0-199fe28cd74a5ffe7f2f116239daf07e8ca8c28f"
2026-03-19 08:08.42: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:240308a5d75926948dbd1ab448e6f5b34c6a57e65a302c58d266a8b73278c8ee)
 (shell /usr/bin/linux32 /bin/sh -c)
 (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 matcha.0.1.0 0.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall matcha.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 \"\\\"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\" != 'matcha.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-03-19 08:08.42: Waiting for resource in pool OCluster
2026-03-19 08:08.44: Waiting for worker…
2026-03-19 08:08.59: Got resource from pool OCluster
Building on molpadia.caelum.ci.dev
Updating files:  72% (13438/18505)
Updating files:  73% (13509/18505)
Updating files:  74% (13694/18505)
Updating files:  75% (13879/18505)
Updating files:  76% (14064/18505)
Updating files:  77% (14249/18505)
Updating files:  78% (14434/18505)
Updating files:  79% (14619/18505)
Updating files:  80% (14804/18505)
Updating files:  81% (14990/18505)
Updating files:  82% (15175/18505)
Updating files:  83% (15360/18505)
Updating files:  84% (15545/18505)
Updating files:  85% (15730/18505)
Updating files:  86% (15915/18505)
Updating files:  87% (16100/18505)
Updating files:  88% (16285/18505)
Updating files:  89% (16470/18505)
Updating files:  90% (16655/18505)
Updating files:  91% (16840/18505)
Updating files:  92% (17025/18505)
Updating files:  93% (17210/18505)
Updating files:  94% (17395/18505)
Updating files:  95% (17580/18505)
Updating files:  96% (17765/18505)
Updating files:  97% (17950/18505)
Updating files:  98% (18135/18505)
Updating files:  99% (18320/18505)
Updating files: 100% (18505/18505)
Updating files: 100% (18505/18505), done.
HEAD is now at 79d2d92c08 [new release] dune (18 packages) (3.22.0)
HEAD is now at 9f189ca4f9 Merge pull request #29562 from shonfeder/release-dune-3.22.0
Merge made by the 'ort' strategy.
 packages/matcha/matcha.0.1.0/opam | 40 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 packages/matcha/matcha.0.1.0/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:240308a5d75926948dbd1ab448e6f5b34c6a57e65a302c58d266a8b73278c8ee)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:240308a5d75926948dbd1ab448e6f5b34c6a57e65a302c58d266a8b73278c8ee' locally
docker.io/ocaml/opam@sha256:240308a5d75926948dbd1ab448e6f5b34c6a57e65a302c58d266a8b73278c8ee: Pulling from ocaml/opam
e7e4c87ce695: Already exists
098244b1fe4f: Already exists
94a818ec2cdc: Already exists
29e77b813c7f: Already exists
b9dc986333a7: Already exists
023a3b8ea315: Already exists
2684ea5ea2fe: Already exists
93c319c970b2: Already exists
03f63d243d48: Already exists
237874024f5b: Already exists
954f264158bf: Already exists
85f6eb6723bd: Already exists
2882e9da3bb0: Already exists
4aabbd87a4c4: Already exists
4f386ee1e947: Already exists
76eac5355b1e: Already exists
7732af2249d2: Already exists
0864fc6233a3: Already exists
74a602ddff51: Already exists
eff8656d1a08: Already exists
480ead97e7de: Already exists
71d9c83b5938: Already exists
4f4fb700ef54: Already exists
46ffbb314b18: Already exists
9ad678cce639: Already exists
cee0ad8655f3: Already exists
d7a6444c98ec: Already exists
fb7ac70d48b8: Already exists
9e9d8c0fc63b: Already exists
4fd15bd8b00c: Already exists
cfb25ffd51ce: Already exists
a1d4a67b1423: Already exists
b5f05950c5d7: Already exists
ffaeb3c9d76d: Already exists
4c3b6722757e: Already exists
0f58a95c7a9b: Already exists
c3e40142c411: Already exists
7f8475cb6605: Already exists
05a50efaf303: Already exists
6b01dec062a8: Already exists
9fd1e9989233: Already exists
433ff276b12f: Pulling fs layer
efd9b50fadc4: Pulling fs layer
d1391430121a: Pulling fs layer
f656d97c5aae: Pulling fs layer
f656d97c5aae: Waiting
efd9b50fadc4: Download complete
d1391430121a: Download complete
f656d97c5aae: Verifying Checksum
f656d97c5aae: Download complete
433ff276b12f: Verifying Checksum
433ff276b12f: Download complete
433ff276b12f: Pull complete
efd9b50fadc4: Pull complete
d1391430121a: Pull complete
f656d97c5aae: Pull complete
Digest: sha256:240308a5d75926948dbd1ab448e6f5b34c6a57e65a302c58d266a8b73278c8ee
Status: Downloaded newer image for ocaml/opam@sha256:240308a5d75926948dbd1ab448e6f5b34c6a57e65a302c58d266a8b73278c8ee
2026-03-19 08:09.30 ---> using "877ed5cf0a98c815bb2e7ba009eecea1fd1a0ff506ee70a6bbbdb6e441d64adc" from cache

/: (shell /usr/bin/linux32 /bin/sh -c)

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-19 08:09.30 ---> using "29504d8ce018e095f39d6948933093131b27893320780d584f518b7e28db3d26" 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.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-19 08:09.30 ---> using "274e9bbf338c2fc3fcd256946ae98f58154fd513f1409c884b90a1e669746702" 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=arm32 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                 79
# 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-19 08:09.30 ---> using "534e3dda0904378096cc690cedd47a598cf362deec7a171e4e9faeb7ce9226ef" 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-03-19 08:09.30 ---> using "9476d866306dbb71549d2145a07007bad19273087f82aeda92b3a37874047f0f" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-19 08:09.38 ---> saved as "4dc8f3c1b2b9071b417b6ba191900a2b66284ddd5299257187e61de4b3a30d73"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-19 08:10.14 ---> saved as "9ee8d2859f7baa762ebe821089386f0fdbf05e9cb695db5e4398ff9f8b6b913d"

/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 armhf Packages [9237 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main armhf Packages [109 kB]
- Fetched 9577 kB in 9s (1118 kB/s)
- Reading package lists...
- 
2026-03-19 08:10.24 ---> saved as "d14a1471743b3e46c127edc8be93b6a9f460688da1548f33ec08cd7260f9de3e"

/home/opam: (run (shell "opam pin add -k version -yn matcha.0.1.0 0.1.0"))
matcha is now pinned to version 0.1.0
2026-03-19 08:10.25 ---> saved as "d1dfedc8a48a10e652c8314294658ca36e90fcc8eec92a0f3fa29d27040e7db5"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall matcha.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 \"\\\"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\" != 'matcha.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"))
matcha.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
    - matcha -> ocaml >= 5.3.0
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - matcha -> ocaml >= 5.3.0 -> ocaml-variants >= 5.4.1~

No solution found, exiting
"/usr/bin/linux32" "/bin/sh" "-c" "opam reinstall matcha.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 "\"debian-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'matcha.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-03-19 08:10.42: Job failed: Failed: Build failed
2026-03-19 08:10.42: Log analysis:
2026-03-19 08:10.42: >>> 
No solution found, exiting
 (score = 100)
2026-03-19 08:10.42: [SKIP] Package not available