Skip to content

Instantly share code, notes, and snippets.

@ncthbrt
Created April 14, 2018 19:59
Show Gist options
  • Save ncthbrt/dfdcacc05b6fabe6767eebbcd686221b to your computer and use it in GitHub Desktop.
Save ncthbrt/dfdcacc05b6fabe6767eebbcd686221b to your computer and use it in GitHub Desktop.
Error Log
Error: Command failed.
Exit code: 1
Command: /usr/local/lib/node_modules/esy/node_modules/@esy-ocaml/ocamlrun/install/bin/ocamlrun
Arguments: /usr/local/lib/node_modules/esy/bin/esyBuildPackage -B -
Directory: /Users/ncthbrt/git/bs-webmachine-experiment
Output:
# esy-build-package: running: 'jbuilder' 'build'
ocamlc src/native/.repromise.objs/repromise.{cmo,cmt} (exit 2)
(cd _build/default && /Users/ncthbrt/.esy/3_________________________________________________________________/i/ocaml-4.6.1-2f0a0fce/bin/ocamlc.opt -w -40 -w +A -g -bin-annot -I src/native/.repromise.objs -I /Users/ncthbrt/.esy/3_________________________________________________________________/i/opam__slash__ctypes-0.13.1-90165226/lib/ctypes -I /Users/ncthbrt/.esy/3_________________________________________________________________/i/opam__slash__integers-0.2.2-f92c4d64/lib/integers -I /Users/ncthbrt/.esy/3_________________________________________________________________/i/opam__slash__ocamlfind-1.7.3--1-cc28f505/lib/bytes -I /Users/ncthbrt/.esy/3_________________________________________________________________/i/opam__slash__ocamlfind-1.7.3--1-cc28f505/lib/ocaml/threads -no-alias-deps -o src/native/.repromise.objs/repromise.cmo -c -impl src/native/repromise.re.ml)
File "src/native/repromise.re", line 1:
Error: The implementation src/native/repromise.re.ml
does not match the interface src/native/.repromise.objs/repromise.cmi:
Type declarations do not match:
type ('a, 'e) rejectable =
[ `Fulfilled of 'a
| `Merged of ('a, 'e) rejectable
| `Pending of ('a, 'e) callbacks
| `Rejected of 'e ] ref
is not included in
type (+'a, +'e) rejectable
File "src/native/repromise.rei", line 1, characters 0-25:
Expected declaration
File "src/native/repromise.re", line 8, characters 0-147:
Actual declaration
Their variances do not agree.
ocamlc src/native/accessors.o (exit 2)
(cd _build/default/src/native && /Users/ncthbrt/.esy/3_________________________________________________________________/i/ocaml-4.6.1-2f0a0fce/bin/ocamlc.opt -g -I /Users/ncthbrt/.esy/3_________________________________________________________________/i/opam__slash__ctypes-0.13.1-90165226/lib/ctypes -I /Users/ncthbrt/.esy/3_________________________________________________________________/i/opam__slash__integers-0.2.2-f92c4d64/lib/integers -I /Users/ncthbrt/.esy/3_________________________________________________________________/i/opam__slash__ocamlfind-1.7.3--1-cc28f505/lib/bytes -I /Users/ncthbrt/.esy/3_________________________________________________________________/i/opam__slash__ocamlfind-1.7.3--1-cc28f505/lib/ocaml/threads -ccopt -g -o accessors.o accessors.c)
accessors.c:21:10: fatal error: 'uv.h' file not found
#include <uv.h>
^~~~~~
1 error generated.
ocamlopt src/native/.repromise.objs/repromise.{cmx,o} (exit 2)
(cd _build/default && /Users/ncthbrt/.esy/3_________________________________________________________________/i/ocaml-4.6.1-2f0a0fce/bin/ocamlopt.opt -w -40 -w +A -g -I src/native/.repromise.objs -I /Users/ncthbrt/.esy/3_________________________________________________________________/i/opam__slash__ctypes-0.13.1-90165226/lib/ctypes -I /Users/ncthbrt/.esy/3_________________________________________________________________/i/opam__slash__integers-0.2.2-f92c4d64/lib/integers -I /Users/ncthbrt/.esy/3_________________________________________________________________/i/opam__slash__ocamlfind-1.7.3--1-cc28f505/lib/bytes -I /Users/ncthbrt/.esy/3_________________________________________________________________/i/opam__slash__ocamlfind-1.7.3--1-cc28f505/lib/ocaml/threads -no-alias-deps -o src/native/.repromise.objs/repromise.cmx -c -impl src/native/repromise.re.ml)
File "src/native/repromise.re", line 1:
Error: The implementation src/native/repromise.re.ml
does not match the interface src/native/.repromise.objs/repromise.cmi:
Type declarations do not match:
type ('a, 'e) rejectable =
[ `Fulfilled of 'a
| `Merged of ('a, 'e) rejectable
| `Pending of ('a, 'e) callbacks
| `Rejected of 'e ] ref
is not included in
type (+'a, +'e) rejectable
File "src/native/repromise.rei", line 1, characters 0-25:
Expected declaration
File "src/native/repromise.re", line 8, characters 0-147:
Actual declaration
Their variances do not agree.
esy-build-package: run ['sandbox-exec' '-f'
'/var/folders/mm/ywfjj8h10ng0sk508rgxnf340000gn/T/f104d3'
'/Users/ncthbrt/.esy/3_________________________________________________________________/i/opam__slash__jbuilder-1.0.0-beta20-6d5fae3f/bin/jbuilder'
'build']: exited with 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment