(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-unstable-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-unstable-ocaml-4.14@sha256:0db6fb3b784a7800404f0a9f6a03fee947959fb1be3cb4b9a62a0d193d7b0227
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-unstable\""; 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-unstable-ocaml-4.14@sha256:0db6fb3b784a7800404f0a9f6a03fee947959fb1be3cb4b9a62a0d193d7b0227-wadi.0.1.0-e48542c6b0c57c44b0ef42e7f8c1de6d6e833aa7"
2026-03-30 21:23.36: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:0db6fb3b784a7800404f0a9f6a03fee947959fb1be3cb4b9a62a0d193d7b0227)
 (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-unstable\\\"\"; 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 phoebe.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-unstable-ocaml-4.14@sha256:0db6fb3b784a7800404f0a9f6a03fee947959fb1be3cb4b9a62a0d193d7b0227)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-4.14@sha256:0db6fb3b784a7800404f0a9f6a03fee947959fb1be3cb4b9a62a0d193d7b0227' locally
docker.io/ocaml/opam@sha256:0db6fb3b784a7800404f0a9f6a03fee947959fb1be3cb4b9a62a0d193d7b0227: Pulling from ocaml/opam
cfc223668840: Pulling fs layer
eef29ee15ab9: Pulling fs layer
50f8e67e2e58: Pulling fs layer
b9d26bf5f05d: Pulling fs layer
75c5c0b090cc: Pulling fs layer
7565366359d6: Pulling fs layer
eef29ee15ab9: Waiting
50f8e67e2e58: Waiting
cfc223668840: Waiting
b9d26bf5f05d: Waiting
75c5c0b090cc: Waiting
7565366359d6: Waiting
18d92a495e06: Pulling fs layer
50ca5c1d0182: Pulling fs layer
18d92a495e06: Waiting
ed1da238ecd3: Pulling fs layer
58d6f1922d93: Pulling fs layer
50ca5c1d0182: Waiting
426661e86dfa: Pulling fs layer
ed1da238ecd3: Waiting
5a820b479e59: Pulling fs layer
58d6f1922d93: Waiting
dbf46a43a36e: Pulling fs layer
8df8b765e73e: Pulling fs layer
0512d3f28d51: Pulling fs layer
cdef9b8401e2: Pulling fs layer
080bf4e786dc: Pulling fs layer
dbf46a43a36e: Waiting
8df8b765e73e: Waiting
cdef9b8401e2: Waiting
5a820b479e59: Waiting
7d714b416ee5: Pulling fs layer
080bf4e786dc: Waiting
63d653d269fa: Pulling fs layer
9470dd93c83e: Pulling fs layer
7d714b416ee5: Waiting
65989fc31923: Pulling fs layer
4f4fb700ef54: Pulling fs layer
9470dd93c83e: Waiting
63d653d269fa: Waiting
c408c528f704: Pulling fs layer
65989fc31923: Waiting
be329d9faff7: Pulling fs layer
c408c528f704: Waiting
4f4fb700ef54: Waiting
860fc2f88fc4: Pulling fs layer
3b98d1f4c0ee: Pulling fs layer
45b41ab763c5: Pulling fs layer
790f1cedbd8f: Pulling fs layer
8ea9b3e75480: Pulling fs layer
3b98d1f4c0ee: Waiting
0fefe4bd68d3: Pulling fs layer
790f1cedbd8f: Waiting
0fefe4bd68d3: Waiting
872e3afb2935: Pulling fs layer
8ea9b3e75480: Waiting
c2bd06443d3c: Pulling fs layer
2988dc862105: Pulling fs layer
45b41ab763c5: Waiting
c2bd06443d3c: Waiting
fb1cc58923da: Pulling fs layer
8edd0ae4ac5f: Pulling fs layer
867176e33c75: Pulling fs layer
fb1cc58923da: Waiting
757b63ecc3da: Pulling fs layer
ec6248aa151d: Pulling fs layer
f324b6814791: Pulling fs layer
757b63ecc3da: Waiting
72f1c0ec7835: Pulling fs layer
2988dc862105: Waiting
8ad2ea670ebc: Pulling fs layer
f324b6814791: Waiting
8ad2ea670ebc: Waiting
ae1d37bba792: Pulling fs layer
a752eea11879: Pulling fs layer
ae1d37bba792: Waiting
275494cb641d: Pulling fs layer
ec6248aa151d: Waiting
bfe88c126a78: Pulling fs layer
275494cb641d: Waiting
72f1c0ec7835: Waiting
cfc223668840: Download complete
50f8e67e2e58: Download complete
eef29ee15ab9: Verifying Checksum
eef29ee15ab9: Download complete
75c5c0b090cc: Verifying Checksum
75c5c0b090cc: Download complete
b9d26bf5f05d: Verifying Checksum
b9d26bf5f05d: Download complete
18d92a495e06: Download complete
cfc223668840: Pull complete
eef29ee15ab9: Pull complete
50f8e67e2e58: Pull complete
b9d26bf5f05d: Pull complete
75c5c0b090cc: Pull complete
50ca5c1d0182: Download complete
ed1da238ecd3: Verifying Checksum
ed1da238ecd3: Download complete
58d6f1922d93: Verifying Checksum
58d6f1922d93: Download complete
426661e86dfa: Verifying Checksum
426661e86dfa: Download complete
5a820b479e59: Verifying Checksum
5a820b479e59: Download complete
dbf46a43a36e: Verifying Checksum
dbf46a43a36e: Download complete
8df8b765e73e: Verifying Checksum
8df8b765e73e: Download complete
0512d3f28d51: Verifying Checksum
0512d3f28d51: Download complete
cdef9b8401e2: Verifying Checksum
cdef9b8401e2: Download complete
080bf4e786dc: Download complete
7d714b416ee5: Verifying Checksum
7d714b416ee5: Download complete
63d653d269fa: Verifying Checksum
63d653d269fa: Download complete
9470dd93c83e: Verifying Checksum
9470dd93c83e: Download complete
65989fc31923: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
c408c528f704: Verifying Checksum
c408c528f704: Download complete
be329d9faff7: Verifying Checksum
be329d9faff7: Download complete
860fc2f88fc4: Download complete
3b98d1f4c0ee: Verifying Checksum
3b98d1f4c0ee: Download complete
45b41ab763c5: Verifying Checksum
45b41ab763c5: Download complete
790f1cedbd8f: Verifying Checksum
790f1cedbd8f: Download complete
8ea9b3e75480: Verifying Checksum
8ea9b3e75480: Download complete
0fefe4bd68d3: Verifying Checksum
0fefe4bd68d3: Download complete
872e3afb2935: Download complete
c2bd06443d3c: Download complete
2988dc862105: Download complete
fb1cc58923da: Verifying Checksum
fb1cc58923da: Download complete
8edd0ae4ac5f: Verifying Checksum
8edd0ae4ac5f: Download complete
867176e33c75: Download complete
757b63ecc3da: Verifying Checksum
757b63ecc3da: Download complete
ec6248aa151d: Verifying Checksum
ec6248aa151d: Download complete
f324b6814791: Download complete
72f1c0ec7835: Verifying Checksum
72f1c0ec7835: Download complete
8ad2ea670ebc: Verifying Checksum
8ad2ea670ebc: Download complete
ae1d37bba792: Verifying Checksum
ae1d37bba792: Download complete
a752eea11879: Verifying Checksum
a752eea11879: Download complete
275494cb641d: Verifying Checksum
275494cb641d: Download complete
bfe88c126a78: Download complete
7565366359d6: Verifying Checksum
7565366359d6: Download complete
7565366359d6: Pull complete
18d92a495e06: Pull complete
50ca5c1d0182: Pull complete
ed1da238ecd3: Pull complete
58d6f1922d93: Pull complete
426661e86dfa: Pull complete
5a820b479e59: Pull complete
dbf46a43a36e: Pull complete
8df8b765e73e: Pull complete
0512d3f28d51: Pull complete
cdef9b8401e2: Pull complete
080bf4e786dc: Pull complete
7d714b416ee5: Pull complete
63d653d269fa: Pull complete
9470dd93c83e: Pull complete
65989fc31923: Pull complete
4f4fb700ef54: Pull complete
c408c528f704: Pull complete
be329d9faff7: Pull complete
860fc2f88fc4: Pull complete
3b98d1f4c0ee: Pull complete
45b41ab763c5: Pull complete
790f1cedbd8f: Pull complete
8ea9b3e75480: Pull complete
0fefe4bd68d3: Pull complete
872e3afb2935: Pull complete
c2bd06443d3c: Pull complete
2988dc862105: Pull complete
fb1cc58923da: Pull complete
8edd0ae4ac5f: Pull complete
867176e33c75: Pull complete
757b63ecc3da: Pull complete
ec6248aa151d: Pull complete
f324b6814791: Pull complete
72f1c0ec7835: Pull complete
8ad2ea670ebc: Pull complete
ae1d37bba792: Pull complete
a752eea11879: Pull complete
275494cb641d: Pull complete
bfe88c126a78: Pull complete
Digest: sha256:0db6fb3b784a7800404f0a9f6a03fee947959fb1be3cb4b9a62a0d193d7b0227
Status: Downloaded newer image for ocaml/opam@sha256:0db6fb3b784a7800404f0a9f6a03fee947959fb1be3cb4b9a62a0d193d7b0227
2026-03-30 21:24.04 ---> using "0c71aba516b9add796b4b67bafab8a5e39200e81f94124ccbcc18b39d0ca38bb" 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.04 ---> using "5ff9b139e09e412744e0492fa6f5a1b9df7bb17edeefe4b465caa5e571ccef1d" 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
[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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-03-30 21:24.04 ---> using "5fbaf57c23a6946135096dd722e9b5d20cc628a4f5541855988df48c5a20a30e" 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=unknown
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         2 (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.04 ---> using "2b61b4248d18141fb0e495d0fb6c1837f559b39cf6ac6a68c81ceb4ff1444132" 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.04 ---> using "8b0d94749e8c6cc963e1272149fd86af0bd6bdcc1bbfb72375ec38fa1d14ebe0" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [187 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-03-30-2000.00-F-2026-03-21-1401.16.pdiff [1072 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-03-30-2000.00-F-2026-03-21-1401.16.pdiff [1072 kB]
- Fetched 1323 kB in 4s (357 kB/s)
- Reading package lists...
- 
2026-03-30 21:24.41 ---> saved as "0dad51ffb37ad111b2fcf7ad2d0926c60c38091152d8a3101c8326ddde361b20"

/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.42 ---> saved as "543c896e00e0befa978625f66648a4a1897b3c90b5fad5f8b3c63a2b2b3531e1"

/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-unstable\\\"\"; 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
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.14.3 -> ocaml = 4.14.3
    - wadi -> ocaml >= 5.0.0
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.3
    - wadi -> ocaml >= 5.0.0 -> ocaml-variants >= 5.0.0~
  * 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-unstable\""; 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.55: Job failed: Failed: Build failed
2026-03-30 21:24.55: Log analysis:
2026-03-30 21:24.55: >>> 
No solution found, exiting
 (score = 100)
2026-03-30 21:24.55: [SKIP] Package not available