package graphql

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

graphql 0.6.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).
[NOTE] Package ocamlfind is already installed (current version is 1.9.8).
The following actions will be performed:
=== install 29 packages
  - install angstrom                0.13.0
  - install base                    v0.14.3
  - install base-bytes              base
  - install bigstringaf             0.10.0
  - install cppo                    1.8.0
  - install csexp                   1.5.2
  - install dune-configurator       3.17.2
  - install graphql                 0.6.0
  - install graphql-lwt             0.1.0
  - install graphql_parser          0.7.0
  - install jbuilder                1.0+beta20.2 (deprecated)
  - install lwt                     5.9.0
  - install num                     1.5-1
  - install ocaml-compiler-libs     v0.12.4
  - install ocaml-migrate-parsetree 1.8.0 (deprecated)
  - install ocamlbuild              0.15.0
  - install ocplib-endian           1.2
  - install parsexp                 v0.14.2
  - install ppx_derivers            1.2.1
  - install ppx_sexp_conv           v0.14.1
  - install ppxlib                  0.15.0
  - install result                  1.5
  - install rresult                 0.7.0
  - install seq                     base
  - install sexplib                 v0.14.0
  - install sexplib0                v0.14.0
  - install stdlib-shims            0.3.0
  - install topkg                   1.0.7
  - install yojson                  2.2.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved angstrom.0.13.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved base.v0.14.3  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved graphql.0.6.0  (cached)
-> retrieved graphql-lwt.0.1.0  (cached)
-> retrieved graphql_parser.0.7.0  (cached)
-> retrieved lwt.5.9.0  (cached)
-> retrieved num.1.5-1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved jbuilder.1.0+beta20.2  (cached)
-> installed csexp.1.5.2
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
-> retrieved dune-configurator.3.17.2  (cached)
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed num.1.5-1
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved parsexp.v0.14.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.14.1  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ppxlib.0.15.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib.v0.14.0  (cached)
-> retrieved sexplib0.v0.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved yojson.2.2.2  (cached)
-> installed ppx_derivers.1.2.1
-> installed ocplib-endian.1.2
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.14.0
-> installed dune-configurator.3.17.2
-> installed yojson.2.2.2
-> installed bigstringaf.0.10.0
-> installed angstrom.0.13.0
-> installed ocamlbuild.0.15.0
-> installed lwt.5.9.0
-> installed ocaml-migrate-parsetree.1.8.0
-> installed jbuilder.1.0+beta20.2
-> installed base.v0.14.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed parsexp.v0.14.2
-> installed sexplib.v0.14.0
-> installed ppxlib.0.15.0
-> installed ppx_sexp_conv.v0.14.1
-> installed graphql_parser.0.7.0
[ERROR] The compilation of graphql.0.6.0 failed at "jbuilder build -p graphql -j 31".

#=== ERROR while compiling graphql.0.6.0 ======================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///src
# path                 ~/.opam/4.12/.opam-switch/build/graphql.0.6.0
# command              ~/.opam/4.12/bin/jbuilder build -p graphql -j 31
# exit-code            1
# env-file             ~/.opam/log/graphql-113-ce4a13.env
# output-file          ~/.opam/log/graphql-113-ce4a13.out
### output ###
#       ocamlc graphql/src/.graphql.objs/graphql_intf.{cmi,cmo,cmt} (exit 2)
# (cd _build/default && /home/opam/.opam/4.12/bin/ocamlc.opt -w -40 -g -bin-annot -I graphql/src/.graphql.objs -I /home/opam/.opam/4.12/lib/angstrom -I /home/opam/.opam/4.12/lib/base/caml -I /home/opam/.opam/4.12/lib/bigstringaf -I /home/opam/.opam/4.12/lib/graphql_parser -I /home/opam/.opam/4.12/lib/parsexp -I /home/opam/.opam/4.12/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.12/lib/rresult -I /home/opam/.opam/4.12/lib/seq -I /home/opam/.opam/4.12/lib/sexplib -I /home/opam/.opam/4.12/lib/sexplib0 -I /home/opam/.opam/4.12/lib/yojson -no-alias-deps -o graphql/src/.graphql.objs/graphql_intf.cmo -c -impl graphql/src/graphql_intf.ml)
# File "graphql/src/graphql_intf.ml", line 106, characters 29-46:
# 106 |                coerce:('a -> Yojson.Basic.json) ->
#                                    ^^^^^^^^^^^^^^^^^
# Error: Unbound type constructor Yojson.Basic.json



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build graphql 0.6.0
+- 
+- The following changes have been performed (the rest was aborted)
| - install angstrom                0.13.0
| - install base                    v0.14.3
| - install base-bytes              base
| - install bigstringaf             0.10.0
| - install cppo                    1.8.0
| - install csexp                   1.5.2
| - install dune-configurator       3.17.2
| - install graphql_parser          0.7.0
| - install jbuilder                1.0+beta20.2
| - install lwt                     5.9.0
| - install num                     1.5-1
| - install ocaml-compiler-libs     v0.12.4
| - install ocaml-migrate-parsetree 1.8.0
| - install ocamlbuild              0.15.0
| - install ocplib-endian           1.2
| - install parsexp                 v0.14.2
| - install ppx_derivers            1.2.1
| - install ppx_sexp_conv           v0.14.1
| - install ppxlib                  0.15.0
| - install result                  1.5
| - install rresult                 0.7.0
| - install seq                     base
| - install sexplib                 v0.14.0
| - install sexplib0                v0.14.0
| - install stdlib-shims            0.3.0
| - install topkg                   1.0.7
| - install yojson                  2.2.2
+- 

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

<><> jbuilder.1.0+beta20.2 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# 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-20250206031635.export"
OCaml

Innovation. Community. Security.