(for PR #29952)
2026-05-25 04:39.58: New job: build contract.0.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29952/head (6bd94e649fd37e846e43afa12ad324faba41e969)
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/29952/head" && git reset --hard 6bd94e64
git fetch origin master
git merge --no-edit 856df280428c158a5bb0b3afce1bec956b10ae6f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.4@sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78
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 contract.0.1.0 0.1.0
RUN opam reinstall contract.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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'contract.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-05-25 04:39.58: Using cache hint "ocaml/opam:debian-12-ocaml-5.4@sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78-contract.0.1.0-6bd94e649fd37e846e43afa12ad324faba41e969"
2026-05-25 04:39.58: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.4@sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78)
(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 contract.0.1.0 0.1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall contract.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-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\" != 'contract.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-05-25 04:39.58: Waiting for resource in pool OCluster
2026-05-25 04:39.58: Waiting for worker…
2026-05-25 04:39.59: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
All commits already cached
HEAD is now at 856df28042 Merge pull request #29946 from hannesm/release-mirage-net-solo5-v0.8.1
Updating 856df28042..6bd94e649f
Fast-forward
packages/contract/contract.0.1.0/opam | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 packages/contract/contract.0.1.0/opam
(from ocaml/opam:debian-12-ocaml-5.4@sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.4@sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78' locally
docker.io/ocaml/opam@sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78: Pulling from ocaml/opam
9104793a826a: Pulling fs layer
e1777bf957dd: Pulling fs layer
74a1b02e928a: Pulling fs layer
cc137763a853: Pulling fs layer
f8d625a330ca: Pulling fs layer
72d511800c6b: Pulling fs layer
e4eac10e99da: Pulling fs layer
cc137763a853: Waiting
aa69c97e5b99: Pulling fs layer
2e8d9df2a2b2: Pulling fs layer
d9f9646fab50: Pulling fs layer
e4eac10e99da: Waiting
72d511800c6b: Waiting
005688430198: Pulling fs layer
aa69c97e5b99: Waiting
4c221ffb3fcb: Pulling fs layer
15e0257faf1f: Pulling fs layer
d9f9646fab50: Waiting
d58047685e4c: Pulling fs layer
4c221ffb3fcb: Waiting
75204f9e68b5: Pulling fs layer
2e8d9df2a2b2: Waiting
15e0257faf1f: Waiting
b8a11fb88ec8: Pulling fs layer
d58047685e4c: Waiting
323576ae456c: Pulling fs layer
1150f9d2bcd8: Pulling fs layer
f7eba4983876: Pulling fs layer
f7beaba6bec4: Pulling fs layer
323576ae456c: Waiting
005688430198: Waiting
1150f9d2bcd8: Waiting
74fc6d4c4e77: Pulling fs layer
f7beaba6bec4: Waiting
4f4fb700ef54: Pulling fs layer
b8a11fb88ec8: Waiting
168a84f8733d: Pulling fs layer
e5c3c0841d44: Pulling fs layer
f7eba4983876: Waiting
4f4fb700ef54: Waiting
168a84f8733d: Waiting
9769cfaf6ef3: Pulling fs layer
5cb8b7b1e437: Pulling fs layer
e5c3c0841d44: Waiting
9769cfaf6ef3: Waiting
74fc6d4c4e77: Waiting
a7929350254a: Pulling fs layer
4ca96f71f8fd: Pulling fs layer
f5ceb1cd005c: Pulling fs layer
5cb8b7b1e437: Waiting
5953efccb914: Pulling fs layer
4ca96f71f8fd: Waiting
1a5c22ddfb23: Pulling fs layer
e3ff78cfe441: Pulling fs layer
f5ceb1cd005c: Waiting
59770379be2c: Pulling fs layer
1a5c22ddfb23: Waiting
474f42c60d9a: Pulling fs layer
e3ff78cfe441: Waiting
59770379be2c: Waiting
a9f1dd1b1d0c: Pulling fs layer
5c65526e4bc6: Pulling fs layer
5953efccb914: Waiting
f8d625a330ca: Waiting
3942403b4dbf: Pulling fs layer
474f42c60d9a: Waiting
5c65526e4bc6: Waiting
503eedf8c608: Pulling fs layer
3942403b4dbf: Waiting
d6e61dfbde82: Pulling fs layer
a9f1dd1b1d0c: Waiting
109bfa10b263: Pulling fs layer
503eedf8c608: Waiting
d6e61dfbde82: Waiting
c24c8b207751: Pulling fs layer
22f004ec4bac: Pulling fs layer
109bfa10b263: Waiting
c24c8b207751: Waiting
3fa513e3aaff: Pulling fs layer
c60ae28fb919: Pulling fs layer
3fa513e3aaff: Waiting
e495856fe358: Pulling fs layer
22f004ec4bac: Waiting
2eb286d6b9f1: Pulling fs layer
c60ae28fb919: Waiting
7ce96b9d38aa: Pulling fs layer
e495856fe358: Waiting
7ce96b9d38aa: Waiting
2eb286d6b9f1: Waiting
74a1b02e928a: Verifying Checksum
74a1b02e928a: Download complete
e1777bf957dd: Download complete
f8d625a330ca: Verifying Checksum
f8d625a330ca: Download complete
9104793a826a: Verifying Checksum
9104793a826a: Download complete
cc137763a853: Verifying Checksum
cc137763a853: Download complete
e4eac10e99da: Verifying Checksum
e4eac10e99da: Download complete
2e8d9df2a2b2: Verifying Checksum
2e8d9df2a2b2: Download complete
aa69c97e5b99: Verifying Checksum
aa69c97e5b99: Download complete
72d511800c6b: Verifying Checksum
72d511800c6b: Download complete
d9f9646fab50: Verifying Checksum
d9f9646fab50: Download complete
4c221ffb3fcb: Verifying Checksum
4c221ffb3fcb: Download complete
15e0257faf1f: Verifying Checksum
15e0257faf1f: Download complete
005688430198: Verifying Checksum
005688430198: Download complete
d58047685e4c: Verifying Checksum
d58047685e4c: Download complete
75204f9e68b5: Verifying Checksum
75204f9e68b5: Download complete
b8a11fb88ec8: Download complete
9104793a826a: Pull complete
e1777bf957dd: Pull complete
74a1b02e928a: Pull complete
323576ae456c: Verifying Checksum
323576ae456c: Download complete
1150f9d2bcd8: Verifying Checksum
1150f9d2bcd8: Download complete
f7eba4983876: Verifying Checksum
f7eba4983876: Download complete
74fc6d4c4e77: Download complete
f7beaba6bec4: Verifying Checksum
f7beaba6bec4: Download complete
cc137763a853: Pull complete
f8d625a330ca: Pull complete
168a84f8733d: Verifying Checksum
168a84f8733d: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
e5c3c0841d44: Verifying Checksum
e5c3c0841d44: Download complete
9769cfaf6ef3: Verifying Checksum
9769cfaf6ef3: Download complete
5cb8b7b1e437: Verifying Checksum
5cb8b7b1e437: Download complete
a7929350254a: Verifying Checksum
a7929350254a: Download complete
4ca96f71f8fd: Download complete
f5ceb1cd005c: Verifying Checksum
f5ceb1cd005c: Download complete
5953efccb914: Download complete
1a5c22ddfb23: Verifying Checksum
1a5c22ddfb23: Download complete
e3ff78cfe441: Verifying Checksum
e3ff78cfe441: Download complete
474f42c60d9a: Verifying Checksum
474f42c60d9a: Download complete
5c65526e4bc6: Download complete
59770379be2c: Verifying Checksum
59770379be2c: Download complete
503eedf8c608: Download complete
d6e61dfbde82: Verifying Checksum
d6e61dfbde82: Download complete
109bfa10b263: Verifying Checksum
109bfa10b263: Download complete
c24c8b207751: Verifying Checksum
c24c8b207751: Download complete
a9f1dd1b1d0c: Verifying Checksum
a9f1dd1b1d0c: Download complete
3942403b4dbf: Verifying Checksum
3942403b4dbf: Download complete
22f004ec4bac: Verifying Checksum
22f004ec4bac: Download complete
3fa513e3aaff: Verifying Checksum
3fa513e3aaff: Download complete
2eb286d6b9f1: Verifying Checksum
2eb286d6b9f1: Download complete
7ce96b9d38aa: Download complete
e495856fe358: Verifying Checksum
e495856fe358: Download complete
72d511800c6b: Pull complete
e4eac10e99da: Pull complete
aa69c97e5b99: Pull complete
c60ae28fb919: Verifying Checksum
c60ae28fb919: Download complete
2e8d9df2a2b2: Pull complete
d9f9646fab50: Pull complete
005688430198: Pull complete
4c221ffb3fcb: Pull complete
15e0257faf1f: Pull complete
d58047685e4c: Pull complete
75204f9e68b5: Pull complete
b8a11fb88ec8: Pull complete
323576ae456c: Pull complete
1150f9d2bcd8: Pull complete
f7eba4983876: Pull complete
f7beaba6bec4: Pull complete
74fc6d4c4e77: Pull complete
4f4fb700ef54: Pull complete
168a84f8733d: Pull complete
e5c3c0841d44: Pull complete
9769cfaf6ef3: Pull complete
5cb8b7b1e437: Pull complete
a7929350254a: Pull complete
4ca96f71f8fd: Pull complete
f5ceb1cd005c: Pull complete
5953efccb914: Pull complete
1a5c22ddfb23: Pull complete
e3ff78cfe441: Pull complete
59770379be2c: Pull complete
474f42c60d9a: Pull complete
a9f1dd1b1d0c: Pull complete
5c65526e4bc6: Pull complete
3942403b4dbf: Pull complete
503eedf8c608: Pull complete
d6e61dfbde82: Pull complete
109bfa10b263: Pull complete
c24c8b207751: Pull complete
22f004ec4bac: Pull complete
3fa513e3aaff: Pull complete
c60ae28fb919: Pull complete
e495856fe358: Pull complete
2eb286d6b9f1: Pull complete
7ce96b9d38aa: Pull complete
Digest: sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78
Status: Downloaded newer image for ocaml/opam@sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78
2026-05-25 04:40.23 ---> using "1dfca86aec973988899f8eb21e9d79f09e980897d8820cee38c790bdb4d15937" 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-05-25 04:40.23 ---> using "998d4aee1c1d41d3f67b98f88f1a5c59f6b6d518f4f72ba42c5c70dd4cf3a616" 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.1 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 1 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=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-25 04:40.23 ---> using "d95bfc07859cedf5e86716c20c0a1490268134030d793f2880614205c6e1f182" 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.1
# 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.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-05-25 04:40.23 ---> using "c0e49d7e28f117deef65d91a9eb6aeb7a12658fa194807e8a3ba6cccaa28eaef" 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-05-25 04:40.23 ---> using "995605c3c03d99e80a115ca9475979f3ef4baa6c1ce539e27a092672d12767ca" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-05-25 04:40.34 ---> saved as "71e7c15b3dc1abfd3700fb9bc88caeaf59e16a1450310e130fe46b50424dd3fa"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-25 04:40.46 ---> saved as "099c071126200abd38d541430ad4d2b126e679f8bace2feb1a4756fdb339639f"
/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 [307 kB]
- Fetched 411 kB in 0s (881 kB/s)
- Reading package lists...
-
2026-05-25 04:40.48 ---> saved as "b99f7780c86ae0ac1e51fa8e68d0c57464cf117e25f71309bcda321dbde5c409"
/home/opam: (run (shell "opam pin add -k version -yn contract.0.1.0 0.1.0"))
contract is now pinned to version 0.1.0
2026-05-25 04:40.48 ---> saved as "04d35ae01346acd2d6ce93f6a761c00fb276aa0e747b660a088e8fcd3e74ce2c"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall contract.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-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\" != 'contract.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"))
contract.0.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
- install contract 0.1.0 (pinned)
- install dune 3.23.1 [required by contract]
- install yojson 3.0.0 [required by contract]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved contract.0.1.0 (https://github.com/funwithcthulhu/contract/archive/refs/tags/0.1.0.tar.gz)
-> retrieved dune.3.23.1 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed dune.3.23.1
-> installed yojson.3.0.0
-> installed contract.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-25 04:41.30 ---> saved as "74621c81762440a75b21a77680665f664ac8fdbf0b03b8dc38fa204f107f9be6"
Job succeeded
2026-05-25 04:41.36: Job succeeded