package dispatch-js

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

dispatch-js 0.4.1

Error log

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

[NOTE] Package dune is already installed (current version is 2.5.1).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
=== install 23 packages
  - install base-bytes              base
  - install bigarray-compat         1.1.0
  - install cmdliner                1.3.0
  - install cppo                    1.8.0
  - install dispatch                0.5.0
  - install dispatch-js             0.4.1
  - install dune-configurator       2.5.1
  - install dune-private-libs       2.5.1
  - install js_of_ocaml             3.4.0
  - install js_of_ocaml-compiler    3.4.0
  - install js_of_ocaml-lwt         3.4.0
  - install js_of_ocaml-ppx         3.4.0
  - install lwt                     4.5.0
  - install mmap                    1.2.0
  - install ocaml-migrate-parsetree 1.8.0 (deprecated)
  - install ocamlbuild              0.15.0
  - install ocplib-endian           1.2
  - install ppx_derivers            1.2.1
  - install ppx_tools_versioned     5.4.0
  - install result                  1.5
  - install seq                     base
  - install uchar                   0.0.2
  - install yojson                  2.0.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved dispatch.0.5.0  (cached)
-> retrieved dispatch-js.0.4.1  (cached)
-> retrieved lwt.4.5.0  (cached)
-> retrieved js_of_ocaml.3.4.0, js_of_ocaml-compiler.3.4.0, js_of_ocaml-lwt.3.4.0, js_of_ocaml-ppx.3.4.0  (cached)
-> installed bigarray-compat.1.1.0
-> installed cppo.1.8.0
-> retrieved dune-configurator.2.5.1, dune-private-libs.2.5.1  (cached)
-> retrieved mmap.1.2.0  (cached)
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> retrieved ppx_tools_versioned.5.4.0  (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> installed mmap.1.2.0
-> retrieved result.1.5  (cached)
-> retrieved uchar.0.0.2  (cached)
-> retrieved yojson.2.0.2  (cached)
-> installed dune-private-libs.2.5.1
-> installed ocplib-endian.1.2
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed yojson.2.0.2
-> installed dispatch.0.5.0
-> installed dune-configurator.2.5.1
-> installed lwt.4.5.0
-> installed ocaml-migrate-parsetree.1.8.0
-> installed js_of_ocaml-compiler.3.4.0
-> installed ppx_tools_versioned.5.4.0
-> installed ocamlbuild.0.15.0
-> installed uchar.0.0.2
-> installed js_of_ocaml.3.4.0
-> installed js_of_ocaml-ppx.3.4.0
-> installed js_of_ocaml-lwt.3.4.0
[ERROR] The compilation of dispatch-js.0.4.1 failed at "dune build -p dispatch-js -j 71".

#=== ERROR while compiling dispatch-js.0.4.1 ==================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.08.1 | file:///src
# path                 ~/.opam/4.08/.opam-switch/build/dispatch-js.0.4.1
# command              ~/.opam/4.08/bin/dune build -p dispatch-js -j 71
# exit-code            1
# env-file             ~/.opam/log/dispatch-js-113-482b6f.env
# output-file          ~/.opam/log/dispatch-js-113-482b6f.out
### output ###
#       ocamlc js/.dispatch_js.objs/byte/dispatch_js.{cmo,cmt} (exit 2)
# (cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w -40 -g -bin-annot -I js/.dispatch_js.objs/byte -I /home/opam/.opam/4.08/lib/bytes -I /home/opam/.opam/4.08/lib/dispatch -I /home/opam/.opam/4.08/lib/js_of_ocaml -I /home/opam/.opam/4.08/lib/js_of_ocaml-lwt -I /home/opam/.opam/4.08/lib/lwt -I /home/opam/.opam/4.08/lib/result -I /home/opam/.opam/4.08/lib/seq -I /home/opam/.opam/4.08/lib/uchar -intf-suffix .ml -no-alias-deps -o js/.dispatch_js.objs/byte/dispatch_js.cmo -c -impl js/dispatch_js.pp.ml)
# File "js/dispatch_js.ml", line 14, characters 6-11:
# 14 |     | Error msg -> on_failure msg
#            ^^^^^
# Error: This variant pattern is expected to have type 'a option
#        The constructor Error does not belong to type option
#     ocamlopt js/.dispatch_js.objs/native/dispatch_js.{cmx,o} (exit 2)
# (cd _build/default && /home/opam/.opam/4.08/bin/ocamlopt.opt -w -40 -g -I js/.dispatch_js.objs/byte -I js/.dispatch_js.objs/native -I /home/opam/.opam/4.08/lib/bytes -I /home/opam/.opam/4.08/lib/dispatch -I /home/opam/.opam/4.08/lib/js_of_ocaml -I /home/opam/.opam/4.08/lib/js_of_ocaml-lwt -I /home/opam/.opam/4.08/lib/lwt -I /home/opam/.opam/4.08/lib/result -I /home/opam/.opam/4.08/lib/seq -I /home/opam/.opam/4.08/lib/uchar -intf-suffix .ml -no-alias-deps -o js/.dispatch_js.objs/native/dispatch_js.cmx -c -impl js/dispatch_js.pp.ml)
# File "js/dispatch_js.ml", line 14, characters 6-11:
# 14 |     | Error msg -> on_failure msg
#            ^^^^^
# Error: This variant pattern is expected to have type 'a option
#        The constructor Error does not belong to type option



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build dispatch-js 0.4.1
+- 
+- The following changes have been performed
| - install base-bytes              base
| - install bigarray-compat         1.1.0
| - install cmdliner                1.3.0
| - install cppo                    1.8.0
| - install dispatch                0.5.0
| - install dune-configurator       2.5.1
| - install dune-private-libs       2.5.1
| - install js_of_ocaml             3.4.0
| - install js_of_ocaml-compiler    3.4.0
| - install js_of_ocaml-lwt         3.4.0
| - install js_of_ocaml-ppx         3.4.0
| - install lwt                     4.5.0
| - install mmap                    1.2.0
| - install ocaml-migrate-parsetree 1.8.0
| - install ocamlbuild              0.15.0
| - install ocplib-endian           1.2
| - install ppx_derivers            1.2.1
| - install ppx_tools_versioned     5.4.0
| - install result                  1.5
| - install seq                     base
| - install uchar                   0.0.2
| - install yojson                  2.0.2
+- 

<><> ocaml-migrate-parsetree.1.8.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.

<><> lwt.4.5.0 installed successfully <><><><><><><><><><><><><><><><><><><><><>
=> Lwt 5.0.0 will make some breaking changes in December 2019. See
     https://github.com/ocsigen/lwt/issues/584
# 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.08/.opam-switch/backup/state-20250204161111.export"
OCaml

Innovation. Community. Security.