(for PR #29568)
2026-03-23 09:19.17: New job: build ocamlformat-lib.0.26.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29568/head (353fd9234f0397ed1edb6d612e5b9da8472dea1c)
on debian-13-ocaml-5.4-afl/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/29568/head" && git reset --hard 353fd923
git fetch origin master
git merge --no-edit 63b7ba71be83567e54bb667df0f2bb374d74fb61
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4-afl@sha256:adbe22b362d71680aa1b8c533fc3caaf8e858760824a9ea9713d462a2b15048e
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 ocamlformat-lib.0.26.2 0.26.2
RUN opam reinstall ocamlformat-lib.0.26.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 "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocamlformat-lib.0.26.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 .
2026-03-23 09:19.17: Using cache hint "ocaml/opam:debian-13-ocaml-5.4-afl@sha256:adbe22b362d71680aa1b8c533fc3caaf8e858760824a9ea9713d462a2b15048e-ocamlformat-lib.0.26.2-353fd9234f0397ed1edb6d612e5b9da8472dea1c"
2026-03-23 09:19.17: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4-afl@sha256:adbe22b362d71680aa1b8c533fc3caaf8e858760824a9ea9713d462a2b15048e)
(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 ocamlformat-lib.0.26.2 0.26.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlformat-lib.0.26.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 \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocamlformat-lib.0.26.2' && 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 09:19.17: Waiting for resource in pool OCluster
2026-03-23 09:34.09: Waiting for worker…
2026-03-23 09:37.07: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files: 71% (13195/18511)
Updating files: 72% (13328/18511)
Updating files: 73% (13514/18511)
Updating files: 74% (13699/18511)
Updating files: 75% (13884/18511)
Updating files: 76% (14069/18511)
Updating files: 77% (14254/18511)
Updating files: 78% (14439/18511)
Updating files: 79% (14624/18511)
Updating files: 80% (14809/18511)
Updating files: 81% (14994/18511)
Updating files: 82% (15180/18511)
Updating files: 83% (15365/18511)
Updating files: 84% (15550/18511)
Updating files: 85% (15735/18511)
Updating files: 86% (15920/18511)
Updating files: 87% (16105/18511)
Updating files: 88% (16290/18511)
Updating files: 89% (16475/18511)
Updating files: 90% (16660/18511)
Updating files: 91% (16846/18511)
Updating files: 92% (17031/18511)
Updating files: 93% (17216/18511)
Updating files: 94% (17401/18511)
Updating files: 95% (17586/18511)
Updating files: 96% (17771/18511)
Updating files: 97% (17956/18511)
Updating files: 98% (18141/18511)
Updating files: 99% (18326/18511)
Updating files: 100% (18511/18511)
Updating files: 100% (18511/18511), done.
HEAD is now at 63b7ba71be Merge pull request #29573 from davesnx/release-parseff-0.2.0
Merge made by the 'ort' strategy.
Auto packing the repository in the background for optimum performance.
See "git help gc" for manual housekeeping.
warning: The last gc run reported the following. Please correct the root cause
and remove .git/gc.log
Automatic cleanup will not be performed until the file is removed.
warning: There are too many unreachable loose objects; run 'git prune' to remove them.
packages/ocamlformat-lib/ocamlformat-lib.0.25.1/opam | 1 +
packages/ocamlformat-lib/ocamlformat-lib.0.26.0/opam | 1 +
packages/ocamlformat-lib/ocamlformat-lib.0.26.1/opam | 1 +
packages/ocamlformat-lib/ocamlformat-lib.0.26.2/opam | 1 +
packages/ocamlformat-lib/ocamlformat-lib.0.27.0/opam | 1 +
packages/ocamlformat-lib/ocamlformat-lib.0.28.1/opam | 1 +
packages/ocamlformat-lib/ocamlformat-lib.0.29.0/opam | 1 +
packages/ocamlformat/ocamlformat.0.24.1/opam | 1 +
8 files changed, 8 insertions(+)
(from ocaml/opam:debian-13-ocaml-5.4-afl@sha256:adbe22b362d71680aa1b8c533fc3caaf8e858760824a9ea9713d462a2b15048e)
2026-03-23 09:37.24 ---> using "4414701a30a351851ff6b4077c76fe7461287225d04f3aa166ddadb816699154" 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-03-23 09:37.24 ---> using "005fe7a7b548cc90925ef173e2cd77d0897f72eff88d5ee35b00087115005f15" 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-03-23 09:37.24 ---> using "53243f3277ef3cd7c8c1ced8c570845487c1c2302161a196f325b6419f734d4a" 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=debian os-version=13
# 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-variants" {= "5.4.0+options"}]
# compiler-packages ocaml-compiler.5.4.0, ocaml-option-afl.1, ocaml-options-only-afl.1, ocaml-variants.5.4.0+options
# 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+options+afl
2026-03-23 09:37.24 ---> using "988f444704330f04a7259afca7f034ebe18f58d4443a14eb70d53ba8b9952a72" 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-03-23 09:37.24 ---> using "65719216129d862b7e3f2d0713535f0de7b5db966bcddf9d896a1d58086aca4e" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-23 09:37.39 ---> saved as "908af30fc0aebcdef6712f558b51594d07ef277f6b9e46f23f5ef3432eb6df15"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-23 09:38.08 ---> saved as "3e33dd7dc1b48329970435d936a431485e0fb8a22516c448764ec9aa805ea3aa"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9671 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [114 kB]
- Fetched 10.0 MB in 2s (5133 kB/s)
- Reading package lists...
-
2026-03-23 09:38.12 ---> saved as "cd71946c7d41035f8ee88d3277dfeb103302da2c245c75dd4aa6c26d40398d97"
/home/opam: (run (shell "opam pin add -k version -yn ocamlformat-lib.0.26.2 0.26.2"))
ocamlformat-lib is now pinned to version 0.26.2
2026-03-23 09:38.13 ---> saved as "616e5747e27471f677891e237ab3b2d62617ecdb7174610b21cac45aac83e497"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlformat-lib.0.26.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 \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocamlformat-lib.0.26.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocamlformat-lib.0.26.2 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-variants = 5.4.0+options
- ocamlformat-lib = 0.26.2 -> ocaml < 5.3 -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-variants = 5.4.0+options
- ocamlformat-lib = 0.26.2 -> ocaml < 5.3 -> ocaml-base-compiler < 5.2.2~
* Missing dependency:
- ocamlformat-lib = 0.26.2 -> ocaml < 5.3 -> ocaml-base-compiler (= 4.02.4 | = 4.03.1 | = 4.04.3 | = 4.05.1 | = 4.06.2 | = 4.07.2 | = 4.08.2 | = 4.09.2 | = 4.10.3 | = 4.11.3) | ocaml-system >= 4.02.4 | ocaml-variants < 4.11.4~
no matching version
unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.1" & (os != "win32" | sys-ocaml-libc = "msvc")'
not available because the package is pinned to version 5.4.0+options
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall ocamlformat-lib.0.26.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 "\"debian-13\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'ocamlformat-lib.0.26.2' && 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-03-23 09:39.10: Job failed: Failed: Build failed
2026-03-23 09:39.10: Log analysis:
2026-03-23 09:39.10: >>>
No solution found, exiting
(score = 100)
2026-03-23 09:39.10: [SKIP] Package not available