(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 centos-9-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:centos-9-ocaml-4.14@sha256:de1df917946109325335133d6b1fef6a30dc0e3f609c19d7c47b8c6ebac452f0
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 "\"centos-9\""; 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:centos-9-ocaml-4.14@sha256:de1df917946109325335133d6b1fef6a30dc0e3f609c19d7c47b8c6ebac452f0-wadi.0.1.0-e48542c6b0c57c44b0ef42e7f8c1de6d6e833aa7"
2026-03-30 21:23.36: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-4.14@sha256:de1df917946109325335133d6b1fef6a30dc0e3f609c19d7c47b8c6ebac452f0)
 (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 \"\\\"centos-9\\\"\"; 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 clete.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:centos-9-ocaml-4.14@sha256:de1df917946109325335133d6b1fef6a30dc0e3f609c19d7c47b8c6ebac452f0)
Unable to find image 'ocaml/opam:centos-9-ocaml-4.14@sha256:de1df917946109325335133d6b1fef6a30dc0e3f609c19d7c47b8c6ebac452f0' locally
docker.io/ocaml/opam@sha256:de1df917946109325335133d6b1fef6a30dc0e3f609c19d7c47b8c6ebac452f0: Pulling from ocaml/opam
5ff1ab057949: Already exists
94bf818b7fbe: Already exists
457aab6eaf3e: Already exists
e7e3f008a100: Already exists
7b273deb69ed: Already exists
05bc413da95c: Already exists
35b356aa10f2: Already exists
3c47136ee9dd: Already exists
10b3cd064264: Already exists
55493c7b4753: Already exists
1b3515d13cd3: Already exists
5aac98e85819: Already exists
28bcc16c7ae3: Already exists
4317efc2ce66: Already exists
28e378bd64e6: Already exists
393c018aeb20: Already exists
08cb8482266d: Already exists
e3aa8b556433: Already exists
e3aa8b556433: Already exists
c9e31522d1b9: Already exists
6a32297b5e82: Already exists
92dc9ae98dfb: Already exists
ad12de71c6a5: Already exists
4f4fb700ef54: Already exists
bc9d644ba61b: Already exists
61a6e0c69b28: Already exists
71eb99c30b5a: Already exists
92cf70498114: Already exists
a8ab7c2472bf: Already exists
cb26f2d95d35: Already exists
d1f3e4be8384: Already exists
c433cd9bbdff: Already exists
57fad2f3edac: Already exists
36a9cd8a39df: Already exists
a3a2bb0b364b: Already exists
f8d4e11cb454: Already exists
87ed9ce36631: Already exists
791842373d9b: Already exists
ed3fcb1b873b: Already exists
cddea0bf6bc2: Already exists
15bb1289d831: Already exists
020831faea16: Already exists
169d6db3ca60: Pulling fs layer
dda76dc2c734: Pulling fs layer
ad202a478672: Pulling fs layer
f1e4ba736a7a: Pulling fs layer
dda76dc2c734: Waiting
ad202a478672: Waiting
f1e4ba736a7a: Waiting
dda76dc2c734: Download complete
ad202a478672: Verifying Checksum
ad202a478672: Download complete
f1e4ba736a7a: Download complete
169d6db3ca60: Verifying Checksum
169d6db3ca60: Download complete
169d6db3ca60: Pull complete
dda76dc2c734: Pull complete
ad202a478672: Pull complete
f1e4ba736a7a: Pull complete
Digest: sha256:de1df917946109325335133d6b1fef6a30dc0e3f609c19d7c47b8c6ebac452f0
Status: Downloaded newer image for ocaml/opam@sha256:de1df917946109325335133d6b1fef6a30dc0e3f609c19d7c47b8c6ebac452f0
2026-03-30 21:26.41 ---> saved as "770434a802cc96696f36fcf59131ea147ac97af1e098f96b4696fca0a16bec51"

/: (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:26.41 ---> saved as "279043c02e0effe1f4adf4a3038c2275507c9c543234c2b49819ec429bb723fa"

/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:27.02 ---> saved as "eea61cdbf0e0c9b6c5d5b3287efe53c5ddb13088234af48ab86ff313701dc51e"

/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=centos os-version=9
# 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:27.03 ---> saved as "712fd638222f15aaa2ecc32a4867c943569571fe99c7f7870f4dee1a1655581a"

/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:27.09 ---> saved as "77bec0c199534de0a69e1e4e333569a52ab6f4dd4a7919f231794494dcbc9881"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS                         85 kB/s |  15 kB     00:00    
- CentOS Stream 9 - AppStream                      67 kB/s |  16 kB     00:00    
- CentOS Stream 9 - CRB                           113 kB/s |  15 kB     00:00    
- CentOS Stream 9 - Extras packages               118 kB/s |  16 kB     00:00    
- Metadata cache created.
2026-03-30 21:27.40 ---> saved as "b8c50223414aa9a46542973cc71c5da5ae556ce3f035a2019d6b3ad16d106f08"

/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:27.40 ---> saved as "938f0777728abe1256c9956daa813c8772336ba5ca242dfc4c2eaa9986d89e41"

/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 \"\\\"centos-9\\\"\"; 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.4.1~

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