Build:
- 0
2025-12-11 09:16.17: New job: test camlid.0.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29053/head (e1bae8095f9fe664cde1dc7315651829ed971694)
on ubuntu-22.04-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/29053/head" && git reset --hard e1bae809
git fetch origin master
git merge --no-edit 810e1f14b7fa6411c66a3549f4c2aff47c52fc36
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d60b3c8c9c64203f38fdd93bff0c31603bd5312fea7999ac4c8919b50ca7e798
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 camlid.0.2 0.2
RUN opam reinstall camlid.0.2; \
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" != 'camlid.0.2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test camlid.0.2) || true
RUN opam reinstall --with-test --verbose camlid.0.2; \
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" != 'camlid.0.2' && 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 .
2025-12-11 09:16.17: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d60b3c8c9c64203f38fdd93bff0c31603bd5312fea7999ac4c8919b50ca7e798-camlid.0.2-e1bae8095f9fe664cde1dc7315651829ed971694"
2025-12-11 09:16.17: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d60b3c8c9c64203f38fdd93bff0c31603bd5312fea7999ac4c8919b50ca7e798)
(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 camlid.0.2 0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall camlid.0.2;\
\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\" != 'camlid.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test camlid.0.2) || true"))
(run (shell "opam reinstall --with-test --verbose camlid.0.2;\
\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\" != 'camlid.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-12-11 09:16.17: Waiting for resource in pool OCluster
2025-12-11 19:53.39: Waiting for worker…
2025-12-11 19:57.24: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 810e1f14b7 Merge pull request #29066 from gares/release-elpi-v3.4.4
Updating 810e1f14b7..e1bae8095f
Fast-forward
packages/camlid/camlid.0.2/opam | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 packages/camlid/camlid.0.2/opam
(from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d60b3c8c9c64203f38fdd93bff0c31603bd5312fea7999ac4c8919b50ca7e798)
2025-12-11 19:57.26 ---> using "b23cc54ce458d5c1ad3170c611909d36e415aa8ea2f8776d9783095948ad802c" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-11 19:57.26 ---> using "f9f8eb94038cf8b8b6071779fd916877e84dba8081f639794a8ee274d42fd89a" 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
2025-12-11 19:57.26 ---> using "554331229d9c7ecf4fac8701484f43a5ab1c7ae6aa06abd8bd71e5db7f145584" 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=22.04
# 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.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, 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.0
2025-12-11 19:57.26 ---> using "44b354688bdaee142a64e02889def0bbb6264e9ab161ba57b42f1df73de15000" 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/"))
2025-12-11 19:57.26 ---> using "0281c79026957d861c7db0c3d74b0892d1127a38bf6fab12f80754d405f8852d" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-11 19:57.41 ---> saved as "39dfa9303510251991289344a559cecd4b9429534163e58313a8913ed0620801"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-11 19:58.02 ---> saved as "7f425ca5a94b2244dfd319041d903f7298917f77978efa20e44aa074a52ca18d"
/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://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1287 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6185 kB]
- Get:6 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3622 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6405 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3959 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1598 kB]
- Fetched 23.4 MB in 2s (11.0 MB/s)
- Reading package lists...
-
2025-12-11 19:58.08 ---> saved as "609216f5b1e1e05b97f42e1f7d8a070d5ef34f0b4bf553280866c5412f726e3c"
/home/opam: (run (shell "opam pin add -k version -yn camlid.0.2 0.2"))
camlid is now pinned to version 0.2
2025-12-11 19:58.09 ---> saved as "636ce91104151bfcbc8dd844f78ece8573958694246f41ad7cfd1b40ea199008"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall camlid.0.2;\
\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\" != 'camlid.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
camlid.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
- install camlid 0.2 (pinned)
- install dune 3.20.2 [required by camlid]
- install fmt 0.11.0 [required by camlid]
- install ocamlbuild 0.16.1 [required by fmt]
- install ocamlfind 1.9.8 [required by fmt]
- install topkg 1.1.1 [required by fmt]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlid.0.2 (https://github.com/bobot/camlid/releases/download/0.2/camlid-0.2.tbz)
-> retrieved dune.3.20.2 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved topkg.1.1.1 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed dune.3.20.2
-> installed camlid.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-11 19:58.45 ---> saved as "8b4964e9708e282535b122df016271224c51f885fb02fddde46ba2eff706db51"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test camlid.0.2) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile camlid 0.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed camlid.0.2
-> installed camlid.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-11 19:58.55 ---> saved as "bcd6fe57591845fd16f28b25e25baf7cc2528300cf313af78ec99bc248afa1c3"
/home/opam: (run (shell "opam reinstall --with-test --verbose camlid.0.2;\
\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\" != 'camlid.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile camlid 0.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [camlid: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "camlid" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/camlid.0.2)
-> compiled camlid.0.2
-> removed camlid.0.2
-> installed camlid.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-11 19:59.03 ---> saved as "58d0b656de9d20594e0a51049859f10e07709e933609126aa090eeb67c1c6dfe"
Job succeeded
2025-12-11 19:59.21: Job succeeded