- github
- ocaml
- opam-repository
- 3ff349
- distributions,centos-9-ocaml-5.4,stdcompat.16
(not at the head of any monitored branch or PR)
2026-04-08 03:59.26: New job: build stdcompat.16, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29667/head (3ff349ae2cd8702ef7a5124f6b5cdbaaf3350d51)
on centos-9-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/29667/head" && git reset --hard 3ff349ae
git fetch origin master
git merge --no-edit 67472cd54293d750a62d6d4423024d55f77268b0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-9-ocaml-5.4@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac
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 stdcompat.16 16
RUN opam reinstall stdcompat.16; \
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 "\"centos-9\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'stdcompat.16' && 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-04-08 03:59.26: Using cache hint "ocaml/opam:centos-9-ocaml-5.4@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac-stdcompat.16-3ff349ae2cd8702ef7a5124f6b5cdbaaf3350d51"
2026-04-08 03:59.26: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-5.4@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac)
(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 stdcompat.16 16"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall stdcompat.16;\
\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 \"\\\"centos-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'stdcompat.16' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-04-08 03:59.26: Waiting for resource in pool OCluster
2026-04-08 04:13.38: Waiting for worker…
2026-04-08 04:14.42: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 67472cd542 Merge pull request #29652 from RyanGibb/master
Updating 67472cd542..3ff349ae2c
Fast-forward
packages/stdcompat/stdcompat.0/opam | 2 +-
packages/stdcompat/stdcompat.1/opam | 2 +-
packages/stdcompat/stdcompat.15/opam | 2 +-
packages/stdcompat/stdcompat.16/opam | 2 +-
packages/stdcompat/stdcompat.17/opam | 2 +-
packages/stdcompat/stdcompat.18/opam | 2 +-
packages/stdcompat/stdcompat.19/opam | 2 +-
packages/stdcompat/stdcompat.20.0/opam | 2 +-
packages/stdcompat/stdcompat.20.1/opam | 2 +-
packages/stdcompat/stdcompat.21.0/opam | 2 +-
packages/stdcompat/stdcompat.21.1/opam | 2 +-
11 files changed, 11 insertions(+), 11 deletions(-)
(from ocaml/opam:centos-9-ocaml-5.4@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac)
Unable to find image 'ocaml/opam:centos-9-ocaml-5.4@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac' locally
docker.io/ocaml/opam@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac: Pulling from ocaml/opam
770dd3c6e92a: Already exists
2911f7a46957: Already exists
1ba9cdf1cfa2: Already exists
b8cab8220132: Already exists
0fc6a39ae9a6: Already exists
8e3c4b256b97: Already exists
81d04adc2c14: Already exists
32c8500591a6: Already exists
4742b13dfe20: Already exists
75e8da1c41c0: Already exists
4ab47d63416a: Already exists
cfcf083e24eb: Already exists
11a895b5c6b8: Already exists
7315a5f1d521: Already exists
6d53afc9944a: Already exists
01a19d7847db: Already exists
468b202f5c51: Already exists
9483876bca3a: Already exists
9483876bca3a: Already exists
d6107db0e83f: Already exists
9c6e5669169a: Already exists
4df4284e66b0: Already exists
0edefb19f27d: Already exists
4f4fb700ef54: Already exists
2807c7feeb16: Already exists
8680bb8a718a: Already exists
06751cba04f2: Already exists
13f5be086fed: Already exists
957abdf3ad3f: Already exists
09d6d06570d8: Already exists
cc7c7e93d349: Already exists
9a2f817a1a31: Already exists
edd80250b1b7: Already exists
62d651938aec: Already exists
eb6ca9ab5ee4: Already exists
cf62d41b045f: Already exists
95cf778f2748: Already exists
980d060a5b06: Already exists
f2f419e9f123: Already exists
2862ab4a5d4a: Already exists
cd2c468df6a8: Already exists
2520e20ac8f9: Already exists
f1d9d5f2e2da: Pulling fs layer
d8b78ad9d0b8: Pulling fs layer
379f9f299735: Pulling fs layer
027816daaa8e: Pulling fs layer
7ce30737083b: Pulling fs layer
027816daaa8e: Waiting
7ce30737083b: Waiting
379f9f299735: Verifying Checksum
379f9f299735: Download complete
027816daaa8e: Verifying Checksum
027816daaa8e: Download complete
7ce30737083b: Download complete
f1d9d5f2e2da: Verifying Checksum
f1d9d5f2e2da: Download complete
d8b78ad9d0b8: Verifying Checksum
d8b78ad9d0b8: Download complete
f1d9d5f2e2da: Pull complete
d8b78ad9d0b8: Pull complete
379f9f299735: Pull complete
027816daaa8e: Pull complete
7ce30737083b: Pull complete
Digest: sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac
Status: Downloaded newer image for ocaml/opam@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac
2026-04-08 04:17.06 ---> using "5a483e8f384c1537bd6414fb1d6ecd3225b81ddae6fbf219b83d309e284e23ed" 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-04-08 04:17.06 ---> using "cc866741f68ba0820027f959034bbac9d8ed1b253b6a4b890ea810e0febc9293" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-08 04:17.06 ---> using "1abe7714bd7ebb3bddf5c6252090e0b09511e9f875ff9d165571f697a60e2a4b" 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.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=centos os-version=9
# 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-04-08 04:17.06 ---> using "1ebab396bbda61aacd87e5f6925a5a09c28010175ae84fbb33f76e9b036f5623" 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-04-08 04:17.06 ---> using "ffe25c3850d1bb9516372defcb6239181e7b51ce707e83406dcc6ff2a0e9b32b" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-08 04:17.07 ---> using "f4a588a58519b8ab1d42795836cf3903be50d02bce6312e33b87366d2a50c47e" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-08 04:17.07 ---> using "67fa8ea9730cb3ad3c4a95b00e6c52da0369738f3d0ee7b8ba625fe108ba17f0" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS 73 kB/s | 9.5 kB 00:00
- CentOS Stream 9 - BaseOS 14 MB/s | 8.9 MB 00:00
- CentOS Stream 9 - AppStream 79 kB/s | 10 kB 00:00
- CentOS Stream 9 - AppStream 13 MB/s | 27 MB 00:02
- CentOS Stream 9 - CRB 72 kB/s | 9.3 kB 00:00
- CentOS Stream 9 - CRB 10 MB/s | 8.0 MB 00:00
- CentOS Stream 9 - Extras packages 118 kB/s | 16 kB 00:00
- Metadata cache created.
2026-04-08 04:17.16 ---> saved as "75ac0fcb5c3b1e00d497c0a69dfd2113133b65df06c52f8d91985ae3775f0704"
/home/opam: (run (shell "opam pin add -k version -yn stdcompat.16 16"))
stdcompat is now pinned to version 16
2026-04-08 04:17.16 ---> saved as "f73787dcb83f91c8f47484102e9e010ecc8e262b7a1afd286bf2449b080542cb"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall stdcompat.16;\
\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 \"\\\"centos-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'stdcompat.16' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
stdcompat.16 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 5.4.1
- stdcompat = 16 -> ocaml < 5.0 -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 5.4.1
- stdcompat = 16 -> ocaml < 5.0 -> ocaml-variants (< 4.05.2~ | >= 4.06.0)
* Missing dependency:
- stdcompat = 16 -> ocaml < 5.0 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
not available because the package is pinned to version 5.4.1
unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.1" & (os != "win32" | sys-ocaml-libc = "msvc")'
no matching version
* Missing dependency:
- stdcompat = 16 -> ocaml < 5.0 -> ocaml-variants >= 4.06.0 -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- stdcompat = 16 -> ocaml < 5.0 -> ocaml-variants >= 4.06.0 -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall stdcompat.16;
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 "\"centos-9\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'stdcompat.16' && 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-04-08 04:17.33: Job failed: Failed: Build failed
2026-04-08 04:17.33: Log analysis:
2026-04-08 04:17.33: >>>
No solution found, exiting
(score = 100)
2026-04-08 04:17.33: [SKIP] Package not available