(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.4/arm64
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.4@sha256:eb67d9bd5b9789e6305ff3753db4c5b91ad2137e43ceddda0fb1835b9bc37d37
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.4@sha256:eb67d9bd5b9789e6305ff3753db4c5b91ad2137e43ceddda0fb1835b9bc37d37-wadi.0.1.0-e48542c6b0c57c44b0ef42e7f8c1de6d6e833aa7"
2026-03-30 21:23.36: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:eb67d9bd5b9789e6305ff3753db4c5b91ad2137e43ceddda0fb1835b9bc37d37)
(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 okypous.caelum.ci.dev
Updating files: 74% (13797/18565)
Updating files: 75% (13924/18565)
Updating files: 76% (14110/18565)
Updating files: 77% (14296/18565)
Updating files: 78% (14481/18565)
Updating files: 79% (14667/18565)
Updating files: 80% (14852/18565)
Updating files: 81% (15038/18565)
Updating files: 82% (15224/18565)
Updating files: 83% (15409/18565)
Updating files: 84% (15595/18565)
Updating files: 85% (15781/18565)
Updating files: 86% (15966/18565)
Updating files: 87% (16152/18565)
Updating files: 88% (16338/18565)
Updating files: 89% (16523/18565)
Updating files: 90% (16709/18565)
Updating files: 91% (16895/18565)
Updating files: 92% (17080/18565)
Updating files: 93% (17266/18565)
Updating files: 94% (17452/18565)
Updating files: 95% (17637/18565)
Updating files: 96% (17823/18565)
Updating files: 97% (18009/18565)
Updating files: 98% (18194/18565)
Updating files: 99% (18380/18565)
Updating files: 100% (18565/18565)
Updating files: 100% (18565/18565), done.
HEAD is now at db0a2ce7ea add ocaml-restricted-2.0.0
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.4@sha256:eb67d9bd5b9789e6305ff3753db4c5b91ad2137e43ceddda0fb1835b9bc37d37)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:eb67d9bd5b9789e6305ff3753db4c5b91ad2137e43ceddda0fb1835b9bc37d37' locally
docker.io/ocaml/opam@sha256:eb67d9bd5b9789e6305ff3753db4c5b91ad2137e43ceddda0fb1835b9bc37d37: Pulling from ocaml/opam
deab8db42772: Already exists
930a4bcb5a7e: Already exists
b94a18629db1: Already exists
f9b9e2c4310a: Already exists
79c6ff10907f: Already exists
a47a15f80ad8: Already exists
c32fb94b29b3: Already exists
22bec6c755f4: Already exists
39d0a2a23489: Already exists
58dfdb3535bd: Already exists
b4a287e65a75: Already exists
bd50299de277: Already exists
0dd1cb243660: Already exists
7120048d902e: Already exists
f6b6ea7c51e7: Already exists
ef95db5771de: Already exists
15699509981a: Already exists
15699509981a: Already exists
88a9f1bb3691: Already exists
3487aa87ceb3: Already exists
44cdd43b2641: Already exists
cdc2a56000f3: Already exists
4f4fb700ef54: Already exists
9e201783281a: Already exists
fb0ccba8670b: Already exists
aae2491edfc8: Already exists
fff35db046c3: Already exists
db428e4bf7d3: Already exists
536c4eeb0134: Already exists
1161813bc506: Already exists
67635461e80a: Already exists
2dae5d83a6b0: Already exists
b1274622ebac: Already exists
9ed3769f556d: Already exists
e26679ad9988: Already exists
7bf3a6da3f3f: Already exists
dfcfeb1b1ae5: Already exists
c4b763a8b54b: Already exists
001894b7bdf7: Already exists
514d3c633628: Already exists
396b2ee9b196: Already exists
52373240cd21: Pulling fs layer
5cabf74851be: Pulling fs layer
828b4a5e8d80: Pulling fs layer
7a057b8effb2: Pulling fs layer
6fac4582ac51: Pulling fs layer
e8d9658e4562: Pulling fs layer
24c2158dbd10: Pulling fs layer
7a057b8effb2: Waiting
6fac4582ac51: Waiting
e8d9658e4562: Waiting
24c2158dbd10: Waiting
828b4a5e8d80: Verifying Checksum
828b4a5e8d80: Download complete
5cabf74851be: Verifying Checksum
5cabf74851be: Download complete
6fac4582ac51: Verifying Checksum
6fac4582ac51: Download complete
e8d9658e4562: Verifying Checksum
e8d9658e4562: Download complete
52373240cd21: Download complete
52373240cd21: Pull complete
5cabf74851be: Pull complete
828b4a5e8d80: Pull complete
24c2158dbd10: Verifying Checksum
24c2158dbd10: Download complete
7a057b8effb2: Verifying Checksum
7a057b8effb2: Download complete
7a057b8effb2: Pull complete
6fac4582ac51: Pull complete
e8d9658e4562: Pull complete
24c2158dbd10: Pull complete
Digest: sha256:eb67d9bd5b9789e6305ff3753db4c5b91ad2137e43ceddda0fb1835b9bc37d37
Status: Downloaded newer image for ocaml/opam@sha256:eb67d9bd5b9789e6305ff3753db4c5b91ad2137e43ceddda0fb1835b9bc37d37
2026-03-30 21:23.40 ---> using "0284426b0da02ea3851957f6ba7d74733f38ee74402937c4d4781e274c390d1d" 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.40 ---> using "e792a6fa99f11be769bb6126a5baf43bedc9268143c7306c98946277522154a7" 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.40 ---> using "0fb5bfe27970c600f956404062feed3b7219f09618ca18fd1bd63d9ceadd9a53" 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=arm64 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 79
# 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.40 ---> using "dc1973cfc57c8341b470bc5a42bca8980a5c4fd36ad6ff85ae809419d0c56c77" 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.40 ---> using "650856da062457add92fe44abe339b50d0cf68eee11b21f66547d265dbe60aa9" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-30 21:23.49 ---> saved as "eb9c145931b3853108f54c4f3fb02ac47564b2874c052227d1300da20f5752d6"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-30 21:24.10 ---> saved as "9194e8ca6e98cae341719a3f72735180859d6a93dc4314ff1f31dbb4af0b7d68"
/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 arm64 Packages [114 kB]
- Fetched 205 kB in 0s (602 kB/s)
- Reading package lists...
-
2026-03-30 21:24.11 ---> saved as "b75a5cdc00c6586a7a591ae43a60e750ce9bb1528377b91a5362683a62ceb950"
/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.12 ---> saved as "677308e131b3477644ef22d6d73327fa4b13886f660b5887fb90d214c00730bb"
/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)
-> installed ocamlfind.1.9.8
-> retrieved wadi.0.1.0 (https://github.com/improvingjef/wadi/releases/download/v0.1.0/wadi-0.1.0-source.tar.gz)
[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/arm64 | 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-be1f9a.env
# output-file ~/.opam/log/wadi-7-be1f9a.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-20260330212413.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.10: Job failed: Failed: Build failed
2026-03-30 21:25.10: Log analysis:
2026-03-30 21:25.10: >>>
[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.10: The installation of wadi failed at "./scripts/install_release_tree.sh --package-root package --binary _bootstrap/bin/wadi --prefix /home/opam/.opam/5.4".