Build:
- 0
2025-12-29 14:49.43: New job: build alice.0.3.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29145/head (2243b3772f42f64b0cf083845f9b108bd7a93091)
on alpine-3.22-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/29145/head" && git reset --hard 2243b377
git fetch origin master
git merge --no-edit c239a62d58deaede2e5dce17c2715a55397b73f2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-5.4@sha256:5122db4b870413cb902d3ebf511b7151563795e0db377625bf3bda7287004761
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 alice.0.3.0 0.3.0
RUN opam reinstall alice.0.3.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 "\"alpine-3.22\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'alice.0.3.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 .
2025-12-29 14:49.43: Using cache hint "ocaml/opam:alpine-3.22-ocaml-5.4@sha256:5122db4b870413cb902d3ebf511b7151563795e0db377625bf3bda7287004761-alice.0.3.0-2243b3772f42f64b0cf083845f9b108bd7a93091"
2025-12-29 14:49.43: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:5122db4b870413cb902d3ebf511b7151563795e0db377625bf3bda7287004761)
(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 alice.0.3.0 0.3.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall alice.0.3.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 \"\\\"alpine-3.22\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'alice.0.3.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-12-29 14:49.43: Waiting for resource in pool OCluster
2025-12-29 14:49.44: Waiting for worker…
2025-12-29 14:51.03: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at c239a62d58 Merge pull request #29143 from filipeom/opam-publish-smtml.0.18.0
Updating c239a62d58..2243b3772f
Fast-forward
packages/alice/alice.0.3.0/opam | 47 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
create mode 100644 packages/alice/alice.0.3.0/opam
(from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:5122db4b870413cb902d3ebf511b7151563795e0db377625bf3bda7287004761)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-5.4@sha256:5122db4b870413cb902d3ebf511b7151563795e0db377625bf3bda7287004761' locally
docker.io/ocaml/opam@sha256:5122db4b870413cb902d3ebf511b7151563795e0db377625bf3bda7287004761: Pulling from ocaml/opam
2d35ebdb57d9: Pulling fs layer
f63fa0955e1c: Pulling fs layer
d1aff334d2ef: Pulling fs layer
dd7ef0713d60: Pulling fs layer
2d35ebdb57d9: Waiting
f63fa0955e1c: Waiting
1cb85b1771c1: Pulling fs layer
d1aff334d2ef: Waiting
b3e3cbca8fe5: Pulling fs layer
1cb85b1771c1: Waiting
dd7ef0713d60: Waiting
e20f2edd147c: Pulling fs layer
b3e3cbca8fe5: Waiting
2a81809d2792: Pulling fs layer
44d45904e0bf: Pulling fs layer
2a81809d2792: Waiting
e20f2edd147c: Waiting
e4766861c56b: Pulling fs layer
781637641c53: Pulling fs layer
44d45904e0bf: Waiting
e4766861c56b: Waiting
7a3635ad3eff: Pulling fs layer
a17b51910e9e: Pulling fs layer
ebefb05f3452: Pulling fs layer
7a3635ad3eff: Waiting
a17b51910e9e: Waiting
7516504988c4: Pulling fs layer
781637641c53: Waiting
6de436e58aaa: Pulling fs layer
6de436e58aaa: Waiting
c95d51a1d4cc: Pulling fs layer
4f4fb700ef54: Pulling fs layer
958c68e99d31: Pulling fs layer
3276c8259ea4: Pulling fs layer
4f4fb700ef54: Waiting
c95d51a1d4cc: Waiting
dc258c8006b5: Pulling fs layer
762484f20604: Pulling fs layer
3276c8259ea4: Waiting
dc258c8006b5: Waiting
e420826a58be: Pulling fs layer
21ebbf1cf394: Pulling fs layer
fcab148fc6b3: Pulling fs layer
0a5763305413: Pulling fs layer
fcab148fc6b3: Waiting
0bb0efb41734: Pulling fs layer
21ebbf1cf394: Waiting
99400a979ef1: Pulling fs layer
0bb0efb41734: Waiting
57e03fc374af: Pulling fs layer
e6ea8c92b8c1: Pulling fs layer
57e03fc374af: Waiting
99400a979ef1: Waiting
9f382f7bc8ee: Pulling fs layer
e6ea8c92b8c1: Waiting
b0d06a6c6175: Pulling fs layer
9f382f7bc8ee: Waiting
4d2a1c175ac8: Pulling fs layer
b0d06a6c6175: Waiting
8304e3cd4887: Pulling fs layer
4d2a1c175ac8: Waiting
0fc2673dbd75: Pulling fs layer
7fc8a2a61f7b: Pulling fs layer
8304e3cd4887: Waiting
deb94476d1ac: Pulling fs layer
92acfd196618: Pulling fs layer
0fc2673dbd75: Waiting
4bd334c6db61: Pulling fs layer
deb94476d1ac: Waiting
7fc8a2a61f7b: Waiting
aa88082ae8a5: Pulling fs layer
92acfd196618: Waiting
c08280a270d1: Pulling fs layer
4bd334c6db61: Waiting
668723861353: Pulling fs layer
c08280a270d1: Waiting
aa88082ae8a5: Waiting
668723861353: Waiting
f63fa0955e1c: Verifying Checksum
f63fa0955e1c: Download complete
2d35ebdb57d9: Verifying Checksum
2d35ebdb57d9: Download complete
2d35ebdb57d9: Pull complete
d1aff334d2ef: Verifying Checksum
d1aff334d2ef: Download complete
f63fa0955e1c: Pull complete
d1aff334d2ef: Pull complete
1cb85b1771c1: Verifying Checksum
1cb85b1771c1: Download complete
b3e3cbca8fe5: Verifying Checksum
b3e3cbca8fe5: Download complete
e20f2edd147c: Verifying Checksum
e20f2edd147c: Download complete
2a81809d2792: Verifying Checksum
2a81809d2792: Download complete
e4766861c56b: Verifying Checksum
e4766861c56b: Download complete
44d45904e0bf: Verifying Checksum
44d45904e0bf: Download complete
dd7ef0713d60: Verifying Checksum
dd7ef0713d60: Download complete
781637641c53: Verifying Checksum
781637641c53: Download complete
a17b51910e9e: Download complete
7a3635ad3eff: Verifying Checksum
7a3635ad3eff: Download complete
ebefb05f3452: Download complete
7516504988c4: Download complete
6de436e58aaa: Download complete
c95d51a1d4cc: Verifying Checksum
c95d51a1d4cc: Download complete
4f4fb700ef54: Download complete
958c68e99d31: Download complete
3276c8259ea4: Verifying Checksum
3276c8259ea4: Download complete
dc258c8006b5: Verifying Checksum
dc258c8006b5: Download complete
762484f20604: Verifying Checksum
762484f20604: Download complete
21ebbf1cf394: Download complete
e420826a58be: Download complete
0a5763305413: Verifying Checksum
0a5763305413: Download complete
0bb0efb41734: Verifying Checksum
0bb0efb41734: Download complete
99400a979ef1: Verifying Checksum
99400a979ef1: Download complete
57e03fc374af: Verifying Checksum
57e03fc374af: Download complete
e6ea8c92b8c1: Download complete
b0d06a6c6175: Download complete
8304e3cd4887: Download complete
0fc2673dbd75: Download complete
7fc8a2a61f7b: Download complete
deb94476d1ac: Download complete
92acfd196618: Verifying Checksum
92acfd196618: Download complete
4d2a1c175ac8: Verifying Checksum
4d2a1c175ac8: Download complete
aa88082ae8a5: Download complete
c08280a270d1: Verifying Checksum
c08280a270d1: Download complete
668723861353: Verifying Checksum
668723861353: Download complete
dd7ef0713d60: Pull complete
4bd334c6db61: Verifying Checksum
4bd334c6db61: Download complete
1cb85b1771c1: Pull complete
b3e3cbca8fe5: Pull complete
e20f2edd147c: Pull complete
2a81809d2792: Pull complete
44d45904e0bf: Pull complete
e4766861c56b: Pull complete
781637641c53: Pull complete
7a3635ad3eff: Pull complete
a17b51910e9e: Pull complete
ebefb05f3452: Pull complete
7516504988c4: Pull complete
6de436e58aaa: Pull complete
9f382f7bc8ee: Verifying Checksum
9f382f7bc8ee: Download complete
c95d51a1d4cc: Pull complete
4f4fb700ef54: Pull complete
958c68e99d31: Pull complete
3276c8259ea4: Pull complete
dc258c8006b5: Pull complete
762484f20604: Pull complete
e420826a58be: Pull complete
21ebbf1cf394: Pull complete
fcab148fc6b3: Pull complete
0a5763305413: Pull complete
0bb0efb41734: Pull complete
99400a979ef1: Pull complete
57e03fc374af: Pull complete
e6ea8c92b8c1: Pull complete
9f382f7bc8ee: Pull complete
b0d06a6c6175: Pull complete
4d2a1c175ac8: Pull complete
8304e3cd4887: Pull complete
0fc2673dbd75: Pull complete
7fc8a2a61f7b: Pull complete
deb94476d1ac: Pull complete
92acfd196618: Pull complete
4bd334c6db61: Pull complete
aa88082ae8a5: Pull complete
c08280a270d1: Pull complete
668723861353: Pull complete
Digest: sha256:5122db4b870413cb902d3ebf511b7151563795e0db377625bf3bda7287004761
Status: Downloaded newer image for ocaml/opam@sha256:5122db4b870413cb902d3ebf511b7151563795e0db377625bf3bda7287004761
2025-12-29 14:55.53 ---> saved as "6311c9d9753a24bb17320a647aa83f4150d5f340f4c7839df474104a3b0f21e2"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-29 14:55.53 ---> saved as "99e5c79609bb5a18620490422efc9479083864bfefc0b474b256e5d54c710aae"
/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
2025-12-29 14:56.50 ---> saved as "1068c22130bec5fbad25faf129ee39de8787aa4f1e2057fcbbd6ac6d2d8695a0"
/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=alpine os-version=3.22.2
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, 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.0
2025-12-29 14:56.50 ---> saved as "8ee4327e22fa805fd72be48794e674474726816390cd5472cceed4a256fd93f7"
/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/"))
2025-12-29 14:57.49 ---> saved as "7068f4ac37bce4e0736f2c0e6aa51e63b623054907a7dffd823d2603c75f5a2e"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-29 14:59.12 ---> saved as "38c7ccc977f29de278f4f56bb5deba048c23743e2e0821ec99d18dca61f8d670"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-29 14:59.58 ---> saved as "5f839689617240200f6c4eb9a1e6b2b9643faddbe7e8dd755d1ab7614acb0dd8"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.22.2-323-g6078141c2a5 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-325-gffb20bd62d9 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20251224-148-g5c9c5b5d227 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20251224-148-g5c9c5b5d227 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20251224-148-g5c9c5b5d227 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60585 distinct packages available
2025-12-29 15:00.00 ---> saved as "1de35618dcbba960c7463a589ea962689bc65bb34012827467d1a3b693d3e4a6"
/home/opam: (run (shell "opam pin add -k version -yn alice.0.3.0 0.3.0"))
alice is now pinned to version 0.3.0
2025-12-29 15:00.01 ---> saved as "682fe0ce12c16544efc827896fcbad2d6be8a9020645097e1ff16e7aadd09d48"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall alice.0.3.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 \"\\\"alpine-3.22\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'alice.0.3.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
alice.0.3.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 17 packages
- install alice 0.3.0 (pinned)
- install climate 0.9.0 [required by alice]
- install dune 3.20.2 [required by alice]
- install dyn 3.20.2 [required by alice]
- install fileutils 0.6.6 [required by alice]
- install ISO8601 0.2.6 [required by toml]
- install menhir 20250912 [required by toml]
- install menhirCST 20250912 [required by menhir]
- install menhirLib 20250912 [required by menhir]
- install menhirSdk 20250912 [required by menhir]
- install ordering 3.20.2 [required by dyn]
- install pp 2.0.0 [required by alice]
- install re 1.14.0 [required by alice]
- install sha 1.15.4 [required by alice]
- install stdlib-shims 0.3.0 [required by sha]
- install toml 7.1.0 [required by alice]
- install xdg 3.20.2 [required by alice]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Failed to get sources of alice.0.3.0: Bad checksum
-> retrieved climate.0.9.0 (cached)
-> retrieved dune.3.20.2, dyn.3.20.2, ordering.3.20.2, xdg.3.20.2 (cached)
-> retrieved fileutils.0.6.6 (cached)
-> retrieved ISO8601.0.2.6 (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912 (cached)
-> retrieved pp.2.0.0 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved sha.1.15.4 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved toml.7.1.0 (cached)
-> installed dune.3.20.2
-> installed climate.0.9.0
-> installed ISO8601.0.2.6
-> installed menhirCST.20250912
-> installed menhirLib.20250912
-> installed menhirSdk.20250912
-> installed pp.2.0.0
-> installed re.1.14.0
-> installed stdlib-shims.0.3.0
-> installed fileutils.0.6.6
-> installed ordering.3.20.2
-> installed xdg.3.20.2
-> installed sha.1.15.4
-> installed dyn.3.20.2
-> installed menhir.20250912
-> installed toml.7.1.0
#=== ERROR while fetching sources for alice.0.3.0 =============================#
OpamSolution.Fetch_fail("https://github.com/alicecaml/alice/archive/refs/tags/0.2.0.tar.gz (Bad checksum, expected sha256=2f31ff9b6067da1eb582f254d05ce6e8d966587144e2c79cc77d503293593e62)")
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - fetch alice 0.3.0
+-
+- The following changes have been performed
| - install climate 0.9.0
| - install dune 3.20.2
| - install dyn 3.20.2
| - install fileutils 0.6.6
| - install ISO8601 0.2.6
| - install menhir 20250912
| - install menhirCST 20250912
| - install menhirLib 20250912
| - install menhirSdk 20250912
| - install ordering 3.20.2
| - install pp 2.0.0
| - install re 1.14.0
| - install sha 1.15.4
| - install stdlib-shims 0.3.0
| - install toml 7.1.0
| - install xdg 3.20.2
+-
# 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-20251229150002.export"
"/usr/bin/env" "bash" "-c" "opam reinstall alice.0.3.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 "\"alpine-3.22\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'alice.0.3.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 40
2025-12-29 15:01.52: Job failed: Failed: Build failed
2025-12-29 15:01.52: Log analysis:
2025-12-29 15:01.52: >>>
[ERROR] Failed to get sources of alice.0.3.0: Bad checksum
(score = 25)
2025-12-29 15:01.52: Failed to get sources of alice.0.3.0: Bad checksum