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.1-1

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

<><> opam-depext.1.2.1-1 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.13.0" <><><><><><><><>

You are using opam 2.1+, where external dependency handling has been integrated: consider calling opam directly, the 'depext' plugin interface is provided for backwards compatibility only
# 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.13.0).
The following actions will be performed:
  - install memtrace 0.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved memtrace.0.1  (cached)
Processing  2/3: [memtrace: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "memtrace" "-j" "255" "@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 255 @install".

#=== ERROR while compiling memtrace.0.1 =======================================#
# context              2.1.5 | 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 255 @install
# exit-code            1
# env-file             ~/.opam/log/memtrace-113-33d802.env
# output-file          ~/.opam/log/memtrace-113-33d802.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.13.0 --verbose --yes --confirm-level=unsafe-yes' failed.