package asai

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

asai 0.1.1

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).
[NOTE] Package ocamlfind is already installed (current version is 1.9.8).
The following actions will be performed:
=== install 31 packages
  - install algaeff             1.1.0
  - install asai                0.1.1
  - install bigstringaf         0.10.0
  - install bwd                 2.3.0
  - install cppo                1.8.0
  - install csexp               1.5.2
  - install cstruct             6.2.0
  - install domain-local-await  1.0.1
  - install dune-configurator   3.17.2
  - install eio                 1.2
  - install eio_linux           1.2
  - install eio_main            1.2
  - install eio_posix           1.2
  - install fmt                 0.9.0
  - install hmap                0.8.1
  - install iomux               0.3
  - install jsonrpc             1.22.0
  - install lsp                 1.22.0
  - install lwt-dllist          1.0.1
  - install mtime               2.1.0
  - install notty               0.2.3
  - install ocamlbuild          0.15.0
  - install optint              0.3.0
  - install ppx_yojson_conv_lib v0.17.0
  - install psq                 0.2.1
  - install seq                 base
  - install thread-table        1.0.0
  - install topkg               1.0.7
  - install uring               0.9
  - install uutf                1.0.3
  - install yojson              2.2.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bwd.2.3.0  (https://github.com/RedPRL/ocaml-bwd/archive/refs/tags/2.3.0.tar.gz)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved algaeff.1.1.0  (https://github.com/RedPRL/algaeff/archive/refs/tags/1.1.0.tar.gz)
-> retrieved asai.0.1.1  (https://github.com/RedPRL/asai/archive/refs/tags/0.1.1.tar.gz)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved domain-local-await.1.0.1  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved hmap.0.8.1  (cached)
-> retrieved iomux.0.3  (cached)
-> installed bwd.2.3.0
-> retrieved eio.1.2, eio_linux.1.2, eio_main.1.2, eio_posix.1.2  (cached)
-> installed csexp.1.5.2
-> installed algaeff.1.1.0
-> retrieved jsonrpc.1.22.0, lsp.1.22.0  (cached)
-> retrieved dune-configurator.3.17.2  (cached)
-> installed cppo.1.8.0
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved mtime.2.1.0  (cached)
-> installed jsonrpc.1.22.0
-> retrieved notty.0.2.3  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ppx_yojson_conv_lib.v0.17.0  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved yojson.2.2.2  (cached)
-> installed lwt-dllist.1.0.1
-> retrieved uring.0.9  (cached)
-> installed thread-table.1.0.0
-> installed psq.0.2.1
-> installed optint.0.3.0
-> installed domain-local-await.1.0.1
-> installed dune-configurator.3.17.2
-> installed yojson.2.2.2
-> installed ppx_yojson_conv_lib.v0.17.0
-> installed bigstringaf.0.10.0
-> installed iomux.0.3
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed hmap.0.8.1
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed mtime.2.1.0
-> installed notty.0.2.3
-> installed cstruct.6.2.0
-> installed eio.1.2
-> installed uring.0.9
-> installed eio_posix.1.2
-> installed eio_linux.1.2
-> installed eio_main.1.2
-> installed lsp.1.22.0
[ERROR] The compilation of asai.0.1.1 failed at "dune build -p asai -j 31 @install".

#=== ERROR while compiling asai.0.1.1 =========================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/asai.0.1.1
# command              ~/.opam/5.1/bin/dune build -p asai -j 31 @install
# exit-code            1
# env-file             ~/.opam/log/asai-113-07e1ca.env
# output-file          ~/.opam/log/asai-113-07e1ca.out
### output ###
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.Asai.objs/byte -I /home/opam/.opam/5.1/lib/algaeff -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/bwd -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-local-await -I /home/opam/.opam/5.1/lib/eio -I /home/opam/.opam/5.1/lib/eio/core -I /home/opam/.opam/5.1/lib/eio/runtime_events -I /home/opam/.opam/5.1/lib/eio/unix -I /home/opam/.opam/5.1/lib/eio/utils -I /home/opam/.opam/5.1/lib/eio_linux -I /home/opam/.opam/5.1/lib/eio_main -I /home/opam/.opam/5.1/lib/eio_posix -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/hmap -I /home/opam/.opam/5.1/lib/iomux -I /home/opam/.opam/5.1/lib/jsonrpc -I /home/opam/.opam/5.1/lib/lsp -I /home/opam/.opam/5.1/lib/lwt-dllist -I /home/opam/.opam/5.1/lib/mtime -I /home/opam/.opam/5.1/lib/mtime/clock -I /home/opam/.opam/5.1/lib/notty -I /home/opam/.opam/5.1/lib/notty/unix -I /home/opam/.opam/5.1/lib/ocaml/runtime_events -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/optint -I /home/opam/.opam/5.1/lib/ppx_yojson_conv_lib -I /home/opam/.opam/5.1/lib/psq -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/thread-table -I /home/opam/.opam/5.1/lib/uring -I /home/opam/.opam/5.1/lib/uutf -I /home/opam/.opam/5.1/lib/yojson -intf-suffix .ml -no-alias-deps -open Asai__ -o src/.Asai.objs/byte/asai__LspServer.cmo -c -impl src/lsp/LspServer.ml)
# File "src/lsp/LspServer.ml", line 75, characters 7-14:
# 75 |       ~message
#             ^^^^^^^
# Error: This expression has type string but an expression was expected of type
#          [ `MarkupContent of Lsp.Types.MarkupContent.t | `String of string ]
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/.Asai.objs/byte -I src/.Asai.objs/native -I /home/opam/.opam/5.1/lib/algaeff -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/bwd -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-local-await -I /home/opam/.opam/5.1/lib/eio -I /home/opam/.opam/5.1/lib/eio/core -I /home/opam/.opam/5.1/lib/eio/runtime_events -I /home/opam/.opam/5.1/lib/eio/unix -I /home/opam/.opam/5.1/lib/eio/utils -I /home/opam/.opam/5.1/lib/eio_linux -I /home/opam/.opam/5.1/lib/eio_main -I /home/opam/.opam/5.1/lib/eio_posix -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/hmap -I /home/opam/.opam/5.1/lib/iomux -I /home/opam/.opam/5.1/lib/jsonrpc -I /home/opam/.opam/5.1/lib/lsp -I /home/opam/.opam/5.1/lib/lwt-dllist -I /home/opam/.opam/5.1/lib/mtime -I /home/opam/.opam/5.1/lib/mtime/clock -I /home/opam/.opam/5.1/lib/notty -I /home/opam/.opam/5.1/lib/notty/unix -I /home/opam/.opam/5.1/lib/ocaml/runtime_events -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/optint -I /home/opam/.opam/5.1/lib/ppx_yojson_conv_lib -I /home/opam/.opam/5.1/lib/psq -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/thread-table -I /home/opam/.opam/5.1/lib/uring -I /home/opam/.opam/5.1/lib/uutf -I /home/opam/.opam/5.1/lib/yojson -intf-suffix .ml -no-alias-deps -open Asai__ -o src/.Asai.objs/native/asai__LspServer.cmx -c -impl src/lsp/LspServer.ml)
# File "src/lsp/LspServer.ml", line 75, characters 7-14:
# 75 |       ~message
#             ^^^^^^^
# Error: This expression has type string but an expression was expected of type
#          [ `MarkupContent of Lsp.Types.MarkupContent.t | `String of string ]



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build asai 0.1.1
+- 
+- The following changes have been performed
| - install algaeff             1.1.0
| - install bigstringaf         0.10.0
| - install bwd                 2.3.0
| - install cppo                1.8.0
| - install csexp               1.5.2
| - install cstruct             6.2.0
| - install domain-local-await  1.0.1
| - install dune-configurator   3.17.2
| - install eio                 1.2
| - install eio_linux           1.2
| - install eio_main            1.2
| - install eio_posix           1.2
| - install fmt                 0.9.0
| - install hmap                0.8.1
| - install iomux               0.3
| - install jsonrpc             1.22.0
| - install lsp                 1.22.0
| - install lwt-dllist          1.0.1
| - install mtime               2.1.0
| - install notty               0.2.3
| - install ocamlbuild          0.15.0
| - install optint              0.3.0
| - install ppx_yojson_conv_lib v0.17.0
| - install psq                 0.2.1
| - install seq                 base
| - install thread-table        1.0.0
| - install topkg               1.0.7
| - install uring               0.9
| - install uutf                1.0.3
| - 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/5.1/.opam-switch/backup/state-20250306144655.export"
OCaml

Innovation. Community. Security.