(for PR #29620)

2026-03-30 21:23.36: New job: build wadi.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29620/head (e48542c6b0c57c44b0ef42e7f8c1de6d6e833aa7)
                              on debian-13-ocaml-4.14-flambda/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/29620/head" && git reset --hard e48542c6
git fetch origin master
git merge --no-edit 747f3dca281b5ae6275dfa41069f059ae517126f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:a87af1d593932b58d8fd064d753b6abaa1b216b16e62819b83f14dc79d488675
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 wadi.0.1.0 0.1.0
RUN opam reinstall wadi.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" != 'wadi.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-30 21:23.36: Using cache hint "ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:a87af1d593932b58d8fd064d753b6abaa1b216b16e62819b83f14dc79d488675-wadi.0.1.0-e48542c6b0c57c44b0ef42e7f8c1de6d6e833aa7"
2026-03-30 21:23.36: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:a87af1d593932b58d8fd064d753b6abaa1b216b16e62819b83f14dc79d488675)
 (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 wadi.0.1.0 0.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall wadi.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\" != 'wadi.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-30 21:23.36: Waiting for resource in pool OCluster
2026-03-30 21:23.36: Waiting for worker…
2026-03-30 21:23.38: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 747f3dca28 Merge pull request #29614 from ocaml/use-setup-ocaml-for-windows-ci
Updating 747f3dca28..e48542c6b0
Fast-forward
 packages/wadi/wadi.0.1.0/opam | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 packages/wadi/wadi.0.1.0/opam

(from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:a87af1d593932b58d8fd064d753b6abaa1b216b16e62819b83f14dc79d488675)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:a87af1d593932b58d8fd064d753b6abaa1b216b16e62819b83f14dc79d488675' locally
docker.io/ocaml/opam@sha256:a87af1d593932b58d8fd064d753b6abaa1b216b16e62819b83f14dc79d488675: Pulling from ocaml/opam
8f6ad858d0a4: Already exists
69e44424a5e2: Already exists
afd8aac863c4: Already exists
8e947a2e98f4: Already exists
1497695495be: Already exists
dd8dde667620: Already exists
6c8e24e09389: Already exists
82df42eb8f87: Already exists
417be57df8b6: Already exists
93469ace0d3c: Already exists
690b7fb3c88e: Already exists
5e945797c48b: Already exists
f89359597c07: Already exists
3d24804be6e1: Already exists
6223b4e8927d: Already exists
e5255e6ad093: Already exists
4b8862d5191b: Already exists
a97ae6909f09: Already exists
9272e1b13a44: Already exists
4c4ae8dea517: Already exists
58f4c74b02ad: Already exists
d7f5bb85343b: Already exists
4f4fb700ef54: Already exists
5686dd9b80db: Already exists
d6655929e91b: Already exists
202821e2f84c: Already exists
dbfe37502a36: Already exists
03d1d76306ab: Already exists
0cb61df4dd2b: Already exists
9de51b48aa3e: Already exists
7a569ae42189: Already exists
9f66e60fc7d0: Already exists
9c0e93e6cde6: Already exists
52a878b8deac: Already exists
7d5c1811ebd2: Already exists
08ac39eb016e: Already exists
fa3d624a019d: Already exists
bcdad67ff203: Already exists
5535de7c8bad: Already exists
1ffb933c7297: Already exists
01124907da27: Already exists
2a3d22d76fb8: Pulling fs layer
6a76dd45d5ec: Pulling fs layer
92305af75b45: Pulling fs layer
3082089fe5da: Pulling fs layer
6a76dd45d5ec: Waiting
92305af75b45: Waiting
6a76dd45d5ec: Verifying Checksum
92305af75b45: Verifying Checksum
92305af75b45: Download complete
3082089fe5da: Download complete
2a3d22d76fb8: Download complete
2a3d22d76fb8: Pull complete
6a76dd45d5ec: Pull complete
92305af75b45: Pull complete
3082089fe5da: Pull complete
Digest: sha256:a87af1d593932b58d8fd064d753b6abaa1b216b16e62819b83f14dc79d488675
Status: Downloaded newer image for ocaml/opam@sha256:a87af1d593932b58d8fd064d753b6abaa1b216b16e62819b83f14dc79d488675
2026-03-30 21:24.14 ---> using "1949ec84e2fcbfbe5c6ae108e33247f52b39c2467ff994ec2e713bc4eaf53bc5" 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-03-30 21:24.14 ---> using "8a4d142dadde5a78e85f15230c11151936b3fbecb93c7583fe58b130bec500f8" 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-30 21:24.14 ---> using "7b67948390b3e1a054ea6727d3faf617f2f1ac20134ec687e2fd42fb386538af" 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=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.14
# invariant            ["ocaml-options-only-flambda"]
# compiler-packages    ocaml-option-flambda.1, ocaml-options-only-flambda.1, ocaml-variants.4.14.2+options
# 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+options+flambda
2026-03-30 21:24.14 ---> using "975cdcfce22c83c8ffecba8a47f52466b50cdbec74340adc00613b3d50eafef4" 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-30 21:24.14 ---> using "a5dc6c7956907083531a1438fdcb3a44be0dbc36c02537fc6e192c809f60a399" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-30 21:24.25 ---> saved as "f72f5a44b305cbe88cc346b1c9efd053afd0864e6ea3dcb88290ae367af80283"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main amd64 Packages [114 kB]
- Fetched 205 kB in 0s (1770 kB/s)
- Reading package lists...
2026-03-30 21:24.45 ---> saved as "c4144c2d56ce3d1dd6a65bd105918a035e54907d2abec8f77f23e2ab954b1315"

/home/opam: (run (shell "opam pin add -k version -yn wadi.0.1.0 0.1.0"))
wadi is now pinned to version 0.1.0
2026-03-30 21:24.46 ---> saved as "2fda027fb4833480c2c3ac856a86ee47744d0c839ea2922fc882a88d60fd937e"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall wadi.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\" != 'wadi.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"))
wadi.0.1.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-options-only-flambda -> ocaml-option-flambda -> ocaml-variants >= 4.12.0~
    - wadi -> ocaml >= 5.0.0 -> ocaml-base-compiler < 5.5.1~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - wadi -> ocaml >= 5.0.0 -> dkml-base-compiler >= 5.6.0~ | ocaml-base-compiler >= 5.6.0 | ocaml-system >= 5.6.0~ | ocaml-variants >= 5.6.0~
    no matching version
    no matching version
    no matching version
    not available because the package is pinned to version 4.14.2+options

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall wadi.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" != 'wadi.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-30 21:25.00: Job failed: Failed: Build failed
2026-03-30 21:25.00: Log analysis:
2026-03-30 21:25.00: >>> 
No solution found, exiting
 (score = 100)
2026-03-30 21:25.00: [SKIP] Package not available