package memtrace

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

memtrace 0.1

Error log

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

Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment

<><> Carrying on to "opam depext -viy memtrace.0.1 dune.3.16.0" <><><><><><><><>

Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
[NOTE] Package dune is already installed (current version is 3.16.0).
The following actions will be performed:
  - install memtrace 0.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [memtrace.0.1: http]
Processing  1/3:
-> retrieved memtrace.0.1  (https://github.com/janestreet/memtrace/releases/download/v0.1/memtrace-v0.1.tbz)
Processing  2/3: [memtrace: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "memtrace" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/memtrace.0.1)
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/.memtrace.objs/byte -I src/.memtrace.objs/native -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -intf-suffix .ml -no-alias-deps -open Memtrace__ -o src/.memtrace.objs/native/memtrace__Trace.cmx -c -impl src/trace.ml)
- File "src/trace.ml", lines 346-352, characters 16-4:
- 346 | ................Hashtbl.MakeSeeded (struct
- 347 |   type t = int
- 348 |   let hash _seed (id : t) =
- 349 |     let h = id * 189696287 in
- 350 |     h lxor (h lsr 23)
- 351 |   let equal (a : t) (b : t) = a = b
- 352 | end)
- Error: Modules do not match:
-        sig
-          type t = int
-          val hash : 'a -> t -> int
-          val equal : t -> t -> bool
-        end
-      is not included in Hashtbl.SeededHashedType
-      The value `seeded_hash' is required but not provided
-      File "hashtbl.mli", line 437, characters 4-36: Expected declaration
[ERROR] The compilation of memtrace.0.1 failed at "dune build -p memtrace -j 39 @install".

#=== ERROR while compiling memtrace.0.1 =======================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/memtrace.0.1
# command              ~/.opam/5.1/bin/dune build -p memtrace -j 39 @install
# exit-code            1
# env-file             ~/.opam/log/memtrace-115-c83bdd.env
# output-file          ~/.opam/log/memtrace-115-c83bdd.out
### output ###
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/.memtrace.objs/byte -I src/.memtrace.objs/native -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -intf-suffix .ml -no-alias-deps -open Memtrace__ -o src/.memtrace.objs/native/memtrace__Trace.cmx -c -impl src/trace.ml)
# File "src/trace.ml", lines 346-352, characters 16-4:
# 346 | ................Hashtbl.MakeSeeded (struct
# 347 |   type t = int
# 348 |   let hash _seed (id : t) =
# 349 |     let h = id * 189696287 in
# 350 |     h lxor (h lsr 23)
# 351 |   let equal (a : t) (b : t) = a = b
# 352 | end)
# Error: Modules do not match:
#        sig
#          type t = int
#          val hash : 'a -> t -> int
#          val equal : t -> t -> bool
#        end
#      is not included in Hashtbl.SeededHashedType
#      The value `seeded_hash' is required but not provided
#      File "hashtbl.mli", line 437, characters 4-36: Expected declaration



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build memtrace 0.1
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam --cli=2.1 install memtrace.0.1 dune.3.16.0 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.