(for PR #29211)

2026-01-18 13:53.23: New job: test ocamlformat-rpc.0.21.0 with menhirGLR.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 menhirGLR.20260112 20260112
RUN opam reinstall menhirGLR.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" != 'menhirGLR.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-rpc.0.21.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-rpc.0.21.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-rpc.0.21.0) || true
RUN opam reinstall --with-test --verbose ocamlformat-rpc.0.21.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-rpc.0.21.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 13:53.23: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa-menhirGLR.20260112-ocamlformat-rpc.0.21.0-40f2d815046034974151fd6cb87d492d7533b91e"
2026-01-18 13:53.23: 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 menhirGLR.20260112 20260112"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall menhirGLR.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\" != 'menhirGLR.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-rpc.0.21.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-rpc.0.21.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-rpc.0.21.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose ocamlformat-rpc.0.21.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-rpc.0.21.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 13:53.23: Waiting for resource in pool OCluster
2026-01-18 22:41.33: Waiting for worker…
2026-01-18 23:09.31: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  66% (12780/19232)
Updating files:  67% (12886/19232)
Updating files:  68% (13078/19232)
Updating files:  69% (13271/19232)
Updating files:  70% (13463/19232)
Updating files:  71% (13655/19232)
Updating files:  72% (13848/19232)
Updating files:  73% (14040/19232)
Updating files:  74% (14232/19232)
Updating files:  75% (14424/19232)
Updating files:  76% (14617/19232)
Updating files:  77% (14809/19232)
Updating files:  78% (15001/19232)
Updating files:  79% (15194/19232)
Updating files:  80% (15386/19232)
Updating files:  81% (15578/19232)
Updating files:  82% (15771/19232)
Updating files:  83% (15963/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-18 23:09.35 ---> 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-18 23:09.35 ---> 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-18 23:09.35 ---> 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                 71
# 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-18 23:09.35 ---> 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-18 23:09.35 ---> using "9b3e592c65565b9b3dc8b88c605e54ddba818eb105df981d794040a64c2f9916" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-18 23:09.37 ---> using "7220ba069349e9afbef45487cdbfd33f15d06f62e087e918f37610186181781f" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-18 23:09.37 ---> 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 11s (938 kB/s)
- Reading package lists...
- 
2026-01-18 23:09.37 ---> using "3a9bb990e0610428e9a825095b51319b3a5d4e1505fc73b7bbe6c92ce0c5bfa6" from cache

/home/opam: (run (shell "opam pin add -k version -yn menhirGLR.20260112 20260112"))
menhirGLR is now pinned to version 20260112
2026-01-18 23:09.37 ---> using "945f3b8aa045d7f32a9218f7bc30d6fa2f9c47023dc97af2dd9fa7a9ca76d1e0" from cache

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0  (cached)
-> retrieved menhirGLR.20260112  (cached)
-> installed dune.3.21.0
-> installed menhirGLR.20260112
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-18 23:09.37 ---> using "ed3f472d5e9596da6969cae9c545e05b5af349ac019685d0d23b1adc25cf9edd" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocamlformat-rpc.0.21.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-rpc.0.21.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-rpc.0.21.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 30 packages
  - install astring             0.8.5    [required by fpath, odoc-parser]
  - install base                v0.16.4  [required by ocamlformat]
  - install camlp-streams       5.0.1    [required by odoc-parser]
  - install cmdliner            1.3.0    [required by ocamlformat]
  - install csexp               1.5.2    [required by ocamlformat-rpc-lib]
  - install dune-build-info     3.21.0   [required by ocamlformat]
  - install dune-configurator   3.21.0   [required by base]
  - install either              1.0.0    [required by ocamlformat]
  - install fix                 20250919 [required by ocamlformat]
  - install fpath               0.7.3    [required by ocamlformat]
  - install menhir              20260112 [required by ocamlformat]
  - install menhirCST           20260112 [required by menhir]
  - install menhirLib           20260112 [required by ocamlformat]
  - install menhirSdk           20260112 [required by ocamlformat]
  - install ocaml-version       3.5.0    [required by ocamlformat]
  - install ocamlbuild          0.16.1   [required by fpath, uuseg]
  - install ocamlfind           1.9.8    [required by ocp-indent, fpath, uuseg]
  - install ocamlformat         0.21.0   [required by ocamlformat-rpc]
  - install ocamlformat-rpc     0.21.0
  - install ocamlformat-rpc-lib 0.21.0   [required by ocamlformat-rpc]
  - install ocp-indent          1.9.0    [required by ocamlformat]
  - install odoc-parser         1.0.1    [required by ocamlformat]
  - install re                  1.14.0   [required by ocamlformat]
  - install result              1.5      [required by odoc-parser]
  - install sexplib0            v0.16.0  [required by base]
  - install stdio               v0.16.0  [required by ocamlformat]
  - install topkg               1.1.1    [required by fpath, uuseg]
  - install uucp                17.0.0   [required by uuseg]
  - install uuseg               17.0.0   [required by ocamlformat]
  - install uutf                1.0.4    [required by ocamlformat]

<><> 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, menhirCST.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.3.5.0  (cached)
-> installed menhirCST.20260112
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> installed ocaml-version.3.5.0
-> installed menhirLib.20260112
-> installed menhirSdk.20260112
-> retrieved ocamlformat.0.21.0, ocamlformat-rpc.0.21.0, ocamlformat-rpc-lib.0.21.0  (cached)
-> installed dune-configurator.3.21.0
-> retrieved ocp-indent.1.9.0  (cached)
-> retrieved odoc-parser.1.0.1  (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)
-> installed ocamlformat-rpc-lib.0.21.0
-> installed result.1.5
-> retrieved uucp.17.0.0  (cached)
-> retrieved uuseg.17.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed sexplib0.v0.16.0
-> installed re.1.14.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed ocp-indent.1.9.0
-> installed base.v0.16.4
-> installed menhir.20260112
-> installed stdio.v0.16.0
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed odoc-parser.1.0.1
-> installed fpath.0.7.3
-> installed uucp.17.0.0
-> installed uuseg.17.0.0
-> installed ocamlformat.0.21.0
-> installed ocamlformat-rpc.0.21.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-18 23:11.48 ---> saved as "e42c83d26a47acf3e381eebc39547b5bbad90d171e8e97c417cc8a48f60104bf"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test ocamlformat-rpc.0.21.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile ocamlformat-rpc    0.21.0
=== install 4 packages
  - install   alcotest           1.9.1  [required by ocamlformat-rpc]
  - install   fmt                0.11.0 [required by alcotest]
  - install   ocaml-syntax-shims 1.0.0  [required by alcotest]
  - install   stdlib-shims       0.3.0  [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved ocamlformat-rpc.0.21.0  (https://opam.ocaml.org/cache)
-> retrieved stdlib-shims.0.3.0  (https://opam.ocaml.org/cache)
-> installed ocaml-syntax-shims.1.0.0
-> installed stdlib-shims.0.3.0
-> removed   ocamlformat-rpc.0.21.0
-> installed fmt.0.11.0
-> installed alcotest.1.9.1
[ERROR] The compilation of ocamlformat-rpc.0.21.0 failed at "dune build -p ocamlformat-rpc -j 71 @install @runtest".

#=== ERROR while compiling ocamlformat-rpc.0.21.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-rpc.0.21.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlformat-rpc -j 71 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/ocamlformat-rpc-7-905322.env
# output-file          ~/.opam/log/ocamlformat-rpc-7-905322.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -noassert -open Ocamlformat_stdlib -g -I bin/ocamlformat-rpc/.main.eobjs/byte -I bin/ocamlformat-rpc/.main.eobjs/native -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/camlp-streams -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/csexp -I /home/opam/.opam/4.14/lib/dune-build-info -I /home/opam/.opam/4.14/lib/either -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/menhirLib -I /home/opam/.opam/4.14/lib/ocaml-version -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ocamlformat -I /home/opam/.opam/4.14/lib/ocamlformat-rpc-lib -I /home/opam/.opam/4.14/lib/ocamlformat/format_ -I /home/opam/.opam/4.14/lib/ocamlformat/ocaml_413 -I /home/opam/.opam/4.14/lib/ocamlformat/ocaml_413_extended -I /home/opam/.opam/4.14/lib/ocamlformat/ocaml_common -I /home/opam/.opam/4.14/lib/ocamlformat/ocamlformat_stdlib -I /home/opam/.opam/4.14/lib/ocamlformat/parse_wyc -I /home/opam/.opam/4.14/lib/ocamlformat/parser_shims -I /home/opam/.opam/4.14/lib/ocp-indent/lexer -I /home/opam/.opam/4.14/lib/ocp-indent/lib -I /home/opam/.opam/4.14/lib/ocp-indent/utils -I /home/opam/.opam/4.14/lib/odoc-parser -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/uucp -I /home/opam/.opam/4.14/lib/uuseg -I lib-rpc-server/.ocamlformat_rpc.objs/byte -I lib-rpc-server/.ocamlformat_rpc.objs/native -intf-suffix .ml -no-alias-deps -o bin/ocamlformat-rpc/.main.eobjs/native/dune__exe__Main.cmx -c -impl bin/ocamlformat-rpc/main.ml)
# File "bin/ocamlformat-rpc/main.ml", line 15, characters 2-14:
# 15 |   Caml.at_exit (Format.pp_print_flush Format.err_formatter) ;
#        ^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "bin/ocamlformat-rpc/main.ml", line 16, characters 2-14:
# 16 |   Caml.at_exit (Format_.pp_print_flush Format_.err_formatter)
#        ^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "bin/ocamlformat-rpc/main.ml", line 77, characters 9-18:
# 77 | let () = Caml.exit @@ Cmd.eval_result (Cmd.v info rpc_main_t)
#               ^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "ocamlformat-rpc-help.txt", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/ocamlformat-rpc-help.txt _build/default/ocamlformat-rpc-help.actual
# diff --git a/_build/default/ocamlformat-rpc-help.txt b/_build/default/ocamlformat-rpc-help.actual
# index 20d01e5..1903922 100644
# --- a/_build/default/ocamlformat-rpc-help.txt
# +++ b/_build/default/ocamlformat-rpc-help.actual
# @@ -3,7 +3,7 @@ NAME
#         code.
#  
#  SYNOPSIS
# -       ocamlformat-rpc [OPTION]… 
# +       ocamlformat-rpc [OPTION]…
#  
#  DESCRIPTION
#         ocamlformat-rpc listens to RPC requests, provided on the standard
# @@ -66,7 +66,7 @@ COMMON OPTIONS
#             Show version information.
#  
#  EXIT STATUS
# -       ocamlformat-rpc exits with the following status:
# +       ocamlformat-rpc exits with:
#  
#         0   on success.
#  



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocamlformat-rpc 0.21.0
+- 
+- The following changes have been performed
| - remove  ocamlformat-rpc    0.21.0
| - install alcotest           1.9.1
| - install fmt                0.11.0
| - install ocaml-syntax-shims 1.0.0
| - install stdlib-shims       0.3.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-20260118231149.export"
Or you can retry to install your package selection with:
    /usr/bin/opam install --restore
2026-01-18 23:12.06 ---> saved as "9cd39762c99a10309bc611341ea37a14903e662c3d0c440ab118c21cf33209b4"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [ocamlformat-rpc.0.21.0: extract]
-> retrieved ocamlformat-rpc.0.21.0  (cached)
Processing  2/3: [ocamlformat-rpc: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocamlformat-rpc" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocamlformat-rpc.0.21.0)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -noassert -open Ocamlformat_stdlib -g -I bin/ocamlformat-rpc/.main.eobjs/byte -I bin/ocamlformat-rpc/.main.eobjs/native -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/camlp-streams -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/csexp -I /home/opam/.opam/4.14/lib/dune-build-info -I /home/opam/.opam/4.14/lib/either -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/menhirLib -I /home/opam/.opam/4.14/lib/ocaml-version -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ocamlformat -I /home/opam/.opam/4.14/lib/ocamlformat-rpc-lib -I /home/opam/.opam/4.14/lib/ocamlformat/format_ -I /home/opam/.opam/4.14/lib/ocamlformat/ocaml_413 -I /home/opam/.opam/4.14/lib/ocamlformat/ocaml_413_extended -I /home/opam/.opam/4.14/lib/ocamlformat/ocaml_common -I /home/opam/.opam/4.14/lib/ocamlformat/ocamlformat_stdlib -I /home/opam/.opam/4.14/lib/ocamlformat/parse_wyc -I /home/opam/.opam/4.14/lib/ocamlformat/parser_shims -I /home/opam/.opam/4.14/lib/ocp-indent/lexer -I /home/opam/.opam/4.14/lib/ocp-indent/lib -I /home/opam/.opam/4.14/lib/ocp-indent/utils -I /home/opam/.opam/4.14/lib/odoc-parser -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/uucp -I /home/opam/.opam/4.14/lib/uuseg -I lib-rpc-server/.ocamlformat_rpc.objs/byte -I lib-rpc-server/.ocamlformat_rpc.objs/native -intf-suffix .ml -no-alias-deps -o bin/ocamlformat-rpc/.main.eobjs/native/dune__exe__Main.cmx -c -impl bin/ocamlformat-rpc/main.ml)
- File "bin/ocamlformat-rpc/main.ml", line 15, characters 2-14:
- 15 |   Caml.at_exit (Format.pp_print_flush Format.err_formatter) ;
-        ^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "bin/ocamlformat-rpc/main.ml", line 16, characters 2-14:
- 16 |   Caml.at_exit (Format_.pp_print_flush Format_.err_formatter)
-        ^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "bin/ocamlformat-rpc/main.ml", line 77, characters 9-18:
- 77 | let () = Caml.exit @@ Cmd.eval_result (Cmd.v info rpc_main_t)
-               ^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
[ERROR] The compilation of ocamlformat-rpc.0.21.0 failed at "dune build -p ocamlformat-rpc -j 71 @install @runtest".

#=== ERROR while compiling ocamlformat-rpc.0.21.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-rpc.0.21.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlformat-rpc -j 71 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/ocamlformat-rpc-7-099e8f.env
# output-file          ~/.opam/log/ocamlformat-rpc-7-099e8f.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -noassert -open Ocamlformat_stdlib -g -I bin/ocamlformat-rpc/.main.eobjs/byte -I bin/ocamlformat-rpc/.main.eobjs/native -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/camlp-streams -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/csexp -I /home/opam/.opam/4.14/lib/dune-build-info -I /home/opam/.opam/4.14/lib/either -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/menhirLib -I /home/opam/.opam/4.14/lib/ocaml-version -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ocamlformat -I /home/opam/.opam/4.14/lib/ocamlformat-rpc-lib -I /home/opam/.opam/4.14/lib/ocamlformat/format_ -I /home/opam/.opam/4.14/lib/ocamlformat/ocaml_413 -I /home/opam/.opam/4.14/lib/ocamlformat/ocaml_413_extended -I /home/opam/.opam/4.14/lib/ocamlformat/ocaml_common -I /home/opam/.opam/4.14/lib/ocamlformat/ocamlformat_stdlib -I /home/opam/.opam/4.14/lib/ocamlformat/parse_wyc -I /home/opam/.opam/4.14/lib/ocamlformat/parser_shims -I /home/opam/.opam/4.14/lib/ocp-indent/lexer -I /home/opam/.opam/4.14/lib/ocp-indent/lib -I /home/opam/.opam/4.14/lib/ocp-indent/utils -I /home/opam/.opam/4.14/lib/odoc-parser -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/uucp -I /home/opam/.opam/4.14/lib/uuseg -I lib-rpc-server/.ocamlformat_rpc.objs/byte -I lib-rpc-server/.ocamlformat_rpc.objs/native -intf-suffix .ml -no-alias-deps -o bin/ocamlformat-rpc/.main.eobjs/native/dune__exe__Main.cmx -c -impl bin/ocamlformat-rpc/main.ml)
# File "bin/ocamlformat-rpc/main.ml", line 15, characters 2-14:
# 15 |   Caml.at_exit (Format.pp_print_flush Format.err_formatter) ;
#        ^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "bin/ocamlformat-rpc/main.ml", line 16, characters 2-14:
# 16 |   Caml.at_exit (Format_.pp_print_flush Format_.err_formatter)
#        ^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "bin/ocamlformat-rpc/main.ml", line 77, characters 9-18:
# 77 | let () = Caml.exit @@ Cmd.eval_result (Cmd.v info rpc_main_t)
#               ^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "ocamlformat-rpc-help.txt", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/ocamlformat-rpc-help.txt _build/default/ocamlformat-rpc-help.actual
# diff --git a/_build/default/ocamlformat-rpc-help.txt b/_build/default/ocamlformat-rpc-help.actual
# index 20d01e5..1903922 100644
# --- a/_build/default/ocamlformat-rpc-help.txt
# +++ b/_build/default/ocamlformat-rpc-help.actual
# @@ -3,7 +3,7 @@ NAME
#         code.
#  
#  SYNOPSIS
# -       ocamlformat-rpc [OPTION]… 
# +       ocamlformat-rpc [OPTION]…
#  
#  DESCRIPTION
#         ocamlformat-rpc listens to RPC requests, provided on the standard
# @@ -66,7 +66,7 @@ COMMON OPTIONS
#             Show version information.
#  
#  EXIT STATUS
# -       ocamlformat-rpc exits with the following status:
# +       ocamlformat-rpc exits with:
#  
#         0   on success.
#  

'opam reinstall --with-test --verbose ocamlformat-rpc.0.21.0' failed.
- File "ocamlformat-rpc-help.txt", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/ocamlformat-rpc-help.txt _build/default/ocamlformat-rpc-help.actual
- diff --git a/_build/default/ocamlformat-rpc-help.txt b/_build/default/ocamlformat-rpc-help.actual
- index 20d01e5..1903922 100644
- --- a/_build/default/ocamlformat-rpc-help.txt
- +++ b/_build/default/ocamlformat-rpc-help.actual
- @@ -3,7 +3,7 @@ NAME
-         code.
-  
-  SYNOPSIS
- -       ocamlformat-rpc [OPTION]… 
- +       ocamlformat-rpc [OPTION]…
-  
-  DESCRIPTION
-         ocamlformat-rpc listens to RPC requests, provided on the standard
- @@ -66,7 +66,7 @@ COMMON OPTIONS
-             Show version information.
-  
-  EXIT STATUS
- -       ocamlformat-rpc exits with the following status:
- +       ocamlformat-rpc exits with:
-  
-         0   on success.
-  


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocamlformat-rpc 0.21.0
+- 
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
[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-rpc.0.21.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-rpc.0.21.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-18 23:12.28: Job failed: Failed: Build failed
2026-01-18 23:12.28: Log analysis:
2026-01-18 23:12.28: >>> 
[ERROR] The compilation of ocamlformat-rpc.0.21.0 failed at "dune build -p ocamlformat-rpc -j 71 @install @runtest".
 (score = 20)
2026-01-18 23:12.28: >>> 
[ERROR] The compilation of ocamlformat-rpc.0.21.0 failed at "dune build -p ocamlformat-rpc -j 71 @install @runtest".
 (score = 20)
2026-01-18 23:12.28: The compilation of ocamlformat-rpc.0.21.0 failed at "dune build -p ocamlformat-rpc -j 71 @install @runtest".