(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 opensuse-15.6-ocaml-4.14/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:opensuse-15.6-ocaml-4.14@sha256:4ada65c68c58ec2b8debb4ae2df79920647f81a4484dfe17d7f2d13872a72853
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 "\"opensuse-15.6\""; 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:opensuse-15.6-ocaml-4.14@sha256:4ada65c68c58ec2b8debb4ae2df79920647f81a4484dfe17d7f2d13872a72853-contract.0.1.0-6bd94e649fd37e846e43afa12ad324faba41e969"
2026-05-25 04:39.58: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:4ada65c68c58ec2b8debb4ae2df79920647f81a4484dfe17d7f2d13872a72853)
(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 \"\\\"opensuse-15.6\\\"\"; 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 toxis.caelum.ci.dev
All commits already cached
Updating files: 98% (17737/17960)
Updating files: 99% (17781/17960)
Updating files: 100% (17960/17960)
Updating files: 100% (17960/17960), done.
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:opensuse-15.6-ocaml-4.14@sha256:4ada65c68c58ec2b8debb4ae2df79920647f81a4484dfe17d7f2d13872a72853)
Unable to find image 'ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:4ada65c68c58ec2b8debb4ae2df79920647f81a4484dfe17d7f2d13872a72853' locally
docker.io/ocaml/opam@sha256:4ada65c68c58ec2b8debb4ae2df79920647f81a4484dfe17d7f2d13872a72853: Pulling from ocaml/opam
90c02a347c3c: Already exists
4a97a925dc51: Already exists
8f3edb816ea5: Already exists
fc0906997780: Already exists
880b45fb7848: Already exists
aac3f970581d: Already exists
a10f5d99a714: Already exists
2cb19a5cb6a0: Already exists
69dc0b2275c2: Already exists
ac0f1a58ca2c: Already exists
6740b0027cef: Already exists
596c07146196: Already exists
f829e2fe48c9: Already exists
07caa98e0988: Already exists
f22069f46c9a: Already exists
525691143d18: Already exists
4f4b9963c58d: Already exists
0da1ade0e3cd: Already exists
93fb9d6383f1: Already exists
4f4fb700ef54: Already exists
38829ce7d1df: Already exists
4cfab0213ffd: Already exists
bb39643b6074: Already exists
4d795f8a60b9: Already exists
0765ee798e35: Already exists
defc0beb011b: Already exists
e86a090295c8: Already exists
c9f6bdad98f3: Already exists
7099bcff7937: Already exists
45509dbac728: Already exists
cc9f4e900cf2: Already exists
c4b888db2d8c: Already exists
f45835fc7721: Already exists
227bd6f1a70f: Already exists
6ad5f51f95fe: Already exists
700cd0436182: Already exists
80bb1456e18c: Already exists
8f0205cc3a46: Already exists
13530603797f: Pulling fs layer
3f4fd3e2dba1: Pulling fs layer
3976918043b4: Pulling fs layer
b6af4adfcf28: Pulling fs layer
2faf3ea9495a: Pulling fs layer
b6af4adfcf28: Waiting
2faf3ea9495a: Waiting
3976918043b4: Verifying Checksum
3976918043b4: Download complete
b6af4adfcf28: Verifying Checksum
b6af4adfcf28: Download complete
2faf3ea9495a: Download complete
13530603797f: Verifying Checksum
13530603797f: Download complete
3f4fd3e2dba1: Verifying Checksum
3f4fd3e2dba1: Download complete
13530603797f: Pull complete
3f4fd3e2dba1: Pull complete
3976918043b4: Pull complete
b6af4adfcf28: Pull complete
2faf3ea9495a: Pull complete
Digest: sha256:4ada65c68c58ec2b8debb4ae2df79920647f81a4484dfe17d7f2d13872a72853
Status: Downloaded newer image for ocaml/opam@sha256:4ada65c68c58ec2b8debb4ae2df79920647f81a4484dfe17d7f2d13872a72853
2026-05-25 04:40.40 ---> using "2d02d5e6367e692562c46f6bf306ae59a8b006f7e675e2cd9220d129b0de1240" 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.40 ---> using "466c0c6f8a7d0a64996a191613be57a0b52cfe88ecee03fd1daf07f69cc62e5e" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-05-25 04:40.40 ---> using "9a2a8e527648fc958d1904e0c5934fb2d43db6174e4e53e932a56d0f46f26ce5" 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=opensuse-leap os-version=15.6
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 2 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages ocaml-base-compiler.4.14.3, ocaml-options-vanilla.1
# 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.3
2026-05-25 04:40.40 ---> using "b5be13416a461e5c832b4fd8fd7b0933d81d7fba5bc6a10045fe2f1c370a75bf" 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.40 ---> using "da477c6d10e167c4be1e60b3abf95198b9f00e5f9c874c1f7d4e8a1b477d70ab" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-05-25 04:40.49 ---> saved as "106d26d91d4176b084c5f86b15da6c3120dd9b5977912958a91bdf9ab7d43354"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-25 04:41.10 ---> saved as "588a50ec919668d5ce0ea3ebaf70534c90bd1c1c96c0ca45d6d0f2daf68f823f"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [..
- Looking for gpg keys in repository Update repository of openSUSE Backports.
- gpgkey=http://download.opensuse.org/update/leap/15.6/backports/repodata/repomd.xml.key
- ......
- ..
- ...........
- ........
- .........
- ............
- .done]
- Building repository 'Update repository of openSUSE Backports' cache [..
- ..done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [..
- Looking for gpg keys in repository Update repository with updates from SUSE Linux Enterprise 15.
- gpgkey=http://download.opensuse.org/update/leap/15.6/sle/repodata/repomd.xml.key
- .
- ........
- ...........
- ..........
- .........
- ..........
- ..........
- .........
- .........
- .........
- .........
- ........
- .......
- ........
- ........
- .........
- ..........
- .........
- .........
- .........
- .........
- .........
- .........
- .........
- ........
- ..........
- .........
- .........
- ..........
- ..........
- ..........
- ..........
- ..........
- .....done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Retrieving repository 'Main Update Repository' metadata [.
- .
- Looking for gpg keys in repository Main Update Repository.
- gpgkey=http://download.opensuse.org/update/leap/15.6/oss/repodata/repomd.xml.key
- ...............
- done]
- Building repository 'Main Update Repository' cache [....done]
- Retrieving repository 'Update Repository (Non-Oss)' metadata [..
- Looking for gpg keys in repository Update Repository (Non-Oss).
- gpgkey=http://download.opensuse.org/update/leap/15.6/non-oss/repodata/repomd.xml.key
- ...
- ....
- .
- ..
- .
- ..
- .
- ..
- done]
- Building repository 'Update Repository (Non-Oss)' cache [....done]
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.
2026-05-25 04:42.50 ---> saved as "53094f0a10b2e0e7bb60836fffc4955ac167ff74c89fc93afb63041ec05c7978"
/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:42.51 ---> saved as "002e8182e4bbe09bebcb4469b08a1c9f1affd3ba3d8f0da8ecafa73e8e729e33"
/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 \"\\\"opensuse-15.6\\\"\"; 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
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.14.3
- contract -> ocaml >= 5.0 -> ocaml-variants (< 5.2.3~ | >= 5.3.1~)
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- contract -> ocaml >= 5.0 -> ocaml-variants < 5.0.1~ -> base-implicits
unknown package
* Missing dependency:
- contract -> ocaml >= 5.0 -> ocaml-variants < 5.0.1~ -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- contract -> ocaml >= 5.0 -> ocaml-variants < 5.0.1~ -> ocaml (= 4.02.4 | = 4.03.1 | = 4.04.3 | = 4.05.1 | = 4.06.2 | = 4.07.2 | = 4.08.2)
no matching version
* Missing dependency:
- contract -> ocaml >= 5.0 -> ocaml-variants < 5.2.1~ -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "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 "\"opensuse-15.6\""; 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" failed with exit status 20
2026-05-25 04:43.02: Job failed: Failed: Build failed
2026-05-25 04:43.02: Log analysis:
2026-05-25 04:43.02: >>>
No solution found, exiting
(score = 100)
2026-05-25 04:43.02: [SKIP] Package not available