package charset

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

charset 0.1.0

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 charset.0.1.0 ocaml_intrinsics.v0.16.0 dune-configurator.3.13.0 dune.3.13.0 csexp.1.5.2" 

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 csexp             1.5.2
  - install dune-configurator 3.13.0
  - install ocaml_intrinsics  v0.16.0
  - install charset           0.1.0
===== 4 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/12:
Processing  2/12:
Processing  3/12:
-> retrieved charset.0.1.0  (cached)
Processing  4/12:
-> retrieved csexp.1.5.2  (cached)
Processing  5/12: [csexp: dune build]
-> retrieved dune-configurator.3.13.0  (cached)
-> retrieved ocaml_intrinsics.v0.16.0  (cached)
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "csexp" "-j" "255" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/csexp.1.5.2)
-> compiled  csexp.1.5.2
-> installed csexp.1.5.2
Processing  7/12: [dune-configurator: rm]
+ /usr/bin/rm "-rf" "vendor/csexp" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.13.0)
+ /usr/bin/rm "-rf" "vendor/pp" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.13.0)
Processing  7/12: [dune-configurator: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "dune-configurator" "-j" "255" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.13.0)
-> compiled  dune-configurator.3.13.0
-> installed dune-configurator.3.13.0
Processing  9/12: [ocaml_intrinsics: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "ocaml_intrinsics" "-j" "255" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ocaml_intrinsics.v0.16.0)
-> compiled  ocaml_intrinsics.v0.16.0
-> installed ocaml_intrinsics.v0.16.0
Processing 11/12: [charset: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "charset" "-j" "255" (CWD=/home/opam/.opam/5.1/.opam-switch/build/charset.0.1.0)
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.charset.objs/byte -I /home/opam/.opam/5.1/lib/ocaml_intrinsics -intf-suffix .ml -no-alias-deps -o lib/.charset.objs/byte/charset.cmo -c -impl lib/charset.ml)
- File "lib/charset.ml", line 1:
- Error: The implementation lib/charset.ml
-        does not match the interface lib/.charset.objs/byte/charset.cmi: 
-        The value `to_list' is required but not provided
-        File "set.mli", line 288, characters 4-31: Expected declaration
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I lib/.charset.objs/byte -I lib/.charset.objs/native -I /home/opam/.opam/5.1/lib/ocaml_intrinsics -intf-suffix .ml -no-alias-deps -o lib/.charset.objs/native/charset.cmx -c -impl lib/charset.ml)
- File "lib/charset.ml", line 1:
- Error: The implementation lib/charset.ml
-        does not match the interface lib/.charset.objs/byte/charset.cmi: 
-        The value `to_list' is required but not provided
-        File "set.mli", line 288, characters 4-31: Expected declaration
[ERROR] The compilation of charset.0.1.0 failed at "dune build -p charset -j 255".

#=== ERROR while compiling charset.0.1.0 ======================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/charset.0.1.0
# command              ~/.opam/5.1/bin/dune build -p charset -j 255
# exit-code            1
# env-file             ~/.opam/log/charset-113-7e1868.env
# output-file          ~/.opam/log/charset-113-7e1868.out
### output ###
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.charset.objs/byte -I /home/opam/.opam/5.1/lib/ocaml_intrinsics -intf-suffix .ml -no-alias-deps -o lib/.charset.objs/byte/charset.cmo -c -impl lib/charset.ml)
# File "lib/charset.ml", line 1:
# Error: The implementation lib/charset.ml
#        does not match the interface lib/.charset.objs/byte/charset.cmi: 
#        The value `to_list' is required but not provided
#        File "set.mli", line 288, characters 4-31: Expected declaration
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I lib/.charset.objs/byte -I lib/.charset.objs/native -I /home/opam/.opam/5.1/lib/ocaml_intrinsics -intf-suffix .ml -no-alias-deps -o lib/.charset.objs/native/charset.cmx -c -impl lib/charset.ml)
# File "lib/charset.ml", line 1:
# Error: The implementation lib/charset.ml
#        does not match the interface lib/.charset.objs/byte/charset.cmi: 
#        The value `to_list' is required but not provided
#        File "set.mli", line 288, characters 4-31: Expected declaration



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build charset 0.1.0
+- 
+- The following changes have been performed
| - install csexp             1.5.2
| - install dune-configurator 3.13.0
| - install ocaml_intrinsics  v0.16.0
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.1/.opam-switch/backup/state-20240129152948.export"
'opam --cli=2.1 install charset.0.1.0 ocaml_intrinsics.v0.16.0 dune-configurator.3.13.0 dune.3.13.0 csexp.1.5.2 --verbose --yes --confirm-level=unsafe-yes' failed.