- github
- ocaml
- opam-repository
- 9346fc
- distributions,ubuntu-22.04-ocaml-4.14,ocaml-compiler.5.6
(not at the head of any monitored branch or PR)
2026-03-23 00:44.01: New job: build ocaml-compiler.5.6, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (9346fc968dbf5116a1b2dd2b5e0143bc06e9fa98)
on ubuntu-22.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/29582/head" && git reset --hard 9346fc96
git fetch origin master
git merge --no-edit 76bf2ed9443fdee37e6f046c6295d358be3f8598
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00
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.6 5.6
RUN opam reinstall --update-invariant ocaml-compiler.5.6; \
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-22.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-compiler.5.6' && 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-03-23 00:44.01: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00-ocaml-compiler.5.6-9346fc968dbf5116a1b2dd2b5e0143bc06e9fa98"
2026-03-23 00:44.01: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00)
(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.6 5.6"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall --update-invariant ocaml-compiler.5.6;\
\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-22.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\" != 'ocaml-compiler.5.6' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-03-23 00:44.01: Waiting for resource in pool OCluster
2026-03-23 01:02.22: Waiting for worker…
2026-03-23 01:06.55: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 76bf2ed944 Merge pull request #29572 from hannesm/release-letsencrypt-v2.0.0
Updating 76bf2ed944..9346fc968d
Fast-forward
packages/ocaml-compiler/ocaml-compiler.5.3.0/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.3/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.4.0/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.4.0~alpha1/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.4.0~beta1/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.4.0~beta2/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.4.0~rc1/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.4.1/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.4/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.5.0~alpha1/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.5/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.6/opam | 2 ++
packages/ocaml-option-clang-cl/ocaml-option-clang-cl.1/opam | 13 +++++++++++++
packages/ocaml-options-vanilla/ocaml-options-vanilla.1/opam | 1 +
packages/ocaml-variants/ocaml-variants.5.2.0+msvc/opam | 2 ++
15 files changed, 40 insertions(+)
create mode 100644 packages/ocaml-option-clang-cl/ocaml-option-clang-cl.1/opam
(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00' locally
docker.io/ocaml/opam@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00: Pulling from ocaml/opam
b1cba2e842ca: Already exists
421afdaed246: Already exists
4f870a39d887: Already exists
55a213a632b1: Already exists
45b4d0733e62: Already exists
3aeb1fde2a5c: Already exists
aafef83927b6: Already exists
bcf6200713a7: Already exists
44126a1f4f31: Already exists
640d0ce4ea89: Already exists
b5d13c755b81: Already exists
d4f408980979: Already exists
a89dafa13071: Already exists
636fd786dcef: Already exists
31dae2391bd4: Already exists
8b28883ae878: Already exists
4a187d75ee24: Already exists
4a187d75ee24: Already exists
4f4fb700ef54: Already exists
15ef0a4fe052: Already exists
81aef10b7468: Already exists
8492c04426b2: Already exists
4f4fb700ef54: Already exists
931be6b45df3: Already exists
b3b41b093e1c: Already exists
c66a499f18f1: Already exists
dc859d65a979: Already exists
f9a4b7e83cbc: Already exists
8406175b74f2: Already exists
d8a867e68b39: Already exists
1b4507b9d94f: Already exists
86753f729f41: Already exists
bb1554100fd0: Already exists
79f063451047: Already exists
af19aefa8c28: Already exists
18ae77be10c6: Already exists
23748796c9e7: Already exists
8a87c1d60ed6: Already exists
f59dc0679c75: Already exists
d71672fc129c: Already exists
44dd0ab5fdef: Already exists
931c13510f32: Pulling fs layer
75ed66e4849a: Pulling fs layer
19cc32431784: Pulling fs layer
6b082b8f59d1: Pulling fs layer
6b082b8f59d1: Waiting
75ed66e4849a: Verifying Checksum
75ed66e4849a: Download complete
19cc32431784: Verifying Checksum
19cc32431784: Download complete
6b082b8f59d1: Verifying Checksum
6b082b8f59d1: Download complete
931c13510f32: Verifying Checksum
931c13510f32: Download complete
931c13510f32: Pull complete
75ed66e4849a: Pull complete
19cc32431784: Pull complete
6b082b8f59d1: Pull complete
Digest: sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00
Status: Downloaded newer image for ocaml/opam@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00
2026-03-23 01:07.41 ---> saved as "752ab5c6ad79de967908e3073b7fceaa0abf89b6f293aaa06b19d969149dde3c"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-23 01:07.42 ---> saved as "0669bed9e265bc3b2b3d06c1ad123037ba977b1d8456aed170ec41686ea38589"
/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.
[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
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-23 01:08.06 ---> saved as "6349730c1f94e34801d4d2ec70bcad3ac89f7e1e980e30add1c37e4a3d8e6840"
/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=22.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.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, 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.2
2026-03-23 01:08.07 ---> saved as "bc861696cd4fc40a220411b2814ff33581cb0eb5fe28d02a2b3222de27c9fe69"
/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-03-23 01:08.16 ---> saved as "30c763b14d6d67839df5a6782c8698451271114c528d0cbf5b7d3c8c02ecc5bf"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-23 01:08.36 ---> saved as "8ebe3da06184bac148e540fc3acf5d95be9a05aa9e0d67b04fd2022df670c4aa"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-23 01:08.57 ---> saved as "4ba661adf3b2e68d7d84aa806fe7ed0d24fbb0f55f91cf781a6c5f341bc41347"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1615 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4170 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [7002 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [84.0 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.6 kB]
- Get:10 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6794 kB]
- Get:11 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3836 kB]
- Get:12 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1303 kB]
- Fetched 25.2 MB in 5s (4982 kB/s)
- Reading package lists...
-
2026-03-23 01:09.04 ---> saved as "671df7da89eb4eb8c9adceb8b40dcd8d593f73d7caffeb6027c06d86aaa1f3dc"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.6 5.6"))
ocaml-compiler is now pinned to version 5.6
2026-03-23 01:09.05 ---> saved as "791b9fd58aa6ead880e33b89dd9b76c6aefeed15ef7532b5d18d2b5af0ad8ad6"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall --update-invariant ocaml-compiler.5.6;\
\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-22.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\" != 'ocaml-compiler.5.6' && 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.6 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== remove 1 package
- remove ocaml-base-compiler 4.14.2 (pinned) [conflicts with ocaml-variants]
=== recompile 2 packages
- recompile ocaml-config 2 [uses ocaml-variants]
- recompile opam-depext 1.2.3 [uses ocaml]
=== upgrade 1 package
- upgrade ocaml 4.14.2 to 5.6.0
=== install 7 packages
- install base-domains base
- install base-effects base
- install base-nnp base
- install host-arch-x86_64 1
- install host-system-other 1
- install ocaml-compiler 5.6 (pinned)
- install ocaml-variants 5.6.0+trunk [required by ocaml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml.5.6.0 (cached)
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> retrieved ocaml-compiler.5.6 (https://github.com/ocaml/ocaml/archive/trunk.tar.gz)
-> retrieved ocaml-config.2 (cached)
-> retrieved opam-depext.1.2.3 (cached)
-> removed opam-depext.1.2.3
-> removed ocaml.4.14.2
-> removed ocaml-config.2
-> removed ocaml-base-compiler.4.14.2
-> installed ocaml-compiler.5.6
-> installed ocaml-variants.5.6.0+trunk
-> installed ocaml-config.2
-> installed ocaml.5.6.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
[NOTE] Switch invariant was updated to ["ocaml-variants" {= "5.6.0+trunk"}]
Use `opam switch set-invariant' to change it.
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)
2026-03-23 01:11.31 ---> saved as "2fdc45961375142371c897893075e922db37149d61ecf7a2f5a7f27bc7747eaf"
Job succeeded
2026-03-23 01:11.41: Job succeeded