ยซ Up

iris 3.4.0 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                 dev         Formal proof management system
dune                3.0.3       Fast, portable, and opinionated build system
ocaml               4.11.2      The OCaml compiler (virtual package)
ocaml-base-compiler 4.11.2      Official release 4.11.2
ocaml-config        1           OCaml Switch Configuration
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: "Ralf Jung <jung@mpi-sws.org>"
authors: "The Iris Team"
license: "BSD-3-Clause"
homepage: "https://iris-project.org/"
bug-reports: "https://gitlab.mpi-sws.org/iris/iris/issues"
dev-repo: "git+https://gitlab.mpi-sws.org/iris/iris.git"
synopsis: "Iris is a Higher-Order Concurrent Separation Logic Framework with support for interactive proofs"
description: """
This package provides the following Coq modules:
iris.prelude, iris.algebra, iris.si_logic, iris.bi, iris.proofmode, iris.base_logic, iris.program_logic.
"""
tags: [
  "date:2021-02-16"
]
depends: [
  "coq" { (>= "8.11" & < "8.14~") | (= "dev") }
  "coq-stdpp" { (= "1.5.0") | (= "dev") }
]
build: ["./make-package" "iris" "-j%{jobs}%"]
install: ["./make-package" "iris" "install"]
url {
  src:
    "https://gitlab.mpi-sws.org/iris/iris/-/archive/iris-3.4.0.tar.gz"
  checksum:
    "sha512=f227cf2535e76315605c0dce8adeb9c0ef157a6f97e99624915331061d88ab1892dc0342fe5de1591b234fcd767496572d3bfc70bdb11ac49909bd7d403d2af9"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-iris.3.4.0 coq.dev
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-iris.3.4.0 coq.dev
Return code
0
Duration
4 m 0 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 8h opam install -y -v coq-iris.3.4.0 coq.dev
Return code
7936
Duration
2 m 0 s
Output
# 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
coq-stdpp           dev         An extended "Standard Library" for Coq
dune                3.0.3       Fast, portable, and opinionated build system
ocaml               4.11.2      The OCaml compiler (virtual package)
ocaml-base-compiler 4.11.2      Official release 4.11.2
ocaml-config        1           OCaml Switch Configuration
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-iris 3.4.0
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-iris.3.4.0: http]
[coq-iris.3.4.0] downloaded from https://gitlab.mpi-sws.org/iris/iris/-/archive/iris-3.4.0.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-iris: ./make-package iris]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "./make-package" "iris" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.11.2/.opam-switch/build/coq-iris.3.4.0)
- COQDEP VFILES
- COQC iris/prelude/options.v
- COQC iris/prelude/prelude.v
- COQC iris/bi/notation.v
- COQC iris/proofmode/ident_name.v
- COQC iris/algebra/ofe.v
- COQC iris/proofmode/base.v
- COQC iris/proofmode/tokens.v
- File "./iris/algebra/ofe.v", line 534, characters 0-29:
- 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 iris/proofmode/sel_patterns.v
- COQC iris/proofmode/spec_patterns.v
- File "./iris/algebra/ofe.v", line 684, characters 0-29:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency 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] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./iris/algebra/ofe.v", line 709, characters 0-34:
- 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 iris/proofmode/intro_patterns.v
- File "./iris/algebra/ofe.v", line 876, characters 0-28:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency 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] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./iris/algebra/ofe.v", line 1037, characters 0-31:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency 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] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- COQC iris/algebra/monoid.v
- COQC iris/algebra/cofe_solver.v
- COQC iris/si_logic/siprop.v
- COQC iris/bi/interface.v
- File "./iris/algebra/cofe_solver.v", line 9, characters 0-32:
- 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 iris/program_logic/language.v
- File "./iris/bi/interface.v", line 262, characters 0-32:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency 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] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- COQC iris/algebra/cmra.v
- COQC iris/algebra/big_op.v
- File "./iris/program_logic/language.v", line 201, characters 27-47:
- Error: Unable to apply lemma of type
-  "โˆ€ (A : Type) (l l' : list A) (a : A), a :: l โ‰กโ‚š a :: l' โ†’ l โ‰กโ‚š l'"
- on hypothesis of type "t1' โ‰กโ‚š e1 :: tl ++ tr".
- 
- make[1]: *** [Makefile.package.iris:790: iris/program_logic/language.vo] Error 1
- make[1]: *** Waiting for unfinished jobs....
- File "./iris/algebra/big_op.v", line 30, characters 0-27:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency 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] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./iris/algebra/big_op.v", line 39, characters 47-48:
- Error:
- In environment
- M : ofe
- o : M โ†’ M โ†’ M
- H : Monoid o
- K : Type
- EqDecision0 : EqDecision K
- H0 : Countable K
- A : Type
- f : K โ†’ A โ†’ M
- m : gmap K A
- n : nat
- The term "f" has type "K โ†’ A โ†’ M" while it is expected to have type
-  "?A0 * ?B โ†’ ?C".
- 
- make[1]: *** [Makefile.package.iris:790: iris/algebra/big_op.vo] Error 1
- File "./iris/algebra/cmra.v", line 340, characters 25-42:
- Error: The reference equiv_Some_inv_r' was not found in the current
- environment.
- 
- make[1]: *** [Makefile.package.iris:790: iris/algebra/cmra.vo] Error 1
- make: *** [Makefile.package.iris:408: all] Error 2
[ERROR] The compilation of coq-iris failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build ./make-package iris -j4".
#=== ERROR while compiling coq-iris.3.4.0 =====================================#
# context              2.0.7 | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.11.2/.opam-switch/build/coq-iris.3.4.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./make-package iris -j4
# exit-code            2
# env-file             ~/.opam/log/coq-iris-23377-335865.env
# output-file          ~/.opam/log/coq-iris-23377-335865.out
### output ###
# [...]
# m : gmap K A
# n : nat
# The term "f" has type "K โ†’ A โ†’ M" while it is expected to have type
#  "?A0 * ?B โ†’ ?C".
# 
# make[1]: *** [Makefile.package.iris:790: iris/algebra/big_op.vo] Error 1
# File "./iris/algebra/cmra.v", line 340, characters 25-42:
# Error: The reference equiv_Some_inv_r' was not found in the current
# environment.
# 
# make[1]: *** [Makefile.package.iris:790: iris/algebra/cmra.vo] Error 1
# make: *** [Makefile.package.iris:408: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-iris 3.4.0
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-iris.3.4.0 coq.dev' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none