(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 fedora-43-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:fedora-43-ocaml-5.4@sha256:ee186ded9e345e55d4230a8edfeb84c47deaa7f722133ccaecbfc2b88745b5d4
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 "\"fedora-43\""; 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:fedora-43-ocaml-5.4@sha256:ee186ded9e345e55d4230a8edfeb84c47deaa7f722133ccaecbfc2b88745b5d4-wadi.0.1.0-e48542c6b0c57c44b0ef42e7f8c1de6d6e833aa7"
2026-03-30 21:23.36: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-5.4@sha256:ee186ded9e345e55d4230a8edfeb84c47deaa7f722133ccaecbfc2b88745b5d4)
 (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 \"\\\"fedora-43\\\"\"; 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 eumache.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:fedora-43-ocaml-5.4@sha256:ee186ded9e345e55d4230a8edfeb84c47deaa7f722133ccaecbfc2b88745b5d4)
Unable to find image 'ocaml/opam:fedora-43-ocaml-5.4@sha256:ee186ded9e345e55d4230a8edfeb84c47deaa7f722133ccaecbfc2b88745b5d4' locally
docker.io/ocaml/opam@sha256:ee186ded9e345e55d4230a8edfeb84c47deaa7f722133ccaecbfc2b88745b5d4: Pulling from ocaml/opam
5bc90b3315da: Already exists
80d71788ea9e: Pulling fs layer
ad80df798a1c: Pulling fs layer
cd85517f6ae1: Pulling fs layer
a927948f92fa: Pulling fs layer
4433c52b5ab1: Pulling fs layer
8aa93bc8ca93: Pulling fs layer
a927948f92fa: Waiting
7d31cd7e9a9b: Pulling fs layer
4433c52b5ab1: Waiting
8aa93bc8ca93: Waiting
959a5be6bfab: Pulling fs layer
6569047248d7: Pulling fs layer
7d31cd7e9a9b: Waiting
a01a3ff02f3d: Pulling fs layer
6569047248d7: Waiting
8b1106fd8e03: Pulling fs layer
a01a3ff02f3d: Waiting
61c97bcc90cd: Pulling fs layer
8b1106fd8e03: Waiting
b9124a8b6c28: Pulling fs layer
61c97bcc90cd: Waiting
d2c94cd49c4c: Pulling fs layer
b9124a8b6c28: Waiting
d2c94cd49c4c: Waiting
0e63679d7dbc: Pulling fs layer
0e63679d7dbc: Waiting
6819a31cdb14: Pulling fs layer
1d67c4c09922: Pulling fs layer
6819a31cdb14: Waiting
3f456f1cc39a: Pulling fs layer
6afff2ae07da: Pulling fs layer
1d67c4c09922: Waiting
3f456f1cc39a: Waiting
4f4fb700ef54: Pulling fs layer
6afff2ae07da: Waiting
90c294795090: Pulling fs layer
d7c6287626d1: Pulling fs layer
4f4fb700ef54: Waiting
0e6719fd9f6d: Pulling fs layer
53830a3a67c9: Pulling fs layer
d7c6287626d1: Waiting
0e6719fd9f6d: Waiting
b407be133f08: Pulling fs layer
951a5932e150: Pulling fs layer
53830a3a67c9: Waiting
b407be133f08: Waiting
dcc0f382cd80: Pulling fs layer
951a5932e150: Waiting
d3cdec43bf88: Pulling fs layer
dcc0f382cd80: Waiting
d69ff9f37121: Pulling fs layer
d3cdec43bf88: Waiting
cfcfca2848c7: Pulling fs layer
d69ff9f37121: Waiting
08269f8e9f88: Pulling fs layer
cfcfca2848c7: Waiting
3e59769da2fa: Pulling fs layer
e7605c8c2a42: Pulling fs layer
08269f8e9f88: Waiting
3e59769da2fa: Waiting
e7605c8c2a42: Waiting
88870299ba08: Pulling fs layer
9ada87aa6d64: Pulling fs layer
88870299ba08: Waiting
44009f9238f5: Pulling fs layer
1c287e8ba282: Pulling fs layer
9ada87aa6d64: Waiting
44009f9238f5: Waiting
ea1246f51649: Pulling fs layer
1c287e8ba282: Waiting
9805b37779a7: Pulling fs layer
ea1246f51649: Waiting
eb6d5e49a943: Pulling fs layer
70513d7fd3b7: Pulling fs layer
eb6d5e49a943: Waiting
698c4df6b159: Pulling fs layer
70513d7fd3b7: Waiting
c08307af4b00: Pulling fs layer
698c4df6b159: Waiting
c08307af4b00: Waiting
80d71788ea9e: Download complete
80d71788ea9e: Pull complete
ad80df798a1c: Verifying Checksum
ad80df798a1c: Download complete
4433c52b5ab1: Verifying Checksum
4433c52b5ab1: Download complete
ad80df798a1c: Pull complete
cd85517f6ae1: Verifying Checksum
cd85517f6ae1: Download complete
7d31cd7e9a9b: Verifying Checksum
7d31cd7e9a9b: Download complete
8aa93bc8ca93: Verifying Checksum
8aa93bc8ca93: Download complete
6569047248d7: Verifying Checksum
6569047248d7: Download complete
a01a3ff02f3d: Verifying Checksum
a01a3ff02f3d: Download complete
959a5be6bfab: Verifying Checksum
959a5be6bfab: Download complete
8b1106fd8e03: Verifying Checksum
8b1106fd8e03: Download complete
b9124a8b6c28: Verifying Checksum
b9124a8b6c28: Download complete
61c97bcc90cd: Verifying Checksum
61c97bcc90cd: Download complete
0e63679d7dbc: Verifying Checksum
0e63679d7dbc: Download complete
a927948f92fa: Verifying Checksum
a927948f92fa: Download complete
d2c94cd49c4c: Download complete
6819a31cdb14: Download complete
1d67c4c09922: Verifying Checksum
1d67c4c09922: Download complete
3f456f1cc39a: Verifying Checksum
3f456f1cc39a: Download complete
6afff2ae07da: Verifying Checksum
6afff2ae07da: Download complete
4f4fb700ef54: Download complete
d7c6287626d1: Verifying Checksum
d7c6287626d1: Download complete
90c294795090: Verifying Checksum
90c294795090: Download complete
0e6719fd9f6d: Verifying Checksum
0e6719fd9f6d: Download complete
53830a3a67c9: Verifying Checksum
53830a3a67c9: Download complete
b407be133f08: Verifying Checksum
b407be133f08: Download complete
951a5932e150: Download complete
dcc0f382cd80: Download complete
d69ff9f37121: Verifying Checksum
d69ff9f37121: Download complete
d3cdec43bf88: Verifying Checksum
d3cdec43bf88: Download complete
08269f8e9f88: Download complete
cfcfca2848c7: Verifying Checksum
cfcfca2848c7: Download complete
3e59769da2fa: Verifying Checksum
3e59769da2fa: Download complete
88870299ba08: Verifying Checksum
88870299ba08: Download complete
44009f9238f5: Verifying Checksum
44009f9238f5: Download complete
cd85517f6ae1: Pull complete
a927948f92fa: Pull complete
1c287e8ba282: Verifying Checksum
1c287e8ba282: Download complete
4433c52b5ab1: Pull complete
8aa93bc8ca93: Pull complete
ea1246f51649: Verifying Checksum
ea1246f51649: Download complete
7d31cd7e9a9b: Pull complete
959a5be6bfab: Pull complete
6569047248d7: Pull complete
a01a3ff02f3d: Pull complete
8b1106fd8e03: Pull complete
61c97bcc90cd: Pull complete
b9124a8b6c28: Pull complete
d2c94cd49c4c: Pull complete
0e63679d7dbc: Pull complete
6819a31cdb14: Pull complete
1d67c4c09922: Pull complete
3f456f1cc39a: Pull complete
6afff2ae07da: Pull complete
4f4fb700ef54: Pull complete
90c294795090: Pull complete
d7c6287626d1: Pull complete
0e6719fd9f6d: Pull complete
53830a3a67c9: Pull complete
b407be133f08: Pull complete
951a5932e150: Pull complete
dcc0f382cd80: Pull complete
d3cdec43bf88: Pull complete
d69ff9f37121: Pull complete
cfcfca2848c7: Pull complete
08269f8e9f88: Pull complete
3e59769da2fa: Pull complete
9805b37779a7: Verifying Checksum
9805b37779a7: Download complete
e7605c8c2a42: Verifying Checksum
e7605c8c2a42: Download complete
70513d7fd3b7: Download complete
698c4df6b159: Verifying Checksum
698c4df6b159: Download complete
c08307af4b00: Verifying Checksum
c08307af4b00: Download complete
9ada87aa6d64: Verifying Checksum
9ada87aa6d64: Download complete
eb6d5e49a943: Verifying Checksum
eb6d5e49a943: Download complete
e7605c8c2a42: Pull complete
88870299ba08: Pull complete
9ada87aa6d64: Pull complete
44009f9238f5: Pull complete
1c287e8ba282: Pull complete
ea1246f51649: Pull complete
9805b37779a7: Pull complete
eb6d5e49a943: Pull complete
70513d7fd3b7: Pull complete
698c4df6b159: Pull complete
c08307af4b00: Pull complete
Digest: sha256:ee186ded9e345e55d4230a8edfeb84c47deaa7f722133ccaecbfc2b88745b5d4
Status: Downloaded newer image for ocaml/opam@sha256:ee186ded9e345e55d4230a8edfeb84c47deaa7f722133ccaecbfc2b88745b5d4
2026-03-30 21:26.45 ---> saved as "d25c992ad2ea4d7343b2e5524c8d01191af3bcc5617b83e1c8534cf674048258"

/: (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.45 ---> saved as "8def26fdcc7bf5f4b96c6b4fa181245aada67baeae0cc229d5586e7a5b12d1e8"

/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-30 21:27.09 ---> saved as "fcf1d2a828315e8435161875d3f668101096bdc88d61c06c3e72af092924223a"

/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=fedora os-version=43
# 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:27.09 ---> saved as "cf8ffe05ba2fb593d326b1217bcb66b16bc379893272da73af88f533ef4bc1d8"

/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.15 ---> saved as "4c8657d5bf21f18aedc940953a667dc75df987e6055e340d2c0cb7e87bd7a489"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 43 openh264 (From Cisco) - x86_ 100% |   2.8 KiB/s | 986.0   B |  00m00s
-  Fedora 43 - x86_64 - Updates           100% | 120.1 KiB/s |  17.1 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.
2026-03-30 21:27.44 ---> saved as "f4d803b808a3a32182c8c814d136c67a4de87c9a2f0a7cea17bd273d421dbad2"

/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.44 ---> saved as "b5485b5d14bd2777dfcad9c1c3b33d63cb2072a7c15c2c8e0a33210e00720bee"

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