« Up

tactician dev Error

(2021-10-27 02:59:51 UTC)

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              3           Virtual package relying on a GMP lib system installation
coq                   dev         Formal proof management system
dune                  2.9.1       Fast, portable, and opinionated build system
ocaml                 4.12.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.0      Official release 4.12.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.1       A library manager for OCaml
zarith                1.12        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
name: "coq-tactician"
synopsis: "Tactician: A Seamless, Interactive Tactic Learner and Prover for Coq"
description: """
  Tactician is a tactic learner and prover for the Coq Proof Assistant.
  The system will help users make tactical proof decisions while they retain
  control over the general proof strategy. To this end, Tactician will learn
  from previously written tactic scripts, and either gives the user suggestions
  about the next tactic to be executed or altogether takes over the burden of
  proof synthesis. Tactician's goal is to provide the user with a seamless,
  interactive, and intuitive experience together with strong, adaptive proof
  automation.
"""
homepage: "https://coq-tactician.github.io"
dev-repo: "git+https://github.com/coq-tactician/coq-tactician"
bug-reports: "https://github.com/coq-tactician/coq-tactician/issues"
maintainer: "Lasse Blaauwbroek <lasse@blaauwbroek.eu>"
authors: "Lasse Blaauwbroek <lasse@blaauwbroek.eu"
depends: [
  "ocaml" {>= "4.08"}
  "dune" {>= "2.5"}
  "opam-client" {>= "2.1.0~beta2"}
  "cmdliner"
  "coq" {= "dev"}
  "coq-tactician-dummy"
]
depexts: ["git"]
build: [
  ["dune" "build" "--release" "-j" jobs]
]
post-messages: ["
--- Tactician was successfully installed ---
In order to enable Tactician, you should run
tactician enable
" {success}]
url {
  src: "git+https://github.com/coq-tactician/coq-tactician.git#coqdev"
}
tags: [
  "keyword:tactic-learning"
  "keyword:machine-learning"
  "keyword:automation"
  "keyword:proof-synthesis"
  "category:Miscellaneous/Coq Extensions"
  "logpath:Tactician"
]

Lint

Command
true
Return code
0

Dry install

Dry install with the current Coq version:

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

Install

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y coq-tactician.dev coq.dev
Return code
7936
Duration
21 s
Output
# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-bytes            base        Bytes library distributed with the OCaml compiler
base-threads          base
base-unix             base
cmdliner              1.0.4       Declarative definition of command line interfaces for OCaml
conf-findutils        1           Virtual package relying on findutils
conf-g++              1.0         Virtual package relying on the g++ compiler (for C++)
conf-gmp              3           Virtual package relying on a GMP lib system installation
coq                   dev         Formal proof management system
coq-tactician-dummy   dev         A dummy implementation of Tactician
cppo                  1.6.8       Code preprocessor like cpp for OCaml
cudf                  0.9-1       CUDF library (part of the Mancoosi tools)
dose3                 5.0.1-1     Dose library (part of Mancoosi tools)
dune                  2.9.1       Fast, portable, and opinionated build system
extlib                1.7.7-1     A complete yet small extension for OCaml standard library (reduced, recommended)
mccs                  1.1+13      MCCS (which stands for Multi Criteria CUDF Solver) is a CUDF problem solver developed at UNS during the European MANCOOSI project
ocaml                 4.12.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.0      Official release 4.12.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlbuild            0.14.0      OCamlbuild is a build system with builtin rules to easily build most OCaml projects.
ocamlfind             1.9.1       A library manager for OCaml
ocamlgraph            2.0.0       A generic graph library for OCaml
opam-client           2.1.0       Client library for opam 2.1
opam-core             2.1.0       Core library for opam 2.1
opam-file-format      2.1.3       Parser and printer for the opam file syntax
opam-format           2.1.0       Format library for opam 2.1
opam-repository       2.1.0       Repository library for opam 2.1
opam-solver           2.1.0       Solver library for opam 2.1
opam-state            2.1.0       State library for opam 2.1
re                    1.10.3      RE is a regular expression library for OCaml
seq                   base        Compatibility package for OCaml's standard iterator type starting from 4.07.
stdlib-shims          0.3.0       Backport some of the new stdlib features to older compiler
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-tactician dev
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-tactician.dev] synchronised from git+https://github.com/coq-tactician/coq-tactician.git#coqdev
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of coq-tactician failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build dune build --release -j 4".
#=== ERROR while compiling coq-tactician.dev ==================================#
# context              2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.0 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-tactician.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build --release -j 4
# exit-code            1
# env-file             ~/.opam/log/coq-tactician-13992-e4db2f.env
# output-file          ~/.opam/log/coq-tactician-13992-e4db2f.out
### output ###
# 47 |     let t = TacAtom (CAst.make ?loc:loc atom) in
# [...]
# Error: This expression has type 'a CAst.t
#        but an expression was expected of type
#          < constant : 'b; dterm : 'c; level : 'd; name : 'e; pattern : 'f;
#            reference : 'g; tacexpr : 'h; term : 'i >
#          Ltac_plugin.Tacexpr.gen_atomic_tactic_expr
#     ocamlopt src/.tactician_ltac1_record_plugin.objs/native/tactician_ltac1_record_plugin__Map_all_the_things.{cmx,o} (exit 2)
# (cd _build/default && /home/bench/.opam/ocaml-base-compiler.4.12.0/bin/ocamlopt.opt -w -40 -rectypes -w -27 -warn-error -A -g -I src/.tactician_ltac1_record_plugin.objs/byte -I src/.tactician_ltac1_record_plugin.objs/native -I /home/bench/.opam/ocaml-base-compiler.4.12.0/lib/coq-core/boot -I /home/bench/.opam/ocaml-base-compiler.4.12.0/lib/coq-core/clib -I /home/bench/.opam/ocaml-base-compile[...]
# File "src/map_all_the_things.ml", line 308, characters 6-14:
# 308 |     | CastConv x ->
#             ^^^^^^^^
# Error: Unbound constructor CastConv
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-tactician dev
+- 
- No changes have been performed
The packages you requested declare the following system dependencies. Please make sure they are installed before retrying:
    git
# Run eval $(opam env) to update the current shell environment

Installation size

No files were installed.

Uninstall

Command
true
Return code
0
Missing removes
none
Wrong removes
none