(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 opensuse-tumbleweed-ocaml-5.4/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:opensuse-tumbleweed-ocaml-5.4@sha256:8dddfdd4781bab65e9592eaed33eb1863796fc1b447d09036bc9f7f20a9d4a89
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 "\"opensuse-tumbleweed\""; 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:opensuse-tumbleweed-ocaml-5.4@sha256:8dddfdd4781bab65e9592eaed33eb1863796fc1b447d09036bc9f7f20a9d4a89-wadi.0.1.0-e48542c6b0c57c44b0ef42e7f8c1de6d6e833aa7"
2026-03-30 21:23.36: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-5.4@sha256:8dddfdd4781bab65e9592eaed33eb1863796fc1b447d09036bc9f7f20a9d4a89)
 (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 \"\\\"opensuse-tumbleweed\\\"\"; 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 asteria.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:opensuse-tumbleweed-ocaml-5.4@sha256:8dddfdd4781bab65e9592eaed33eb1863796fc1b447d09036bc9f7f20a9d4a89)
Unable to find image 'ocaml/opam:opensuse-tumbleweed-ocaml-5.4@sha256:8dddfdd4781bab65e9592eaed33eb1863796fc1b447d09036bc9f7f20a9d4a89' locally
docker.io/ocaml/opam@sha256:8dddfdd4781bab65e9592eaed33eb1863796fc1b447d09036bc9f7f20a9d4a89: Pulling from ocaml/opam
dfa58f4d72cf: Already exists
f94eeb7e12be: Already exists
c642bd9ccfbf: Already exists
dc1006758a12: Already exists
deda37aecea5: Already exists
ed772b3456a3: Already exists
6f443926bec9: Already exists
b8b368fa1887: Already exists
a5ec3b357eea: Already exists
9cfecfc87439: Already exists
a62cc9da4d44: Already exists
9501d81e93d6: Already exists
8fd4dd2f047b: Already exists
f58ae6911ceb: Already exists
9cf14ae3463c: Already exists
07a6850acfd3: Already exists
57c9d76921fb: Already exists
f2aab684bf47: Already exists
f2aab684bf47: Already exists
4f4fb700ef54: Already exists
e739222b0b16: Already exists
ad5af65cbe3b: Already exists
c09bc9f04c30: Already exists
97a41c2d1686: Already exists
d68abda7c623: Already exists
b4caa53f33db: Already exists
226e2ff8bdf4: Already exists
1e86189b37aa: Already exists
01c838a862af: Already exists
733441a7aaf0: Already exists
bf14ba7ee05b: Already exists
a80a648568cf: Already exists
e62408b178ab: Already exists
c6d346a5237d: Already exists
a952911c0297: Already exists
e52f058df488: Already exists
cdd17d1708eb: Already exists
e824dc516a37: Already exists
55b9af191922: Pulling fs layer
0c9f6dd7dc3b: Pulling fs layer
a00b64d28294: Pulling fs layer
c39ba5ed9489: Pulling fs layer
55b9af191922: Waiting
da11c75adc48: Pulling fs layer
0c9f6dd7dc3b: Waiting
a835a24cd7ba: Pulling fs layer
a00b64d28294: Waiting
da11c75adc48: Waiting
c39ba5ed9489: Waiting
295c9b314bb3: Pulling fs layer
295c9b314bb3: Waiting
55b9af191922: Download complete
55b9af191922: Pull complete
0c9f6dd7dc3b: Verifying Checksum
0c9f6dd7dc3b: Download complete
0c9f6dd7dc3b: Pull complete
a00b64d28294: Verifying Checksum
a00b64d28294: Download complete
a00b64d28294: Pull complete
da11c75adc48: Verifying Checksum
da11c75adc48: Download complete
c39ba5ed9489: Verifying Checksum
c39ba5ed9489: Download complete
295c9b314bb3: Download complete
c39ba5ed9489: Pull complete
da11c75adc48: Pull complete
a835a24cd7ba: Pull complete
295c9b314bb3: Pull complete
Digest: sha256:8dddfdd4781bab65e9592eaed33eb1863796fc1b447d09036bc9f7f20a9d4a89
Status: Downloaded newer image for ocaml/opam@sha256:8dddfdd4781bab65e9592eaed33eb1863796fc1b447d09036bc9f7f20a9d4a89
2026-03-30 21:23.47 ---> using "9cb41d412bf1f3002d20ce68486fed5d0e0285f44a70b9f66fc9841263b2d8c6" 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:23.47 ---> using "b9ef89601a114b87aa6887411def49916f5c711ded2eebcfd50c52a54672bcda" 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:23.47 ---> using "862c3f08720bc249b8bb14c72089b2908e2adca1b87200c86c69e0b0a3401159" 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=opensuse-tumbleweed os-version=20260326
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.1
2026-03-30 21:23.47 ---> using "cc7445ab73de038d7dd93d1e5e4c39ce31a8303e709a38d937b58782e44334a9" 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:23.47 ---> using "4330e807c259719c4e61e2aa1b25752bfdd6784bebdcc9301cfb85d81cd9d23b" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [.
- ..
- Looking for gpg keys in repository openSUSE-Tumbleweed-Non-Oss.
-   gpgkey=http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml.key
- ....
- ....done]
- Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [.
- ..
- Looking for gpg keys in repository openSUSE-Tumbleweed-Oss.
-   gpgkey=http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml.key
- ....
- .
- ........
- .........
- .........
- ......
- ........
- .........
- .........
- .......
- .........
- .......
- ........
- ........
- .........
- ........
- ........
- .........
- .........
- .........
- .........
- .........
- .........
- ..........
- ..........
- ........
- ........
- ........
- ........
- ....done]
- Building repository 'openSUSE-Tumbleweed-Oss' cache [..
- ..done]
- All repositories have been refreshed.
2026-03-30 21:25.10 ---> saved as "d4b67edf450346ab4c94eddfecdc4f31946e91f6155b6ed6418b994671600e99"

/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:25.10 ---> saved as "2f2d56e4fa6bcef9dd203844911faa072e49c4214e4714a7ed24ac338a1cdd7b"

/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 \"\\\"opensuse-tumbleweed\\\"\"; 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
The following actions will be performed:
=== install 2 packages
  - install ocamlfind 1.9.8          [required by wadi]
  - install wadi      0.1.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved wadi.0.1.0  (cached)
-> installed ocamlfind.1.9.8
[ERROR] The installation of wadi failed at "./scripts/install_release_tree.sh --package-root package --binary _bootstrap/bin/wadi --prefix /home/opam/.opam/5.4".

#=== ERROR while installing wadi.0.1.0 ========================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.1 | pinned(https://github.com/improvingjef/wadi/releases/download/v0.1.0/wadi-0.1.0-source.tar.gz)
# path                 ~/.opam/5.4/.opam-switch/build/wadi.0.1.0
# command              ~/.opam/opam-init/hooks/sandbox.sh install ./scripts/install_release_tree.sh --package-root package --binary _bootstrap/bin/wadi --prefix /home/opam/.opam/5.4
# exit-code            1
# env-file             ~/.opam/log/wadi-7-95bf59.env
# output-file          ~/.opam/log/wadi-7-95bf59.out
### output ###
# install_release_tree.sh: binary not found: _bootstrap/bin/wadi



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - install wadi 0.1.0
+- 
+- The following changes have been performed
| - install ocamlfind 1.9.8
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.4/.opam-switch/backup/state-20260330212511.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/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 "\"opensuse-tumbleweed\""; 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 1
2026-03-30 21:25.31: Job failed: Failed: Build failed
2026-03-30 21:25.31: Log analysis:
2026-03-30 21:25.31: >>> 
[ERROR] The installation of wadi failed at "./scripts/install_release_tree.sh --package-root package --binary _bootstrap/bin/wadi --prefix /home/opam/.opam/5.4".
 (score = 20)
2026-03-30 21:25.31: The installation of wadi failed at "./scripts/install_release_tree.sh --package-root package --binary _bootstrap/bin/wadi --prefix /home/opam/.opam/5.4".