sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
The package failed to build. The error log from opam follows.
[NOTE] Package dune is already installed (current version is 3.17.2). [NOTE] Package ocamlfind is already installed (current version is 1.9.8). The following actions will be performed: === install 9 packages - install csexp 1.5.2 - install dot-merlin-reader 4.5 - install dune-build-info 3.17.2 - install ocaml-lsp-server 1.6.1 - install pp 2.0.0 - install ppx_yojson_conv_lib v0.15.0 - install result 1.5 - install seq base - install yojson 2.2.2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved csexp.1.5.2 (cached) -> installed csexp.1.5.2 -> retrieved dot-merlin-reader.4.5 (cached) -> retrieved dune-build-info.3.17.2 (cached) -> retrieved ocaml-lsp-server.1.6.1 (cached) -> retrieved pp.2.0.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved ppx_yojson_conv_lib.v0.15.0 (cached) -> retrieved result.1.5 (cached) -> retrieved yojson.2.2.2 (cached) -> installed pp.2.0.0 -> installed result.1.5 -> installed dune-build-info.3.17.2 -> installed yojson.2.2.2 -> installed ppx_yojson_conv_lib.v0.15.0 -> installed dot-merlin-reader.4.5 [ERROR] The compilation of ocaml-lsp-server.1.6.1 failed at "dune build -j 31 ocaml-lsp-server.install --release". #=== ERROR while compiling ocaml-lsp-server.1.6.1 =============================# # 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.6.1 # command ~/.opam/4.12/bin/dune build -j 31 ocaml-lsp-server.install --release # exit-code 1 # env-file ~/.opam/log/ocaml-lsp-server-113-a5ddea.env # output-file ~/.opam/log/ocaml-lsp-server-113-a5ddea.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 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.cmx -c -impl ocaml-lsp-server/vendor/dune-rpc/private/dune_rpc_private.ml) # File "submodules/dune/otherlibs/dune-rpc/private/dune_rpc_private.ml", line 231, characters 8-10: # Error: This variant pattern is expected to have type 'a Pp.Ast.t # The constructor Ok does not belong to type Pp.Ast.t <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build ocaml-lsp-server 1.6.1 +- +- The following changes have been performed | - install csexp 1.5.2 | - install dot-merlin-reader 4.5 | - install dune-build-info 3.17.2 | - install pp 2.0.0 | - install ppx_yojson_conv_lib v0.15.0 | - install result 1.5 | - install seq base | - 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-20250206041511.export"