(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 debian-13-ocaml-5.2/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:debian-13-ocaml-5.2@sha256:02103b46522b2a441d1e703b0048148c95121b26eab93d31cfd0df3869b95367
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 "\"debian-13\""; 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:debian-13-ocaml-5.2@sha256:02103b46522b2a441d1e703b0048148c95121b26eab93d31cfd0df3869b95367-wadi.0.1.0-e48542c6b0c57c44b0ef42e7f8c1de6d6e833aa7"
2026-03-30 21:23.36: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.2@sha256:02103b46522b2a441d1e703b0048148c95121b26eab93d31cfd0df3869b95367)
(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 \"\\\"debian-13\\\"\"; 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.36: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
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:debian-13-ocaml-5.2@sha256:02103b46522b2a441d1e703b0048148c95121b26eab93d31cfd0df3869b95367)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.2@sha256:02103b46522b2a441d1e703b0048148c95121b26eab93d31cfd0df3869b95367' locally
docker.io/ocaml/opam@sha256:02103b46522b2a441d1e703b0048148c95121b26eab93d31cfd0df3869b95367: Pulling from ocaml/opam
8f6ad858d0a4: Already exists
69e44424a5e2: Already exists
afd8aac863c4: Already exists
8e947a2e98f4: Already exists
1497695495be: Already exists
dd8dde667620: Already exists
6c8e24e09389: Already exists
82df42eb8f87: Already exists
417be57df8b6: Already exists
93469ace0d3c: Already exists
690b7fb3c88e: Already exists
5e945797c48b: Already exists
f89359597c07: Already exists
3d24804be6e1: Already exists
6223b4e8927d: Already exists
e5255e6ad093: Already exists
4b8862d5191b: Already exists
a97ae6909f09: Already exists
9272e1b13a44: Already exists
4c4ae8dea517: Already exists
58f4c74b02ad: Already exists
d7f5bb85343b: Already exists
4f4fb700ef54: Already exists
5686dd9b80db: Already exists
d6655929e91b: Already exists
202821e2f84c: Already exists
dbfe37502a36: Already exists
03d1d76306ab: Already exists
0cb61df4dd2b: Already exists
9de51b48aa3e: Already exists
7a569ae42189: Already exists
9f66e60fc7d0: Already exists
9c0e93e6cde6: Already exists
52a878b8deac: Already exists
7d5c1811ebd2: Already exists
08ac39eb016e: Already exists
fa3d624a019d: Already exists
bcdad67ff203: Already exists
5535de7c8bad: Already exists
1ffb933c7297: Already exists
01124907da27: Already exists
05aa4e5d21a1: Pulling fs layer
4303c3c9e807: Pulling fs layer
40caeb1505e9: Pulling fs layer
0d37f583e639: Pulling fs layer
04cb90fe247b: Pulling fs layer
0cfc2fa02c22: Pulling fs layer
a90c942f64a5: Pulling fs layer
04cb90fe247b: Waiting
0cfc2fa02c22: Waiting
a90c942f64a5: Waiting
0d37f583e639: Waiting
05aa4e5d21a1: Verifying Checksum
05aa4e5d21a1: Download complete
4303c3c9e807: Download complete
05aa4e5d21a1: Pull complete
40caeb1505e9: Verifying Checksum
40caeb1505e9: Download complete
4303c3c9e807: Pull complete
40caeb1505e9: Pull complete
04cb90fe247b: Download complete
0cfc2fa02c22: Verifying Checksum
0cfc2fa02c22: Download complete
a90c942f64a5: Verifying Checksum
a90c942f64a5: Download complete
0d37f583e639: Verifying Checksum
0d37f583e639: Download complete
0d37f583e639: Pull complete
04cb90fe247b: Pull complete
0cfc2fa02c22: Pull complete
a90c942f64a5: Pull complete
Digest: sha256:02103b46522b2a441d1e703b0048148c95121b26eab93d31cfd0df3869b95367
Status: Downloaded newer image for ocaml/opam@sha256:02103b46522b2a441d1e703b0048148c95121b26eab93d31cfd0df3869b95367
2026-03-30 21:24.39 ---> saved as "1fd7d92f4653d3b3565a769016312720373d275d43d256b0fc9bd7c1d6d9bbb4"
/: (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:24.39 ---> saved as "2ec352be76c57a50bb433934f7ab50178628073927b662a785e3246089d4cc49"
/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.04 ---> saved as "4c7a11939b0ff90df81cbb8195858498361ceafbcbdcb4f66d3979a2c2e079b5"
/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=debian os-version=13
# 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.2
# invariant ["ocaml-base-compiler" {= "5.2.1"}]
# compiler-packages ocaml-base-compiler.5.2.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.2/lib/ocaml/stublibs:/home/opam/.opam/5.2/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.2.1
2026-03-30 21:25.05 ---> saved as "7b891fc157d176293670b904f67a319512254cc9bc0acb7d01aac75f981289ba"
/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.12 ---> saved as "59e5f370d141179beb46de679d7f90506ef7644307c63ba501fb32bf63309698"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-30 21:25.20 ---> saved as "edb1dbd05e4ff88e20485dcd6a9798e16b2eb97ce3f94b07e09bf0af6541b164"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-30 21:25.38 ---> saved as "d9965756774ce1ef98e416ceb249af3bd326c1fa6cde4590656e0c8a70d302e8"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [114 kB]
- Fetched 205 kB in 0s (1467 kB/s)
- Reading package lists...
2026-03-30 21:25.39 ---> saved as "721ea32d2cd76126886d7ec393063aab936dfd6b18d6535bc4ea931d0a2f1c37"
/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.39 ---> saved as "c7814a5f37a6ff6a7eea40c92aa52a17fa39ebc13b34cd1ed46de208fc746986"
/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 \"\\\"debian-13\\\"\"; 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 (https://github.com/improvingjef/wadi/releases/download/v0.1.0/wadi-0.1.0-source.tar.gz)
-> 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.2".
#=== ERROR while installing wadi.0.1.0 ========================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.2.1 | pinned(https://github.com/improvingjef/wadi/releases/download/v0.1.0/wadi-0.1.0-source.tar.gz)
# path ~/.opam/5.2/.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.2
# exit-code 1
# env-file ~/.opam/log/wadi-7-efc983.env
# output-file ~/.opam/log/wadi-7-efc983.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.2/.opam-switch/backup/state-20260330212540.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 "\"debian-13\""; 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.57: Job failed: Failed: Build failed
2026-03-30 21:25.57: Log analysis:
2026-03-30 21:25.57: >>>
[ERROR] The installation of wadi failed at "./scripts/install_release_tree.sh --package-root package --binary _bootstrap/bin/wadi --prefix /home/opam/.opam/5.2".
(score = 20)
2026-03-30 21:25.57: The installation of wadi failed at "./scripts/install_release_tree.sh --package-root package --binary _bootstrap/bin/wadi --prefix /home/opam/.opam/5.2".