# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base conf-findutils 1 Virtual package relying on findutils conf-gmp 4 Virtual package relying on a GMP lib system installation coq dev Formal proof management system dune 3.1.1 Fast, portable, and opinionated build system ocaml 4.12.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.12.1 Official release 4.12.1 ocaml-config 2 OCaml Switch Configuration ocaml-options-vanilla 1 Ensure that OCaml is compiled with no special options enabled ocamlfind 1.9.3 A library manager for OCaml zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers # opam file: opam-version: "2.0" maintainer: "johnw@newartisans.com" homepage: "https://github.com/jwiegley/coq-haskell" dev-repo: "git+https://github.com/jwiegley/coq-haskell.git" bug-reports: "https://github.com/jwiegley/coq-haskell/issues" license: "BSD-3-Clause" synopsis: "A library to provide Haskell-familiar constructions in Coq" description: """ This library is designed for Haskell users who are either using Coq to build code intended for extraction to Haskell, or who wish to prototype/prove their algorithms in Coq. It provides a collection of definitions and notations to make Gallina more familiar to Haskellers. """ build: [make] install: [make "install"] depends: [ "coq" {(>= "8.10" & < "8.16~") | (= "dev")} ] url { src: "https://github.com/jwiegley/coq-haskell/archive/refs/tags/1.0.tar.gz" checksum: "sha256=64b6958f4eca641b933977a047272dea00ef5ceff33206da66f10fe792dbf3f2" } authors: [ "John Wiegley" ] tags: [ "keyword:haskell" "category:Computer Science/Data Types and Data Structures" "date:2022-03-29" "logpath:Hask" ]
true
Dry install with the current Coq version:
opam install -y --show-action coq-haskell.1.0.0 coq.dev
Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:
true
opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-haskell.1.0.0 coq.dev
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-haskell.1.0.0 coq.dev
# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base conf-findutils 1 Virtual package relying on findutils conf-gmp 4 Virtual package relying on a GMP lib system installation coq dev Formal proof management system dune 3.1.1 Fast, portable, and opinionated build system ocaml 4.12.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.12.1 Official release 4.12.1 ocaml-config 2 OCaml Switch Configuration ocaml-options-vanilla 1 Ensure that OCaml is compiled with no special options enabled ocamlfind 1.9.3 A library manager for OCaml zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers [NOTE] Package coq is already installed (current version is dev). The following actions will be performed: - install coq-haskell 1.0.0 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/1: [coq-haskell.1.0.0: http] [coq-haskell.1.0.0] downloaded from https://github.com/jwiegley/coq-haskell/archive/refs/tags/1.0.tar.gz Processing 1/1: <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/2: [coq-haskell: make] + /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-haskell.1.0.0) - coq_makefile -f _CoqProject -o Makefile.coq - make -f Makefile.coq -j10 -k OPT="" - make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-haskell.1.0.0' - COQDEP VFILES - COQC src/Ltac.v - COQC src/Crush.v - COQC src/Ssr.v - File "./src/Crush.v", line 113, characters 0-21: - Warning: The default value for rewriting hint locality is currently "local" - in a section and "global" otherwise, but is scheduled to change in a future - release. For the time being, adding rewriting hints outside of sections - without specifying an explicit locality attribute is therefore deprecated. It - is recommended to use "export" whenever possible. Use the attributes - #[local], #[global] and #[export] depending on your choice. For example: - "#[export] Hint Rewrite foo : bar." - [deprecated-hint-rewrite-without-locality,deprecated] - File "./src/Ltac.v", line 26, characters 0-26: - Warning: Adding and removing hints in the core database implicitly is - deprecated. Please specify a hint database. - [implicit-core-hint-db,deprecated] - File "./src/Ltac.v", line 26, characters 0-26: - Warning: The default value for hint locality is currently "local" in a - section and "global" otherwise, but is scheduled to change in a future - release. For the time being, adding hints outside of sections without - specifying an explicit locality attribute is therefore deprecated. It is - recommended to use "export" whenever possible. Use the attributes #[local], - #[global] and #[export] depending on your choice. For example: "#[export] - Hint Unfold foo : bar." [deprecated-hint-without-locality,deprecated] - File "./src/Ltac.v", line 31, characters 0-27: - Warning: Adding and removing hints in the core database implicitly is - deprecated. Please specify a hint database. - [implicit-core-hint-db,deprecated] - File "./src/Ltac.v", line 31, characters 0-27: - Warning: The default value for hint locality is currently "local" in a - section and "global" otherwise, but is scheduled to change in a future - release. For the time being, adding hints outside of sections without - specifying an explicit locality attribute is therefore deprecated. It is - recommended to use "export" whenever possible. Use the attributes #[local], - #[global] and #[export] depending on your choice. For example: "#[export] - Hint Unfold foo : bar." [deprecated-hint-without-locality,deprecated] - File "./src/Ltac.v", line 37, characters 0-24: - Warning: Adding and removing hints in the core database implicitly is - deprecated. Please specify a hint database. - [implicit-core-hint-db,deprecated] - File "./src/Ltac.v", line 37, characters 0-24: - Warning: The default value for hint locality is currently "local" in a - section and "global" otherwise, but is scheduled to change in a future - release. For the time being, adding hints outside of sections without - specifying an explicit locality attribute is therefore deprecated. It is - recommended to use "export" whenever possible. Use the attributes #[local], - #[global] and #[export] depending on your choice. For example: "#[export] - Hint Unfold foo : bar." [deprecated-hint-without-locality,deprecated] - COQC src/Data/Functor.v - COQC src/Data/Tuple.v - COQC src/Data/Eq.v - File "./src/Data/Functor.v", line 29, characters 0-40: - Warning: Use of “Require” inside a module is fragile. It is not recommended - to use this functionality in finished proof scripts. - [require-in-module,fragile] - File "./src/Data/Functor.v", line 30, characters 0-37: - Warning: Use of “Require” inside a module is fragile. It is not recommended - to use this functionality in finished proof scripts. - [require-in-module,fragile] - File "./src/Data/Functor.v", line 31, characters 0-34: - Warning: Use of “Require” inside a module is fragile. It is not recommended - to use this functionality in finished proof scripts. - [require-in-module,fragile] - File "./src/Data/Tuple.v", line 108, characters 0-40: - Warning: Use of “Require” inside a module is fragile. It is not recommended - to use this functionality in finished proof scripts. - [require-in-module,fragile] - COQC src/Data/Functor/Contravariant.v - File "./src/Data/Functor/Contravariant.v", line 28, characters 0-165: - Warning: The default value for instance locality is currently "local" in a - section and "global" otherwise, but is scheduled to change in a future - release. For the time being, adding instances outside of sections without - specifying an explicit locality attribute is therefore deprecated. It is - recommended to use "export" whenever possible. Use the attributes #[local], - #[global] and #[export] depending on your choice. For example: "#[export] - Instance Foo : Bar := baz." [deprecated-instance-without-locality,deprecated] - File "./src/Data/Functor/Contravariant.v", line 37, characters 0-40: - Warning: Use of “Require” inside a module is fragile. It is not recommended - to use this functionality in finished proof scripts. - [require-in-module,fragile] - File "./src/Data/Functor/Contravariant.v", line 66, characters 0-114: - Warning: The default value for instance locality is currently "local" in a - section and "global" otherwise, but is scheduled to change in a future - release. For the time being, adding instances outside of sections without - specifying an explicit locality attribute is therefore deprecated. It is - recommended to use "export" whenever possible. Use the attributes #[local], - #[global] and #[export] depending on your choice. For example: "#[export] - Instance Foo : Bar := baz." [deprecated-instance-without-locality,deprecated] - COQC src/Data/Functor/Const.v - COQC src/Data/Functor/Kan.v - File "./src/Data/Functor/Const.v", line 11, characters 0-95: - Warning: The default value for instance locality is currently "local" in a - section and "global" otherwise, but is scheduled to change in a future - release. For the time being, adding instances outside of sections without - specifying an explicit locality attribute is therefore deprecated. It is - recommended to use "export" whenever possible. Use the attributes #[local], - #[global] and #[export] depending on your choice. For example: "#[export] - Instance Foo : Bar := baz." [deprecated-instance-without-locality,deprecated] - File "./src/Data/Functor/Const.v", line 15, characters 0-112: - Warning: The default value for instance locality is currently "local" in a - section and "global" otherwise, but is scheduled to change in a future - release. For the time being, adding instances outside of sections without - specifying an explicit locality attribute is therefore deprecated. It is - recommended to use "export" whenever possible. Use the attributes #[local], - #[global] and #[export] depending on your choice. For example: "#[export] - Instance Foo : Bar := baz." [deprecated-instance-without-locality,deprecated] - COQC src/Control/Applicative.v - File "./src/Control/Applicative.v", line 12, characters 0-193: - Warning: - A coercion will be introduced in future versions when using ':>' in 'Class' declarations. Use '#[global] Existing Instance field.' instead if you don't want the coercion. - [future-coercion-class-field,records] - File "./src/Control/Applicative.v", line 50, characters 0-40: - Warning: Use of “Require” inside a module is fragile. It is not recommended - to use this functionality in finished proof scripts. - [require-in-module,fragile] - File "./src/Control/Applicative.v", line 52, characters 0-593: - Warning: - A coercion will be introduced in future versions when using ':>' in 'Class' declarations. Use '#[global] Existing Instance field.' instead if you don't want the coercion. - [future-coercion-class-field,records] - File "./src/Control/Applicative.v", line 131, characters 0-274: - Warning: - A coercion will be introduced in future versions when using ':>' in 'Class' declarations. Use '#[global] Existing Instance field.' instead if you don't want the coercion. - [future-coercion-class-field,records] - COQC src/Control/Monad.v - File "./src/Control/Monad.v", line 8, characters 0-117: - Warning: - A coercion will be introduced in future versions when using ':>' in 'Class' declarations. Use '#[global] Existing Instance field.' instead if you don't want the coercion. - [future-coercion-class-field,records] - File "./src/Control/Monad.v", line 21, characters 0-37: - Warning: Declaring a scope implicitly is deprecated; use in advance an - explicit "Declare Scope monad_scope.". [undeclared-scope,deprecated] - File "./src/Control/Monad.v", line 106, characters 0-124: - Error: - The following term contains unresolved implicit arguments: - (fun (m : Type -> Type) (H : Applicative m) (A B : Type) - (f : A -> m (list B)) (l : list A) => fmap[ _] flatten (mapM f l)) - More precisely: - - ?Functor: Cannot infer the implicit parameter Functor of fmap whose type is - "Functor ?f" (no type class instance found) in - environment: - m : Type -> Type - H : Applicative m - A : Type - B : Type - f : A -> m (list B) - l : list A - - ?A: Cannot infer the implicit parameter A of flatten whose type is - "Set" in - environment: - m : Type -> Type - H : Applicative m - A : Type - B : Type - f : A -> m (list B) - l : list A - - ?m: Cannot infer the implicit parameter m of mapM whose type is - "Set -> Type" in - environment: - m : Type -> Type - H : Applicative m - A : Type - B : Type - f : A -> m (list B) - l : list A - - ?H: Cannot infer the implicit parameter H of mapM whose type is - "Applicative ?m" (no type class instance found) in - environment: - m : Type -> Type - H : Applicative m - A : Type - B : Type - f : A -> m (list B) - l : list A - - make[2]: *** [Makefile.coq:791: src/Control/Monad.vo] Error 1 - make[2]: Target 'real-all' not remade because of errors. - make[1]: *** [Makefile.coq:408: all] Error 2 - make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-haskell.1.0.0' - make: *** [Makefile:18: src/Haskell.vo] Error 2 [ERROR] The compilation of coq-haskell failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make". #=== ERROR while compiling coq-haskell.1.0.0 ==================================# # context 2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///home/bench/run/opam-coq-archive/released # path ~/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-haskell.1.0.0 # command ~/.opam/opam-init/hooks/sandbox.sh build make # exit-code 2 # env-file ~/.opam/log/coq-haskell-3359-335865.env # output-file ~/.opam/log/coq-haskell-3359-335865.out ### output ### # - ?H: Cannot infer the implicit parameter H of mapM whose type is # [...] # H : Applicative m # A : Type # B : Type # f : A -> m (list B) # l : list A # # make[2]: *** [Makefile.coq:791: src/Control/Monad.vo] Error 1 # make[2]: Target 'real-all' not remade because of errors. # make[1]: *** [Makefile.coq:408: all] Error 2 # make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-haskell.1.0.0' # make: *** [Makefile:18: src/Haskell.vo] Error 2 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build coq-haskell 1.0.0 +- - No changes have been performed # Run eval $(opam env) to update the current shell environment 'opam install -y -v coq-haskell.1.0.0 coq.dev' failed.
No files were installed.
true