(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 ubuntu-25.04-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:ubuntu-25.04-ocaml-5.4@sha256:ba998c69b56a2f121a97029bbf63f9a89246ec1563eb9dda8cfbd117f6fd8fdd
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 "\"ubuntu-25.04\""; 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:ubuntu-25.04-ocaml-5.4@sha256:ba998c69b56a2f121a97029bbf63f9a89246ec1563eb9dda8cfbd117f6fd8fdd-wadi.0.1.0-e48542c6b0c57c44b0ef42e7f8c1de6d6e833aa7"
2026-03-30 21:23.36: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:ba998c69b56a2f121a97029bbf63f9a89246ec1563eb9dda8cfbd117f6fd8fdd)
(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 \"\\\"ubuntu-25.04\\\"\"; 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 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:ubuntu-25.04-ocaml-5.4@sha256:ba998c69b56a2f121a97029bbf63f9a89246ec1563eb9dda8cfbd117f6fd8fdd)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:ba998c69b56a2f121a97029bbf63f9a89246ec1563eb9dda8cfbd117f6fd8fdd' locally
docker.io/ocaml/opam@sha256:ba998c69b56a2f121a97029bbf63f9a89246ec1563eb9dda8cfbd117f6fd8fdd: Pulling from ocaml/opam
c62190a9ab61: Already exists
f1b90cdcec88: Already exists
f8127a040c1d: Already exists
2447f562704f: Already exists
0d0f3574c57a: Already exists
aced54db9227: Already exists
628811db6b3c: Already exists
d98318ee8cc2: Already exists
b4056aeacb3c: Already exists
318cc58f031e: Already exists
e3395b2326bd: Already exists
506a26e021f3: Already exists
9586cad45233: Already exists
ff737bcc8afd: Already exists
97c90c908f2c: Already exists
e3e492fc5cff: Already exists
6dc572fd729f: Already exists
6dc572fd729f: Already exists
823b417e9c08: Already exists
f96f3df0bcd1: Already exists
e87ce6e2ce9c: Already exists
aacf312e7271: Already exists
4f4fb700ef54: Already exists
5890479a716c: Already exists
b5227f4fe3ac: Already exists
68ef80443855: Already exists
552579538854: Already exists
e6ed7c3a752f: Already exists
365e137a0aa5: Already exists
e58e7ad04a6a: Already exists
3cc1cd29089f: Already exists
a0521c40c1eb: Already exists
a1dc524408e1: Already exists
1f1d80e028b5: Already exists
9a99205de717: Already exists
a4467b017c66: Already exists
f80488428594: Already exists
0f9506061016: Already exists
653d5dfe55d0: Already exists
4c85ef99854f: Already exists
b23239d5d36e: Already exists
410807857c4b: Pulling fs layer
afa7a911c514: Pulling fs layer
5eeeb72dcf81: Pulling fs layer
95b789823ab9: Pulling fs layer
b2e53dc0bb05: Pulling fs layer
95b789823ab9: Waiting
5ada2bd28652: Pulling fs layer
b2e53dc0bb05: Waiting
0e9c89b1664b: Pulling fs layer
5ada2bd28652: Waiting
0e9c89b1664b: Waiting
410807857c4b: Verifying Checksum
410807857c4b: Download complete
410807857c4b: Pull complete
5eeeb72dcf81: Verifying Checksum
5eeeb72dcf81: Download complete
afa7a911c514: Download complete
afa7a911c514: Pull complete
5eeeb72dcf81: Pull complete
b2e53dc0bb05: Verifying Checksum
b2e53dc0bb05: Download complete
5ada2bd28652: Verifying Checksum
5ada2bd28652: Download complete
0e9c89b1664b: Download complete
95b789823ab9: Verifying Checksum
95b789823ab9: Download complete
95b789823ab9: Pull complete
b2e53dc0bb05: Pull complete
5ada2bd28652: Pull complete
0e9c89b1664b: Pull complete
Digest: sha256:ba998c69b56a2f121a97029bbf63f9a89246ec1563eb9dda8cfbd117f6fd8fdd
Status: Downloaded newer image for ocaml/opam@sha256:ba998c69b56a2f121a97029bbf63f9a89246ec1563eb9dda8cfbd117f6fd8fdd
2026-03-30 21:23.50 ---> using "a60ec9a4df7089c80b4da5df1a789beeb3652e57c67af4604d798da749fc91bd" 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.50 ---> using "863cdf94cc5bd211be13ebffa6324c2eab72a9a5a14dba08b7b7d3c62d5121c4" 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
[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:23.50 ---> using "e1638db74bcf701a470a6be9888f8a77a3a3a678dcdf129d725e911eb7d453b9" 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=x86_64 os=linux os-distribution=ubuntu os-version=25.04
# 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:23.50 ---> using "876cc9fc9d724ccee444c657158f4b5426ea82b2f58b162adfed74369ce93ea9" 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.50 ---> using "6816ac2772132f1b59519ec70c50e032328323391e8055eb6fa61f30a5680190" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-30 21:23.58 ---> saved as "f72c3dc5fcffcdb224adfb951f745a37886f128e062d66fc40862328ca9cea3f"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-30 21:24.16 ---> saved as "f80a7d69cce6b1c033a593588d5379b5b830c3ea63a8c3407c27ff2b81a7f950"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Hit:2 http://archive.ubuntu.com/ubuntu plucky-updates InRelease
- Hit:3 http://archive.ubuntu.com/ubuntu plucky-backports InRelease
- Hit:4 http://security.ubuntu.com/ubuntu plucky-security InRelease
- Reading package lists...
-
2026-03-30 21:24.23 ---> saved as "d1c524f3a2e4e781268a349a2ea1f29700b3ca0d8a719397207ecd78ad600d90"
/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.23 ---> saved as "6a766d0ca4cd784cf3c8e6d4c33ced6c686fcecacd5713612814431680e6d447"
/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 \"\\\"ubuntu-25.04\\\"\"; 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.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-850cfd.env
# output-file ~/.opam/log/wadi-7-850cfd.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-20260330212424.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 "\"ubuntu-25.04\""; 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:24.43: Job failed: Failed: Build failed
2026-03-30 21:24.43: Log analysis:
2026-03-30 21:24.43: >>>
[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:24.43: The installation of wadi failed at "./scripts/install_release_tree.sh --package-root package --binary _bootstrap/bin/wadi --prefix /home/opam/.opam/5.4".