sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
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.6). The following actions will be performed: === install 7 packages - install fmt 0.9.0 - install index 1.2.1 - install logs 0.7.0 - install mtime 2.1.0 - install ocamlbuild 0.15.0 - install stdlib-shims 0.3.0 - install topkg 1.0.7 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved fmt.0.9.0 (cached) -> retrieved index.1.2.1 (cached) -> retrieved logs.0.7.0 (cached) -> retrieved mtime.2.1.0 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved topkg.1.0.7 (cached) -> installed stdlib-shims.0.3.0 -> installed ocamlbuild.0.15.0 -> installed topkg.1.0.7 -> installed mtime.2.1.0 -> installed fmt.0.9.0 -> installed logs.0.7.0 [ERROR] The compilation of index.1.2.1 failed at "dune build -p index -j 39". #=== ERROR while compiling index.1.2.1 ========================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///src # path ~/.opam/4.11/.opam-switch/build/index.1.2.1 # command ~/.opam/4.11/bin/dune build -p index -j 39 # exit-code 1 # env-file ~/.opam/log/index-113-48f48f.env # output-file ~/.opam/log/index-113-48f48f.out ### output ### # (cd _build/default && /home/opam/.opam/4.11/bin/ocamlopt.opt -w -40 -g -I src/.index.objs/byte -I src/.index.objs/native -I /home/opam/.opam/4.11/lib/fmt -I /home/opam/.opam/4.11/lib/logs -I /home/opam/.opam/4.11/lib/mtime -I /home/opam/.opam/4.11/lib/mtime/clock -I /home/opam/.opam/4.11/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -open Index__ -o src/.index.objs/native/index__Stats.cmx -c -impl src/stats.ml) # File "src/stats.ml", line 66, characters 18-34: # 66 | let average = Mtime.Span.to_us span /. float_of_int !nb_replace in # ^^^^^^^^^^^^^^^^ # Error: Unbound value Mtime.Span.to_us # (cd _build/default && /home/opam/.opam/4.11/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.index.objs/byte -I /home/opam/.opam/4.11/lib/fmt -I /home/opam/.opam/4.11/lib/logs -I /home/opam/.opam/4.11/lib/mtime -I /home/opam/.opam/4.11/lib/mtime/clock -I /home/opam/.opam/4.11/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -open Index__ -o src/.index.objs/byte/index__Stats.cmo -c -impl src/stats.ml) # File "src/stats.ml", line 66, characters 18-34: # 66 | let average = Mtime.Span.to_us span /. float_of_int !nb_replace in # ^^^^^^^^^^^^^^^^ # Error: Unbound value Mtime.Span.to_us <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build index 1.2.1 +- +- The following changes have been performed | - install fmt 0.9.0 | - install logs 0.7.0 | - install mtime 2.1.0 | - install ocamlbuild 0.15.0 | - install stdlib-shims 0.3.0 | - install topkg 1.0.7 +- # 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.11/.opam-switch/backup/state-20250204165334.export"