ยซ Up

simple-io 1.0.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.13.0      Fast, portable, and opinionated build system
ocaml                 5.0.0       The OCaml compiler (virtual package)
ocaml-base-compiler   5.0.0       Official release 5.0.0
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:
opam-version: "2.0"
maintainer: "Li-yao Xia <lysxia@gmail.com>"
authors: "Li-yao Xia"
homepage: "https://github.com/Lysxia/coq-simple-io"
bug-reports: "https://github.com/Lysxia/coq-simple-io/issues"
license: "MIT"
dev-repo: "git+https://github.com/Lysxia/coq-simple-io.git"
build: [
  [make "build"]
  [make "test"] {with-test}
]
install: [make "install"]
remove: [make "uninstall"]
depends: [
  "ocaml"
  "coq"
  "coq-ext-lib" {>= "0.10.0"}
  "ocamlbuild" {with-test & >= "0.9.0"}
]
tags: [
  "date:2019-02-02"
  "logpath:SimpleIO"
  "keyword:extraction"
  "keyword:effects"
]
synopsis: "IO monad for Coq"
description: """
This library provides tools to implement IO programs directly in Coq, in a
similar style to Haskell. Facilities for formal verification are not included.
IO is defined as a parameter with a purely functional interface in Coq,
to be extracted to OCaml. Some wrappers for the basic types and functions in
the OCaml Pervasives module are provided. Users are free to define their own
APIs on top of this IO type."""
url {
  src: "https://github.com/Lysxia/coq-simple-io/archive/1.0.0.tar.gz"
  checksum:
    "sha256=a15bf89a0282cdccd909219e328bf278f704627cb9c93d3bd8fe22197319091b"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-simple-io.1.0.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-simple-io.1.0.0 coq.8.17.0
Return code
0
Duration
1 m 0 s

Install ๐Ÿš€

Command
opam list; echo; timeout 4h opam install -y -v coq-simple-io.1.0.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-ext-lib           0.12.0      A library of Coq definitions, theorems, and tactics
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.13.0      Fast, portable, and opinionated build system
ocaml                 5.0.0       The OCaml compiler (virtual package)
ocaml-base-compiler   5.0.0       Official release 5.0.0
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-simple-io 1.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [coq-simple-io.1.0.0: http]
Processing  1/3:
-> retrieved coq-simple-io.1.0.0  (https://github.com/Lysxia/coq-simple-io/archive/1.0.0.tar.gz)
Processing  2/3: [coq-simple-io: make build]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "build" (CWD=/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-simple-io.1.0.0)
- coq_makefile -f _CoqProject -o Makefile.coq
- make -f Makefile.coq
- make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-simple-io.1.0.0'
- COQDEP VFILES
- COQC src/IO_Monad.v
- File "./src/IO_Monad.v", line 74, characters 0-31:
- Warning: Declaring a scope implicitly is deprecated; use in advance an
- explicit "Declare Scope io_scope.". [undeclared-scope,deprecated]
- File "./src/IO_Monad.v", line 144, characters 0-62:
- 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]
- 
- make[2]: *** [Makefile.coq:830: src/IO_Monad.vo] Error 1
- make[2]: *** [src/IO_Monad.vo] Deleting file 'src/IO_Monad.glob'
- make[1]: *** [Makefile.coq:409: all] Error 2
- make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-simple-io.1.0.0'
- make: *** [Makefile:10: build] Error 2
[ERROR] The compilation of coq-simple-io.1.0.0 failed at "make build".
#=== ERROR while compiling coq-simple-io.1.0.0 ================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-simple-io.1.0.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make build
# exit-code            2
# env-file             ~/.opam/log/coq-simple-io-31570-e9e34b.env
# output-file          ~/.opam/log/coq-simple-io-31570-e9e34b.out
### output ###
# [...]
# 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]
# 
# make[2]: *** [Makefile.coq:830: src/IO_Monad.vo] Error 1
# make[2]: *** [src/IO_Monad.vo] Deleting file 'src/IO_Monad.glob'
# make[1]: *** [Makefile.coq:409: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-simple-io.1.0.0'
# make: *** [Makefile:10: build] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-simple-io 1.0.0
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-simple-io.1.0.0 coq.8.17.0' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none