- github
- ocaml
- opam-repository
- 118a69
- compilers,5.4,dune-build-info.3.22.0~alpha0,revdeps,melange-json.2.0.0
(not at the head of any monitored branch or PR)
2026-03-02 19:19.55: New job: test melange-json.2.0.0 with dune-build-info.3.22.0~alpha0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29497/head (118a690db616b1df5c53d5fa00eb70791a80ae2c)
on debian-13-ocaml-5.4/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-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c
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-build-info.3.22.0~alpha0 3.22.0~alpha0
RUN opam reinstall dune-build-info.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-build-info.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 melange-json.2.0.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" != 'melange-json.2.0.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 melange-json.2.0.0) || true
RUN opam reinstall --with-test --verbose melange-json.2.0.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" != 'melange-json.2.0.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:19.55: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c-dune-build-info.3.22.0~alpha0-melange-json.2.0.0-118a690db616b1df5c53d5fa00eb70791a80ae2c"
2026-03-02 19:19.55: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
(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-build-info.3.22.0~alpha0 3.22.0~alpha0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune-build-info.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-build-info.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 melange-json.2.0.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\" != 'melange-json.2.0.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 melange-json.2.0.0) || true"))
(run (shell "opam reinstall --with-test --verbose melange-json.2.0.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\" != 'melange-json.2.0.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:19.55: Waiting for resource in pool OCluster
2026-03-02 21:19.50: Waiting for worker…
2026-03-02 21:23.26: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
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-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
2026-03-02 21:23.30 ---> using "3c18c9e472a4f76bc128dc0a5a1e21158ba3dbd0d6773ace6ec33f0cfe6fac9b" 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-02 21:23.30 ---> using "7a3442ad99cd957e3ce65df65cad40aee4354c6d524c7813b8b589bc410c187e" 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.
[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
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-02 21:23.30 ---> using "4214446d06a5b764dff5167574d07a5b4441731262795df63d7a3c5f64e1a189" 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 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2026-03-02 21:23.30 ---> using "8bf276ecf196c09ac4fb294f887dce47d9744c212aabbbad5d313f0a4179272a" 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-02 21:23.30 ---> using "c04e3f046c8eaf07d3d8f4b30debe47a6f7742bcdbfbfeb4d464149613cd35cd" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-02 21:23.30 ---> using "eec15e3492f38e67613d1a01ad00877a9a3ba45d19f73e6250e19cd2bda0a34c" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-02 21:23.30 ---> using "b219e5557ed366603222e74c0319619404e73f91801374c46bc0615017490834" 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 (1816 kB/s)
- Reading package lists...
2026-03-02 21:23.30 ---> using "411e66a2e15299fe700f96de3484c141af0207f3778de7985d9b3b9532bed7f1" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune-build-info.3.22.0~alpha0 3.22.0~alpha0"))
dune-build-info is now pinned to version 3.22.0~alpha0
2026-03-02 21:23.30 ---> using "ff6e9b479f1d66f4209742900b6d4da8d5e28770495f2c75b7fcd1673e860d8f" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune-build-info.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-build-info.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-build-info.3.22.0~alpha0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install dune 3.22.0~alpha0 [required by dune-build-info]
- install dune-build-info 3.22.0~alpha0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.0~alpha0, dune-build-info.3.22.0~alpha0 (cached)
-> installed dune.3.22.0~alpha0
-> installed dune-build-info.3.22.0~alpha0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-02 21:23.30 ---> using "916b0cfcc64219e0f301d51a8e955e357c3ffcfe3af568a1c1d885fb019cfd65" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall melange-json.2.0.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\" != 'melange-json.2.0.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
melange-json.2.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 14 packages
- install cmdliner 2.1.0 [required by melange]
- install cppo 1.8.0 [required by melange]
- install melange 6.0.1-54 [required by melange-json]
- install melange-json 2.0.0
- install menhir 20260209 [required by melange]
- install menhirCST 20260209 [required by menhir]
- install menhirGLR 20260209 [required by menhir]
- install menhirLib 20260209 [required by menhir]
- install menhirSdk 20260209 [required by menhir]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.37.0 [required by melange-json]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved melange.6.0.1-54 (cached)
-> retrieved melange-json.2.0.0 (cached)
-> installed cppo.1.8.0
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> installed menhirCST.20260209
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.37.0 (cached)
-> installed ppx_derivers.1.2.1
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed menhirLib.20260209
-> installed menhirGLR.20260209
-> installed menhirSdk.20260209
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed cmdliner.2.1.0
-> installed menhir.20260209
-> installed ppxlib.0.37.0
-> installed melange.6.0.1-54
-> installed melange-json.2.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-02 21:24.21 ---> saved as "5b534452af5ac4d5a963c6b027ecbe21c52e26224861d009d8933c04c9d3ae27"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test melange-json.2.0.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile melange-json 2.0.0
=== install 76 packages
- install 0install-solver 2.18 [required by opam-0install-cudf]
- install angstrom 0.16.1 [required by opam-check-npm-deps]
- install astring 0.8.5 [required by ocaml-lsp-server]
- install base v0.17.3 [required by ocaml-lsp-server]
- install base-bytes base [required by ocplib-endian]
- install base64 3.5.2 [required by opam-client]
- install bigstringaf 0.10.0 [required by angstrom]
- install bos 0.2.1 [required by opam-check-npm-deps]
- install camlp-streams 5.0.1 [required by ocaml-lsp-server]
- install chrome-trace 3.22.0~alpha0 [required by ocaml-lsp-server]
- install conf-c++ 1.0 [required by mccs]
- install csexp 1.5.2 [required by ocaml-lsp-server, ocamlformat]
- install cudf 0.10 [required by opam-solver]
- install dose3 7.0.0 [required by opam-solver]
- install dune-configurator 3.22.0~alpha0 [required by base]
- install dune-rpc 3.22.0~alpha0 [required by ocaml-lsp-server]
- install dyn 3.22.0~alpha0 [required by ocaml-lsp-server]
- install either 1.0.0 [required by ocamlformat-lib]
- install extlib 1.8.0 [required by cudf, dose3]
- install fiber 3.7.0 [required by ocaml-lsp-server]
- install fix 20250919 [required by reason]
- install fmt 0.11.0 [required by opam-check-npm-deps]
- install fpath 0.7.3 [required by ocamlformat-lib, bos]
- install fs-io 3.22.0~alpha0 [required by stdune]
- install jsonm 1.0.2 [required by opam-core]
- install jsonrpc 1.25.0 [required by ocaml-lsp-server]
- install logs 0.10.0 [required by bos]
- install lsp 1.25.0 [required by ocaml-lsp-server]
- install lwt 6.1.1 [required by opam-check-npm-deps]
- install mccs 1.1+19 [required by opam-solver]
- install melange-jest 0.2.0 [required by melange-json]
- install merlin-extend 0.6.2 [required by reason]
- install merlin-lib 5.6.1-504 [required by ocaml-lsp-server]
- install ocaml-index 5.6.1-504
- install ocaml-lsp-server 1.25.0 [required by melange-json]
- install ocaml-syntax-shims 1.0.0 [required by angstrom]
- install ocaml-version 4.0.3 [required by ocamlformat-lib]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ocamlbuild 0.16.1 [required by astring, bos]
- install ocamlc-loc 3.22.0~alpha0 [required by ocaml-lsp-server]
- install ocamlfind 1.9.8 [required by reason]
- install ocamlformat 0.28.1 [required by melange-json]
- install ocamlformat-lib 0.28.1 [required by ocamlformat]
- install ocamlformat-rpc-lib 0.28.1 [required by ocaml-lsp-server]
- install ocamlgraph 2.2.0 [required by dose3]
- install ocp-indent 1.9.0 [required by ocamlformat-lib]
- install ocplib-endian 1.2 [required by lwt]
- install opam-0install-cudf 0.5.0 [required by opam-solver]
- install opam-check-npm-deps 4.1.0 [required by melange-json]
- install opam-client 2.5.0 [required by opam-check-npm-deps]
- install opam-core 2.5.0 [required by opam-format]
- install opam-file-format 2.2.0 [required by opam-format]
- install opam-format 2.5.0 [required by opam-repository, opam-solver]
- install opam-repository 2.5.0 [required by opam-client]
- install opam-solver 2.5.0 [required by opam-client]
- install opam-state 2.5.0 [required by opam-client]
- install ordering 3.22.0~alpha0 [required by ocaml-lsp-server]
- install patch 3.1.0 [required by opam-repository, opam-state]
- install pp 2.0.0 [required by ocaml-lsp-server]
- install ppx_yojson_conv_lib v0.17.0 [required by ocaml-lsp-server]
- install re 1.14.0 [required by ocaml-lsp-server, ocamlformat]
- install reason 3.17.3 [required by melange-json]
- install rresult 0.7.0 [required by bos]
- install sha 1.15.4 [required by opam-core]
- install spawn v0.17.0 [required by ocaml-lsp-server]
- install spdx_licenses 1.4.0 [required by opam-state]
- install stdio v0.17.0 [required by ocamlformat-lib]
- install stdune 3.22.0~alpha0 [required by ocaml-lsp-server]
- install swhid_core 0.1 [required by opam-core]
- install top-closure 3.22.0~alpha0 [required by stdune]
- install topkg 1.1.1 [required by astring, bos]
- install uucp 17.0.0 [required by uuseg]
- install uuseg 17.0.0 [required by ocamlformat-lib]
- install uutf 1.0.4 [required by lsp, ocamlformat-lib]
- install xdg 3.22.0~alpha0 [required by ocaml-lsp-server]
- install yojson 3.0.0 [required by ocaml-lsp-server, opam-check-npm-deps]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved 0install-solver.2.18 (https://opam.ocaml.org/cache)
-> retrieved angstrom.0.16.1 (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5 (https://opam.ocaml.org/cache)
-> retrieved base.v0.17.3 (https://opam.ocaml.org/cache)
-> retrieved base64.3.5.2 (https://opam.ocaml.org/cache)
-> retrieved bigstringaf.0.10.0 (https://opam.ocaml.org/cache)
-> retrieved bos.0.2.1 (https://opam.ocaml.org/cache)
-> retrieved camlp-streams.5.0.1 (https://opam.ocaml.org/cache)
-> installed base64.3.5.2
-> installed 0install-solver.2.18
-> installed camlp-streams.5.0.1
-> retrieved chrome-trace.3.22.0~alpha0, dune-configurator.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 (https://github.com/ocaml/dune/releases/download/3.22.0_alpha0/dune-3.22.0.alpha0.tbz)
-> installed chrome-trace.3.22.0~alpha0
-> installed conf-c++.1.0
-> installed fs-io.3.22.0~alpha0
-> installed ordering.3.22.0~alpha0
-> installed top-closure.3.22.0~alpha0
-> retrieved csexp.1.5.2 (https://opam.ocaml.org/cache)
-> retrieved cudf.0.10 (https://opam.ocaml.org/cache)
-> installed csexp.1.5.2
-> installed xdg.3.22.0~alpha0
-> retrieved dose3.7.0.0 (https://opam.ocaml.org/cache)
-> retrieved either.1.0.0 (https://opam.ocaml.org/cache)
-> retrieved extlib.1.8.0 (https://opam.ocaml.org/cache)
-> retrieved fiber.3.7.0 (https://opam.ocaml.org/cache)
-> installed either.1.0.0
-> retrieved fix.20250919 (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0 (https://opam.ocaml.org/cache)
-> retrieved fpath.0.7.3 (https://opam.ocaml.org/cache)
-> retrieved jsonm.1.0.2 (https://opam.ocaml.org/cache)
-> installed extlib.1.8.0
-> installed fix.20250919
-> retrieved jsonrpc.1.25.0, lsp.1.25.0, ocaml-lsp-server.1.25.0 (https://opam.ocaml.org/cache)
-> installed dune-configurator.3.22.0~alpha0
-> retrieved logs.0.10.0 (https://opam.ocaml.org/cache)
-> retrieved lwt.6.1.1 (https://opam.ocaml.org/cache)
-> installed cudf.0.10
-> retrieved mccs.1.1+19 (https://opam.ocaml.org/cache)
-> retrieved melange-jest.0.2.0 (https://opam.ocaml.org/cache)
-> installed bigstringaf.0.10.0
-> retrieved melange-json.2.0.0 (https://opam.ocaml.org/cache)
-> retrieved merlin-extend.0.6.2 (https://opam.ocaml.org/cache)
-> installed merlin-extend.0.6.2
-> installed melange-jest.0.2.0
-> retrieved merlin-lib.5.6.1-504, ocaml-index.5.6.1-504 (https://opam.ocaml.org/cache)
[ERROR] The compilation of mccs.1.1+19 failed at "dune build -p mccs -j 255".
-> retrieved ocaml-syntax-shims.1.0.0 (https://opam.ocaml.org/cache)
-> retrieved ocaml-version.4.0.3 (https://opam.ocaml.org/cache)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.16.1 (https://opam.ocaml.org/cache)
-> installed ocaml-version.4.0.3
-> retrieved ocamlfind.1.9.8 (https://opam.ocaml.org/cache)
-> installed ocaml_intrinsics_kernel.v0.17.1
-> retrieved ocamlformat.0.28.1, ocamlformat-lib.0.28.1, ocamlformat-rpc-lib.0.28.1 (https://opam.ocaml.org/cache)
-> installed ocaml-syntax-shims.1.0.0
-> retrieved ocamlgraph.2.2.0 (https://opam.ocaml.org/cache)
-> retrieved ocp-indent.1.9.0 (https://opam.ocaml.org/cache)
-> installed ocamlformat-rpc-lib.0.28.1
-> retrieved ocplib-endian.1.2 (https://opam.ocaml.org/cache)
-> retrieved opam-0install-cudf.0.5.0 (https://opam.ocaml.org/cache)
-> installed angstrom.0.16.1
-> retrieved opam-check-npm-deps.4.1.0 (https://opam.ocaml.org/cache)
-> retrieved opam-client.2.5.0, opam-core.2.5.0, opam-format.2.5.0, opam-repository.2.5.0, opam-solver.2.5.0, opam-state.2.5.0 (https://opam.ocaml.org/cache)
-> installed opam-0install-cudf.0.5.0
-> retrieved opam-file-format.2.2.0 (https://opam.ocaml.org/cache)
-> retrieved patch.3.1.0 (https://opam.ocaml.org/cache)
-> retrieved pp.2.0.0 (https://opam.ocaml.org/cache)
-> retrieved ppx_yojson_conv_lib.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0 (https://opam.ocaml.org/cache)
-> installed pp.2.0.0
-> installed ocamlgraph.2.2.0
-> installed ocamlfind.1.9.8
-> installed base.v0.17.3
-> installed base-bytes.base
-> installed dyn.3.22.0~alpha0
-> installed ocamlbuild.0.16.1
-> installed opam-file-format.2.2.0
-> installed patch.3.1.0
-> installed re.1.14.0
-> retrieved reason.3.17.3 (https://opam.ocaml.org/cache)
-> installed ocp-indent.1.9.0
-> installed ocplib-endian.1.2
-> installed ocamlc-loc.3.22.0~alpha0
-> retrieved rresult.0.7.0 (https://opam.ocaml.org/cache)
-> retrieved sha.1.15.4 (https://opam.ocaml.org/cache)
-> retrieved spawn.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved spdx_licenses.1.4.0 (https://opam.ocaml.org/cache)
-> retrieved stdio.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved swhid_core.0.1 (https://opam.ocaml.org/cache)
-> retrieved topkg.1.1.1 (https://opam.ocaml.org/cache)
-> installed spawn.v0.17.0
-> installed spdx_licenses.1.4.0
-> installed merlin-lib.5.6.1-504
-> installed dose3.7.0.0
-> installed stdio.v0.17.0
-> installed swhid_core.0.1
-> installed sha.1.15.4
-> retrieved uucp.17.0.0 (https://opam.ocaml.org/cache)
-> retrieved uuseg.17.0.0 (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4 (https://opam.ocaml.org/cache)
-> retrieved yojson.3.0.0 (https://opam.ocaml.org/cache)
-> installed stdune.3.22.0~alpha0
-> installed lwt.6.1.1
-> removed melange-json.2.0.0
-> installed yojson.3.0.0
-> installed ocaml-index.5.6.1-504
-> installed fiber.3.7.0
-> installed ppx_yojson_conv_lib.v0.17.0
-> installed jsonrpc.1.25.0
-> installed topkg.1.1.1
-> installed dune-rpc.3.22.0~alpha0
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed fpath.0.7.3
-> installed logs.0.10.0
-> installed bos.0.2.1
-> installed lsp.1.25.0
-> installed reason.3.17.3
-> installed opam-core.2.5.0
[ERROR] The compilation of ocaml-lsp-server.1.25.0 failed at "dune build -p ocaml-lsp-server -j 255 @install".
-> installed opam-format.2.5.0
-> installed opam-repository.2.5.0
-> installed uucp.17.0.0
-> installed uuseg.17.0.0
-> installed opam-state.2.5.0
-> installed ocamlformat-lib.0.28.1
-> installed ocamlformat.0.28.1
#=== ERROR while compiling ocaml-lsp-server.1.25.0 ============================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/ocaml-lsp-server.1.25.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocaml-lsp-server -j 255 @install
# exit-code 1
# env-file ~/.opam/log/ocaml-lsp-server-7-8c8e62.env
# output-file ~/.opam/log/ocaml-lsp-server-7-8c8e62.out
### output ###
# (cd _build/default/ocaml-lsp-server/vendor/lev && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/ocaml/unix -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/ocaml-lsp-server/vendor/lev && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/ocaml/unix -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]
# (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -alert -unstable -w -58 -g -I ocaml-lsp-server/src/.ocaml_lsp_server.objs/byte -I ocaml-lsp-server/src/.ocaml_lsp_server.objs/native -I /home/opam/.opam/5.4/lib/base -I /home/opam/.opam/5.4/lib/chrome-trace -I /home/opam/.opam/5.4/lib/csexp -I /home/opam/.opam/5.4/lib/dune-build-info -I /home/opam/.opam/5.4/lib/dune-rpc -I /home/opam/.opam/5.4/lib/dune-rpc/private -I /home/opam/.opam/5.4/lib/dyn -I /home/opam/.opam/5.4/lib/fiber -I /home/opam/.opam/5.4/lib/jsonrpc -I /home/opam/.opam/5.4/lib/lsp -I /home/opam/.opam/5.4/lib/merlin-lib/analysis -I /home/opam/.opam/5.4/lib/merlin-lib/commands -I /home/opam/.opam/5.4/lib/merlin-lib/dot_protocol -I /home/opam/.opam/5.4/lib/merlin-lib/extend -I /home/opam/.opam/5.4/lib/merlin-lib/kernel -I /home/opam/.opam/5.4/lib/merlin-lib/ocaml_merlin_specific -I /home/opam/.opam/5.4/lib/merlin-lib/ocaml_parsing -I /home/opam/.opam/5.4/lib/merlin-lib/ocaml_typing -I /home/opam/.opam/5.4/lib/merlin-lib/ocaml_utils -I /home/opam/.opam/5.4/lib/merlin-lib/query_commands -I /home/opam/.opam/5.4/lib/merlin-lib/query_protocol -I /home/opam/.opam/5.4/lib/merlin-lib/utils -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ocamlc-loc -I /home/opam/.opam/5.4/lib/ocamlformat-rpc-lib -I /home/opam/.opam/5.4/lib/ordering -I /home/opam/.opam/5.4/lib/pp -I /home/opam/.opam/5.4/lib/ppx_yojson_conv_lib -I /home/opam/.opam/5.4/lib/re -I /home/opam/.opam/5.4/lib/spawn -I /home/opam/.opam/5.4/lib/stdune -I /home/opam/.opam/5.4/lib/top-closure -I /home/opam/.opam/5.4/lib/xdg -I /home/opam/.opam/5.4/lib/yojson -I lsp-fiber/src/.lsp_fiber.objs/byte -I lsp-fiber/src/.lsp_fiber.objs/native -I ocaml-lsp-server/vendor/cmarkit/.cmarkit.objs/byte -I ocaml-lsp-server/vendor/cmarkit/.cmarkit.objs/native -I ocaml-lsp-server/vendor/lev-fiber-csexp/.lev_fiber_csexp.objs/byte -I ocaml-lsp-server/vendor/lev-fiber-csexp/.lev_fiber_csexp.objs/native -I ocaml-lsp-server/vendor/lev-fiber/.lev_fiber.objs/byte -I ocaml-lsp-server/vendor/lev-fiber/.lev_fiber.objs/native -I ocaml-lsp-server/vendor/lev/.lev.objs/byte -I ocaml-lsp-server/vendor/lev/.lev.objs/native -I vendor/odoc-parser/src/.odoc_parser.objs/byte -I vendor/odoc-parser/src/.odoc_parser.objs/native -cmi-file ocaml-lsp-server/src/.ocaml_lsp_server.objs/byte/ocaml_lsp_server__Dune.cmi -no-alias-deps -open Ocaml_lsp_server__ -o ocaml-lsp-server/src/.ocaml_lsp_server.objs/native/ocaml_lsp_server__Dune.cmx -c -impl ocaml-lsp-server/src/dune.ml)
# File "ocaml-lsp-server/src/dune.ml", lines 75-84, characters 2-10:
# 75 | ..Drpc.Client.Make
# 76 | (struct
# 77 | include Fiber
# 78 |
# 79 | let parallel_iter t ~f =
# 80 | let stream = Fiber.Stream.In.create t in
# 81 | Fiber.Stream.In.parallel_iter stream ~f
# 82 | ;;
# 83 | end)
# 84 | (Chan)
# Error: This application of the functor Drpc.Client.Make is ill-typed.
# These arguments:
# $S1 Chan
# do not match these parameters:
# (Fiber : $T1) (Chan : $T2) -> ...
# 1. Modules do not match:
# $S1 :
# sig
# type 'a t = 'a Fiber.t
# val return : 'a -> 'a t
# val of_thunk : (unit -> 'a t) -> 'a t
# val never : 'a t
# module O = Fiber.O
# val map : 'a t -> f:('a -> 'b) -> 'b t
# val bind : 'a t -> f:('a -> 'b t) -> 'b t
# val both : 'a t -> 'b t -> ('a * 'b) t
# val all : 'a t list -> 'a list t
# val sequential_map : 'a list -> f:('a -> 'b t) -> 'b list t
# val sequential_iter : 'a list -> f:('a -> unit t) -> unit t
# val fork_and_join :
# (unit -> 'a t) -> (unit -> 'b t) -> ('a * 'b) t
# val fork_and_join_unit :
# (unit -> unit t) -> (unit -> 'a t) -> 'a t
# val parallel_map : 'a list -> f:('a -> 'b t) -> 'b list t
# val all_concurrently : 'a t list -> 'a list t
# val all_concurrently_unit : unit t list -> unit t
# val parallel_iter_set :
# (module Stdune.Set.S with type elt = 'a and type t = 's) ->
# 's -> f:('a -> unit t) -> unit t
# val sequential_iter_seq :
# 'a Stdune.Seq.t -> f:('a -> unit t) -> unit t
# module Make_map_traversals = Fiber.Make_map_traversals
# module Var = Fiber.Var
# val with_error_handler :
# (unit -> 'a t) ->
# on_error:(Stdune.Exn_with_backtrace.t -> Stdune.Nothing.t t) ->
# 'a t
# val map_reduce_errors :
# (module Stdune.Monoid with type t = 'a) ->
# on_error:(Stdune.Exn_with_backtrace.t -> 'a t) ->
# (unit -> 'b t) -> ('b, 'a) Stdune.result t
# val collect_errors :
# (unit -> 'a t) ->
# ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t t
# val finalize :
# (unit -> 'a t) -> finally:(unit -> unit t) -> 'a t
# val reraise_all : Stdune.Exn_with_backtrace.t list -> 'a t
# module Ivar = Fiber.Ivar
# module Mvar = Fiber.Mvar
# module Svar = Fiber.Svar
# module Mutex = Fiber.Mutex
# module Throttle = Fiber.Throttle
# val repeat_while : f:('a -> 'a option t) -> init:'a -> unit t
# module Stream = Fiber.Stream
# module Pool = Fiber.Pool
# type fill = Fiber.fill = Fill : 'a Ivar.t * 'a -> fill
# val run :
# 'a t -> iter:(unit -> fill Stdune.Nonempty_list.t) -> 'a
# module Scheduler = Fiber.Scheduler
# module Cancel = Fiber.Cancel
# module Expert = Fiber.Expert
# val parallel_iter :
# (unit -> 'a option Fiber.t) ->
# f:('a -> unit Fiber.t) -> unit Fiber.t
# end
# is not included in
# $T1 =
# sig
# type 'a t
# val return : 'a -> 'a t
# val fork_and_join_unit :
# (unit -> unit t) -> (unit -> 'a t) -> 'a t
# val parallel_iter :
# (unit -> 'a option t) -> f:('a -> unit t) -> unit t
# val finalize :
# (unit -> 'a t) -> finally:(unit -> unit t) -> 'a t
# val collect_errors : (unit -> 'a t) -> ('a, exn list) result t
# module O :
# sig
# val ( let* ) : 'a t -> ('a -> 'b t) -> 'b t
# val ( let+ ) : 'a t -> ('a -> 'b) -> 'b t
# end
# module Ivar :
# sig
# type 'a t
# val create : unit -> 'a t
# val read : 'a t -> 'a t/2
# val fill : 'a t -> 'a -> unit t/2
# end
# end
# Values do not match:
# val collect_errors :
# (unit -> 'a t) ->
# ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t t
# is not included in
# val collect_errors : (unit -> 'a t) -> ('a, exn list) result t
# The type
# (unit -> 'a t) ->
# ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t t
# is not compatible with the type
# (unit -> 'a t) -> ('a, exn list) result t
# Type
# ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t t =
# ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t Fiber.t
# is not compatible with type
# ('a, exn list) result t = ('a, exn list) result Fiber.t
# Type
# ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t =
# ('a, Stdune.Exn_with_backtrace.t list) result
# is not compatible with type ('a, exn list) result
# Type Stdune.Exn_with_backtrace.t is not compatible with type exn
# File "otherlibs/dune-rpc/v1.mli", line 466, characters 9-71:
# Expected declaration
# File "fiber/src/fiber.mli", lines 168-169, characters 0-62:
# Actual declaration
# 2. Modules do not match:
# Chan :
# sig
# type t = Chan.t
# val create : Lev_fiber_csexp.Session.t -> t
# val write : t -> Csexp.t list option -> unit Fiber.t
# val read : t -> Csexp.t option Fiber.t
# val stop : t -> unit Fiber.t
# val run : t -> unit Fiber.t
# end
# is not included in
# $T2 =
# sig
# type t
# val write : t -> Csexp.t list -> unit Fiber.t
# val close : t -> unit Fiber.t
# val read : t -> Csexp.t option Fiber.t
# end
#=== ERROR while compiling mccs.1.1+19 ========================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/mccs.1.1+19
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p mccs -j 255
# exit-code 1
# env-file ~/.opam/log/mccs-7-1ce64f.env
# output-file ~/.opam/log/mccs-7-1ce64f.out
### output ###
# File "src/dune", line 5, characters 63-73:
# 5 | new_criteria notuptodate_criteria removed_criteria mccscudf mccs_stubs)
# ^^^^^^^^^^
# (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/cudf -I /home/opam/.opam/5.4/lib/extlib -I glpk -o mccs_stubs.o -c mccs_stubs.cpp)
# In file included from mccs_stubs.cpp:21:
# glpk_solver.h:15:10: fatal error: config.h: No such file or directory
# 15 | #include "config.h"
# | ^~~~~~~~~~
# compilation terminated.
# File "src/dune", line 4, characters 30-41:
# 4 | cudf_reductions cudf_tools glpk_solver lp_solver lexagregate_combiner
# ^^^^^^^^^^^
# (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/cudf -I /home/opam/.opam/5.4/lib/extlib -I glpk -o glpk_solver.o -c glpk_solver.cpp)
# In file included from glpk_solver.cpp:16:
# glpk_solver.h:15:10: fatal error: config.h: No such file or directory
# 15 | #include "config.h"
# | ^~~~~~~~~~
# compilation terminated.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build mccs 1.1+19
| - build ocaml-lsp-server 1.25.0
+-
+- The following changes have been performed (the rest was aborted)
| - remove melange-json 2.0.0
| - install 0install-solver 2.18
| - install angstrom 0.16.1
| - install astring 0.8.5
| - install base v0.17.3
| - install base-bytes base
| - install base64 3.5.2
| - install bigstringaf 0.10.0
| - install bos 0.2.1
| - install camlp-streams 5.0.1
| - install chrome-trace 3.22.0~alpha0
| - install conf-c++ 1.0
| - install csexp 1.5.2
| - install cudf 0.10
| - install dose3 7.0.0
| - install dune-configurator 3.22.0~alpha0
| - install dune-rpc 3.22.0~alpha0
| - install dyn 3.22.0~alpha0
| - install either 1.0.0
| - install extlib 1.8.0
| - install fiber 3.7.0
| - install fix 20250919
| - install fmt 0.11.0
| - install fpath 0.7.3
| - install fs-io 3.22.0~alpha0
| - install jsonm 1.0.2
| - install jsonrpc 1.25.0
| - install logs 0.10.0
| - install lsp 1.25.0
| - install lwt 6.1.1
| - install melange-jest 0.2.0
| - install merlin-extend 0.6.2
| - install merlin-lib 5.6.1-504
| - install ocaml-index 5.6.1-504
| - install ocaml-syntax-shims 1.0.0
| - install ocaml-version 4.0.3
| - install ocaml_intrinsics_kernel v0.17.1
| - install ocamlbuild 0.16.1
| - install ocamlc-loc 3.22.0~alpha0
| - install ocamlfind 1.9.8
| - install ocamlformat 0.28.1
| - install ocamlformat-lib 0.28.1
| - install ocamlformat-rpc-lib 0.28.1
| - install ocamlgraph 2.2.0
| - install ocp-indent 1.9.0
| - install ocplib-endian 1.2
| - install opam-0install-cudf 0.5.0
| - install opam-core 2.5.0
| - install opam-file-format 2.2.0
| - install opam-format 2.5.0
| - install opam-repository 2.5.0
| - install opam-state 2.5.0
| - install ordering 3.22.0~alpha0
| - install patch 3.1.0
| - install pp 2.0.0
| - install ppx_yojson_conv_lib v0.17.0
| - install re 1.14.0
| - install reason 3.17.3
| - install rresult 0.7.0
| - install sha 1.15.4
| - install spawn v0.17.0
| - install spdx_licenses 1.4.0
| - install stdio v0.17.0
| - install stdune 3.22.0~alpha0
| - install swhid_core 0.1
| - install top-closure 3.22.0~alpha0
| - install topkg 1.1.1
| - install uucp 17.0.0
| - install uuseg 17.0.0
| - install uutf 1.0.4
| - install xdg 3.22.0~alpha0
| - install yojson 3.0.0
+-
<><> 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/5.4/share/emacs/site-lisp")
(require 'ocp-indent)
* for Vim, add this line to ~/.vimrc:
set rtp^="/home/opam/.opam/5.4/share/ocp-indent/vim"
# 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/5.4/.opam-switch/backup/state-20260302212422.export"
Or you can retry to install your package selection with:
/usr/bin/opam install --restore
2026-03-02 21:26.02 ---> saved as "a6d410668410a0cd283f4010a064f13e3db852c843da7fb5d037be11ba603011"
/home/opam: (run (shell "opam reinstall --with-test --verbose melange-json.2.0.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\" != 'melange-json.2.0.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
melange-json.2.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
- install mccs 1.1+19 [required by opam-solver]
- install melange-json 2.0.0
- install ocaml-lsp-server 1.25.0 [required by melange-json]
- install opam-check-npm-deps 4.1.0 [required by melange-json]
- install opam-client 2.5.0 [required by opam-check-npm-deps]
- install opam-solver 2.5.0 [required by opam-client]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/17: [mccs.1.1+19: extract]
-> retrieved mccs.1.1+19 (cached)
Processing 2/17: [melange-json.2.0.0: extract]
Processing 3/17: [melange-json.2.0.0: extract] [mccs: dune build]
-> retrieved melange-json.2.0.0 (cached)
Processing 3/17: [mccs: dune build]
Processing 4/17: [ocaml-lsp-server.1.25.0: extract] [mccs: dune build]
-> retrieved ocaml-lsp-server.1.25.0 (cached)
Processing 4/17: [mccs: dune build]
Processing 5/17: [opam-check-npm-deps.4.1.0: extract] [mccs: dune build]
Processing 6/17: [opam-check-npm-deps.4.1.0: extract] [mccs: dune build] [ocaml-lsp-server: dune build]
-> retrieved opam-check-npm-deps.4.1.0 (cached)
Processing 6/17: [mccs: dune build] [ocaml-lsp-server: dune build]
Processing 7/17: [opam-client.2.5.0, opam-solver.2.5.0: extract] [mccs: dune build] [ocaml-lsp-server: dune build]
-> retrieved opam-client.2.5.0, opam-solver.2.5.0 (cached)
Processing 7/17: [mccs: dune build] [ocaml-lsp-server: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mccs" "-j" "255" (CWD=/home/opam/.opam/5.4/.opam-switch/build/mccs.1.1+19)
- File "src/dune", line 4, characters 30-41:
- 4 | cudf_reductions cudf_tools glpk_solver lp_solver lexagregate_combiner
- ^^^^^^^^^^^
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/cudf -I /home/opam/.opam/5.4/lib/extlib -I glpk -o glpk_solver.o -c glpk_solver.cpp)
- In file included from glpk_solver.cpp:16:
- glpk_solver.h:15:10: fatal error: config.h: No such file or directory
- 15 | #include "config.h"
- | ^~~~~~~~~~
- compilation terminated.
- File "src/dune", line 5, characters 63-73:
- 5 | new_criteria notuptodate_criteria removed_criteria mccscudf mccs_stubs)
- ^^^^^^^^^^
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/cudf -I /home/opam/.opam/5.4/lib/extlib -I glpk -o mccs_stubs.o -c mccs_stubs.cpp)
- In file included from mccs_stubs.cpp:21:
- glpk_solver.h:15:10: fatal error: config.h: No such file or directory
- 15 | #include "config.h"
- | ^~~~~~~~~~
- compilation terminated.
Processing 7/17: [ocaml-lsp-server: dune build]
Processing 8/17: [ocaml-lsp-server: dune build]
Processing 9/17: [ocaml-lsp-server: dune build]
[ERROR] The compilation of mccs.1.1+19 failed at "dune build -p mccs -j 255".
Processing 10/17: [ocaml-lsp-server: dune build]
Processing 11/17: [ocaml-lsp-server: dune build]
Processing 12/17: [ocaml-lsp-server: dune build]
Processing 13/17: [ocaml-lsp-server: dune build]
Processing 14/17: [ocaml-lsp-server: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocaml-lsp-server" "-j" "255" "@install" (CWD=/home/opam/.opam/5.4/.opam-switch/build/ocaml-lsp-server.1.25.0)
- (cd _build/default/ocaml-lsp-server/vendor/lev && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/ocaml/unix -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/ocaml-lsp-server/vendor/lev && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/ocaml/unix -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]
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -alert -unstable -w -58 -g -I ocaml-lsp-server/src/.ocaml_lsp_server.objs/byte -I ocaml-lsp-server/src/.ocaml_lsp_server.objs/native -I /home/opam/.opam/5.4/lib/base -I /home/opam/.opam/5.4/lib/chrome-trace -I /home/opam/.opam/5.4/lib/csexp -I /home/opam/.opam/5.4/lib/dune-build-info -I /home/opam/.opam/5.4/lib/dune-rpc -I /home/opam/.opam/5.4/lib/dune-rpc/private -I /home/opam/.opam/5.4/lib/dyn -I /home/opam/.opam/5.4/lib/fiber -I /home/opam/.opam/5.4/lib/jsonrpc -I /home/opam/.opam/5.4/lib/lsp -I /home/opam/.opam/5.4/lib/merlin-lib/analysis -I /home/opam/.opam/5.4/lib/merlin-lib/commands -I /home/opam/.opam/5.4/lib/merlin-lib/dot_protocol -I /home/opam/.opam/5.4/lib/merlin-lib/extend -I /home/opam/.opam/5.4/lib/merlin-lib/kernel -I /home/opam/.opam/5.4/lib/merlin-lib/ocaml_merlin_specific -I /home/opam/.opam/5.4/lib/merlin-lib/ocaml_parsing -I /home/opam/.opam/5.4/lib/merlin-lib/ocaml_typing -I /home/opam/.opam/5.4/lib/merlin-lib/ocaml_utils -I /home/opam/.opam/5.4/lib/merlin-lib/query_commands -I /home/opam/.opam/5.4/lib/merlin-lib/query_protocol -I /home/opam/.opam/5.4/lib/merlin-lib/utils -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ocamlc-loc -I /home/opam/.opam/5.4/lib/ocamlformat-rpc-lib -I /home/opam/.opam/5.4/lib/ordering -I /home/opam/.opam/5.4/lib/pp -I /home/opam/.opam/5.4/lib/ppx_yojson_conv_lib -I /home/opam/.opam/5.4/lib/re -I /home/opam/.opam/5.4/lib/spawn -I /home/opam/.opam/5.4/lib/stdune -I /home/opam/.opam/5.4/lib/top-closure -I /home/opam/.opam/5.4/lib/xdg -I /home/opam/.opam/5.4/lib/yojson -I lsp-fiber/src/.lsp_fiber.objs/byte -I lsp-fiber/src/.lsp_fiber.objs/native -I ocaml-lsp-server/vendor/cmarkit/.cmarkit.objs/byte -I ocaml-lsp-server/vendor/cmarkit/.cmarkit.objs/native -I ocaml-lsp-server/vendor/lev-fiber-csexp/.lev_fiber_csexp.objs/byte -I ocaml-lsp-server/vendor/lev-fiber-csexp/.lev_fiber_csexp.objs/native -I ocaml-lsp-server/vendor/lev-fiber/.lev_fiber.objs/byte -I ocaml-lsp-server/vendor/lev-fiber/.lev_fiber.objs/native -I ocaml-lsp-server/vendor/lev/.lev.objs/byte -I ocaml-lsp-server/vendor/lev/.lev.objs/native -I vendor/odoc-parser/src/.odoc_parser.objs/byte -I vendor/odoc-parser/src/.odoc_parser.objs/native -cmi-file ocaml-lsp-server/src/.ocaml_lsp_server.objs/byte/ocaml_lsp_server__Dune.cmi -no-alias-deps -open Ocaml_lsp_server__ -o ocaml-lsp-server/src/.ocaml_lsp_server.objs/native/ocaml_lsp_server__Dune.cmx -c -impl ocaml-lsp-server/src/dune.ml)
- File "ocaml-lsp-server/src/dune.ml", lines 75-84, characters 2-10:
- 75 | ..Drpc.Client.Make
- 76 | (struct
- 77 | include Fiber
- 78 |
- 79 | let parallel_iter t ~f =
- 80 | let stream = Fiber.Stream.In.create t in
- 81 | Fiber.Stream.In.parallel_iter stream ~f
- 82 | ;;
- 83 | end)
- 84 | (Chan)
- Error: This application of the functor Drpc.Client.Make is ill-typed.
- These arguments:
- $S1 Chan
- do not match these parameters:
- (Fiber : $T1) (Chan : $T2) -> ...
- 1. Modules do not match:
- $S1 :
- sig
- type 'a t = 'a Fiber.t
- val return : 'a -> 'a t
- val of_thunk : (unit -> 'a t) -> 'a t
- val never : 'a t
- module O = Fiber.O
- val map : 'a t -> f:('a -> 'b) -> 'b t
- val bind : 'a t -> f:('a -> 'b t) -> 'b t
- val both : 'a t -> 'b t -> ('a * 'b) t
- val all : 'a t list -> 'a list t
- val sequential_map : 'a list -> f:('a -> 'b t) -> 'b list t
- val sequential_iter : 'a list -> f:('a -> unit t) -> unit t
- val fork_and_join :
- (unit -> 'a t) -> (unit -> 'b t) -> ('a * 'b) t
- val fork_and_join_unit :
- (unit -> unit t) -> (unit -> 'a t) -> 'a t
- val parallel_map : 'a list -> f:('a -> 'b t) -> 'b list t
- val all_concurrently : 'a t list -> 'a list t
- val all_concurrently_unit : unit t list -> unit t
- val parallel_iter_set :
- (module Stdune.Set.S with type elt = 'a and type t = 's) ->
- 's -> f:('a -> unit t) -> unit t
- val sequential_iter_seq :
- 'a Stdune.Seq.t -> f:('a -> unit t) -> unit t
- module Make_map_traversals = Fiber.Make_map_traversals
- module Var = Fiber.Var
- val with_error_handler :
- (unit -> 'a t) ->
- on_error:(Stdune.Exn_with_backtrace.t -> Stdune.Nothing.t t) ->
- 'a t
- val map_reduce_errors :
- (module Stdune.Monoid with type t = 'a) ->
- on_error:(Stdune.Exn_with_backtrace.t -> 'a t) ->
- (unit -> 'b t) -> ('b, 'a) Stdune.result t
- val collect_errors :
- (unit -> 'a t) ->
- ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t t
- val finalize :
- (unit -> 'a t) -> finally:(unit -> unit t) -> 'a t
- val reraise_all : Stdune.Exn_with_backtrace.t list -> 'a t
- module Ivar = Fiber.Ivar
- module Mvar = Fiber.Mvar
- module Svar = Fiber.Svar
- module Mutex = Fiber.Mutex
- module Throttle = Fiber.Throttle
- val repeat_while : f:('a -> 'a option t) -> init:'a -> unit t
- module Stream = Fiber.Stream
- module Pool = Fiber.Pool
- type fill = Fiber.fill = Fill : 'a Ivar.t * 'a -> fill
- val run :
- 'a t -> iter:(unit -> fill Stdune.Nonempty_list.t) -> 'a
- module Scheduler = Fiber.Scheduler
- module Cancel = Fiber.Cancel
- module Expert = Fiber.Expert
- val parallel_iter :
- (unit -> 'a option Fiber.t) ->
- f:('a -> unit Fiber.t) -> unit Fiber.t
- end
- is not included in
- $T1 =
- sig
- type 'a t
- val return : 'a -> 'a t
- val fork_and_join_unit :
- (unit -> unit t) -> (unit -> 'a t) -> 'a t
- val parallel_iter :
- (unit -> 'a option t) -> f:('a -> unit t) -> unit t
- val finalize :
- (unit -> 'a t) -> finally:(unit -> unit t) -> 'a t
- val collect_errors : (unit -> 'a t) -> ('a, exn list) result t
- module O :
- sig
- val ( let* ) : 'a t -> ('a -> 'b t) -> 'b t
- val ( let+ ) : 'a t -> ('a -> 'b) -> 'b t
- end
- module Ivar :
- sig
- type 'a t
- val create : unit -> 'a t
- val read : 'a t -> 'a t/2
- val fill : 'a t -> 'a -> unit t/2
- end
- end
- Values do not match:
- val collect_errors :
- (unit -> 'a t) ->
- ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t t
- is not included in
- val collect_errors : (unit -> 'a t) -> ('a, exn list) result t
- The type
- (unit -> 'a t) ->
- ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t t
- is not compatible with the type
- (unit -> 'a t) -> ('a, exn list) result t
- Type
- ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t t =
- ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t Fiber.t
- is not compatible with type
- ('a, exn list) result t = ('a, exn list) result Fiber.t
- Type
- ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t =
- ('a, Stdune.Exn_with_backtrace.t list) result
- is not compatible with type ('a, exn list) result
- Type Stdune.Exn_with_backtrace.t is not compatible with type exn
- File "otherlibs/dune-rpc/v1.mli", line 466, characters 9-71:
- Expected declaration
- File "fiber/src/fiber.mli", lines 168-169, characters 0-62:
- Actual declaration
- 2. Modules do not match:
- Chan :
- sig
- type t = Chan.t
- val create : Lev_fiber_csexp.Session.t -> t
- val write : t -> Csexp.t list option -> unit Fiber.t
- val read : t -> Csexp.t option Fiber.t
- val stop : t -> unit Fiber.t
- val run : t -> unit Fiber.t
- end
- is not included in
- $T2 =
- sig
- type t
- val write : t -> Csexp.t list -> unit Fiber.t
- val close : t -> unit Fiber.t
- val read : t -> Csexp.t option Fiber.t
- end
[ERROR] The compilation of ocaml-lsp-server.1.25.0 failed at "dune build -p ocaml-lsp-server -j 255 @install".
#=== ERROR while compiling ocaml-lsp-server.1.25.0 ============================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/ocaml-lsp-server.1.25.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocaml-lsp-server -j 255 @install
# exit-code 1
# env-file ~/.opam/log/ocaml-lsp-server-7-fd886b.env
# output-file ~/.opam/log/ocaml-lsp-server-7-fd886b.out
### output ###
# (cd _build/default/ocaml-lsp-server/vendor/lev && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/ocaml/unix -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/ocaml-lsp-server/vendor/lev && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/ocaml/unix -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]
# (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -alert -unstable -w -58 -g -I ocaml-lsp-server/src/.ocaml_lsp_server.objs/byte -I ocaml-lsp-server/src/.ocaml_lsp_server.objs/native -I /home/opam/.opam/5.4/lib/base -I /home/opam/.opam/5.4/lib/chrome-trace -I /home/opam/.opam/5.4/lib/csexp -I /home/opam/.opam/5.4/lib/dune-build-info -I /home/opam/.opam/5.4/lib/dune-rpc -I /home/opam/.opam/5.4/lib/dune-rpc/private -I /home/opam/.opam/5.4/lib/dyn -I /home/opam/.opam/5.4/lib/fiber -I /home/opam/.opam/5.4/lib/jsonrpc -I /home/opam/.opam/5.4/lib/lsp -I /home/opam/.opam/5.4/lib/merlin-lib/analysis -I /home/opam/.opam/5.4/lib/merlin-lib/commands -I /home/opam/.opam/5.4/lib/merlin-lib/dot_protocol -I /home/opam/.opam/5.4/lib/merlin-lib/extend -I /home/opam/.opam/5.4/lib/merlin-lib/kernel -I /home/opam/.opam/5.4/lib/merlin-lib/ocaml_merlin_specific -I /home/opam/.opam/5.4/lib/merlin-lib/ocaml_parsing -I /home/opam/.opam/5.4/lib/merlin-lib/ocaml_typing -I /home/opam/.opam/5.4/lib/merlin-lib/ocaml_utils -I /home/opam/.opam/5.4/lib/merlin-lib/query_commands -I /home/opam/.opam/5.4/lib/merlin-lib/query_protocol -I /home/opam/.opam/5.4/lib/merlin-lib/utils -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ocamlc-loc -I /home/opam/.opam/5.4/lib/ocamlformat-rpc-lib -I /home/opam/.opam/5.4/lib/ordering -I /home/opam/.opam/5.4/lib/pp -I /home/opam/.opam/5.4/lib/ppx_yojson_conv_lib -I /home/opam/.opam/5.4/lib/re -I /home/opam/.opam/5.4/lib/spawn -I /home/opam/.opam/5.4/lib/stdune -I /home/opam/.opam/5.4/lib/top-closure -I /home/opam/.opam/5.4/lib/xdg -I /home/opam/.opam/5.4/lib/yojson -I lsp-fiber/src/.lsp_fiber.objs/byte -I lsp-fiber/src/.lsp_fiber.objs/native -I ocaml-lsp-server/vendor/cmarkit/.cmarkit.objs/byte -I ocaml-lsp-server/vendor/cmarkit/.cmarkit.objs/native -I ocaml-lsp-server/vendor/lev-fiber-csexp/.lev_fiber_csexp.objs/byte -I ocaml-lsp-server/vendor/lev-fiber-csexp/.lev_fiber_csexp.objs/native -I ocaml-lsp-server/vendor/lev-fiber/.lev_fiber.objs/byte -I ocaml-lsp-server/vendor/lev-fiber/.lev_fiber.objs/native -I ocaml-lsp-server/vendor/lev/.lev.objs/byte -I ocaml-lsp-server/vendor/lev/.lev.objs/native -I vendor/odoc-parser/src/.odoc_parser.objs/byte -I vendor/odoc-parser/src/.odoc_parser.objs/native -cmi-file ocaml-lsp-server/src/.ocaml_lsp_server.objs/byte/ocaml_lsp_server__Dune.cmi -no-alias-deps -open Ocaml_lsp_server__ -o ocaml-lsp-server/src/.ocaml_lsp_server.objs/native/ocaml_lsp_server__Dune.cmx -c -impl ocaml-lsp-server/src/dune.ml)
# File "ocaml-lsp-server/src/dune.ml", lines 75-84, characters 2-10:
# 75 | ..Drpc.Client.Make
# 76 | (struct
# 77 | include Fiber
# 78 |
# 79 | let parallel_iter t ~f =
# 80 | let stream = Fiber.Stream.In.create t in
# 81 | Fiber.Stream.In.parallel_iter stream ~f
# 82 | ;;
# 83 | end)
# 84 | (Chan)
# Error: This application of the functor Drpc.Client.Make is ill-typed.
# These arguments:
# $S1 Chan
# do not match these parameters:
# (Fiber : $T1) (Chan : $T2) -> ...
# 1. Modules do not match:
# $S1 :
# sig
# type 'a t = 'a Fiber.t
# val return : 'a -> 'a t
# val of_thunk : (unit -> 'a t) -> 'a t
# val never : 'a t
# module O = Fiber.O
# val map : 'a t -> f:('a -> 'b) -> 'b t
# val bind : 'a t -> f:('a -> 'b t) -> 'b t
# val both : 'a t -> 'b t -> ('a * 'b) t
# val all : 'a t list -> 'a list t
# val sequential_map : 'a list -> f:('a -> 'b t) -> 'b list t
# val sequential_iter : 'a list -> f:('a -> unit t) -> unit t
# val fork_and_join :
# (unit -> 'a t) -> (unit -> 'b t) -> ('a * 'b) t
# val fork_and_join_unit :
# (unit -> unit t) -> (unit -> 'a t) -> 'a t
# val parallel_map : 'a list -> f:('a -> 'b t) -> 'b list t
# val all_concurrently : 'a t list -> 'a list t
# val all_concurrently_unit : unit t list -> unit t
# val parallel_iter_set :
# (module Stdune.Set.S with type elt = 'a and type t = 's) ->
# 's -> f:('a -> unit t) -> unit t
# val sequential_iter_seq :
# 'a Stdune.Seq.t -> f:('a -> unit t) -> unit t
# module Make_map_traversals = Fiber.Make_map_traversals
# module Var = Fiber.Var
# val with_error_handler :
# (unit -> 'a t) ->
# on_error:(Stdune.Exn_with_backtrace.t -> Stdune.Nothing.t t) ->
# 'a t
# val map_reduce_errors :
# (module Stdune.Monoid with type t = 'a) ->
# on_error:(Stdune.Exn_with_backtrace.t -> 'a t) ->
# (unit -> 'b t) -> ('b, 'a) Stdune.result t
# val collect_errors :
# (unit -> 'a t) ->
# ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t t
# val finalize :
# (unit -> 'a t) -> finally:(unit -> unit t) -> 'a t
# val reraise_all : Stdune.Exn_with_backtrace.t list -> 'a t
# module Ivar = Fiber.Ivar
# module Mvar = Fiber.Mvar
# module Svar = Fiber.Svar
# module Mutex = Fiber.Mutex
# module Throttle = Fiber.Throttle
# val repeat_while : f:('a -> 'a option t) -> init:'a -> unit t
# module Stream = Fiber.Stream
# module Pool = Fiber.Pool
# type fill = Fiber.fill = Fill : 'a Ivar.t * 'a -> fill
# val run :
# 'a t -> iter:(unit -> fill Stdune.Nonempty_list.t) -> 'a
# module Scheduler = Fiber.Scheduler
# module Cancel = Fiber.Cancel
# module Expert = Fiber.Expert
# val parallel_iter :
# (unit -> 'a option Fiber.t) ->
# f:('a -> unit Fiber.t) -> unit Fiber.t
# end
# is not included in
# $T1 =
# sig
# type 'a t
# val return : 'a -> 'a t
# val fork_and_join_unit :
# (unit -> unit t) -> (unit -> 'a t) -> 'a t
# val parallel_iter :
# (unit -> 'a option t) -> f:('a -> unit t) -> unit t
# val finalize :
# (unit -> 'a t) -> finally:(unit -> unit t) -> 'a t
# val collect_errors : (unit -> 'a t) -> ('a, exn list) result t
# module O :
# sig
# val ( let* ) : 'a t -> ('a -> 'b t) -> 'b t
# val ( let+ ) : 'a t -> ('a -> 'b) -> 'b t
# end
# module Ivar :
# sig
# type 'a t
# val create : unit -> 'a t
# val read : 'a t -> 'a t/2
# val fill : 'a t -> 'a -> unit t/2
# end
# end
# Values do not match:
# val collect_errors :
# (unit -> 'a t) ->
# ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t t
# is not included in
# val collect_errors : (unit -> 'a t) -> ('a, exn list) result t
# The type
# (unit -> 'a t) ->
# ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t t
# is not compatible with the type
# (unit -> 'a t) -> ('a, exn list) result t
# Type
# ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t t =
# ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t Fiber.t
# is not compatible with type
# ('a, exn list) result t = ('a, exn list) result Fiber.t
# Type
# ('a, Stdune.Exn_with_backtrace.t list) Stdune.Result.t =
# ('a, Stdune.Exn_with_backtrace.t list) result
# is not compatible with type ('a, exn list) result
# Type Stdune.Exn_with_backtrace.t is not compatible with type exn
# File "otherlibs/dune-rpc/v1.mli", line 466, characters 9-71:
# Expected declaration
# File "fiber/src/fiber.mli", lines 168-169, characters 0-62:
# Actual declaration
# 2. Modules do not match:
# Chan :
# sig
# type t = Chan.t
# val create : Lev_fiber_csexp.Session.t -> t
# val write : t -> Csexp.t list option -> unit Fiber.t
# val read : t -> Csexp.t option Fiber.t
# val stop : t -> unit Fiber.t
# val run : t -> unit Fiber.t
# end
# is not included in
# $T2 =
# sig
# type t
# val write : t -> Csexp.t list -> unit Fiber.t
# val close : t -> unit Fiber.t
# val read : t -> Csexp.t option Fiber.t
# end
#=== ERROR while compiling mccs.1.1+19 ========================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/mccs.1.1+19
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p mccs -j 255
# exit-code 1
# env-file ~/.opam/log/mccs-7-1166a5.env
# output-file ~/.opam/log/mccs-7-1166a5.out
### output ###
# File "src/dune", line 4, characters 30-41:
# 4 | cudf_reductions cudf_tools glpk_solver lp_solver lexagregate_combiner
# ^^^^^^^^^^^
# (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/cudf -I /home/opam/.opam/5.4/lib/extlib -I glpk -o glpk_solver.o -c glpk_solver.cpp)
# In file included from glpk_solver.cpp:16:
# glpk_solver.h:15:10: fatal error: config.h: No such file or directory
# 15 | #include "config.h"
# | ^~~~~~~~~~
# compilation terminated.
# File "src/dune", line 5, characters 63-73:
# 5 | new_criteria notuptodate_criteria removed_criteria mccscudf mccs_stubs)
# ^^^^^^^^^^
# (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/cudf -I /home/opam/.opam/5.4/lib/extlib -I glpk -o mccs_stubs.o -c mccs_stubs.cpp)
# In file included from mccs_stubs.cpp:21:
# glpk_solver.h:15:10: fatal error: config.h: No such file or directory
# 15 | #include "config.h"
# | ^~~~~~~~~~
# compilation terminated.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install melange-json 2.0.0
| - install opam-check-npm-deps 4.1.0
| - install opam-client 2.5.0
| - install opam-solver 2.5.0
+-
+- The following actions failed
| - build mccs 1.1+19
| - build ocaml-lsp-server 1.25.0
+-
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose melange-json.2.0.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.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
opam-repo-ci detected dependencies failing: mccs.1.1+19 ocaml-lsp-server.1.25.0
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose melange-json.2.0.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" != 'melange-json.2.0.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-02 21:26.34: Job failed: Failed: Build failed
2026-03-02 21:26.34: Log analysis:
2026-03-02 21:26.34: >>>
[ERROR] The compilation of mccs.1.1+19 failed at "dune build -p mccs -j 255".
(score = 20)
2026-03-02 21:26.34: >>>
[ERROR] The compilation of ocaml-lsp-server.1.25.0 failed at "dune build -p ocaml-lsp-server -j 255 @install".
(score = 20)
2026-03-02 21:26.34: >>>
# Error: This application of the functor Drpc.Client.Make is ill-typed.
(score = 48)
2026-03-02 21:26.34: >>>
[ERROR] The compilation of mccs.1.1+19 failed at "dune build -p mccs -j 255".
(score = 20)
2026-03-02 21:26.34: >>>
[ERROR] The compilation of ocaml-lsp-server.1.25.0 failed at "dune build -p ocaml-lsp-server -j 255 @install".
(score = 20)
2026-03-02 21:26.34: >>>
# Error: This application of the functor Drpc.Client.Make is ill-typed.
(score = 48)
2026-03-02 21:26.34: >>>
opam-repo-ci detected dependencies failing: mccs.1.1+19 ocaml-lsp-server.1.25.0
(score = 75)
2026-03-02 21:26.34: mccs.1.1+19 ocaml-lsp-server.1.25.0 failed to build