- github
- ocaml
- opam-repository
- 3ff349
- distributions,ubuntu-24.04-ocaml-4.14,stdcompat.0
(not at the head of any monitored branch or PR)
2026-04-08 03:59.26: New job: build stdcompat.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29667/head (3ff349ae2cd8702ef7a5124f6b5cdbaaf3350d51)
on ubuntu-24.04-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/29667/head" && git reset --hard 3ff349ae
git fetch origin master
git merge --no-edit 67472cd54293d750a62d6d4423024d55f77268b0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:d3e2a2e9576b5894a478a08972d3300c781b0f2820fd0802428c0980af57879b
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.0 0
RUN opam reinstall stdcompat.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 "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'stdcompat.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-04-08 03:59.26: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:d3e2a2e9576b5894a478a08972d3300c781b0f2820fd0802428c0980af57879b-stdcompat.0-3ff349ae2cd8702ef7a5124f6b5cdbaaf3350d51"
2026-04-08 03:59.26: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:d3e2a2e9576b5894a478a08972d3300c781b0f2820fd0802428c0980af57879b)
(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.0 0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall stdcompat.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 \"\\\"ubuntu-24.04\\\"\"; 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.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-04-08 03:59.26: Waiting for resource in pool OCluster
2026-04-08 04:14.12: Waiting for worker…
2026-04-08 04:15.15: Got resource from pool OCluster
Building on doris.caelum.ci.dev
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:ubuntu-24.04-ocaml-4.14@sha256:d3e2a2e9576b5894a478a08972d3300c781b0f2820fd0802428c0980af57879b)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:d3e2a2e9576b5894a478a08972d3300c781b0f2820fd0802428c0980af57879b' locally
docker.io/ocaml/opam@sha256:d3e2a2e9576b5894a478a08972d3300c781b0f2820fd0802428c0980af57879b: Pulling from ocaml/opam
817807f3c64e: Already exists
5ef8d7693fed: Already exists
9f7293045b4f: Already exists
16a63142be99: Already exists
8e2acacfbaa2: Already exists
32d7ca252125: Already exists
d60252dace69: Already exists
24e5035e3156: Already exists
9e02cb2e46e2: Already exists
5d13b51622a4: Already exists
892425aa892c: Already exists
b2e2904055e3: Already exists
7ee51a076b90: Already exists
a4b22bcbb6cd: Already exists
d58c5e15ec85: Already exists
6b58c47c5503: Already exists
396840c60f4d: Already exists
396840c60f4d: Already exists
628e1ae4e682: Already exists
4b945369ca9c: Already exists
4b9472c5a217: Already exists
c54b6f362497: Already exists
4f4fb700ef54: Already exists
02db971eac30: Already exists
15e6093a4971: Already exists
cc641528b73f: Already exists
4950583f37ea: Already exists
953d49901a99: Already exists
1428337e4cc7: Already exists
035635a87ad1: Already exists
7006f467fb36: Already exists
72bab8719451: Already exists
3f5ea3177c98: Already exists
28a5114988ed: Already exists
9c41efea5859: Already exists
36d4e4eaa72e: Already exists
d703f423a9c1: Already exists
3999cd8bca73: Already exists
a4078e00ead2: Already exists
bdc393032314: Already exists
c29753d08fd5: Already exists
f04876908094: Pulling fs layer
6efd435da1d8: Pulling fs layer
6b9cdab1b555: Pulling fs layer
595171b46a85: Pulling fs layer
6efd435da1d8: Waiting
6b9cdab1b555: Waiting
f04876908094: Waiting
f04876908094: Verifying Checksum
f04876908094: Download complete
6efd435da1d8: Verifying Checksum
6efd435da1d8: Download complete
6b9cdab1b555: Verifying Checksum
6b9cdab1b555: Download complete
595171b46a85: Download complete
f04876908094: Pull complete
6efd435da1d8: Pull complete
6b9cdab1b555: Pull complete
595171b46a85: Pull complete
Digest: sha256:d3e2a2e9576b5894a478a08972d3300c781b0f2820fd0802428c0980af57879b
Status: Downloaded newer image for ocaml/opam@sha256:d3e2a2e9576b5894a478a08972d3300c781b0f2820fd0802428c0980af57879b
2026-04-08 04:15.53 ---> using "53cf82840eae9771f1adb17afba1834985308dd282186cf0b01cc087ce992004" 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:15.53 ---> using "8b09b98b22cce136d45f2640d2c6302de11684826f0ed308749cc8c529b2ae9d" 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
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-08 04:15.53 ---> using "3f8bad62663ffb7a33d5d18afd0b5c212805e9348cc14e4e26946867dd0ea30e" 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=ubuntu os-version=24.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (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-04-08 04:15.53 ---> using "016bd1db3df6f8cabdb86289fd7af12afe64e13cc5d0464f869384abf3c8f44f" 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:15.53 ---> using "169e535d7e88776dcee9635aa5d4bb58221435af443b3c110e6732700c8523a3" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-08 04:15.54 ---> using "c29a219c865f9a7ba04d63d402ee92c9942eb90430e5fb1d2283accec9068e22" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-08 04:15.54 ---> using "a67d62c74d3c3ed7dd0b360a4124ed0a71907fe2f47cbbc85b67e4f549968e04" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1504 kB]
- Get:3 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1986 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3499 kB]
- Hit:5 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2152 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3669 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2369 kB]
- Fetched 15.6 MB in 2s (9021 kB/s)
- Reading package lists...
-
2026-04-08 04:15.54 ---> using "0fb804101269336373ab8eda548cbdea165943f858d4f63f21712518cd5e9749" from cache
/home/opam: (run (shell "opam pin add -k version -yn stdcompat.0 0"))
stdcompat is now pinned to version 0
2026-04-08 04:15.55 ---> saved as "c1f82ff9684602a9c0c2320a4e76e1fe46f769140797916f89cfe284758df68a"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall stdcompat.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 \"\\\"ubuntu-24.04\\\"\"; 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.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
stdcompat.0 is not installed. Install it? [Y/n] y
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.14.3 -> ocaml = 4.14.3
- stdcompat < 1 -> ocaml != 4.14.3
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.14.3
- stdcompat < 1 -> ocaml != 4.14.3 -> dkml-base-compiler
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.14.3
- stdcompat < 1 -> ocaml != 4.14.3 -> ocaml-variants (< 4.05.2~ | >= 4.06.1)
* Missing dependency:
- stdcompat < 1 -> ocaml != 4.14.3 -> 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 4.14.3
unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.1" & (os != "win32" | sys-ocaml-libc = "msvc")'
no matching version
* Missing dependency:
- stdcompat < 1 -> ocaml != 4.14.3 -> ocaml-variants >= 4.06.1 -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- stdcompat < 1 -> ocaml != 4.14.3 -> ocaml-variants >= 4.06.1 -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall stdcompat.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 "\"ubuntu-24.04\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'stdcompat.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-04-08 04:17.20: Job failed: Failed: Build failed
2026-04-08 04:17.20: Log analysis:
2026-04-08 04:17.20: >>>
No solution found, exiting
(score = 100)
2026-04-08 04:17.20: [SKIP] Package not available