Build:
  1. 0
2026-03-02 19:24.00: New job: test ocaml-lsp-server.1.17.0 with dune.3.22.0~alpha0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29497/head (118a690db616b1df5c53d5fa00eb70791a80ae2c)
                              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/29497/head" && git reset --hard 118a690d
git fetch origin master
git merge --no-edit a7b8d1036328cf727af175b657f3d2b732b4d868
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a
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 dune.3.22.0~alpha0 3.22.0~alpha0
RUN opam reinstall dune.3.22.0~alpha0; \
    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" != 'dune.3.22.0~alpha0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall ocaml-lsp-server.1.17.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" != 'ocaml-lsp-server.1.17.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 ocaml-lsp-server.1.17.0) || true
RUN opam reinstall --with-test --verbose ocaml-lsp-server.1.17.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" != 'ocaml-lsp-server.1.17.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-03-02 19:24.00: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a-dune.3.22.0~alpha0-ocaml-lsp-server.1.17.0-118a690db616b1df5c53d5fa00eb70791a80ae2c"
2026-03-02 19:24.00: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a)
 (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 dune.3.22.0~alpha0 3.22.0~alpha0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.22.0~alpha0;\
             \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\" != 'dune.3.22.0~alpha0' && 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 ocaml-lsp-server.1.17.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\" != 'ocaml-lsp-server.1.17.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 ocaml-lsp-server.1.17.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose ocaml-lsp-server.1.17.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\" != 'ocaml-lsp-server.1.17.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-03-02 19:24.00: Waiting for resource in pool OCluster
2026-03-03 04:39.58: Waiting for worker…
2026-03-03 04:42.26: Got resource from pool OCluster
Building on eumache
All commits already cached
Updating files:  72% (13246/18363)
Updating files:  73% (13405/18363)
Updating files:  74% (13589/18363)
Updating files:  75% (13773/18363)
Updating files:  76% (13956/18363)
Updating files:  77% (14140/18363)
Updating files:  78% (14324/18363)
Updating files:  79% (14507/18363)
Updating files:  80% (14691/18363)
Updating files:  81% (14875/18363)
Updating files:  82% (15058/18363)
Updating files:  83% (15242/18363)
Updating files:  84% (15425/18363)
Updating files:  85% (15609/18363)
Updating files:  86% (15793/18363)
Updating files:  87% (15976/18363)
Updating files:  88% (16160/18363)
Updating files:  89% (16344/18363)
Updating files:  90% (16527/18363)
Updating files:  91% (16711/18363)
Updating files:  92% (16894/18363)
Updating files:  93% (17078/18363)
Updating files:  94% (17262/18363)
Updating files:  95% (17445/18363)
Updating files:  96% (17629/18363)
Updating files:  97% (17813/18363)
Updating files:  98% (17996/18363)
Updating files:  99% (18180/18363)
Updating files: 100% (18363/18363)
Updating files: 100% (18363/18363), done.
HEAD is now at a7b8d10363 Merge pull request #29489 from anuragsoni/opam-publish-kqueue.0.7.0
Updating a7b8d10363..118a690db6
Fast-forward
 .../chrome-trace/chrome-trace.3.22.0~alpha0/opam   | 39 +++++++++++
 .../dune-action-plugin.3.22.0~alpha0/opam          | 52 +++++++++++++++
 .../dune-action-trace.3.22.0~alpha0/opam           | 40 ++++++++++++
 .../dune-build-info.3.22.0~alpha0/opam             | 45 +++++++++++++
 .../dune-configurator.3.22.0~alpha0/opam           | 49 ++++++++++++++
 packages/dune-glob/dune-glob.3.22.0~alpha0/opam    | 42 ++++++++++++
 .../dune-private-libs.3.22.0~alpha0/opam           | 50 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha0/opam   | 41 ++++++++++++
 packages/dune-rpc/dune-rpc.3.22.0~alpha0/opam      | 44 +++++++++++++
 packages/dune-site/dune-site.3.22.0~alpha0/opam    | 37 +++++++++++
 packages/dune/dune.3.22.0~alpha0/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.22.0~alpha0/opam                | 40 ++++++++++++
 packages/fs-io/fs-io.3.22.0~alpha0/opam            | 39 +++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha0/opam  | 43 +++++++++++++
 packages/ordering/ordering.3.22.0~alpha0/opam      | 38 +++++++++++
 packages/stdune/stdune.3.22.0~alpha0/opam          | 46 +++++++++++++
 .../top-closure/top-closure.3.22.0~alpha0/opam     | 38 +++++++++++
 packages/xdg/xdg.3.22.0~alpha0/opam                | 39 +++++++++++
 18 files changed, 797 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.22.0~alpha0/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.22.0~alpha0/opam
 create mode 100644 packages/dune-action-trace/dune-action-trace.3.22.0~alpha0/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.22.0~alpha0/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.22.0~alpha0/opam
 create mode 100644 packages/dune-glob/dune-glob.3.22.0~alpha0/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.22.0~alpha0/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha0/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.22.0~alpha0/opam
 create mode 100644 packages/dune-site/dune-site.3.22.0~alpha0/opam
 create mode 100644 packages/dune/dune.3.22.0~alpha0/opam
 create mode 100644 packages/dyn/dyn.3.22.0~alpha0/opam
 create mode 100644 packages/fs-io/fs-io.3.22.0~alpha0/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha0/opam
 create mode 100644 packages/ordering/ordering.3.22.0~alpha0/opam
 create mode 100644 packages/stdune/stdune.3.22.0~alpha0/opam
 create mode 100644 packages/top-closure/top-closure.3.22.0~alpha0/opam
 create mode 100644 packages/xdg/xdg.3.22.0~alpha0/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a)
2026-03-03 04:42.29 ---> using "40de8e47c13dd397f7466181b47c70cd31f6d05f624f7f51643a7089a29a5322" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-03 04:42.29 ---> using "11e955cadb21ab08a7e8407d7e49d7e8b8232723aa9e80323bab6a7d993e9a38" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-03 04:42.29 ---> using "b84411f14b612833c97eea3b0fb49d7afb0294cf8c4774caaff1f8b0f1bd5849" 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-03-03 04:42.29 ---> using "bc1392749f7c1b1568053e91f3061e53f54f3bf6892fcf3fa14761d0f2fabccc" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2026-03-03 04:42.29 ---> using "0f88aad717079fee185cb5f7b0853d5dede0158dafac18dc05292641ad1318aa" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 04:42.31 ---> using "cf2f29575da4e00ad2c0e3200eaf5375ace45ec778f515d81ffd2e5eb96c41f1" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-03 04:42.31 ---> using "c517023779902244dbe5c8fbf440d1dd4569daf367c1e2ee7dd7eb370c41d91c" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main amd64 Packages [113 kB]
- Fetched 203 kB in 0s (1657 kB/s)
- Reading package lists...
- 
2026-03-03 04:42.31 ---> using "a2e6599fe15f34bfd0a71de19dbfccfacdc1f910f7a37fea793bb8ff67d4ba47" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.22.0~alpha0 3.22.0~alpha0"))
dune is now pinned to version 3.22.0~alpha0
2026-03-03 04:42.31 ---> using "9ecf7f496eb9b328aa3c8f7333a40a30e123b33b9d8b5606b7ac6bfc2b62fac7" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.22.0~alpha0;\
                        \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\" != 'dune.3.22.0~alpha0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.22.0~alpha0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.22.0~alpha0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.0~alpha0  (cached)
-> installed dune.3.22.0~alpha0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 04:42.31 ---> using "1d093925996c7908c33a8109d0c1a7be5172d79d6a00aabc511d552ee2499f33" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocaml-lsp-server.1.17.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\" != 'ocaml-lsp-server.1.17.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocaml-lsp-server.1.17.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 27 packages
  - install astring             0.8.5         [required by ocaml-lsp-server]
  - install camlp-streams       5.0.1         [required by ocaml-lsp-server]
  - install chrome-trace        3.22.0~alpha0 [required by ocaml-lsp-server]
  - install csexp               1.5.2         [required by ocaml-lsp-server]
  - install dune-build-info     3.22.0~alpha0 [required by ocaml-lsp-server]
  - install dune-rpc            3.22.0~alpha0 [required by ocaml-lsp-server]
  - install dyn                 3.22.0~alpha0 [required by ocaml-lsp-server]
  - install fiber               3.7.0         [required by ocaml-lsp-server]
  - install fs-io               3.22.0~alpha0 [required by stdune]
  - install merlin-lib          4.16-414      [required by ocaml-lsp-server]
  - install ocaml-lsp-server    1.17.0
  - install ocamlbuild          0.16.1        [required by astring, uutf]
  - install ocamlc-loc          3.22.0~alpha0 [required by ocaml-lsp-server]
  - install ocamlfind           1.9.8         [required by astring, uutf]
  - install ocamlformat-rpc-lib 0.28.1        [required by ocaml-lsp-server]
  - install ordering            3.22.0~alpha0 [required by ocaml-lsp-server]
  - install pp                  2.0.0         [required by ocaml-lsp-server]
  - install ppx_yojson_conv_lib v0.16.0       [required by ocaml-lsp-server]
  - install re                  1.14.0        [required by ocaml-lsp-server]
  - install seq                 base          [required by yojson]
  - install spawn               v0.17.0       [required by ocaml-lsp-server]
  - install stdune              3.22.0~alpha0 [required by ocaml-lsp-server]
  - install top-closure         3.22.0~alpha0 [required by stdune]
  - install topkg               1.1.1         [required by astring, uutf]
  - install uutf                1.0.4         [required by ocaml-lsp-server]
  - install xdg                 3.22.0~alpha0 [required by ocaml-lsp-server]
  - install yojson              2.2.2         [required by ocaml-lsp-server]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> installed camlp-streams.5.0.1
-> retrieved chrome-trace.3.22.0~alpha0, dune-build-info.3.22.0~alpha0, dune-rpc.3.22.0~alpha0, dyn.3.22.0~alpha0, fs-io.3.22.0~alpha0, ocamlc-loc.3.22.0~alpha0, ordering.3.22.0~alpha0, stdune.3.22.0~alpha0, top-closure.3.22.0~alpha0, xdg.3.22.0~alpha0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed chrome-trace.3.22.0~alpha0
-> installed dune-build-info.3.22.0~alpha0
-> installed fs-io.3.22.0~alpha0
-> installed ordering.3.22.0~alpha0
-> installed top-closure.3.22.0~alpha0
-> retrieved fiber.3.7.0  (cached)
-> installed csexp.1.5.2
-> retrieved merlin-lib.4.16-414  (cached)
-> installed xdg.3.22.0~alpha0
-> retrieved ocaml-lsp-server.1.17.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlformat-rpc-lib.0.28.1  (cached)
-> retrieved pp.2.0.0  (cached)
-> retrieved ppx_yojson_conv_lib.v0.16.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved spawn.v0.17.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.2.2.2  (cached)
-> installed pp.2.0.0
-> installed ocamlformat-rpc-lib.0.28.1
-> installed spawn.v0.17.0
-> installed re.1.14.0
-> installed yojson.2.2.2
-> installed dyn.3.22.0~alpha0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed ocamlc-loc.3.22.0~alpha0
-> installed ppx_yojson_conv_lib.v0.16.0
-> installed stdune.3.22.0~alpha0
-> installed fiber.3.7.0
-> installed topkg.1.1.1
-> installed merlin-lib.4.16-414
-> installed uutf.1.0.4
-> installed dune-rpc.3.22.0~alpha0
-> installed astring.0.8.5
[ERROR] The compilation of ocaml-lsp-server.1.17.0 failed at "dune build -j 71 ocaml-lsp-server.install --release".

#=== ERROR while compiling ocaml-lsp-server.1.17.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/ocaml-lsp-server.1.17.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -j 71 ocaml-lsp-server.install --release
# exit-code            1
# env-file             ~/.opam/log/ocaml-lsp-server-7-8b5fb9.env
# output-file          ~/.opam/log/ocaml-lsp-server-7-8b5fb9.out
### output ###
# (cd _build/default/vendor/lev && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/4.14/lib/ocaml -o lev_stubs.o -c lev_stubs.c)
# In file included from submodules/lev/lev/src/lev_stubs.c:1:
# submodules/lev/lev/src/lev_stubs.c: In function 'lev_io_modify':
# submodules/lev/lev/vendor/ev.h:697:79: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
# submodules/lev/lev/src/lev_stubs.c:360:3: note: in expansion of macro 'ev_io_modify'
# submodules/lev/lev/src/lev_stubs.c: At top level:
# submodules/lev/lev/src/lev_stubs.c:172:33: warning: 'periodic_custom_ops' defined but not used [-Wunused-variable]
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -alert -unstable -g -bin-annot -I ocaml-lsp-server/src/.ocaml_lsp_server.objs/byte -I /home/opam/.opam/4.14/lib/chrome-trace -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/dune-rpc -I /home/opam/.opam/4.14/lib/dune-rpc/private -I /home/opam/.opam/4.14/lib/dyn -I /home/opam/.opam/4.14/lib/fiber -I /home/opam/.opam/4.14/lib/merlin-lib/analysis -I /home/opam/.opam/4.14/lib/merlin-lib/dot_protocol -I /home/opam/.opam/4.14/lib/merlin-lib/extend -I /home/opam/.opam/4.14/lib/merlin-lib/kernel -I /home/opam/.opam/4.14/lib/merlin-lib/ocaml_merlin_specific -I /home/opam/.opam/4.14/lib/merlin-lib/ocaml_parsing -I /home/opam/.opam/4.14/lib/merlin-lib/ocaml_typing -I /home/opam/.opam/4.14/lib/merlin-lib/ocaml_utils -I /home/opam/.opam/4.14/lib/merlin-lib/query_commands -I /home/opam/.opam/4.14/lib/merlin-lib/query_protocol -I /home/opam/.opam/4.14/lib/merlin-lib/utils -I /home/opam/.opam/4.14/lib/ocamlc-loc -I /home/opam/.opam/4.14/lib/ocamlformat-rpc-lib -I /home/opam/.opam/4.14/lib/ordering -I /home/opam/.opam/4.14/lib/pp -I /home/opam/.opam/4.14/lib/ppx_yojson_conv_lib -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/spawn -I /home/opam/.opam/4.14/lib/stdune -I /home/opam/.opam/4.14/lib/top-closure -I /home/opam/.opam/4.14/lib/xdg -I /home/opam/.opam/4.14/lib/yojson -I jsonrpc/src/.jsonrpc.objs/byte -I lsp-fiber/src/.lsp_fiber.objs/byte -I lsp/src/.lsp.objs/byte -I ocaml-lsp-server/vendor/cmarkit/.cmarkit.objs/byte -I vendor/lev-fiber-csexp/.lev_fiber_csexp.objs/byte -I vendor/lev-fiber/.lev_fiber.objs/byte -I vendor/lev/.lev.objs/byte -I vendor/odoc-parser/src/.odoc_parser.objs/byte -no-alias-deps -open Ocaml_lsp_server__ -o ocaml-lsp-server/src/.ocaml_lsp_server.objs/byte/ocaml_lsp_server__Diagnostic_util.cmo -c -impl ocaml-lsp-server/src/code_actions/diagnostic_util.ml)
# File "ocaml-lsp-server/src/code_actions/diagnostic_util.ml", line 4, characters 2-18:
# 4 |   String.is_prefix s ~prefix:"Error (warning 26)"
#       ^^^^^^^^^^^^^^^^
# Error: Unbound value String.is_prefix
# (cd _build/default/vendor/lev && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/4.14/lib/ocaml -o ev.o -c ev.c)
# submodules/lev/lev/vendor/ev.c:580:48: warning: "/*" within comment [-Wcomment]
# submodules/lev/lev/vendor/ev.c:2143:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern'
# In file included from submodules/lev/lev/vendor/ev.c:211:
# submodules/lev/lev/vendor/ev_epoll.c: In function 'epoll_modify':
# submodules/lev/lev/vendor/ev_epoll.c:134:69: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev_epoll.c:134:69: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev_poll.c: In function 'poll_poll':
# submodules/lev/lev/vendor/ev_poll.c:113:75: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev_poll.c:113:75: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev_poll.c:121:68: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev_poll.c:121:68: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'verify_watcher':
# submodules/lev/lev/vendor/ev.c:3573:49: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3573:49: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3576:59: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3576:59: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'verify_heap':
# submodules/lev/lev/vendor/ev.c:3587:54: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3587:54: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3588:48: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3588:48: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3589:47: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3589:47: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'array_verify':
# submodules/lev/lev/vendor/ev.c:3601:46: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3601:46: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'ev_verify':
# submodules/lev/lev/vendor/ev.c:3619:47: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3619:47: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3632:64: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3632:64: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3636:61: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3636:61: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3637:65: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3637:65: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'timers_reify':
# submodules/lev/lev/vendor/ev.c:3823:93: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3823:93: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'periodics_reify':
# submodules/lev/lev/vendor/ev.c:3886:90: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:3886:90: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'ev_run':
# submodules/lev/lev/vendor/ev.c:4027:62: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4027:62: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4169:70: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4169:70: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'ev_io_start':
# submodules/lev/lev/vendor/ev.c:4343:56: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4343:56: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4344:63: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4344:63: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4356:62: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4356:62: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4358:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
# submodules/lev/lev/vendor/ev.c: In function 'ev_io_stop':
# submodules/lev/lev/vendor/ev.c:4372:88: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4372:88: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'ev_timer_start':
# submodules/lev/lev/vendor/ev.c:4396:75: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4396:75: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'ev_timer_stop':
# submodules/lev/lev/vendor/ev.c:4425:53: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4425:53: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'ev_periodic_start':
# submodules/lev/lev/vendor/ev.c:4494:78: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4494:78: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'ev_periodic_stop':
# submodules/lev/lev/vendor/ev.c:4527:56: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4527:56: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'ev_signal_start':
# submodules/lev/lev/vendor/ev.c:4566:70: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4566:70: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4569:73: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4569:73: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'ev_child_start':
# submodules/lev/lev/vendor/ev.c:4688:74: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:4688:74: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: In function 'ev_embed_start':
# submodules/lev/lev/vendor/ev.c:5275:60: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c:5275:60: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# submodules/lev/lev/vendor/ev.c: At top level:
# submodules/lev/lev/vendor/ev.c:5623:27: warning: "/*" within comment [-Wcomment]
# submodules/lev/lev/vendor/ev.c:5624:27: warning: "/*" within comment [-Wcomment]



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocaml-lsp-server 1.17.0
+- 
+- The following changes have been performed
| - install astring             0.8.5
| - install camlp-streams       5.0.1
| - install chrome-trace        3.22.0~alpha0
| - install csexp               1.5.2
| - install dune-build-info     3.22.0~alpha0
| - install dune-rpc            3.22.0~alpha0
| - install dyn                 3.22.0~alpha0
| - install fiber               3.7.0
| - install fs-io               3.22.0~alpha0
| - install merlin-lib          4.16-414
| - install ocamlbuild          0.16.1
| - install ocamlc-loc          3.22.0~alpha0
| - install ocamlfind           1.9.8
| - install ocamlformat-rpc-lib 0.28.1
| - install ordering            3.22.0~alpha0
| - install pp                  2.0.0
| - install ppx_yojson_conv_lib v0.16.0
| - install re                  1.14.0
| - install seq                 base
| - install spawn               v0.17.0
| - install stdune              3.22.0~alpha0
| - install top-closure         3.22.0~alpha0
| - install topkg               1.1.1
| - install uutf                1.0.4
| - install xdg                 3.22.0~alpha0
| - install yojson              2.2.2
+- 
# 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-20260303044233.export"
[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 ocaml-lsp-server.1.17.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" != 'ocaml-lsp-server.1.17.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-03-03 04:45.30: Job failed: Failed: Build failed
2026-03-03 04:45.30: Log analysis:
2026-03-03 04:45.30: >>> 
[ERROR] The compilation of ocaml-lsp-server.1.17.0 failed at "dune build -j 71 ocaml-lsp-server.install --release".
 (score = 20)
2026-03-03 04:45.30: >>> 
# Error: Unbound value String.is_prefix
 (score = 48)
2026-03-03 04:45.30: Unbound value String.is_prefix