(for PR #29211)

2026-01-18 14:03.55: New job: test ocamlformat.0.26.0 with menhirLib.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 menhirLib.20260112 20260112
RUN opam reinstall menhirLib.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" != 'menhirLib.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.26.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 "\"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.26.0' && 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.26.0) || true
RUN opam reinstall --with-test --verbose ocamlformat.0.26.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 "\"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.26.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-01-18 14:03.55: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa-menhirLib.20260112-ocamlformat.0.26.0-40f2d815046034974151fd6cb87d492d7533b91e"
2026-01-18 14:03.55: 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 menhirLib.20260112 20260112"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall menhirLib.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\" != 'menhirLib.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.26.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 \"\\\"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.26.0' && 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.26.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose ocamlformat.0.26.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 \"\\\"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.26.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-01-18 14:03.55: Waiting for resource in pool OCluster
2026-01-19 05:06.33: Waiting for worker…
2026-01-19 05:31.51: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
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 05:32.14 ---> 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 05:32.14 ---> 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 05:32.14 ---> 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 05:32.14 ---> 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 05:32.14 ---> using "9b3e592c65565b9b3dc8b88c605e54ddba818eb105df981d794040a64c2f9916" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-19 05:32.15 ---> using "7220ba069349e9afbef45487cdbfd33f15d06f62e087e918f37610186181781f" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-19 05:32.15 ---> 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 8s (1307 kB/s)
- Reading package lists...
- 
2026-01-19 05:32.15 ---> using "3a9bb990e0610428e9a825095b51319b3a5d4e1505fc73b7bbe6c92ce0c5bfa6" from cache

/home/opam: (run (shell "opam pin add -k version -yn menhirLib.20260112 20260112"))
menhirLib is now pinned to version 20260112
2026-01-19 05:32.15 ---> using "09b57331639d47b9e1890ae590b22e7d25ee824d214bbb53053560eba3e3abdb" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall menhirLib.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\" != 'menhirLib.20260112' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
menhirLib.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 menhirLib]
  - install menhirLib 20260112 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0  (cached)
-> retrieved menhirLib.20260112  (cached)
-> installed dune.3.21.0
-> installed menhirLib.20260112
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 05:32.15 ---> using "67629e87456d9869c569f13b7049e6f9082bb5887fb5d049a16ab9d404463047" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocamlformat.0.26.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 \"\\\"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.26.0' && 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.26.0 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 menhirCST         20260112 [required by menhir]
  - install menhirGLR         20260112 [required by menhir]
  - 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.26.0
  - install ocamlformat-lib   0.26.0   [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 camlp-streams.5.0.1
-> installed csexp.1.5.2
-> 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, menhirCST.20260112, menhirGLR.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)
-> installed menhirCST.20260112
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> installed dune-configurator.3.21.0
-> installed ocaml-version.4.0.3
-> retrieved ocamlformat.0.26.0, ocamlformat-lib.0.26.0  (cached)
-> installed menhirGLR.20260112
-> 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)
-> retrieved uutf.1.0.4  (cached)
-> installed result.1.5
-> 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.26.0
-> installed ocamlformat.0.26.0
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 05:33.22 ---> saved as "787e356eede4e888e2069cc00f070775cd5bf58175e497f40aae3aebfd994e5d"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test ocamlformat.0.26.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile ocamlformat         0.26.0
=== install 1 package
  - install   ocamlformat-rpc-lib 0.26.0 [required by ocamlformat]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlformat.0.26.0, ocamlformat-rpc-lib.0.26.0  (https://opam.ocaml.org/cache)
-> removed   ocamlformat.0.26.0
-> installed ocamlformat-rpc-lib.0.26.0
[ERROR] The compilation of ocamlformat.0.26.0 failed at "dune build -p ocamlformat -j 255 @install @runtest".

#=== ERROR while compiling ocamlformat.0.26.0 =================================#
# 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.26.0
# 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-1876dd.env
# output-file          ~/.opam/log/ocamlformat-7-1876dd.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 281aa3b..688719c 100644
# --- a/_build/default/test/passing/tests/js_source.ml.ocp
# +++ b/_build/default/test/passing/js_source.ml.ocp.output
# @@ -2333,14 +2333,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
#  ;;
# @@ -2351,13 +2351,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.26.0
+- 
+- The following changes have been performed
| - remove  ocamlformat         0.26.0
| - install ocamlformat-rpc-lib 0.26.0
+- 
# 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-20260119053322.export"
Or you can retry to install your package selection with:
    /usr/bin/opam install --restore
2026-01-19 05:33.33 ---> saved as "017ed600af851113356f90d2d083b7e890d0487b7bc604bf47fe463788021612"

/home/opam: (run (shell  "opam reinstall --with-test --verbose ocamlformat.0.26.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 \"\\\"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.26.0' && 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.26.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install ocamlformat 0.26.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [ocamlformat.0.26.0: extract]
-> retrieved ocamlformat.0.26.0  (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.26.0)
- 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 281aa3b..688719c 100644
- --- a/_build/default/test/passing/tests/js_source.ml.ocp
- +++ b/_build/default/test/passing/js_source.ml.ocp.output
- @@ -2333,14 +2333,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
-  ;;
- @@ -2351,13 +2351,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.26.0 failed at "dune build -p ocamlformat -j 255 @install @runtest".

#=== ERROR while compiling ocamlformat.0.26.0 =================================#
# 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.26.0
# 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-d1799c.env
# output-file          ~/.opam/log/ocamlformat-7-d1799c.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 281aa3b..688719c 100644
# --- a/_build/default/test/passing/tests/js_source.ml.ocp
# +++ b/_build/default/test/passing/js_source.ml.ocp.output
# @@ -2333,14 +2333,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
#  ;;
# @@ -2351,13 +2351,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.26.0
+- 
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose ocamlformat.0.26.0' 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.26.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 "\"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.26.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 1
2026-01-19 05:34.06: Job failed: Failed: Build failed
2026-01-19 05:34.06: Log analysis:
2026-01-19 05:34.06: >>> 
[ERROR] The compilation of ocamlformat.0.26.0 failed at "dune build -p ocamlformat -j 255 @install @runtest".
 (score = 20)
2026-01-19 05:34.06: >>> 
[ERROR] The compilation of ocamlformat.0.26.0 failed at "dune build -p ocamlformat -j 255 @install @runtest".
 (score = 20)
2026-01-19 05:34.06: The compilation of ocamlformat.0.26.0 failed at "dune build -p ocamlformat -j 255 @install @runtest".