package ppx_deriving_rpc

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

ppx_deriving_rpc 6.0.0

Error log

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

[NOTE] Package dune is already installed (current version is 1.11.4).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
=== install 20 packages
  - install base                    v0.13.2
  - install cmdliner                1.3.0
  - install cppo                    1.6.9
  - install dune-configurator       1.0.0
  - install jbuilder                transition (deprecated)
  - install ocaml-compiler-libs     v0.12.3
  - install ocaml-migrate-parsetree 1.8.0 (deprecated)
  - install ocamlbuild              0.15.0
  - install ppx_derivers            1.2.1
  - install ppx_deriving_rpc        6.0.0
  - install ppxlib                  0.8.1
  - install result                  1.5
  - install rpclib                  6.0.0
  - install rresult                 0.6.0
  - install seq                     base
  - install sexplib0                v0.13.0
  - install stdio                   v0.13.0
  - install topkg                   1.0.7
  - install xmlm                    1.4.0
  - install yojson                  2.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.9  (cached)
-> installed dune-configurator.1.0.0
-> installed jbuilder.transition
-> retrieved base.v0.13.2  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.3  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
-> retrieved ppx_deriving_rpc.6.0.0, rpclib.6.0.0  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.8.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.6.0  (cached)
-> retrieved sexplib0.v0.13.0  (cached)
-> retrieved stdio.v0.13.0  (cached)
-> retrieved xmlm.1.4.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved yojson.2.0.0  (cached)
-> installed result.1.5
-> installed cppo.1.6.9
-> installed sexplib0.v0.13.0
-> installed ocaml-compiler-libs.v0.12.3
-> installed yojson.2.0.0
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed base.v0.13.2
-> installed ocaml-migrate-parsetree.1.8.0
-> installed stdio.v0.13.0
-> installed topkg.1.0.7
-> installed rresult.0.6.0
-> installed xmlm.1.4.0
[ERROR] The compilation of rpclib.6.0.0 failed at "jbuilder build -p rpclib -j 31".
-> installed ppxlib.0.8.1

#=== ERROR while compiling rpclib.6.0.0 =======================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.09.1 | file:///src
# path                 ~/.opam/4.09/.opam-switch/build/rpclib.6.0.0
# command              ~/.opam/4.09/bin/jbuilder build -p rpclib -j 31
# exit-code            1
# env-file             ~/.opam/log/rpclib-113-4bb826.env
# output-file          ~/.opam/log/rpclib-113-4bb826.out
### output ###
# The jbuilder binary is deprecated and will cease to be maintained in July 2019.
# Please switch to dune instead.
# File "jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "example/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "ppx/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "src/async/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "src/html/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "src/js/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "src/lib/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "src/lwt/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "tests/async/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "tests/common/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "tests/lib/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "tests/lwt/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "tests/ppx/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "tests/rpc/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
#       ocamlc src/lib/.json.objs/byte/jsonrpc.{cmo,cmt} (exit 2)
# (cd _build/default && /home/opam/.opam/4.09/bin/ocamlc.opt -w -40 -g -bin-annot -I src/lib/.json.objs/byte -I /home/opam/.opam/4.09/lib/result -I /home/opam/.opam/4.09/lib/rresult -I /home/opam/.opam/4.09/lib/seq -I /home/opam/.opam/4.09/lib/yojson -I src/lib/.rpclib_core.objs/byte -I src/lib/.rpclib_core.objs/native -intf-suffix .ml -no-alias-deps -o src/lib/.json.objs/byte/jsonrpc.cmo -c -impl src/lib/jsonrpc.ml)
# File "src/lib/jsonrpc.ml", line 51, characters 28-34:
# 51 | exception JsonToRpcError of Y.json
#                                  ^^^^^^
# Error: Unbound type constructor Y.json
#       ocamlc src/lib/.cmdlinergen.objs/byte/cmdlinergen.{cmi,cmo,cmt}
# File "src/lib/cmdlinergen.ml", line 7, characters 44-62:
# 7 |         -> (unit -> unit) Cmdliner.Term.t * Cmdliner.Term.info)
#                                                 ^^^^^^^^^^^^^^^^^^
# Alert deprecated: Cmdliner.Term.info
# Use Cmd.info instead.
# File "src/lib/cmdlinergen.ml", line 54, characters 11-20:
# 54 |           (Term.pure Rpc.rpc_of_int64)
#                 ^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 58, characters 11-20:
# 58 |           (Term.pure Rpc.rpc_of_int64)
#                 ^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 62, characters 11-20:
# 62 |           (Term.pure Rpc.rpc_of_int64)
#                 ^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 66, characters 11-20:
# 66 |           (Term.pure Rpc.rpc_of_string)
#                 ^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 70, characters 11-20:
# 70 |           (Term.pure Rpc.rpc_of_bool)
#                 ^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 74, characters 11-20:
# 74 |           (Term.pure Rpc.rpc_of_float)
#                 ^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 78, characters 11-20:
# 78 |           (Term.pure (fun s -> Rpc.rpc_of_char s.[0]))
#                 ^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 83, characters 11-20:
# 83 |           (Term.pure Rpc.rpc_of_dateTime)
#                 ^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 87, characters 11-20:
# 87 |           (Term.pure (fun x ->
#                 ^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 93, characters 11-20:
# 93 |           (Term.pure (fun x ->
#                 ^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 99, characters 11-20:
# 99 |           (Term.pure (fun x ->
#                 ^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 109, characters 11-20:
# 109 |           (Term.pure (fun x ->
#                  ^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 115, characters 11-20:
# 115 |           (Term.pure (fun x ->
#                  ^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 123, characters 11-20:
# 123 |           (Term.pure (fun x ->
#                  ^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 174, characters 15-33:
# 174 |       ( inner (Cmdliner.Term.pure ([], [])) ty
#                      ^^^^^^^^^^^^^^^^^^
# Alert deprecated: Cmdliner.Term.pure
# Use Term.const instead.
# File "src/lib/cmdlinergen.ml", line 175, characters 8-26:
# 175 |       , Cmdliner.Term.info wire_name ~doc )
#               ^^^^^^^^^^^^^^^^^^
# Alert deprecated: Cmdliner.Term.info
# Use Cmd.info instead.
#     ocamlopt src/lib/.json.objs/native/jsonrpc.{cmx,o} (exit 2)
# (cd _build/default && /home/opam/.opam/4.09/bin/ocamlopt.opt -w -40 -g -I src/lib/.json.objs/byte -I src/lib/.json.objs/native -I /home/opam/.opam/4.09/lib/result -I /home/opam/.opam/4.09/lib/rresult -I /home/opam/.opam/4.09/lib/seq -I /home/opam/.opam/4.09/lib/yojson -I src/lib/.rpclib_core.objs/byte -I src/lib/.rpclib_core.objs/native -intf-suffix .ml -no-alias-deps -o src/lib/.json.objs/native/jsonrpc.cmx -c -impl src/lib/jsonrpc.ml)
# File "src/lib/jsonrpc.ml", line 51, characters 28-34:
# 51 | exception JsonToRpcError of Y.json
#                                  ^^^^^^
# Error: Unbound type constructor Y.json



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build rpclib 6.0.0
+- 
+- The following changes have been performed (the rest was aborted)
| - install base                    v0.13.2
| - install cmdliner                1.3.0
| - install cppo                    1.6.9
| - install dune-configurator       1.0.0
| - install jbuilder                transition
| - install ocaml-compiler-libs     v0.12.3
| - install ocaml-migrate-parsetree 1.8.0
| - install ocamlbuild              0.15.0
| - install ppx_derivers            1.2.1
| - install ppxlib                  0.8.1
| - install result                  1.5
| - install rresult                 0.6.0
| - install seq                     base
| - install sexplib0                v0.13.0
| - install stdio                   v0.13.0
| - install topkg                   1.0.7
| - install xmlm                    1.4.0
| - install yojson                  2.0.0
+- 

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

<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.
# 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.09/.opam-switch/backup/state-20250203234808.export"
OCaml

Innovation. Community. Security.