package ocaml-lsp-server

  1. Overview
  2. Docs
On This Page
  1. Error log

ocaml-lsp-server 1.9.0

Error log

The package failed to build. The error log from opam follows.

[NOTE] Package dune is already installed (current version is 3.17.2).
The following actions will be performed:
=== install 12 packages
  - install csexp               1.5.2
  - install dune-build-info     3.17.2
  - install ocaml-lsp-server    1.9.0
  - install ocamlformat-rpc-lib 0.19.0
  - install pp                  2.0.0
  - install ppx_yojson_conv_lib v0.15.0
  - install re                  1.12.0
  - install result              1.5
  - install seq                 base
  - install sexplib0            v0.16.0
  - install spawn               v0.17.0
  - install yojson              2.2.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocamlformat-rpc-lib.0.19.0  (cached)
-> installed csexp.1.5.2
-> retrieved pp.2.0.0  (cached)
-> retrieved ppx_yojson_conv_lib.v0.15.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved spawn.v0.17.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved dune-build-info.3.17.2  (cached)
-> retrieved ocaml-lsp-server.1.9.0  (cached)
-> installed pp.2.0.0
-> installed result.1.5
-> installed re.1.12.0
-> installed sexplib0.v0.16.0
-> installed spawn.v0.17.0
-> installed yojson.2.2.2
-> installed ocamlformat-rpc-lib.0.19.0
-> installed ppx_yojson_conv_lib.v0.15.0
-> installed dune-build-info.3.17.2
[ERROR] The compilation of ocaml-lsp-server.1.9.0 failed at "dune build -j 31 ocaml-lsp-server.install --release".

#=== ERROR while compiling ocaml-lsp-server.1.9.0 =============================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///src
# path                 ~/.opam/4.12/.opam-switch/build/ocaml-lsp-server.1.9.0
# command              ~/.opam/4.12/bin/dune build -j 31 ocaml-lsp-server.install --release
# exit-code            1
# env-file             ~/.opam/log/ocaml-lsp-server-112-2b5045.env
# output-file          ~/.opam/log/ocaml-lsp-server-112-2b5045.out
### output ###
# (cd _build/default && /home/opam/.opam/4.12/bin/ocamlopt.opt -w -40 -w -a -alert -all -g -I ocaml-lsp-server/vendor/dune-rpc/private/.dune_rpc_private.objs/byte -I ocaml-lsp-server/vendor/dune-rpc/private/.dune_rpc_private.objs/native -I /home/opam/.opam/4.12/lib/csexp -I /home/opam/.opam/4.12/lib/pp -I ocaml-lsp-server/vendor/xdg/.xdg.objs/byte -I ocaml-lsp-server/vendor/xdg/.xdg.objs/native -I vendor/dyn/.dyn.objs/byte -I vendor/dyn/.dyn.objs/native -I vendor/stdune-unstable/.stdune.objs/byte -I vendor/stdune-unstable/.stdune.objs/native -intf-suffix .ml -no-alias-deps -open Dune_rpc_private__ -o ocaml-lsp-server/vendor/dune-rpc/private/.dune_rpc_private.objs/native/dune_rpc_private__Exported_types.cmx -c -impl ocaml-lsp-server/vendor/dune-rpc/private/exported_types.ml)
# File "submodules/dune/otherlibs/dune-rpc/private/exported_types.ml", line 170, characters 8-10:
# Error: This variant pattern is expected to have type 'a Stdune.Pp.Ast.t
#        The constructor Ok does not belong to type Stdune.Pp.Ast.t



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocaml-lsp-server 1.9.0
+- 
+- The following changes have been performed
| - install csexp               1.5.2
| - install dune-build-info     3.17.2
| - install ocamlformat-rpc-lib 0.19.0
| - install pp                  2.0.0
| - install ppx_yojson_conv_lib v0.15.0
| - install re                  1.12.0
| - install result              1.5
| - install seq                 base
| - install sexplib0            v0.16.0
| - install spawn               v0.17.0
| - install yojson              2.2.2
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.12/.opam-switch/backup/state-20250206040806.export"
OCaml

Innovation. Community. Security.