(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-15.6-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-15.6-ocaml-5.4@sha256:ab892b8e19dfba582695a07fc8e4eaa0b80ebeb8d981b904de555257ae24fa6d
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-15.6\""; 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-15.6-ocaml-5.4@sha256:ab892b8e19dfba582695a07fc8e4eaa0b80ebeb8d981b904de555257ae24fa6d-wadi.0.1.0-e48542c6b0c57c44b0ef42e7f8c1de6d6e833aa7"
2026-03-30 21:23.36: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:ab892b8e19dfba582695a07fc8e4eaa0b80ebeb8d981b904de555257ae24fa6d)
 (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-15.6\\\"\"; 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:opensuse-15.6-ocaml-5.4@sha256:ab892b8e19dfba582695a07fc8e4eaa0b80ebeb8d981b904de555257ae24fa6d)
Unable to find image 'ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:ab892b8e19dfba582695a07fc8e4eaa0b80ebeb8d981b904de555257ae24fa6d' locally
docker.io/ocaml/opam@sha256:ab892b8e19dfba582695a07fc8e4eaa0b80ebeb8d981b904de555257ae24fa6d: Pulling from ocaml/opam
cf0250ddcb79: Already exists
40991fcd8a1b: Already exists
e05128dd3eb3: Already exists
3425e1313de9: Already exists
3ff42a08404d: Already exists
eaa7ec413ede: Already exists
60f83db70cd1: Already exists
e5a47a911091: Already exists
6327ccf3508c: Already exists
5d6981d3a5fa: Already exists
99922baa8ad6: Already exists
d6e0652ed47d: Already exists
95c8cc1fe90d: Already exists
9cd4fd406201: Already exists
e3a9e943b4f6: Already exists
aadf7e8e8d6a: Already exists
2dfff197ac70: Already exists
c3504cd6bbb5: Already exists
3c8f3f6b9b40: Already exists
4f4fb700ef54: Already exists
da5148c6a8cc: Already exists
cd4749025117: Already exists
41b38dff52ae: Already exists
de520dc36bc6: Already exists
fcdda9e04c1f: Already exists
73d3633f03ac: Already exists
ef339a4cc918: Already exists
5335cfb42bc8: Already exists
cfe95843ebf6: Already exists
6d988f80827f: Already exists
fbbad437eb63: Already exists
82c53910b2be: Already exists
0d9d82defd42: Already exists
fb8f37a4d801: Already exists
6e8c773a8be6: Already exists
371876dd87f9: Already exists
b7473f79970c: Already exists
7ae22122e76c: Already exists
68bfb5598785: Pulling fs layer
cfc6fe50ae83: Pulling fs layer
2a1815368dab: Pulling fs layer
681f802a4d53: Pulling fs layer
ee4435c9a0b2: Pulling fs layer
4e89b11a1ef6: Pulling fs layer
681f802a4d53: Waiting
218cf6bcb4ae: Pulling fs layer
4e89b11a1ef6: Waiting
ee4435c9a0b2: Waiting
218cf6bcb4ae: Waiting
68bfb5598785: Verifying Checksum
68bfb5598785: Download complete
68bfb5598785: Pull complete
cfc6fe50ae83: Verifying Checksum
cfc6fe50ae83: Download complete
2a1815368dab: Verifying Checksum
2a1815368dab: Download complete
cfc6fe50ae83: Pull complete
4e89b11a1ef6: Verifying Checksum
4e89b11a1ef6: Download complete
ee4435c9a0b2: Download complete
2a1815368dab: Pull complete
218cf6bcb4ae: Verifying Checksum
218cf6bcb4ae: Download complete
681f802a4d53: Verifying Checksum
681f802a4d53: Download complete
681f802a4d53: Pull complete
ee4435c9a0b2: Pull complete
4e89b11a1ef6: Pull complete
218cf6bcb4ae: Pull complete
Digest: sha256:ab892b8e19dfba582695a07fc8e4eaa0b80ebeb8d981b904de555257ae24fa6d
Status: Downloaded newer image for ocaml/opam@sha256:ab892b8e19dfba582695a07fc8e4eaa0b80ebeb8d981b904de555257ae24fa6d
2026-03-30 21:25.03 ---> saved as "e7a3b3d67b5578edf9324e9b59ca0d7aa787a0be0d86578e70e91b388f8ec84a"

/: (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:25.03 ---> saved as "58dc043c890af18d974f9d2faab21126101bcb281794322c9b8f8c57a3613f9a"

/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:25.27 ---> saved as "244af0c4540a33894ed59d295029ce18cd452b092d29c5d57700cc0b284fee49"

/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=15.6
# 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       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:25.28 ---> saved as "4a851a3ae281f821ba9ff63148707c936d034a84b1981f5feef9df24d219d549"

/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:25.36 ---> saved as "2a771c0ad1bfe0919b38a1cb3561270884c2d5b0edc13a0031f5eab75ec36433"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [..
- Looking for gpg keys in repository Update repository of openSUSE Backports.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/backports/repodata/repomd.xml.key
- ...
- .....
- ....
- ....
- ....
- ....
- .........
- .....done]
- Building repository 'Update repository of openSUSE Backports' cache [..
- ..done]
- Repository 'Update repository with updates from SUSE Linux Enterprise 15' is up to date.
- Repository 'Main Update Repository' is up to date.
- Repository 'Update Repository (Non-Oss)' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.
2026-03-30 21:26.14 ---> saved as "a504d8d771788501602cc6b6800c555119624ca672ddeac0f66a384b00ea4307"

/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:26.15 ---> saved as "4a5b22820192d7fa4c4ebb18ef3a0d52dcca2a58d1395cf1762c22ef02f491a6"

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