ยซ Up

type-infer 0.1.0 Error ๐Ÿ”ฅ

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-domains          base
base-nnp              base        Naked pointers prohibited in the OCaml heap
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   8.17.0      The Coq Proof Assistant
coq-core              8.17.0      The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            8.17.0      The Coq Proof Assistant -- Standard Library
coqide-server         8.17.0      The Coq Proof Assistant, XML protocol server
dune                  3.12.2      Fast, portable, and opinionated build system
ocaml                 5.1.1       The OCaml compiler (virtual package)
ocaml-base-compiler   5.1.1       Official release 5.1.1
ocaml-config          3           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:
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "A formal verification of algorithm W"
maintainer: ["Masayuki Mizuno <mizuno@wantedly.com>"]
authors: ["Masayuki Mizuno <mizuno@wantedly.com>"]
license: "MIT"
homepage: "https://github.com/fetburner/type-infer"
bug-reports: "https://github.com/fetburner/type-infer/issues"
depends: [
  "dune" {>= "2.5"}
  "coq" {>= "8.8"}
  "coq-mathcomp-ssreflect" {>= "1.11"}
]
build: [
  ["dune" "subst"] {pinned}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "@install"
    "@runtest" {with-test}
    "@doc" {with-doc}
  ]
]
dev-repo: "git+https://github.com/fetburner/type-infer.git"
url {
  src: "https://github.com/fetburner/type-infer/archive/0.1.0.tar.gz"
  checksum: "md5=c4d970724196eb181cc51ee7718de3c6"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-type-infer.0.1.0 coq.8.17.0
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; timeout 4h opam install -y --deps-only coq-type-infer.0.1.0 coq.8.17.0
Return code
0
Duration
2 m 0 s

Install ๐Ÿš€

Command
opam list; echo; timeout 4h opam install -y -v coq-type-infer.0.1.0 coq.8.17.0
Return code
7936
Duration
1 m 0 s
Output
# Packages matching: installed
# Name                 # Installed # Synopsis
base-bigarray          base
base-domains           base
base-nnp               base        Naked pointers prohibited in the OCaml heap
base-threads           base
base-unix              base
conf-gmp               4           Virtual package relying on a GMP lib system installation
coq                    8.17.0      The Coq Proof Assistant
coq-core               8.17.0      The Coq Proof Assistant -- Core Binaries and Tools
coq-mathcomp-ssreflect 1.18.0      Small Scale Reflection
coq-stdlib             8.17.0      The Coq Proof Assistant -- Standard Library
coqide-server          8.17.0      The Coq Proof Assistant, XML protocol server
dune                   3.12.2      Fast, portable, and opinionated build system
ocaml                  5.1.1       The OCaml compiler (virtual package)
ocaml-base-compiler    5.1.1       Official release 5.1.1
ocaml-config           3           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
[NOTE] Package coq is already installed (current version is 8.17.0).
The following actions will be performed:
  - install coq-type-infer 0.1.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [coq-type-infer.0.1.0: http]
Processing  1/3:
-> retrieved coq-type-infer.0.1.0  (https://github.com/fetburner/type-infer/archive/0.1.0.tar.gz)
Processing  2/3: [coq-type-infer: dune build]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "coq-type-infer" "-j" "4" "@install" (CWD=/home/bench/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-type-infer.0.1.0)
- Warning: Coq Language Versions lower than 0.8 have been deprecated in Dune
- 3.8 and will be removed in an upcoming Dune version.
- (cd _build/default && /home/bench/.opam/ocaml-base-compiler.5.1.1/bin/coqc -q -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/btauto -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/cc -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/derive -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/extraction -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/firstorder -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/funind -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ltac -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ltac2 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/micromega -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/nsatz -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/number_string_notation -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ring -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/rtauto -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ssreflect -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ssrmatching -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tauto -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tutorial/p0 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tutorial/p1 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tutorial/p2 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tutorial/p3 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/zify -R /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/theories Coq -R theories TypeInfer theories/Util.v)
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "[ predI _ & _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "[ predU _ & _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "[ predD _ & _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "[ predC _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "[ preim _ of _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "_ + _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "_ - _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "_ <= _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "_ < _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "_ >= _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "_ > _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "_ <= _ <= _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "_ < _ <= _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "_ <= _ < _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "_ < _ < _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Util.v", line 1, characters 0-43:
- Warning: Notation "_ * _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- (cd _build/default && /home/bench/.opam/ocaml-base-compiler.5.1.1/bin/coqc -q -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/btauto -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/cc -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/derive -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/extraction -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/firstorder -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/funind -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ltac -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ltac2 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/micromega -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/nsatz -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/number_string_notation -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ring -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/rtauto -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ssreflect -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ssrmatching -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tauto -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tutorial/p0 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tutorial/p1 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tutorial/p2 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tutorial/p3 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/zify -R /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/theories Coq -R theories TypeInfer theories/Term.v)
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "[ predI _ & _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "[ predU _ & _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "[ predD _ & _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "[ predC _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "[ preim _ of _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "_ + _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "_ - _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "_ <= _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "_ < _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "_ >= _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "_ > _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "_ <= _ <= _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "_ < _ <= _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "_ <= _ < _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "_ < _ < _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 1, characters 0-43:
- Warning: Notation "_ * _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Term.v", line 29, characters 0-86:
- Error: 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]
- 
- (cd _build/default && /home/bench/.opam/ocaml-base-compiler.5.1.1/bin/coqc -q -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/btauto -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/cc -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/derive -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/extraction -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/firstorder -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/funind -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ltac -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ltac2 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/micromega -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/nsatz -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/number_string_notation -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ring -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/rtauto -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ssreflect -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/ssrmatching -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tauto -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tutorial/p0 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tutorial/p1 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tutorial/p2 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/tutorial/p3 -I /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/../coq-core/plugins/zify -R /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/theories Coq -R theories TypeInfer theories/Types.v)
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "[ predI _ & _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "[ predU _ & _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "[ predD _ & _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "[ predC _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "[ preim _ of _ ]" was already used in scope fun_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "_ + _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "_ - _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "_ <= _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "_ < _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "_ >= _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "_ > _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "_ <= _ <= _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "_ < _ <= _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "_ <= _ < _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "_ < _ < _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 1, characters 0-43:
- Warning: Notation "_ * _" was already used in scope nat_scope.
- [notation-overridden,parsing]
- File "./theories/Types.v", line 416, characters 6-61:
- Warning:
- SSReflect: cannot obtain new equations out of
-   (l = s ++ _x_)
- Did you write an extra [] in the intro pattern? [spurious-ssr-injection,ssr]
- File "./theories/Types.v", line 448, characters 6-80:
- Warning:
- SSReflect: cannot obtain new equations out of
-   (_s'_ = l ++ _x_)
- Did you write an extra [] in the intro pattern? [spurious-ssr-injection,ssr]
- File "./theories/Types.v", line 450, characters 6-57:
- Warning:
- SSReflect: cannot obtain new equations out of
-   (l = s ++ _x1_)
- Did you write an extra [] in the intro pattern? [spurious-ssr-injection,ssr]
- File "./theories/Types.v", line 749, characters 2-68:
- Warning:
- SSReflect: cannot obtain new equations out of
-   (l = _x_)
- Did you write an extra [] in the intro pattern? [spurious-ssr-injection,ssr]
[ERROR] The compilation of coq-type-infer.0.1.0 failed at "dune build -p coq-type-infer -j 4 @install".
#=== ERROR while compiling coq-type-infer.0.1.0 ===============================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-type-infer.0.1.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p coq-type-infer -j 4 @install
# exit-code            1
# env-file             ~/.opam/log/coq-type-infer-28999-a8c321.env
# output-file          ~/.opam/log/coq-type-infer-28999-a8c321.out
### output ###
# SSReflect: cannot obtain new equations out of
# [...]
# Did you write an extra [] in the intro pattern? [spurious-ssr-injection,ssr]
# File "./theories/Types.v", line 450, characters 6-57:
# Warning:
# SSReflect: cannot obtain new equations out of
#   (l = s ++ _x1_)
# Did you write an extra [] in the intro pattern? [spurious-ssr-injection,ssr]
# File "./theories/Types.v", line 749, characters 2-68:
# Warning:
# SSReflect: cannot obtain new equations out of
#   (l = _x_)
# Did you write an extra [] in the intro pattern? [spurious-ssr-injection,ssr]
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-type-infer 0.1.0
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-type-infer.0.1.0 coq.8.17.0' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none