(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-12-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/29620/head" && git reset --hard e48542c6
git fetch origin master
git merge --no-edit 747f3dca281b5ae6275dfa41069f059ae517126f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:d1a8dc17fc6f2723a27d61e88f320fbfb530ea555660146cef2b1bd664a24eb6
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-12\""; 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-12-ocaml-4.14@sha256:d1a8dc17fc6f2723a27d61e88f320fbfb530ea555660146cef2b1bd664a24eb6-wadi.0.1.0-e48542c6b0c57c44b0ef42e7f8c1de6d6e833aa7"
2026-03-30 21:23.36: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:d1a8dc17fc6f2723a27d61e88f320fbfb530ea555660146cef2b1bd664a24eb6)
 (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-12\\\"\"; 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 toxis.caelum.ci.dev
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-12-ocaml-4.14@sha256:d1a8dc17fc6f2723a27d61e88f320fbfb530ea555660146cef2b1bd664a24eb6)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:d1a8dc17fc6f2723a27d61e88f320fbfb530ea555660146cef2b1bd664a24eb6' locally
docker.io/ocaml/opam@sha256:d1a8dc17fc6f2723a27d61e88f320fbfb530ea555660146cef2b1bd664a24eb6: Pulling from ocaml/opam
9d2f29087bcd: Already exists
e5b7ca95203b: Already exists
d8e331d9a907: Already exists
91962cd25f64: Already exists
a1bb7be28a9a: Already exists
6b2da949fcf6: Already exists
03f819480d5f: Already exists
1b5945a5b82a: Already exists
5bacc494a020: Already exists
bff2c186f3b1: Already exists
1d881f8ec980: Already exists
6ebadc3cbbda: Already exists
7f6d26142691: Already exists
206a8c8ec031: Already exists
eebc6eceffd1: Already exists
93c55d3d3efd: Already exists
61f3e2cda8d4: Already exists
61f3e2cda8d4: Already exists
026ea807cfb9: Already exists
1b178fc275a2: Already exists
63912c2fc3ab: Already exists
29344c19d001: Already exists
4f4fb700ef54: Already exists
dbc4e7f02329: Already exists
5038c7718d8e: Already exists
a4f127028e67: Already exists
c2d572057066: Already exists
92b4564349d7: Already exists
242ac804b551: Already exists
e5d27b5d5883: Already exists
d700890117a5: Already exists
5ef4022af582: Already exists
d6ccda6eed3d: Already exists
a0c5105cee28: Already exists
268c58878a14: Already exists
92a1d0738765: Already exists
b260703a5023: Already exists
04e8e5ea6e65: Already exists
9347f3233824: Already exists
aebbe01133fa: Already exists
58197e4323ff: Already exists
a95d76773112: Pulling fs layer
45f43d1d1836: Pulling fs layer
a95d76773112: Waiting
886b0a2ff7f8: Pulling fs layer
767f2fb0b60d: Pulling fs layer
45f43d1d1836: Waiting
767f2fb0b60d: Waiting
45f43d1d1836: Download complete
886b0a2ff7f8: Verifying Checksum
886b0a2ff7f8: Download complete
767f2fb0b60d: Verifying Checksum
767f2fb0b60d: Download complete
a95d76773112: Verifying Checksum
a95d76773112: Download complete
a95d76773112: Pull complete
45f43d1d1836: Pull complete
886b0a2ff7f8: Pull complete
767f2fb0b60d: Pull complete
Digest: sha256:d1a8dc17fc6f2723a27d61e88f320fbfb530ea555660146cef2b1bd664a24eb6
Status: Downloaded newer image for ocaml/opam@sha256:d1a8dc17fc6f2723a27d61e88f320fbfb530ea555660146cef2b1bd664a24eb6
2026-03-30 21:24.08 ---> using "997ea3458b52a3f71902f9c735276fa51ef40431f3310492f8c4d20c76fcf4e0" 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.08 ---> using "df41d77dae76a9a024d1e3cbe90b5ac093e391e9880b234a0fc458301fc9647d" 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.08 ---> using "bacdd4f93fa4e663f6eb640ac74a1a15c12358b4d639f596e3b10e68e111ef17" 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=12
# 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.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, 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.3
2026-03-30 21:24.08 ---> using "84175c638d45bcd9beafedc1ab8ca423710f1984b8f23ab106d47663dda00bd2" 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.08 ---> using "6be65f048df22d829a7231decd7e5b7309d7494ba5768d6bd99ea89efe3e2726" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [294 kB]
- Fetched 397 kB in 1s (265 kB/s)
- Reading package lists...
- 
2026-03-30 21:24.37 ---> saved as "3297ec2780d0abb7b4e2f19fa6f358b7c4eb1d6f00e5b384649bb870459c8e3c"

/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.38 ---> saved as "79ce3633afee7b6e1998cd31c7f83a4e73e979d1091bcc14223dc8a3c65367d3"

/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-12\\\"\"; 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-base-compiler = 4.14.3
    - wadi -> ocaml >= 5.0.0 -> ocaml-variants >= 5.0.0~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - wadi -> ocaml >= 5.0.0 -> ocaml-variants >= 5.0.0~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

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