(for PR #29145)
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 debian-13-ocaml-4.14-afl/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:debian-13-ocaml-4.14-afl@sha256:0b3afa3304660cc3f9e2e5fbfac6fe6931e22d27eeab06c3892ce5d21a32bf0f
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 "\"debian-13\""; 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:debian-13-ocaml-4.14-afl@sha256:0b3afa3304660cc3f9e2e5fbfac6fe6931e22d27eeab06c3892ce5d21a32bf0f-alice.0.3.0-2243b3772f42f64b0cf083845f9b108bd7a93091"
2025-12-29 14:49.43: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-afl@sha256:0b3afa3304660cc3f9e2e5fbfac6fe6931e22d27eeab06c3892ce5d21a32bf0f)
(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 \"\\\"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\" != '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:52.32: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 64% (12321/19112)
Updating files: 65% (12423/19112)
Updating files: 66% (12614/19112)
Updating files: 67% (12806/19112)
Updating files: 68% (12997/19112)
Updating files: 69% (13188/19112)
Updating files: 70% (13379/19112)
Updating files: 71% (13570/19112)
Updating files: 72% (13761/19112)
Updating files: 73% (13952/19112)
Updating files: 74% (14143/19112)
Updating files: 75% (14334/19112)
Updating files: 76% (14526/19112)
Updating files: 77% (14717/19112)
Updating files: 78% (14908/19112)
Updating files: 79% (15099/19112)
Updating files: 80% (15290/19112)
Updating files: 81% (15481/19112)
Updating files: 82% (15672/19112)
Updating files: 83% (15863/19112)
Updating files: 84% (16055/19112)
Updating files: 85% (16246/19112)
Updating files: 86% (16437/19112)
Updating files: 87% (16628/19112)
Updating files: 88% (16819/19112)
Updating files: 89% (17010/19112)
Updating files: 90% (17201/19112)
Updating files: 91% (17392/19112)
Updating files: 92% (17584/19112)
Updating files: 93% (17775/19112)
Updating files: 94% (17966/19112)
Updating files: 95% (18157/19112)
Updating files: 96% (18348/19112)
Updating files: 97% (18539/19112)
Updating files: 98% (18730/19112)
Updating files: 99% (18921/19112)
Updating files: 100% (19112/19112)
Updating files: 100% (19112/19112), done.
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:debian-13-ocaml-4.14-afl@sha256:0b3afa3304660cc3f9e2e5fbfac6fe6931e22d27eeab06c3892ce5d21a32bf0f)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14-afl@sha256:0b3afa3304660cc3f9e2e5fbfac6fe6931e22d27eeab06c3892ce5d21a32bf0f' locally
docker.io/ocaml/opam@sha256:0b3afa3304660cc3f9e2e5fbfac6fe6931e22d27eeab06c3892ce5d21a32bf0f: Pulling from ocaml/opam
2981f7e8980b: Already exists
38c43a523031: Already exists
86b171e1f8bb: Already exists
c62328d491a4: Already exists
eff4af1ec9f9: Already exists
a8fb3d73c22a: Already exists
75059ed2c06e: Already exists
c838c080301e: Already exists
dfb14fb41cef: Already exists
df6d00addf67: Already exists
4f718223933a: Already exists
ccc6aa3cc5f0: Already exists
23e68f1bebf2: Already exists
bc8ede90ef45: Already exists
80af37328cf0: Already exists
709d603477b6: Already exists
0ccf30b070a2: Already exists
35aa2e416863: Already exists
00036f610596: Already exists
566836f020cc: Already exists
71b9e3f831b5: Already exists
8a58bb81444d: Already exists
4f4fb700ef54: Already exists
c914f6b1f746: Already exists
63d935813e47: Already exists
8ac9b4b966c0: Already exists
8001b3a2b5ac: Already exists
ab8c1074cdd7: Already exists
552a5e6f461a: Already exists
096d8d04315b: Already exists
8c2c8a96d5dd: Already exists
5e0e78b37cf0: Already exists
47f8c84cafbb: Already exists
ad98837138f6: Already exists
5ed1b7a005db: Already exists
ec30d9664bee: Already exists
fc40ea176f89: Already exists
120854320efc: Already exists
bc1b0459d6ad: Already exists
ae7d42bb164e: Already exists
e62afff751db: Already exists
b931fa970a3e: Pulling fs layer
b7bbfed9f56e: Pulling fs layer
b183c7db203a: Pulling fs layer
302a81c70316: Pulling fs layer
302a81c70316: Waiting
b7bbfed9f56e: Verifying Checksum
b7bbfed9f56e: Download complete
b183c7db203a: Verifying Checksum
b183c7db203a: Download complete
302a81c70316: Download complete
b931fa970a3e: Verifying Checksum
b931fa970a3e: Download complete
b931fa970a3e: Pull complete
b7bbfed9f56e: Pull complete
b183c7db203a: Pull complete
302a81c70316: Pull complete
Digest: sha256:0b3afa3304660cc3f9e2e5fbfac6fe6931e22d27eeab06c3892ce5d21a32bf0f
Status: Downloaded newer image for ocaml/opam@sha256:0b3afa3304660cc3f9e2e5fbfac6fe6931e22d27eeab06c3892ce5d21a32bf0f
2025-12-29 14:54.56 ---> saved as "9ecd0b89c00d52eea35c26c9cbcdc38425017061e0a1bd7a984d718bb64a326a"
/: (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:54.56 ---> saved as "c7eb40a7d30982d52519709cef11b0390a8807dd8de066810fd4c8298a4d4da1"
/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:55.54 ---> saved as "f1874f72540ff5f2314a83da7d84f8df7e524b6f0fd1a1d8683310f7fbbbb1df"
/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 4.14
# invariant ["ocaml-options-only-afl"]
# compiler-packages ocaml-option-afl.1, ocaml-options-only-afl.1, ocaml-variants.4.14.2+options
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2+options+afl
2025-12-29 14:55.55 ---> saved as "a006c9270b0d7ed3f76784e287c7f75955f96cd0bccb559e4b42b1ac573b3ebf"
/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:56.09 ---> saved as "6ec204502dff37d44a29279f1a49fba690af7712f898b959aa1746f6c77dcb29"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-29 14:56.31 ---> saved as "b2dee0850d66f0f8acfbaaa88c4bc83ff1149ccbd8352a85b2241ccc9a15195d"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-29 14:57.04 ---> saved as "039921f1b09fe5673c9547723ddae677858cfbbbb0b459f95a71e23ffea1b8ba"
/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]
- Fetched 90.7 kB in 0s (656 kB/s)
- Reading package lists...
-
2025-12-29 14:57.06 ---> saved as "4fa4c36bf323834cbed293ef69ab8b1fe34f171be7055118523c5c72e0c7d780"
/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 14:57.07 ---> saved as "1c3d14d48596cee2a9f5b86f7be061465ec371a14e25bfb6397590bccf369b01"
/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 \"\\\"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\" != '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
* Incompatible packages:
- (invariant) -> ocaml-options-only-afl -> ocaml-option-afl -> ocaml-variants >= 4.12.0~
- alice >= 0.3.0 -> ocaml >= 5.1 -> ocaml-base-compiler < 5.3.2~
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- alice >= 0.3.0 -> ocaml >= 5.1 -> dkml-base-compiler >= 5.4.1~ | ocaml-base-compiler >= 5.4.1~ | ocaml-system >= 5.4.1~ | ocaml-variants >= 5.4.1~
no matching version
no matching version
no matching version
not available because the package is pinned to version 4.14.2+options
No solution found, exiting
"/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 "\"debian-13\""; 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 20
2025-12-29 14:58.01: Job failed: Failed: Build failed
2025-12-29 14:58.01: Log analysis:
2025-12-29 14:58.01: >>>
No solution found, exiting
(score = 100)
2025-12-29 14:58.01: [SKIP] Package not available