Skip to content

Instantly share code, notes, and snippets.

@termslang
Created February 11, 2019 08:48
Show Gist options
  • Save termslang/9461e63c4dc93174ad45d75ff9a59655 to your computer and use it in GitHub Desktop.
Save termslang/9461e63c4dc93174ad45d75ff9a59655 to your computer and use it in GitHub Desktop.
homebase:dht mb$ make repl
opam config exec -- dune utop
ocamlc src/.dht.objs/dht__Chord.{cmi,cmo,cmt}
File "src/chord.ml", line 1, characters 0-12:
Warning 33: unused open Delimcc.
ocamlc src/.dht.objs/dht__Isomorphic.{cmi,cmo,cmt}
File "src/isomorphic.ml", line 52, characters 32-91:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
(`Assoc (("random", (`Bool _|`Null|`Assoc _|`List _|`Float _|`Int _))::_)|
`Assoc (("", _)::_)|`Assoc []|`Bool _|`Null|`List _|`Float _|`String _|
`Int _)
ocamlc src/.dht.objs/dht__PeerAddr.{cmi,cmo,cmt}
File "src/peerAddr.ml", line 9, characters 23-87:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
ADDR_UNIX _
File "src/peerAddr.ml", line 10, characters 23-24:
Warning 27: unused variable b.
ocamlc src/.dht.objs/dht__DoubleLinkedSkipRing.{cmi,cmo,cmt}
File "src/doubleLinkedSkipRing.ml", line 71, characters 12-171:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Elem
(_, _, _,
Some ({contents=Elem (_, _, _, _)}, {contents=Elem (_, _, _, _)}))
File "src/doubleLinkedSkipRing.ml", line 66, characters 20-342:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Elem
(_, _, _,
Some ({contents=Elem (_, _, _, _)}, {contents=Elem (_, _, _, _)}))
File "src/doubleLinkedSkipRing.ml", line 103, characters 15-192:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Elem
(_, _, _,
Some ({contents=Elem (_, _, _, _)}, {contents=Elem (_, _, _, _)}))
File "src/doubleLinkedSkipRing.ml", line 140, characters 24-136:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Elem
(_, _, _,
Some ({contents=Elem (_, _, _, _)}, {contents=Elem (_, _, _, _)}))
File "src/doubleLinkedSkipRing.ml", line 139, characters 17-226:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Elem
(_, _, _,
Some ({contents=Elem (_, _, _, _)}, {contents=Elem (_, _, _, _)}))
File "src/doubleLinkedSkipRing.ml", line 157, characters 45-192:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Elem
(_, _, _,
Some ({contents=Elem (_, _, _, _)}, {contents=Elem (_, _, _, _)}))
File "src/doubleLinkedSkipRing.ml", line 155, characters 20-239:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Elem (_, _, _, Some _)::_
File "src/doubleLinkedSkipRing.ml", line 152, characters 4-408:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Elem
(_, _, _,
Some ({contents=Elem (_, _, _, _)}, {contents=Elem (_, _, _, _)}))
File "src/doubleLinkedSkipRing.ml", line 172, characters 15-192:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Elem
(_, _, _,
Some ({contents=Elem (_, _, _, _)}, {contents=Elem (_, _, _, _)}))
File "src/doubleLinkedSkipRing.ml", line 167, characters 21-367:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Elem
(_, _, _,
Some ({contents=Elem (_, _, _, _)}, {contents=Elem (_, _, _, _)}))
File "src/doubleLinkedSkipRing.ml", line 67, characters 18-21:
Warning 27: unused variable v1r.
File "src/doubleLinkedSkipRing.ml", line 71, characters 45-48:
Warning 27: unused variable v2r.
File "src/doubleLinkedSkipRing.ml", line 99, characters 18-21:
Warning 27: unused variable v2r.
File "src/doubleLinkedSkipRing.ml", line 104, characters 43-46:
Warning 27: unused variable v3r.
File "src/doubleLinkedSkipRing.ml", line 104, characters 48-51:
Warning 27: unused variable l3a.
File "src/doubleLinkedSkipRing.ml", line 110, characters 28-56:
Warning 26: unused variable e1.
File "src/doubleLinkedSkipRing.ml", line 118, characters 12-13:
Warning 27: unused variable m.
File "src/doubleLinkedSkipRing.ml", line 122, characters 37-64:
Warning 26: unused variable e1.
File "src/doubleLinkedSkipRing.ml", line 132, characters 19-22:
Warning 27: unused variable l1a.
File "src/doubleLinkedSkipRing.ml", line 139, characters 24-26:
Warning 27: unused variable k1.
File "src/doubleLinkedSkipRing.ml", line 139, characters 28-31:
Warning 27: unused variable v1r.
File "src/doubleLinkedSkipRing.ml", line 141, characters 14-16:
Warning 27: unused variable k1.
File "src/doubleLinkedSkipRing.ml", line 141, characters 18-21:
Warning 27: unused variable v1r.
File "src/doubleLinkedSkipRing.ml", line 152, characters 23-25:
Warning 27: unused variable k1.
File "src/doubleLinkedSkipRing.ml", line 152, characters 27-30:
Warning 27: unused variable v1r.
File "src/doubleLinkedSkipRing.ml", line 157, characters 16-18:
Warning 27: unused variable k2.
File "src/doubleLinkedSkipRing.ml", line 157, characters 20-23:
Warning 27: unused variable v2r.
File "src/doubleLinkedSkipRing.ml", line 158, characters 35-37:
Warning 27: unused variable k3.
File "src/doubleLinkedSkipRing.ml", line 158, characters 39-42:
Warning 27: unused variable v3r.
File "src/doubleLinkedSkipRing.ml", line 158, characters 44-47:
Warning 27: unused variable l3a.
File "src/doubleLinkedSkipRing.ml", line 168, characters 18-21:
Warning 27: unused variable v2r.
File "src/doubleLinkedSkipRing.ml", line 173, characters 43-46:
Warning 27: unused variable v3r.
File "src/doubleLinkedSkipRing.ml", line 173, characters 48-51:
Warning 27: unused variable l3a.
File "src/doubleLinkedSkipRing.ml", line 185, characters 35-45:
Warning 27: unused variable column_skp.
ocamlc src/.dht.objs/dht__Hash.{cmi,cmo,cmt}
File "src/hash.ml", line 1, characters 0-12:
Warning 33: unused open Dht.Logging.
ocamlc src/.dht.objs/dht__Endomorphic.{cmi,cmo,cmt}
File "src/endomorphic.ml", line 14, characters 25-77:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
ADDR_UNIX _
File "src/endomorphic.ml", line 19, characters 10-191:
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
ADDR_UNIX _
File "src/endomorphic.ml", line 14, characters 45-46:
Warning 27: unused variable b.
File "src/endomorphic.ml", line 20, characters 22-26:
Warning 27: unused variable addr.
ocamlc src/.dht.objs/dht__KeyValueDatabase.{cmi,cmo,cmt}
File "src/keyValueDatabase.ml", line 35, characters 17-18:
Warning 27: unused variable a.
ocamlc .utop/utop.exe (exit 2)
(cd _build/default && /usr/local/bin/ocamlc.opt -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -24 -g -o .utop/utop.exe -custom -linkall -warn-error -31 -I /Users/mb/ocaml/dht/_opam/lib/alcotest -I /Users/mb/ocaml/dht/_opam/lib/astring -I /Users/mb/ocaml/dht/_opam/lib/base -I /Users/mb/ocaml/dht/_opam/lib/base/caml -I /Users/mb/ocaml/dht/_opam/lib/base/md5 -I /Users/mb/ocaml/dht/_opam/lib/base/shadow_stdlib -I /Users/mb/ocaml/dht/_opam/lib/bin_prot -I /Users/mb/ocaml/dht/_opam/lib/bin_prot/shape -I /Users/mb/ocaml/dht/_opam/lib/biniou -I /Users/mb/ocaml/dht/_opam/lib/bytes -I /Users/mb/ocaml/dht/_opam/lib/camomile -I /Users/mb/ocaml/dht/_opam/lib/camomile/default_config -I /Users/mb/ocaml/dht/_opam/lib/camomile/dyn -I /Users/mb/ocaml/dht/_opam/lib/camomile/lib_default -I /Users/mb/ocaml/dht/_opam/lib/camomile/library -I /Users/mb/ocaml/dht/_opam/lib/cmdliner -I /Users/mb/ocaml/dht/_opam/lib/core -I /Users/mb/ocaml/dht/_opam/lib/core_kernel -I /Users/mb/ocaml/dht/_opam/lib/core_kernel/base_for_tests -I /Users/mb/ocaml/dht/_opam/lib/delimcc -I /Users/mb/ocaml/dht/_opam/lib/easy-format -I /Users/mb/ocaml/dht/_opam/lib/fieldslib -I /Users/mb/ocaml/dht/_opam/lib/findlib -I /Users/mb/ocaml/dht/_opam/lib/fmt -I /Users/mb/ocaml/dht/_opam/lib/ipaddr -I /Users/mb/ocaml/dht/_opam/lib/jane-street-headers -I /Users/mb/ocaml/dht/_opam/lib/lambda-term -I /Users/mb/ocaml/dht/_opam/lib/lens -I /Users/mb/ocaml/dht/_opam/lib/logs -I /Users/mb/ocaml/dht/_opam/lib/lwt -I /Users/mb/ocaml/dht/_opam/lib/lwt/unix -I /Users/mb/ocaml/dht/_opam/lib/lwt_log -I /Users/mb/ocaml/dht/_opam/lib/lwt_log/core -I /Users/mb/ocaml/dht/_opam/lib/lwt_react -I /Users/mb/ocaml/dht/_opam/lib/macaddr -I /Users/mb/ocaml/dht/_opam/lib/msgpck -I /Users/mb/ocaml/dht/_opam/lib/ocplib-endian -I /Users/mb/ocaml/dht/_opam/lib/parsexp -I /Users/mb/ocaml/dht/_opam/lib/ppx_assert/runtime-lib -I /Users/mb/ocaml/dht/_opam/lib/ppx_bench/runtime-lib -I /Users/mb/ocaml/dht/_opam/lib/ppx_compare/runtime-lib -I /Users/mb/ocaml/dht/_opam/lib/ppx_expect/collector -I /Users/mb/ocaml/dht/_opam/lib/ppx_expect/common -I /Users/mb/ocaml/dht/_opam/lib/ppx_expect/config -I /Users/mb/ocaml/dht/_opam/lib/ppx_hash/runtime-lib -I /Users/mb/ocaml/dht/_opam/lib/ppx_inline_test/config -I /Users/mb/ocaml/dht/_opam/lib/ppx_inline_test/runtime-lib -I /Users/mb/ocaml/dht/_opam/lib/ppx_sexp_conv/runtime-lib -I /Users/mb/ocaml/dht/_opam/lib/react -I /Users/mb/ocaml/dht/_opam/lib/result -I /Users/mb/ocaml/dht/_opam/lib/sexplib -I /Users/mb/ocaml/dht/_opam/lib/sexplib/unix -I /Users/mb/ocaml/dht/_opam/lib/sexplib0 -I /Users/mb/ocaml/dht/_opam/lib/spawn -I /Users/mb/ocaml/dht/_opam/lib/splittable_random -I /Users/mb/ocaml/dht/_opam/lib/stdio -I /Users/mb/ocaml/dht/_opam/lib/typerep -I /Users/mb/ocaml/dht/_opam/lib/uchar -I /Users/mb/ocaml/dht/_opam/lib/utop -I /Users/mb/ocaml/dht/_opam/lib/uuidm -I /Users/mb/ocaml/dht/_opam/lib/variantslib -I /Users/mb/ocaml/dht/_opam/lib/yojson -I /Users/mb/ocaml/dht/_opam/lib/zarith -I /Users/mb/ocaml/dht/_opam/lib/zed -I /usr/local/lib/ocaml/compiler-libs -I /usr/local/lib/ocaml/threads -I src -I test /usr/local/lib/ocaml/compiler-libs/ocamlcommon.cma /usr/local/lib/ocaml/compiler-libs/ocamlbytecomp.cma /usr/local/lib/ocaml/compiler-libs/ocamltoplevel.cma /Users/mb/ocaml/dht/_opam/lib/findlib/findlib.cma /Users/mb/ocaml/dht/_opam/lib/findlib/findlib_top.cma /Users/mb/ocaml/dht/_opam/lib/result/result.cma /Users/mb/ocaml/dht/_opam/lib/lwt/lwt.cma /usr/local/lib/ocaml/unix.cma /usr/local/lib/ocaml/bigarray.cma /usr/local/lib/ocaml/threads/threads.cma /Users/mb/ocaml/dht/_opam/lib/lwt/unix/lwt_unix.cma /Users/mb/ocaml/dht/_opam/lib/lwt_log/core/lwt_log_core.cma /Users/mb/ocaml/dht/_opam/lib/lwt_log/lwt_log.cma /Users/mb/ocaml/dht/_opam/lib/react/react.cma /Users/mb/ocaml/dht/_opam/lib/lwt_react/lwt_react.cma /Users/mb/ocaml/dht/_opam/lib/camomile/default_config/camomileDefaultConfig.cma /Users/mb/ocaml/dht/_opam/lib/camomile/library/camomileLibrary.cma /Users/mb/ocaml/dht/_opam/lib/camomile/lib_default/camomileLibraryDefault.cma /Users/mb/ocaml/dht/_opam/lib/camomile/dyn/camomileLibraryDyn.cma /Users/mb/ocaml/dht/_opam/lib/camomile/camomile_yuge.cma /Users/mb/ocaml/dht/_opam/lib/zed/zed.cma /Users/mb/ocaml/dht/_opam/lib/lambda-term/lambda_term.cma /Users/mb/ocaml/dht/_opam/lib/utop/uTop.cma /Users/mb/ocaml/dht/_opam/lib/astring/astring.cma /Users/mb/ocaml/dht/_opam/lib/cmdliner/cmdliner.cma /Users/mb/ocaml/dht/_opam/lib/fmt/fmt.cma /Users/mb/ocaml/dht/_opam/lib/fmt/fmt_cli.cma /Users/mb/ocaml/dht/_opam/lib/fmt/fmt_tty.cma /Users/mb/ocaml/dht/_opam/lib/uuidm/uuidm.cma /Users/mb/ocaml/dht/_opam/lib/alcotest/alcotest.cma /Users/mb/ocaml/dht/_opam/lib/base/caml/caml.cma /Users/mb/ocaml/dht/_opam/lib/base/shadow_stdlib/shadow_stdlib.cma /Users/mb/ocaml/dht/_opam/lib/sexplib0/sexplib0.cma /Users/mb/ocaml/dht/_opam/lib/base/base.cma /Users/mb/ocaml/dht/_opam/lib/ppx_inline_test/config/inline_test_config.cma /Users/mb/ocaml/dht/_opam/lib/ppx_inline_test/runtime-lib/ppx_inline_test_lib.cma /Users/mb/ocaml/dht/_opam/lib/zarith/zarith.cma /Users/mb/ocaml/dht/_opam/lib/base/md5/md5_lib.cma /Users/mb/ocaml/dht/_opam/lib/fieldslib/fieldslib.cma /Users/mb/ocaml/dht/_opam/lib/ppx_compare/runtime-lib/ppx_compare_lib.cma /Users/mb/ocaml/dht/_opam/lib/ppx_sexp_conv/runtime-lib/ppx_sexp_conv_lib.cma /Users/mb/ocaml/dht/_opam/lib/variantslib/variantslib.cma /Users/mb/ocaml/dht/_opam/lib/bin_prot/shape/bin_shape_lib.cma /Users/mb/ocaml/dht/_opam/lib/bin_prot/bin_prot.cma /Users/mb/ocaml/dht/_opam/lib/ppx_hash/runtime-lib/ppx_hash_lib.cma /Users/mb/ocaml/dht/_opam/lib/core_kernel/base_for_tests/base_for_tests.cma /Users/mb/ocaml/dht/_opam/lib/jane-street-headers/jane_street_headers.cma /Users/mb/ocaml/dht/_opam/lib/ppx_assert/runtime-lib/ppx_assert_lib.cma /Users/mb/ocaml/dht/_opam/lib/ppx_bench/runtime-lib/ppx_bench_lib.cma /Users/mb/ocaml/dht/_opam/lib/ppx_expect/common/expect_test_common.cma /Users/mb/ocaml/dht/_opam/lib/ppx_expect/config/expect_test_config.cma /Users/mb/ocaml/dht/_opam/lib/ppx_expect/collector/expect_test_collector.cma /Users/mb/ocaml/dht/_opam/lib/parsexp/parsexp.cma /Users/mb/ocaml/dht/_opam/lib/sexplib/sexplib.cma /Users/mb/ocaml/dht/_opam/lib/typerep/typerep_lib.cma /Users/mb/ocaml/dht/_opam/lib/splittable_random/splittable_random.cma /Users/mb/ocaml/dht/_opam/lib/stdio/stdio.cma /Users/mb/ocaml/dht/_opam/lib/core_kernel/core_kernel.cma /Users/mb/ocaml/dht/_opam/lib/sexplib/unix/sexplib_unix.cma /Users/mb/ocaml/dht/_opam/lib/spawn/spawn.cma /Users/mb/ocaml/dht/_opam/lib/core/core.cma /Users/mb/ocaml/dht/_opam/lib/macaddr/macaddr.cma /Users/mb/ocaml/dht/_opam/lib/ipaddr/ipaddr.cma /Users/mb/ocaml/dht/_opam/lib/ocplib-endian/ocplib_endian.cma /Users/mb/ocaml/dht/_opam/lib/msgpck/msgpck.cma /Users/mb/ocaml/dht/_opam/lib/easy-format/easy_format.cma /Users/mb/ocaml/dht/_opam/lib/biniou/biniou.cma /Users/mb/ocaml/dht/_opam/lib/yojson/yojson.cma /Users/mb/ocaml/dht/_opam/lib/delimcc/delimcc.cma /Users/mb/ocaml/dht/_opam/lib/lens/lens.cma /Users/mb/ocaml/dht/_opam/lib/logs/logs.cma src/dht.cma test/test_dht.cma .utop/utop.cmo)
ld: warning: directory not found for option '-L/opt/local/lib'
Undefined symbols for architecture x86_64:
"_alloc", referenced from:
_copy_stack_fragment in libdelimcc.a(stacks.o)
(maybe you meant: _caml_young_alloc_mid, _caml_alloc_ephe_table , _caml_alloc_custom_table , _caml_alloc_table , _caml_dependent_allocated , _caml_alloc_dependent_memory , _caml_fl_allocate , _alloc_inet6_addr , _alloc_host_entry , _lwt_unix_alloc_job , _caml_unix_mapped_alloc , _caml_alloc_for_heap , _caml_init_alloc_for_heap , _caml_set_allocation_policy , _caml_allocation_policy , _caml_allocated_words , _caml_alloc_small , _caml_stat_alloc_noexc , _caml_ba_mapped_alloc , _caml_ba_alloc_dims , _caml_alloc_shr , _caml_alloc_custom , _caml_alloc , _caml_alloc_tuple , _caml_alloc_sprintf , _caml_stat_alloc , _caml_ba_alloc , _caml_alloc_backtrace_buffer , _caml_alloc_dummy_float , _caml_alloc_dummy_function , _caml_young_alloc_end , _caml_alloc_array , _caml_alloc_float_array , _caml_alloc_small_with_my_or_given_profinfo , _caml_static_alloc , _caml_young_alloc_start , _caml_allocation_color , _alloc_inet_addr , _alloc_sockaddr , _caml_alloc_channel , _caml_alloc_initialized_string , _caml_alloc_final , _caml_alloc_shr_no_raise , _caml_alloc_string , _bigstring_alloc , _caml_stat_alloc_aligned , _caml_stat_alloc_aligned_noexc , _caml_alloc_dummy )
"_alloc_shr", referenced from:
_copy_stack_fragment in libdelimcc.a(stacks.o)
(maybe you meant: _caml_alloc_shr, _caml_alloc_shr_no_raise )
"_initialize", referenced from:
_copy_stack_fragment in libdelimcc.a(stacks.o)
(maybe you meant: _initialize_threading, _caml_page_table_initialize , _caml_alloc_initialized_string , _caml_thread_initialize , _caml_initialize )
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
File "_none_", line 1:
Error: Error while building custom runtime system
make: *** [repl] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment