(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-16.0-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-16.0-ocaml-5.4@sha256:1e561cb97d70e0ba99bb6b92723e6bb69ca94fb4f894a4285697ccff7edc0453
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-16.0\""; 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-16.0-ocaml-5.4@sha256:1e561cb97d70e0ba99bb6b92723e6bb69ca94fb4f894a4285697ccff7edc0453-wadi.0.1.0-e48542c6b0c57c44b0ef42e7f8c1de6d6e833aa7"
2026-03-30 21:23.36: Using OBuilder spec:
((from ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:1e561cb97d70e0ba99bb6b92723e6bb69ca94fb4f894a4285697ccff7edc0453)
 (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-16.0\\\"\"; 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 odawa.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-16.0-ocaml-5.4@sha256:1e561cb97d70e0ba99bb6b92723e6bb69ca94fb4f894a4285697ccff7edc0453)
Unable to find image 'ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:1e561cb97d70e0ba99bb6b92723e6bb69ca94fb4f894a4285697ccff7edc0453' locally
docker.io/ocaml/opam@sha256:1e561cb97d70e0ba99bb6b92723e6bb69ca94fb4f894a4285697ccff7edc0453: Pulling from ocaml/opam
64cfa2a65095: Already exists
204ffcf2f1fe: Already exists
f6fa4529cc6b: Already exists
97af65095748: Already exists
b802a6057f6d: Already exists
47b045e79836: Already exists
2ce8a10bf29f: Already exists
781ee767d1c7: Already exists
2271c058ae3a: Already exists
2e5754ca2c40: Already exists
de21e4dabd9c: Already exists
f047029589c4: Already exists
0f454d36be04: Already exists
04ab44a2df2c: Already exists
ad401f078830: Already exists
096a51bccb57: Already exists
e7134f98c78b: Already exists
afc7c35ee433: Already exists
7bfa5dba7952: Already exists
4f4fb700ef54: Already exists
f6b6a751bb6a: Already exists
f71dccae2ee7: Already exists
fe37a54a1499: Already exists
1815b99ebc09: Already exists
363d1f23b2cf: Already exists
4bb0990bd121: Already exists
ac4f9c652c6c: Already exists
ab5409fef174: Already exists
5e58ee45c6c7: Already exists
ee06219176b1: Already exists
34fd31afeec8: Already exists
c7a97b361486: Already exists
ada59ff61f0e: Already exists
800479b35645: Already exists
993399f88197: Already exists
123b0d6fe094: Already exists
ae34cc57e52b: Already exists
2183a8f477cb: Already exists
b246721e2842: Pulling fs layer
6f86c4e34a31: Pulling fs layer
b62ace1c39c5: Pulling fs layer
bcc0e2aa9534: Pulling fs layer
1830a9d7789a: Pulling fs layer
bcc0e2aa9534: Waiting
1621edddb03c: Pulling fs layer
1830a9d7789a: Waiting
cc0c68400729: Pulling fs layer
1621edddb03c: Waiting
cc0c68400729: Waiting
b246721e2842: Download complete
b246721e2842: Pull complete
b62ace1c39c5: Verifying Checksum
b62ace1c39c5: Download complete
1830a9d7789a: Verifying Checksum
1830a9d7789a: Download complete
1621edddb03c: Verifying Checksum
1621edddb03c: Download complete
cc0c68400729: Download complete
6f86c4e34a31: Verifying Checksum
6f86c4e34a31: Download complete
6f86c4e34a31: Pull complete
b62ace1c39c5: Pull complete
bcc0e2aa9534: Verifying Checksum
bcc0e2aa9534: Download complete
bcc0e2aa9534: Pull complete
1830a9d7789a: Pull complete
1621edddb03c: Pull complete
cc0c68400729: Pull complete
Digest: sha256:1e561cb97d70e0ba99bb6b92723e6bb69ca94fb4f894a4285697ccff7edc0453
Status: Downloaded newer image for ocaml/opam@sha256:1e561cb97d70e0ba99bb6b92723e6bb69ca94fb4f894a4285697ccff7edc0453
2026-03-30 21:23.53 ---> using "19bfd5fa0e0b327d3030a7bc542c02bf7a14b19a0d43e23f98bfaa17730b5c61" 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.53 ---> saved as "1e4988045243bba69203798d0690927e8f3089f3eada20b7ebb5c3b98f43b95a"

/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.13 ---> saved as "1b315dd0fae2be03adddf9e1c7bb80dab3c7230668610b0c52290fbe02fb35da"

/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-leap os-version=16.0
# 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:24.14 ---> saved as "a9700237dfe924ceb2d4a46518fa531614b31f37df9474584f205ae5d2fc80b9"

/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.23 ---> saved as "4fc562db71631d140ae2301547571e39987762cb985dabf3a81f7071914e41d3"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'repo-openh264 (16.0)' is up to date.
- Repository 'repo-oss (16.0)' is up to date.
- All repositories have been refreshed.
2026-03-30 21:24.46 ---> saved as "43bba36e85ed202b63707f42aa1d58583416f6dbd6204e27ffff60d5a3f3de6d"

/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.47 ---> saved as "12ede2b8793a5fbdbe74034bdafeb66326c711f34bdbfdde8da03a0bb21cfb72"

/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-16.0\\\"\"; 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-433d7a.env
# output-file          ~/.opam/log/wadi-7-433d7a.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-20260330212447.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-16.0\""; 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.02: Job failed: Failed: Build failed
2026-03-30 21:25.02: Log analysis:
2026-03-30 21:25.02: >>> 
[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.02: The installation of wadi failed at "./scripts/install_release_tree.sh --package-root package --binary _bootstrap/bin/wadi --prefix /home/opam/.opam/5.4".