(for PR #29211)
2026-01-18 13:53.31: New job: test ocamlformat.0.25.1 with menhirCST.20260112, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29211/head (40f2d815046034974151fd6cb87d492d7533b91e)
on debian-13-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/29211/head" && git reset --hard 40f2d815
git fetch origin master
git merge --no-edit 5a5103c1c342a572f3174f77c2bf2a3883cd4a69
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa
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 menhirCST.20260112 20260112
RUN opam reinstall menhirCST.20260112; \
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" != 'menhirCST.20260112' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall ocamlformat.0.25.1; \
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.0.25.1' && 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 ocamlformat.0.25.1) || true
RUN opam reinstall --with-test --verbose ocamlformat.0.25.1; \
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.0.25.1' && 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-01-18 13:53.31: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa-menhirCST.20260112-ocamlformat.0.25.1-40f2d815046034974151fd6cb87d492d7533b91e"
2026-01-18 13:53.31: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa)
(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 menhirCST.20260112 20260112"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall menhirCST.20260112;\
\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\" != 'menhirCST.20260112' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlformat.0.25.1;\
\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.0.25.1' && 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 ocamlformat.0.25.1) || true"))
(run (shell "opam reinstall --with-test --verbose ocamlformat.0.25.1;\
\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.0.25.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-01-18 13:53.31: Waiting for resource in pool OCluster
2026-01-19 01:59.25: Waiting for worker…
2026-01-19 02:25.43: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
Updating files: 83% (16138/19232)
Updating files: 84% (16155/19232)
Updating files: 85% (16348/19232)
Updating files: 86% (16540/19232)
Updating files: 87% (16732/19232)
Updating files: 88% (16925/19232)
Updating files: 89% (17117/19232)
Updating files: 90% (17309/19232)
Updating files: 91% (17502/19232)
Updating files: 92% (17694/19232)
Updating files: 93% (17886/19232)
Updating files: 94% (18079/19232)
Updating files: 95% (18271/19232)
Updating files: 96% (18463/19232)
Updating files: 97% (18656/19232)
Updating files: 98% (18848/19232)
Updating files: 99% (19040/19232)
Updating files: 100% (19232/19232)
Updating files: 100% (19232/19232), done.
HEAD is now at 5a5103c1c3 Merge pull request #29240 from sanette/opam-publish-ufind.0.2.0
Updating 5a5103c1c3..40f2d81504
Fast-forward
packages/menhir/menhir.20260112/opam | 32 ++++++++++++++++++++++++++++++
packages/menhirCST/menhirCST.20260112/opam | 30 ++++++++++++++++++++++++++++
packages/menhirGLR/menhirGLR.20260112/opam | 30 ++++++++++++++++++++++++++++
packages/menhirLib/menhirLib.20260112/opam | 31 +++++++++++++++++++++++++++++
packages/menhirSdk/menhirSdk.20260112/opam | 31 +++++++++++++++++++++++++++++
5 files changed, 154 insertions(+)
create mode 100644 packages/menhir/menhir.20260112/opam
create mode 100644 packages/menhirCST/menhirCST.20260112/opam
create mode 100644 packages/menhirGLR/menhirGLR.20260112/opam
create mode 100644 packages/menhirLib/menhirLib.20260112/opam
create mode 100644 packages/menhirSdk/menhirSdk.20260112/opam
(from ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa)
2026-01-19 02:25.48 ---> using "2ecda48447fc68e8dcd256d2898af0a11126a077e05d747a0dcdff2845100de1" 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-01-19 02:25.48 ---> using "79eb1218297339daa5e94be48ad16ae73f417b872defa106efeff5b5f3323e6e" 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-01-19 02:25.48 ---> using "bf81485066c79fc9faf7a51b95869ba9d998fe2bf3de5ff7f59b253fc915122f" 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 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-01-19 02:25.48 ---> using "f7c0c02658daf7a6d6c7671a8028e0e553264100bd569724894645b7844f6d7f" 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-01-19 02:25.48 ---> using "9b3e592c65565b9b3dc8b88c605e54ddba818eb105df981d794040a64c2f9916" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-19 02:25.49 ---> using "7220ba069349e9afbef45487cdbfd33f15d06f62e087e918f37610186181781f" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-19 02:25.49 ---> using "4503f5ddf0d5dcca98af2567102bcb556191e6a295e5230d4a8d2737b6daff0f" from cache
/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 [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [96.1 kB]
- Fetched 9998 kB in 1s (11.5 MB/s)
- Reading package lists...
-
2026-01-19 02:25.49 ---> using "3a9bb990e0610428e9a825095b51319b3a5d4e1505fc73b7bbe6c92ce0c5bfa6" from cache
/home/opam: (run (shell "opam pin add -k version -yn menhirCST.20260112 20260112"))
menhirCST is now pinned to version 20260112
2026-01-19 02:25.49 ---> using "d43484bd8c3f93c4f5159dcdebd8879fbb1e14548caee6b737e10ef99fc9b5f6" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall menhirCST.20260112;\
\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\" != 'menhirCST.20260112' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
menhirCST.20260112 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install dune 3.21.0 [required by menhirCST]
- install menhirCST 20260112 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0 (cached)
-> retrieved menhirCST.20260112 (cached)
-> installed dune.3.21.0
-> installed menhirCST.20260112
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 02:25.49 ---> using "3ff760715cf005783db99f9305b3e928eb4c91a2b2eb7dd87596bbd6e4daab4c" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlformat.0.25.1;\
\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.0.25.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocamlformat.0.25.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 28 packages
- install astring 0.8.5 [required by ocamlformat-lib]
- install base v0.16.4 [required by ocamlformat-lib]
- install camlp-streams 5.0.1 [required by ocamlformat-lib]
- install cmdliner 1.3.0 [required by ocamlformat]
- install csexp 1.5.2 [required by ocamlformat-lib]
- install dune-build-info 3.21.0 [required by ocamlformat-lib]
- install dune-configurator 3.21.0 [required by base]
- install either 1.0.0 [required by ocamlformat-lib]
- install fix 20250919 [required by ocamlformat-lib]
- install fpath 0.7.3 [required by ocamlformat-lib]
- install menhir 20260112 [required by ocamlformat-lib]
- install menhirGLR 20260112 [required by menhir]
- install menhirLib 20260112 [required by ocamlformat-lib]
- install menhirSdk 20260112 [required by ocamlformat-lib]
- install ocaml-version 4.0.3 [required by ocamlformat-lib]
- install ocamlbuild 0.16.1 [required by fpath, astring, uuseg]
- install ocamlfind 1.9.8 [required by ocp-indent, astring, fpath, uuseg]
- install ocamlformat 0.25.1
- install ocamlformat-lib 0.25.1 [required by ocamlformat]
- install ocp-indent 1.9.0 [required by ocamlformat-lib]
- install re 1.14.0 [required by ocamlformat]
- install result 1.5 [required by ocamlformat-lib]
- install sexplib0 v0.16.0 [required by base]
- install stdio v0.16.0 [required by ocamlformat-lib]
- install topkg 1.1.1 [required by fpath, astring, uuseg]
- install uucp 17.0.0 [required by uuseg]
- install uuseg 17.0.0 [required by ocamlformat-lib]
- install uutf 1.0.4 [required by ocamlformat-lib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.16.4 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> retrieved dune-build-info.3.21.0, dune-configurator.3.21.0 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fix.20250919 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved menhir.20260112, menhirGLR.20260112, menhirLib.20260112, menhirSdk.20260112 (cached)
-> installed cmdliner.1.3.0
-> installed dune-build-info.3.21.0
-> installed either.1.0.0
-> installed fix.20250919
-> retrieved ocaml-version.4.0.3 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> installed dune-configurator.3.21.0
-> installed menhirLib.20260112
-> installed menhirGLR.20260112
-> installed ocaml-version.4.0.3
-> retrieved ocamlformat.0.25.1, ocamlformat-lib.0.25.1 (cached)
-> installed menhirSdk.20260112
-> retrieved ocp-indent.1.9.0 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdio.v0.16.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved uucp.17.0.0 (cached)
-> retrieved uuseg.17.0.0 (cached)
-> installed result.1.5
-> retrieved uutf.1.0.4 (cached)
-> installed sexplib0.v0.16.0
-> installed re.1.14.0
-> installed ocamlfind.1.9.8
-> installed ocp-indent.1.9.0
-> installed ocamlbuild.0.16.1
-> installed base.v0.16.4
-> installed stdio.v0.16.0
-> installed menhir.20260112
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed uucp.17.0.0
-> installed uuseg.17.0.0
-> installed ocamlformat-lib.0.25.1
-> installed ocamlformat.0.25.1
Done.
<><> ocp-indent.1.9.0 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:
* for Emacs, add these lines to ~/.emacs:
(add-to-list 'load-path "/home/opam/.opam/4.14/share/emacs/site-lisp")
(require 'ocp-indent)
* for Vim, add this line to ~/.vimrc:
set rtp^="/home/opam/.opam/4.14/share/ocp-indent/vim"
# To update the current shell environment, run: eval $(opam env)
2026-01-19 02:26.50 ---> saved as "3e450c312b2c3dad06d452684eee56d370c7f9ff2598a7e79d5bc1cfd1b1dc9b"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ocamlformat.0.25.1) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile ocamlformat 0.25.1
=== install 1 package
- install ocamlformat-rpc-lib 0.25.1 [required by ocamlformat]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlformat.0.25.1, ocamlformat-rpc-lib.0.25.1 (https://opam.ocaml.org/cache)
-> removed ocamlformat.0.25.1
-> installed ocamlformat-rpc-lib.0.25.1
[ERROR] The compilation of ocamlformat.0.25.1 failed at "dune build -p ocamlformat -j 255 @install @runtest".
#=== ERROR while compiling ocamlformat.0.25.1 =================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path ~/.opam/4.14/.opam-switch/build/ocamlformat.0.25.1
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlformat -j 255 @install @runtest
# exit-code 1
# env-file ~/.opam/log/ocamlformat-7-1a1497.env
# output-file ~/.opam/log/ocamlformat-7-1a1497.out
### output ###
# File "test/passing/tests/js_source.ml.ocp", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/passing/tests/js_source.ml.ocp _build/default/test/passing/js_source.ml.ocp.output
# diff --git a/_build/default/test/passing/tests/js_source.ml.ocp b/_build/default/test/passing/js_source.ml.ocp.output
# index 0c848e9..ce0d780 100644
# --- a/_build/default/test/passing/tests/js_source.ml.ocp
# +++ b/_build/default/test/passing/js_source.ml.ocp.output
# @@ -2337,14 +2337,14 @@ type _ linkp =
# let inlineseq_from_astseq seq =
# let rec process : type a. a linkp -> ast_t -> a inline_t =
# fun allow_link ast ->
# - match allow_link, ast with
# - | Maylink, Ast_Text txt -> Text txt
# - | Nonlink, Ast_Text txt -> Text txt
# - | x, Ast_Bold xs -> Bold (List.map (process x) xs)
# - | Maylink, Ast_Link lnk -> Link lnk
# - | Nonlink, Ast_Link _ -> assert false
# - | Maylink, Ast_Mref (lnk, xs) -> Mref (lnk, List.map (process Nonlink) xs)
# - | Nonlink, Ast_Mref _ -> assert false
# + match allow_link, ast with
# + | Maylink, Ast_Text txt -> Text txt
# + | Nonlink, Ast_Text txt -> Text txt
# + | x, Ast_Bold xs -> Bold (List.map (process x) xs)
# + | Maylink, Ast_Link lnk -> Link lnk
# + | Nonlink, Ast_Link _ -> assert false
# + | Maylink, Ast_Mref (lnk, xs) -> Mref (lnk, List.map (process Nonlink) xs)
# + | Nonlink, Ast_Mref _ -> assert false
# in
# List.map (process Maylink) seq
# ;;
# @@ -2355,13 +2355,13 @@ type _ linkp2 = Kind : 'a linkp -> ([< inkind ] as 'a) linkp2
# let inlineseq_from_astseq seq =
# let rec process : type a. a linkp2 -> ast_t -> a inline_t =
# fun allow_link ast ->
# - match allow_link, ast with
# - | Kind _, Ast_Text txt -> Text txt
# - | x, Ast_Bold xs -> Bold (List.map (process x) xs)
# - | Kind Maylink, Ast_Link lnk -> Link lnk
# - | Kind Nonlink, Ast_Link _ -> assert false
# - | Kind Maylink, Ast_Mref (lnk, xs) -> Mref (lnk, List.map (process (Kind Nonlink)) xs)
# - | Kind Nonlink, Ast_Mref _ -> assert false
# + match allow_link, ast with
# + | Kind _, Ast_Text txt -> Text txt
# + | x, Ast_Bold xs -> Bold (List.map (process x) xs)
# + | Kind Maylink, Ast_Link lnk -> Link lnk
# + | Kind Nonlink, Ast_Link _ -> assert false
# + | Kind Maylink, Ast_Mref (lnk, xs) -> Mref (lnk, List.map (process (Kind Nonlink)) xs)
# + | Kind Nonlink, Ast_Mref _ -> assert false
# in
# List.map (process (Kind Maylink)) seq
# ;;
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocamlformat 0.25.1
+-
+- The following changes have been performed
| - remove ocamlformat 0.25.1
| - install ocamlformat-rpc-lib 0.25.1
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260119022650.export"
Or you can retry to install your package selection with:
/usr/bin/opam install --restore
2026-01-19 02:26.59 ---> saved as "069bfaa4991354064232cb34ba15644cdff3448b58c240f8e8ca09d80569b2b0"
/home/opam: (run (shell "opam reinstall --with-test --verbose ocamlformat.0.25.1;\
\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.0.25.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocamlformat.0.25.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install ocamlformat 0.25.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/3: [ocamlformat.0.25.1: extract]
-> retrieved ocamlformat.0.25.1 (cached)
Processing 2/3: [ocamlformat: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocamlformat" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocamlformat.0.25.1)
- File "test/passing/tests/js_source.ml.ocp", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/passing/tests/js_source.ml.ocp _build/default/test/passing/js_source.ml.ocp.output
- diff --git a/_build/default/test/passing/tests/js_source.ml.ocp b/_build/default/test/passing/js_source.ml.ocp.output
- index 0c848e9..ce0d780 100644
- --- a/_build/default/test/passing/tests/js_source.ml.ocp
- +++ b/_build/default/test/passing/js_source.ml.ocp.output
- @@ -2337,14 +2337,14 @@ type _ linkp =
- let inlineseq_from_astseq seq =
- let rec process : type a. a linkp -> ast_t -> a inline_t =
- fun allow_link ast ->
- - match allow_link, ast with
- - | Maylink, Ast_Text txt -> Text txt
- - | Nonlink, Ast_Text txt -> Text txt
- - | x, Ast_Bold xs -> Bold (List.map (process x) xs)
- - | Maylink, Ast_Link lnk -> Link lnk
- - | Nonlink, Ast_Link _ -> assert false
- - | Maylink, Ast_Mref (lnk, xs) -> Mref (lnk, List.map (process Nonlink) xs)
- - | Nonlink, Ast_Mref _ -> assert false
- + match allow_link, ast with
- + | Maylink, Ast_Text txt -> Text txt
- + | Nonlink, Ast_Text txt -> Text txt
- + | x, Ast_Bold xs -> Bold (List.map (process x) xs)
- + | Maylink, Ast_Link lnk -> Link lnk
- + | Nonlink, Ast_Link _ -> assert false
- + | Maylink, Ast_Mref (lnk, xs) -> Mref (lnk, List.map (process Nonlink) xs)
- + | Nonlink, Ast_Mref _ -> assert false
- in
- List.map (process Maylink) seq
- ;;
- @@ -2355,13 +2355,13 @@ type _ linkp2 = Kind : 'a linkp -> ([< inkind ] as 'a) linkp2
- let inlineseq_from_astseq seq =
- let rec process : type a. a linkp2 -> ast_t -> a inline_t =
- fun allow_link ast ->
- - match allow_link, ast with
- - | Kind _, Ast_Text txt -> Text txt
- - | x, Ast_Bold xs -> Bold (List.map (process x) xs)
- - | Kind Maylink, Ast_Link lnk -> Link lnk
- - | Kind Nonlink, Ast_Link _ -> assert false
- - | Kind Maylink, Ast_Mref (lnk, xs) -> Mref (lnk, List.map (process (Kind Nonlink)) xs)
- - | Kind Nonlink, Ast_Mref _ -> assert false
- + match allow_link, ast with
- + | Kind _, Ast_Text txt -> Text txt
- + | x, Ast_Bold xs -> Bold (List.map (process x) xs)
- + | Kind Maylink, Ast_Link lnk -> Link lnk
- + | Kind Nonlink, Ast_Link _ -> assert false
- + | Kind Maylink, Ast_Mref (lnk, xs) -> Mref (lnk, List.map (process (Kind Nonlink)) xs)
- + | Kind Nonlink, Ast_Mref _ -> assert false
- in
- List.map (process (Kind Maylink)) seq
- ;;
[ERROR] The compilation of ocamlformat.0.25.1 failed at "dune build -p ocamlformat -j 255 @install @runtest".
#=== ERROR while compiling ocamlformat.0.25.1 =================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path ~/.opam/4.14/.opam-switch/build/ocamlformat.0.25.1
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlformat -j 255 @install @runtest
# exit-code 1
# env-file ~/.opam/log/ocamlformat-7-9e3fd1.env
# output-file ~/.opam/log/ocamlformat-7-9e3fd1.out
### output ###
# File "test/passing/tests/js_source.ml.ocp", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/passing/tests/js_source.ml.ocp _build/default/test/passing/js_source.ml.ocp.output
# diff --git a/_build/default/test/passing/tests/js_source.ml.ocp b/_build/default/test/passing/js_source.ml.ocp.output
# index 0c848e9..ce0d780 100644
# --- a/_build/default/test/passing/tests/js_source.ml.ocp
# +++ b/_build/default/test/passing/js_source.ml.ocp.output
# @@ -2337,14 +2337,14 @@ type _ linkp =
# let inlineseq_from_astseq seq =
# let rec process : type a. a linkp -> ast_t -> a inline_t =
# fun allow_link ast ->
# - match allow_link, ast with
# - | Maylink, Ast_Text txt -> Text txt
# - | Nonlink, Ast_Text txt -> Text txt
# - | x, Ast_Bold xs -> Bold (List.map (process x) xs)
# - | Maylink, Ast_Link lnk -> Link lnk
# - | Nonlink, Ast_Link _ -> assert false
# - | Maylink, Ast_Mref (lnk, xs) -> Mref (lnk, List.map (process Nonlink) xs)
# - | Nonlink, Ast_Mref _ -> assert false
# + match allow_link, ast with
# + | Maylink, Ast_Text txt -> Text txt
# + | Nonlink, Ast_Text txt -> Text txt
# + | x, Ast_Bold xs -> Bold (List.map (process x) xs)
# + | Maylink, Ast_Link lnk -> Link lnk
# + | Nonlink, Ast_Link _ -> assert false
# + | Maylink, Ast_Mref (lnk, xs) -> Mref (lnk, List.map (process Nonlink) xs)
# + | Nonlink, Ast_Mref _ -> assert false
# in
# List.map (process Maylink) seq
# ;;
# @@ -2355,13 +2355,13 @@ type _ linkp2 = Kind : 'a linkp -> ([< inkind ] as 'a) linkp2
# let inlineseq_from_astseq seq =
# let rec process : type a. a linkp2 -> ast_t -> a inline_t =
# fun allow_link ast ->
# - match allow_link, ast with
# - | Kind _, Ast_Text txt -> Text txt
# - | x, Ast_Bold xs -> Bold (List.map (process x) xs)
# - | Kind Maylink, Ast_Link lnk -> Link lnk
# - | Kind Nonlink, Ast_Link _ -> assert false
# - | Kind Maylink, Ast_Mref (lnk, xs) -> Mref (lnk, List.map (process (Kind Nonlink)) xs)
# - | Kind Nonlink, Ast_Mref _ -> assert false
# + match allow_link, ast with
# + | Kind _, Ast_Text txt -> Text txt
# + | x, Ast_Bold xs -> Bold (List.map (process x) xs)
# + | Kind Maylink, Ast_Link lnk -> Link lnk
# + | Kind Nonlink, Ast_Link _ -> assert false
# + | Kind Maylink, Ast_Mref (lnk, xs) -> Mref (lnk, List.map (process (Kind Nonlink)) xs)
# + | Kind Nonlink, Ast_Mref _ -> assert false
# in
# List.map (process (Kind Maylink)) seq
# ;;
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocamlformat 0.25.1
+-
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose ocamlformat.0.25.1' failed.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose ocamlformat.0.25.1;
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.0.25.1' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 1
2026-01-19 02:27.12: Job failed: Failed: Build failed
2026-01-19 02:27.12: Log analysis:
2026-01-19 02:27.12: >>>
[ERROR] The compilation of ocamlformat.0.25.1 failed at "dune build -p ocamlformat -j 255 @install @runtest".
(score = 20)
2026-01-19 02:27.12: >>>
[ERROR] The compilation of ocamlformat.0.25.1 failed at "dune build -p ocamlformat -j 255 @install @runtest".
(score = 20)
2026-01-19 02:27.12: The compilation of ocamlformat.0.25.1 failed at "dune build -p ocamlformat -j 255 @install @runtest".