package mirage-fs-unix

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

mirage-fs-unix 1.6.0

Error log

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.8).
The following actions will be performed:
=== install 19 packages
  - install base-bytes        base
  - install bigarray-compat   1.1.0
  - install cppo              1.8.0
  - install csexp             1.5.2
  - install cstruct           6.0.1
  - install cstruct-lwt       6.0.1
  - install dune-configurator 3.17.2
  - install fmt               0.9.0
  - install lwt               5.9.0
  - install mirage-device     1.2.0 (deprecated)
  - install mirage-fs         1.0.0 (deprecated)
  - install mirage-fs-lwt     1.0.0 (deprecated)
  - install mirage-fs-unix    1.6.0 (deprecated)
  - install mirage-kv         1.0.0
  - install mirage-kv-lwt     1.0.0 (deprecated)
  - install ocamlbuild        0.15.0
  - install ocplib-endian     1.2
  - install result            1.5
  - install topkg             1.0.7

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.0.1, cstruct-lwt.6.0.1  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved mirage-device.1.2.0  (cached)
-> retrieved mirage-fs.1.0.0  (cached)
-> retrieved lwt.5.9.0  (cached)
-> retrieved mirage-fs-lwt.1.0.0  (cached)
-> retrieved mirage-fs-unix.1.6.0  (cached)
-> retrieved mirage-kv.1.0.0  (cached)
-> retrieved mirage-kv-lwt.1.0.0  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> retrieved result.1.5  (cached)
-> retrieved topkg.1.0.7  (cached)
-> installed result.1.5
-> retrieved dune-configurator.3.17.2  (cached)
-> installed cppo.1.8.0
-> installed cstruct.6.0.1
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.17.2
-> installed ocamlbuild.0.15.0
-> installed lwt.5.9.0
-> installed cstruct-lwt.6.0.1
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed mirage-device.1.2.0
-> installed mirage-fs.1.0.0
-> installed mirage-kv.1.0.0
-> installed mirage-kv-lwt.1.0.0
-> installed mirage-fs-lwt.1.0.0
[ERROR] The compilation of mirage-fs-unix.1.6.0 failed at "dune build -p mirage-fs-unix -j 31".

#=== ERROR while compiling mirage-fs-unix.1.6.0 ===============================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/mirage-fs-unix.1.6.0
# command              ~/.opam/5.1/bin/dune build -p mirage-fs-unix -j 31
# exit-code            1
# env-file             ~/.opam/log/mirage-fs-unix-113-d6c26b.env
# output-file          ~/.opam/log/mirage-fs-unix-113-d6c26b.out
### output ###
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -safe-string -g -bin-annot -I src/.mirage_fs_unix.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/cstruct-lwt -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-fs -I /home/opam/.opam/5.1/lib/mirage-fs-lwt -I /home/opam/.opam/5.1/lib/mirage-kv -I /home/opam/.opam/5.1/lib/mirage-kv-lwt -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -intf-suffix .ml -no-alias-deps -o src/.mirage_fs_unix.objs/byte/kvro_fs_unix.cmo -c -impl src/kvro_fs_unix.ml)
# File "src/kvro_fs_unix.ml", line 1:
# Error: The implementation src/kvro_fs_unix.ml
#        does not match the interface src/.mirage_fs_unix.objs/byte/kvro_fs_unix.cmi:
#         Values do not match:
#           val read :
#             t ->
#             string -> int64 -> int64 -> (Cstruct.t list, error) result Lwt.t
#         is not included in
#           val read :
#             t ->
#             string ->
#             int64 ->
#             int64 -> (page_aligned_buffer list, error) Result.result io
#         The type
#           t ->
#           string -> int64 -> int64 -> (Cstruct.t list, error) result Lwt.t
#         is not compatible with the type
#           t ->
#           string ->
#           int64 ->
#           int64 -> (page_aligned_buffer list, error) Result.result io
#         Type (Cstruct.t list, error) result Lwt.t is not compatible with type
#           (page_aligned_buffer list, error) Result.result io =
#             (page_aligned_buffer list, error) Result.result Lwt.t
#         Type (Cstruct.t list, error) result is not compatible with type
#           (page_aligned_buffer list, error) Result.result
#         File "src/mirage_kv.mli", lines 46-47, characters 2-47:
#           Expected declaration
#         File "src/kvro_fs_unix.ml", line 47, characters 4-8:
#           Actual declaration
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -safe-string -g -bin-annot -I src/.mirage_fs_unix.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/cstruct-lwt -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-fs -I /home/opam/.opam/5.1/lib/mirage-fs-lwt -I /home/opam/.opam/5.1/lib/mirage-kv -I /home/opam/.opam/5.1/lib/mirage-kv-lwt -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -intf-suffix .ml -no-alias-deps -o src/.mirage_fs_unix.objs/byte/fS_unix.cmo -c -impl src/fS_unix.ml)
# File "src/fS_unix.ml", line 1:
# Error: The implementation src/fS_unix.ml
#        does not match the interface src/.mirage_fs_unix.objs/byte/fS_unix.cmi:
#         Values do not match:
#           val read :
#             t ->
#             string ->
#             int -> int -> (Cstruct.t list, FS_common.error) result Lwt.t
#         is not included in
#           val read :
#             t ->
#             string ->
#             int -> int -> (page_aligned_buffer list, error) Result.result io
#         The type
#           t ->
#           string ->
#           int -> int -> (Cstruct.t list, FS_common.error) result Lwt.t
#         is not compatible with the type
#           t ->
#           string ->
#           int -> int -> (page_aligned_buffer list, error) Result.result io
#         Type (Cstruct.t list, FS_common.error) result Lwt.t
#         is not compatible with type
#           (page_aligned_buffer list, error) Result.result io =
#             (page_aligned_buffer list, error) Result.result Lwt.t
#         Type (Cstruct.t list, FS_common.error) result
#         is not compatible with type
#           (page_aligned_buffer list, error) Result.result
#         File "src/fS_unix.mli", lines 30-32, characters 8-38:
#           Expected declaration
#         File "src/fS_unix.ml", line 37, characters 4-8: Actual declaration
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -safe-string -g -I src/.mirage_fs_unix.objs/byte -I src/.mirage_fs_unix.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/cstruct-lwt -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-fs -I /home/opam/.opam/5.1/lib/mirage-fs-lwt -I /home/opam/.opam/5.1/lib/mirage-kv -I /home/opam/.opam/5.1/lib/mirage-kv-lwt -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -intf-suffix .ml -no-alias-deps -o src/.mirage_fs_unix.objs/native/kvro_fs_unix.cmx -c -impl src/kvro_fs_unix.ml)
# File "src/kvro_fs_unix.ml", line 1:
# Error: The implementation src/kvro_fs_unix.ml
#        does not match the interface src/.mirage_fs_unix.objs/byte/kvro_fs_unix.cmi:
#         Values do not match:
#           val read :
#             t ->
#             string -> int64 -> int64 -> (Cstruct.t list, error) result Lwt.t
#         is not included in
#           val read :
#             t ->
#             string ->
#             int64 ->
#             int64 -> (page_aligned_buffer list, error) Result.result io
#         The type
#           t ->
#           string -> int64 -> int64 -> (Cstruct.t list, error) result Lwt.t
#         is not compatible with the type
#           t ->
#           string ->
#           int64 ->
#           int64 -> (page_aligned_buffer list, error) Result.result io
#         Type (Cstruct.t list, error) result Lwt.t is not compatible with type
#           (page_aligned_buffer list, error) Result.result io =
#             (page_aligned_buffer list, error) Result.result Lwt.t
#         Type (Cstruct.t list, error) result is not compatible with type
#           (page_aligned_buffer list, error) Result.result
#         File "src/mirage_kv.mli", lines 46-47, characters 2-47:
#           Expected declaration
#         File "src/kvro_fs_unix.ml", line 47, characters 4-8:
#           Actual declaration
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -safe-string -g -I src/.mirage_fs_unix.objs/byte -I src/.mirage_fs_unix.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/cstruct-lwt -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/mirage-device -I /home/opam/.opam/5.1/lib/mirage-fs -I /home/opam/.opam/5.1/lib/mirage-fs-lwt -I /home/opam/.opam/5.1/lib/mirage-kv -I /home/opam/.opam/5.1/lib/mirage-kv-lwt -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -intf-suffix .ml -no-alias-deps -o src/.mirage_fs_unix.objs/native/fS_unix.cmx -c -impl src/fS_unix.ml)
# File "src/fS_unix.ml", line 1:
# Error: The implementation src/fS_unix.ml
#        does not match the interface src/.mirage_fs_unix.objs/byte/fS_unix.cmi:
#         Values do not match:
#           val read :
#             t ->
#             string ->
#             int -> int -> (Cstruct.t list, FS_common.error) result Lwt.t
#         is not included in
#           val read :
#             t ->
#             string ->
#             int -> int -> (page_aligned_buffer list, error) Result.result io
#         The type
#           t ->
#           string ->
#           int -> int -> (Cstruct.t list, FS_common.error) result Lwt.t
#         is not compatible with the type
#           t ->
#           string ->
#           int -> int -> (page_aligned_buffer list, error) Result.result io
#         Type (Cstruct.t list, FS_common.error) result Lwt.t
#         is not compatible with type
#           (page_aligned_buffer list, error) Result.result io =
#             (page_aligned_buffer list, error) Result.result Lwt.t
#         Type (Cstruct.t list, FS_common.error) result
#         is not compatible with type
#           (page_aligned_buffer list, error) Result.result
#         File "src/fS_unix.mli", lines 30-32, characters 8-38:
#           Expected declaration
#         File "src/fS_unix.ml", line 37, characters 4-8: Actual declaration



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build mirage-fs-unix 1.6.0
+- 
+- The following changes have been performed
| - install base-bytes        base
| - install bigarray-compat   1.1.0
| - install cppo              1.8.0
| - install csexp             1.5.2
| - install cstruct           6.0.1
| - install cstruct-lwt       6.0.1
| - install dune-configurator 3.17.2
| - install fmt               0.9.0
| - install lwt               5.9.0
| - install mirage-device     1.2.0
| - install mirage-fs         1.0.0
| - install mirage-fs-lwt     1.0.0
| - install mirage-kv         1.0.0
| - install mirage-kv-lwt     1.0.0
| - install ocamlbuild        0.15.0
| - install ocplib-endian     1.2
| - install result            1.5
| - install topkg             1.0.7
+- 

<><> mirage-kv-lwt.1.0.0 installed successfully <><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> mirage-kv-lwt is deprecated, and has been folded into mirage-kv

<><> mirage-fs-lwt.1.0.0 installed successfully <><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> mirage-fs-lwt is deprecated, and has been folded into mirage-fs

<><> mirage-fs.1.0.0 installed successfully <><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> mirage-fs is deprecated, and has been superseeded by mirage-kv

<><> mirage-device.1.2.0 installed successfully <><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> mirage-device is deprecated

<><> mirage-fs-unix.1.6.0 troubleshooting <><><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# 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/5.1/.opam-switch/backup/state-20250206034252.export"
OCaml

Innovation. Community. Security.