Build:
- 0
2025-12-12 16:52.50: New job: build ocaml-compiler.5.5, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29085/head (9466bb6421a1dbfbee339527b19d8217439b0f7c)
on debian-12-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/29085/head" && git reset --hard 9466bb64
git fetch origin master
git merge --no-edit ee48e882f0f28b8d5008b84c31dc8d2005ad8ffc
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.4@sha256:bd8d663a0c66570edf0ca5c57e4577998662299f20d3c4cc8a83c1863670a8ea
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 ocaml-compiler.5.5 5.5
RUN opam reinstall --update-invariant ocaml-compiler.5.5; \
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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-compiler.5.5' && 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-12 16:52.50: Using cache hint "ocaml/opam:debian-12-ocaml-5.4@sha256:bd8d663a0c66570edf0ca5c57e4577998662299f20d3c4cc8a83c1863670a8ea-ocaml-compiler.5.5-9466bb6421a1dbfbee339527b19d8217439b0f7c"
2025-12-12 16:52.50: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.4@sha256:bd8d663a0c66570edf0ca5c57e4577998662299f20d3c4cc8a83c1863670a8ea)
(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 ocaml-compiler.5.5 5.5"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall --update-invariant ocaml-compiler.5.5;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-compiler.5.5' && 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-12 16:52.50: Waiting for resource in pool OCluster
2025-12-12 16:52.51: Waiting for worker…
2025-12-12 16:57.06: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at ee48e882f0 Merge pull request #29082 from dra27/ocaml-metadata
Updating ee48e882f0..9466bb6421
Fast-forward
packages/ocaml-compiler/ocaml-compiler.5.5/opam | 8 +++----
packages/ocaml/ocaml.5.5.0/opam | 29 ++++++++++++++++++++-----
2 files changed, 27 insertions(+), 10 deletions(-)
(from ocaml/opam:debian-12-ocaml-5.4@sha256:bd8d663a0c66570edf0ca5c57e4577998662299f20d3c4cc8a83c1863670a8ea)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.4@sha256:bd8d663a0c66570edf0ca5c57e4577998662299f20d3c4cc8a83c1863670a8ea' locally
docker.io/ocaml/opam@sha256:bd8d663a0c66570edf0ca5c57e4577998662299f20d3c4cc8a83c1863670a8ea: Pulling from ocaml/opam
708274aafe49: Pulling fs layer
a73733b08b3c: Pulling fs layer
cb40d7f96117: Pulling fs layer
ee9c8c5de7e3: Pulling fs layer
84e80908bda7: Pulling fs layer
4c5fd3b4cc24: Pulling fs layer
d71c2fbac086: Pulling fs layer
046cc1ae5c18: Pulling fs layer
bfa5a03ecd8a: Pulling fs layer
ee9c8c5de7e3: Waiting
84e80908bda7: Waiting
40d4ddac16f1: Pulling fs layer
8305889da4d2: Pulling fs layer
4c5fd3b4cc24: Waiting
d71c2fbac086: Waiting
de468797725a: Pulling fs layer
bfa5a03ecd8a: Waiting
9277301f150f: Pulling fs layer
40d4ddac16f1: Waiting
eddb7b12d436: Pulling fs layer
8305889da4d2: Waiting
64bb55638273: Pulling fs layer
de468797725a: Waiting
16803dc303e9: Pulling fs layer
d4fa4b836a8f: Pulling fs layer
64bb55638273: Waiting
302935314db8: Pulling fs layer
62bb2e2d5438: Pulling fs layer
16803dc303e9: Waiting
5338516f7da9: Pulling fs layer
302935314db8: Waiting
62bb2e2d5438: Waiting
95d87687bac8: Pulling fs layer
0b7298464a21: Pulling fs layer
4f4fb700ef54: Pulling fs layer
95d87687bac8: Waiting
0b7298464a21: Waiting
617bed7b7101: Pulling fs layer
95a7fa87f8c6: Pulling fs layer
f5467f70543b: Pulling fs layer
e303ef8ff120: Pulling fs layer
baa02a77fc62: Pulling fs layer
617bed7b7101: Waiting
a00df1b6f1fa: Pulling fs layer
e303ef8ff120: Waiting
baa02a77fc62: Waiting
7bada9614c67: Pulling fs layer
ba805f620b0c: Pulling fs layer
7bada9614c67: Waiting
d21b0b189228: Pulling fs layer
f1b7c8bb0559: Pulling fs layer
ba805f620b0c: Waiting
b520aea8cba5: Pulling fs layer
d21b0b189228: Waiting
7706c6a8f28a: Pulling fs layer
f1b7c8bb0559: Waiting
b520aea8cba5: Waiting
005d6943e121: Pulling fs layer
987a765b6ccd: Pulling fs layer
005d6943e121: Waiting
0247fed0ecc3: Pulling fs layer
a108db66ef49: Pulling fs layer
987a765b6ccd: Waiting
0247fed0ecc3: Waiting
546e127da965: Pulling fs layer
fae263707ddc: Pulling fs layer
a108db66ef49: Waiting
adb7f0afd48d: Pulling fs layer
f3ddfb73d739: Pulling fs layer
3ce1bf543809: Pulling fs layer
adb7f0afd48d: Waiting
7ccc9db3d390: Pulling fs layer
f3ddfb73d739: Waiting
3ce1bf543809: Waiting
bec8b69a90b7: Pulling fs layer
680e92740ec7: Pulling fs layer
93796f4c88e8: Pulling fs layer
7ccc9db3d390: Waiting
93796f4c88e8: Waiting
680e92740ec7: Waiting
bec8b69a90b7: Waiting
cb40d7f96117: Download complete
a73733b08b3c: Verifying Checksum
a73733b08b3c: Download complete
84e80908bda7: Verifying Checksum
84e80908bda7: Download complete
708274aafe49: Verifying Checksum
708274aafe49: Download complete
ee9c8c5de7e3: Download complete
d71c2fbac086: Verifying Checksum
d71c2fbac086: Download complete
046cc1ae5c18: Verifying Checksum
046cc1ae5c18: Download complete
bfa5a03ecd8a: Verifying Checksum
bfa5a03ecd8a: Download complete
40d4ddac16f1: Verifying Checksum
40d4ddac16f1: Download complete
8305889da4d2: Verifying Checksum
8305889da4d2: Download complete
de468797725a: Verifying Checksum
de468797725a: Download complete
9277301f150f: Verifying Checksum
9277301f150f: Download complete
eddb7b12d436: Verifying Checksum
eddb7b12d436: Download complete
64bb55638273: Verifying Checksum
64bb55638273: Download complete
16803dc303e9: Download complete
d4fa4b836a8f: Download complete
302935314db8: Download complete
708274aafe49: Pull complete
62bb2e2d5438: Verifying Checksum
62bb2e2d5438: Download complete
a73733b08b3c: Pull complete
cb40d7f96117: Pull complete
5338516f7da9: Verifying Checksum
5338516f7da9: Download complete
95d87687bac8: Verifying Checksum
95d87687bac8: Download complete
0b7298464a21: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
ee9c8c5de7e3: Pull complete
617bed7b7101: Download complete
84e80908bda7: Pull complete
95a7fa87f8c6: Verifying Checksum
95a7fa87f8c6: Download complete
f5467f70543b: Download complete
e303ef8ff120: Verifying Checksum
baa02a77fc62: Verifying Checksum
baa02a77fc62: Download complete
a00df1b6f1fa: Verifying Checksum
a00df1b6f1fa: Download complete
7bada9614c67: Verifying Checksum
7bada9614c67: Download complete
ba805f620b0c: Download complete
f1b7c8bb0559: Download complete
b520aea8cba5: Download complete
7706c6a8f28a: Verifying Checksum
7706c6a8f28a: Download complete
987a765b6ccd: Verifying Checksum
987a765b6ccd: Download complete
0247fed0ecc3: Verifying Checksum
0247fed0ecc3: Download complete
005d6943e121: Verifying Checksum
005d6943e121: Download complete
a108db66ef49: Verifying Checksum
a108db66ef49: Download complete
546e127da965: Verifying Checksum
546e127da965: Download complete
fae263707ddc: Download complete
adb7f0afd48d: Verifying Checksum
adb7f0afd48d: Download complete
f3ddfb73d739: Verifying Checksum
f3ddfb73d739: Download complete
3ce1bf543809: Verifying Checksum
3ce1bf543809: Download complete
bec8b69a90b7: Verifying Checksum
bec8b69a90b7: Download complete
680e92740ec7: Download complete
93796f4c88e8: Verifying Checksum
93796f4c88e8: Download complete
7ccc9db3d390: Verifying Checksum
7ccc9db3d390: Download complete
4c5fd3b4cc24: Verifying Checksum
4c5fd3b4cc24: Download complete
4c5fd3b4cc24: Pull complete
d71c2fbac086: Pull complete
046cc1ae5c18: Pull complete
bfa5a03ecd8a: Pull complete
40d4ddac16f1: Pull complete
8305889da4d2: Pull complete
de468797725a: Pull complete
9277301f150f: Pull complete
eddb7b12d436: Pull complete
64bb55638273: Pull complete
16803dc303e9: Pull complete
d4fa4b836a8f: Pull complete
302935314db8: Pull complete
62bb2e2d5438: Pull complete
5338516f7da9: Pull complete
95d87687bac8: Pull complete
0b7298464a21: Pull complete
4f4fb700ef54: Pull complete
617bed7b7101: Pull complete
95a7fa87f8c6: Pull complete
f5467f70543b: Pull complete
e303ef8ff120: Pull complete
baa02a77fc62: Pull complete
a00df1b6f1fa: Pull complete
7bada9614c67: Pull complete
ba805f620b0c: Pull complete
d21b0b189228: Pull complete
f1b7c8bb0559: Pull complete
b520aea8cba5: Pull complete
7706c6a8f28a: Pull complete
005d6943e121: Pull complete
987a765b6ccd: Pull complete
0247fed0ecc3: Pull complete
a108db66ef49: Pull complete
546e127da965: Pull complete
fae263707ddc: Pull complete
adb7f0afd48d: Pull complete
f3ddfb73d739: Pull complete
3ce1bf543809: Pull complete
7ccc9db3d390: Pull complete
bec8b69a90b7: Pull complete
680e92740ec7: Pull complete
93796f4c88e8: Pull complete
Digest: sha256:bd8d663a0c66570edf0ca5c57e4577998662299f20d3c4cc8a83c1863670a8ea
Status: Downloaded newer image for ocaml/opam@sha256:bd8d663a0c66570edf0ca5c57e4577998662299f20d3c4cc8a83c1863670a8ea
2025-12-12 16:58.55 ---> saved as "5849b108cfe0492ddf16e3dd1a95b9407cb5aae44058d2c54c8faee309371d93"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-12 16:58.55 ---> saved as "5a30dfc6b8c8b4378880c2d4cd1530275610c11f8dbaba9ccb947accd39b6af7"
/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-12 16:59.25 ---> saved as "56ab269e97070e7467f9c5701cbc260429fd63e2c89eb24adddd2d12b902be79"
/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=12
# 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.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-12 16:59.25 ---> saved as "89f818f5dc4ef92d30e6d3b8ce724ae046226fac0163a38c918111f15aeffd09"
/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-12 16:59.34 ---> saved as "c3c46ee002440a743dc60d9726f2528ad52f93ca39115694867fcbecf6156bee"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-12 16:59.42 ---> saved as "89cfb1e1a7070349ad225c7ba24a1441bdeb3e62ec27a017746a057e22f796bb"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-12 17:00.07 ---> saved as "6f8db97ded51a0fa548a4bf10cc71a9742c75d820109cf6b795af845ab28b77c"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [290 kB]
- Fetched 393 kB in 1s (520 kB/s)
- Reading package lists...
-
2025-12-12 17:00.09 ---> saved as "aaff9b4939299446a4c4a3fddedc242ebf591a56cf42a5647c5714e6c7982ab7"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.5 5.5"))
ocaml-compiler is now pinned to version 5.5
2025-12-12 17:00.11 ---> saved as "ce8fcbe7e002aaa491a56a6ba4a506214f34347985f91e70a36fd85a8e0c2d32"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall --update-invariant ocaml-compiler.5.5;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-compiler.5.5' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
ocaml-compiler.5.5 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== remove 1 package
- remove ocaml-base-compiler 5.4.0 (pinned) [conflicts with ocaml-compiler]
=== recompile 5 packages
- recompile base-domains base [uses ocaml]
- recompile base-effects base [uses ocaml]
- recompile base-nnp base [uses base-domains]
- recompile ocaml-config 3 [uses ocaml-base-compiler]
- recompile opam-depext 1.2.3 [uses ocaml]
=== upgrade 2 packages
- upgrade ocaml 5.4.0 to 5.5.0 [uses ocaml-variants]
- upgrade ocaml-compiler 5.4.0 to 5.5 (pinned)
=== install 3 packages
- install host-arch-x86_64 1
- install host-system-other 1
- install ocaml-variants 5.5.0+trunk [required by ocaml-config]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml.5.5.0 (cached)
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> retrieved ocaml-compiler.5.5 (https://github.com/ocaml/ocaml/archive/trunk.tar.gz)
-> retrieved ocaml-config.3 (cached)
-> retrieved opam-depext.1.2.3 (cached)
-> removed base-effects.base
-> removed base-nnp.base
-> removed base-domains.base
-> removed opam-depext.1.2.3
-> removed ocaml.5.4.0
-> removed ocaml-config.3
-> removed ocaml-base-compiler.5.4.0
-> removed ocaml-compiler.5.4.0
-> installed ocaml-compiler.5.5
-> installed ocaml-variants.5.5.0+trunk
-> installed ocaml-config.3
-> installed ocaml.5.5.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
[NOTE] Switch invariant was updated to ["ocaml-variants" {>= "5.4.0"}]
Use `opam switch set-invariant' to change it.
-> installed opam-depext.1.2.3
Done.
<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2025-12-12 17:06.36 ---> saved as "c046fa30b2d9347319fd53311929f85c8522727321f0b4de7a198bcdacff62bb"
Job succeeded
2025-12-12 17:06.42: Job succeeded