« Up

monae 0.4.5 Error 🔥

Context

# 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                   8.16.1      Formal proof management system
dune                  3.12.1      Fast, portable, and opinionated build system
ocaml                 4.13.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.13.1      Official release 4.13.1
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.6       A library manager for OCaml
zarith                1.13        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "Reynald Affeldt <reynald.affeldt@aist.go.jp>"
homepage: "https://github.com/affeldt-aist/monae"
dev-repo: "git+https://github.com/affeldt-aist/monae.git"
bug-reports: "https://github.com/affeldt-aist/monae/issues"
license: "LGPL-2.1-or-later"
synopsis: "Monads and equational reasoning in Coq"
description: """
This Coq library contains a hierarchy of monads with their laws used
in several examples of monadic equational reasoning."""
build: [make "-j%{jobs}%" ]
install: [make "install_full"]
depends: [
  "coq" { (>= "8.15" & < "8.18~") | (= "dev") }
  "coq-mathcomp-ssreflect" { (>= "1.14.0" & < "1.18~") | (= "dev")  }
  "coq-mathcomp-fingroup"
  "coq-mathcomp-algebra"
  "coq-mathcomp-solvable"
  "coq-mathcomp-field"
  "coq-mathcomp-analysis" { (>= "0.5.4") }
  "coq-infotheo" { >= "0.5.0" & < "0.6~"}
  "coq-paramcoq" { >= "1.1.3" & < "1.2~" }
  "coq-hierarchy-builder" { >= "1.3.0" }
  "coq-equations" { >= "1.3" & < "1.4~" }
]
tags: [
  "keyword:monae"
  "keyword:effects"
  "keyword:probability"
  "keyword:nondeterminism"
  "logpath:monae"
  "date:2023-02-26"
]
authors: [
  "Reynald Affeldt"
  "David Nowak"
  "Takafumi Saikawa"
  "Jacques Garrigue"
  "Ayumu Saito"
  "Celestine Sauvage"
  "Kazunari Tanaka"
]
url {
  src: "https://github.com/affeldt-aist/monae/archive/0.4.5.tar.gz"
  checksum: "sha512=0752ba8a91aff1c756fbb3c4995a35de564c52d61bf317ad0bf04fc25340a03b770baa0c21b9f14834711fed2cc3a92252a9b56c943b98727d7c24971dea58db"
}

Lint

Command
true
Return code
0

Dry install 🏜️

Dry install with the current Coq version:

Command
opam install -y --show-action coq-monae.0.4.5 coq.8.16.1
Return code
0

Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:

Command
true
Return code
0

Install dependencies

Command
opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-monae.0.4.5 coq.8.16.1
Return code
0
Duration
24 m 0 s

Install 🚀

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-monae.0.4.5 coq.8.16.1
Return code
7936
Duration
2 m 0 s
Output
# Packages matching: installed
# Name                 # Installed   # Synopsis
atd                    2.15.0        Parser for the ATD data format description language
atdgen                 2.15.0        Generates efficient JSON serializers, deserializers and validators
atdgen-runtime         2.15.0        Runtime library for code generated by atdgen
atdts                  2.15.0        TypeScript code generation for ATD APIs
base-bigarray          base
base-threads           base
base-unix              base
biniou                 1.2.2         Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve
camlp-streams          5.0.1         The Stream and Genlex libraries for use with Camlp4 and Camlp5
cmdliner               1.2.0         Declarative definition of command line interfaces for OCaml
conf-findutils         1             Virtual package relying on findutils
conf-gmp               4             Virtual package relying on a GMP lib system installation
coq                    8.16.1        Formal proof management system
coq-elpi               1.16.0        Elpi extension language for Coq
coq-equations          1.3+8.16      A function definition package for Coq
coq-hierarchy-builder  1.6.0         High level commands to declare and evolve a hierarchy based on packed classes
coq-infotheo           0.5.1         Discrete probabilities and information theory for Coq
coq-mathcomp-algebra   1.17.0        Mathematical Components Library on Algebra
coq-mathcomp-analysis  0.6.6         An analysis library for mathematical components
coq-mathcomp-bigenough 1.0.1         A small library to do epsilon - N reasoning
coq-mathcomp-classical 0.6.6         A library for classical logic for mathematical components
coq-mathcomp-field     1.17.0        Mathematical Components Library on Fields
coq-mathcomp-fingroup  1.17.0        Mathematical Components Library on finite groups
coq-mathcomp-finmap    1.5.2         Finite sets, finite maps, finitely supported functions
coq-mathcomp-solvable  1.17.0        Mathematical Components Library on finite groups (II)
coq-mathcomp-ssreflect 1.17.0        Small Scale Reflection
coq-paramcoq           1.1.3+coq8.16 Plugin for generating parametricity statements to perform refinement proofs
cppo                   1.6.9         Code preprocessor like cpp for OCaml
dune                   3.12.1        Fast, portable, and opinionated build system
easy-format            1.3.4         High-level and functional interface to the Format module of the OCaml standard library
elpi                   1.16.10       ELPI - Embeddable λProlog Interpreter
menhir                 20230608      An LR(1) parser generator
menhirLib              20230608      Runtime support library for parsers generated by Menhir
menhirSdk              20230608      Compile-time library for auxiliary tools related to Menhir
ocaml                  4.13.1        The OCaml compiler (virtual package)
ocaml-base-compiler    4.13.1        Official release 4.13.1
ocaml-compiler-libs    v0.12.4       OCaml compiler libraries repackaged
ocaml-config           2             OCaml Switch Configuration
ocaml-options-vanilla  1             Ensure that OCaml is compiled with no special options enabled
ocamlfind              1.9.6         A library manager for OCaml
ppx_derivers           1.2.1         Shared [@@deriving] plugin registry
ppx_deriving           5.2.1         Type-driven code generation for OCaml
ppxlib                 0.31.0        Standard infrastructure for ppx rewriters
re                     1.11.0        RE is a regular expression library for OCaml
result                 1.5           Compatibility Result module
seq                    base          Compatibility package for OCaml's standard iterator type starting from 4.07.
sexplib0               v0.16.0       Library containing the definition of S-expressions and some base converters
stdlib-shims           0.3.0         Backport some of the new stdlib features to older compiler
yojson                 2.1.2         Yojson is an optimized parsing and printing library for the JSON format
zarith                 1.13          Implements arithmetic and logical operations over arbitrary-precision integers
[NOTE] Package coq is already installed (current version is 8.16.1).
The following actions will be performed:
  - install coq-monae 0.4.5
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-monae.0.4.5: http]
[coq-monae.0.4.5] downloaded from https://github.com/affeldt-aist/monae/archive/0.4.5.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-monae: make]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.13.1/.opam-switch/build/coq-monae.0.4.5)
- coq_makefile -f _CoqProject -o Makefile.coq
- make -f Makefile.coq all
- make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.13.1/.opam-switch/build/coq-monae.0.4.5'
- COQDEP VFILES
- COQC monae_lib.v
- COQC hierarchy.v
- COQC monad_lib.v
- COQC category.v
- File "./category.v", line 159, characters 0-17:
- Warning:
- Command Undo. is not recommended in batch mode. In particular, going back in the document is not efficient in batch mode due to Coq not caching previous states for memory optimization reasons. If your use is intentional, you may want to disable this warning and pass the "-async-proofs-cache force" option to Coq.
- [undo-batch-mode,non-interactive]
- COQC fail_lib.v
- COQC trace_lib.v
- COQC monad_composition.v
- File "./category.v", line 912, characters 0-76:
- Warning:
- non forgetful inheritance detected.
-  You have two solutions: 
- 1. (Best practice) Reorganize your hierarchy to make category_isMonad 
- depend on category_Functor. See the paper "Competing inheritance paths in 
- dependent type theory" (https://hal.inria.fr/hal-02463336) for more 
- explanations 
- 2. Use the attribute #[non_forgetful_inheritance] to disable this check. 
- We strongly advise you encapsulate this instance inside a module, 
- in order to isolate it from the rest of the code, and to be able 
- to import it on demand. See the above paper and the file 
- https://github.com/math-comp/hierarchy-builder/blob/master/tests/non_forgetful_inheritance.v 
- to witness devastating effects.
- [HB.non-forgetful-inheritance,HB]
- File "./category.v", line 965, characters 0-125:
- Warning:
- non forgetful inheritance detected.
-  You have two solutions: 
- 1. (Best practice) Reorganize your hierarchy to make category_isMonad 
- depend on category_Functor. See the paper "Competing inheritance paths in 
- dependent type theory" (https://hal.inria.fr/hal-02463336) for more 
- explanations 
- 2. Use the attribute #[non_forgetful_inheritance] to disable this check. 
- We strongly advise you encapsulate this instance inside a module, 
- in order to isolate it from the rest of the code, and to be able 
- to import it on demand. See the above paper and the file 
- https://github.com/math-comp/hierarchy-builder/blob/master/tests/non_forgetful_inheritance.v 
- to witness devastating effects.
- [HB.non-forgetful-inheritance,HB]
- File "./fail_lib.v", line 1023, characters 0-8:
- Error: Missing universe constraint declared for inductive type:
- Type <= Type
- Type <= Type
- 
- make[2]: *** [Makefile.coq:792: fail_lib.vo] Error 1
- make[2]: *** Waiting for unfinished jobs....
- make[1]: *** [Makefile.coq:409: all] Error 2
- make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.13.1/.opam-switch/build/coq-monae.0.4.5'
- make: *** [Makefile:4: all] Error 2
[ERROR] The compilation of coq-monae failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-monae.0.4.5 ====================================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.4.13.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.13.1/.opam-switch/build/coq-monae.0.4.5
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-monae-21969-335865.env
# output-file          ~/.opam/log/coq-monae-21969-335865.out
### output ###
# [...]
# to witness devastating effects.
# [HB.non-forgetful-inheritance,HB]
# File "./fail_lib.v", line 1023, characters 0-8:
# Error: Missing universe constraint declared for inductive type:
# Type <= Type
# Type <= Type
# 
# make[2]: *** [Makefile.coq:792: fail_lib.vo] Error 1
# make[2]: *** Waiting for unfinished jobs....
# make[1]: *** [Makefile.coq:409: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.13.1/.opam-switch/build/coq-monae.0.4.5'
# make: *** [Makefile:4: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-monae 0.4.5
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-monae.0.4.5 coq.8.16.1' failed.

Installation size

No files were installed.

Uninstall 🧹

Command
true
Return code
0
Missing removes
none
Wrong removes
none