errpy
  1. Overview
  2. Docs
On This Page
  1. Error log

errpy 0.0.7

Error log

The package failed to build. The error log from opam follows.

You are using opam 2.1+, where external dependency handling has been integrated: consider calling opam directly, the 'depext' plugin interface is provided for backwards compatibility only
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
cargo
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
[NOTE] Package dune is already installed (current version is 3.7.0).
The following actions will be performed:
  - install conf-rust-2021      1
  - install cppo                1.6.9
  - install ppx_derivers        1.2.1
  - install result              1.5
  - install sexplib0            v0.15.1
  - install ocaml-compiler-libs v0.12.4
  - install stdlib-shims        0.3.0
  - install ppxlib              0.29.1
  - install ppx_deriving        5.2.1
  - install errpy               0.0.7
===== 10 to install =====

The following system packages will first need to be installed:
    cargo

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "cargo"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package media-types.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18333 files and directories currently installed.)
- Preparing to unpack .../00-media-types_4.0.0_all.deb ...
- Unpacking media-types (4.0.0) ...
- Selecting previously unselected package libhttp-parser2.9:amd64.
- Preparing to unpack .../01-libhttp-parser2.9_2.9.4-4+deb11u1_amd64.deb ...
- Unpacking libhttp-parser2.9:amd64 (2.9.4-4+deb11u1) ...
- Selecting previously unselected package libmbedcrypto3:amd64.
- Preparing to unpack .../02-libmbedcrypto3_2.16.9-0.1_amd64.deb ...
- Unpacking libmbedcrypto3:amd64 (2.16.9-0.1) ...
- Selecting previously unselected package libmbedx509-0:amd64.
- Preparing to unpack .../03-libmbedx509-0_2.16.9-0.1_amd64.deb ...
- Unpacking libmbedx509-0:amd64 (2.16.9-0.1) ...
- Selecting previously unselected package libmbedtls12:amd64.
- Preparing to unpack .../04-libmbedtls12_2.16.9-0.1_amd64.deb ...
- Unpacking libmbedtls12:amd64 (2.16.9-0.1) ...
- Selecting previously unselected package libgit2-1.1:amd64.
- Preparing to unpack .../05-libgit2-1.1_1.1.0+dfsg.1-4_amd64.deb ...
- Unpacking libgit2-1.1:amd64 (1.1.0+dfsg.1-4) ...
- Selecting previously unselected package libz3-4:amd64.
- Preparing to unpack .../06-libz3-4_4.8.10-1_amd64.deb ...
- Unpacking libz3-4:amd64 (4.8.10-1) ...
- Selecting previously unselected package libllvm11:amd64.
- Preparing to unpack .../07-libllvm11_1%3a11.0.1-2_amd64.deb ...
- Unpacking libllvm11:amd64 (1:11.0.1-2) ...
- Selecting previously unselected package libstd-rust-1.48:amd64.
- Preparing to unpack .../08-libstd-rust-1.48_1.48.0+dfsg1-2_amd64.deb ...
- Unpacking libstd-rust-1.48:amd64 (1.48.0+dfsg1-2) ...
- Selecting previously unselected package libstd-rust-dev:amd64.
- Preparing to unpack .../09-libstd-rust-dev_1.48.0+dfsg1-2_amd64.deb ...
- Unpacking libstd-rust-dev:amd64 (1.48.0+dfsg1-2) ...
- Selecting previously unselected package rustc.
- Preparing to unpack .../10-rustc_1.48.0+dfsg1-2_amd64.deb ...
- Unpacking rustc (1.48.0+dfsg1-2) ...
- Selecting previously unselected package cargo.
- Preparing to unpack .../11-cargo_0.47.0-3+b1_amd64.deb ...
- Unpacking cargo (0.47.0-3+b1) ...
- Selecting previously unselected package libelf1:amd64.
- Preparing to unpack .../12-libelf1_0.183-1_amd64.deb ...
- Unpacking libelf1:amd64 (0.183-1) ...
- Selecting previously unselected package libdw1:amd64.
- Preparing to unpack .../13-libdw1_0.183-1_amd64.deb ...
- Unpacking libdw1:amd64 (0.183-1) ...
- Selecting previously unselected package libglib2.0-0:amd64.
- Preparing to unpack .../14-libglib2.0-0_2.66.8-1_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.66.8-1) ...
- Selecting previously unselected package libbabeltrace1:amd64.
- Preparing to unpack .../15-libbabeltrace1_1.5.8-1+b3_amd64.deb ...
- Unpacking libbabeltrace1:amd64 (1.5.8-1+b3) ...
- Selecting previously unselected package libdebuginfod1:amd64.
- Preparing to unpack .../16-libdebuginfod1_0.183-1_amd64.deb ...
- Unpacking libdebuginfod1:amd64 (0.183-1) ...
- Selecting previously unselected package libipt2.
- Preparing to unpack .../17-libipt2_2.0.3-1_amd64.deb ...
- Unpacking libipt2 (2.0.3-1) ...
- Selecting previously unselected package libpython3.9-minimal:amd64.
- Preparing to unpack .../18-libpython3.9-minimal_3.9.2-1_amd64.deb ...
- Unpacking libpython3.9-minimal:amd64 (3.9.2-1) ...
- Selecting previously unselected package libmpdec3:amd64.
- Preparing to unpack .../19-libmpdec3_2.5.1-1_amd64.deb ...
- Unpacking libmpdec3:amd64 (2.5.1-1) ...
- Selecting previously unselected package libpython3.9-stdlib:amd64.
- Preparing to unpack .../20-libpython3.9-stdlib_3.9.2-1_amd64.deb ...
- Unpacking libpython3.9-stdlib:amd64 (3.9.2-1) ...
- Selecting previously unselected package libpython3.9:amd64.
- Preparing to unpack .../21-libpython3.9_3.9.2-1_amd64.deb ...
- Unpacking libpython3.9:amd64 (3.9.2-1) ...
- Selecting previously unselected package libsource-highlight-common.
- Preparing to unpack .../22-libsource-highlight-common_3.1.9-3_all.deb ...
- Unpacking libsource-highlight-common (3.1.9-3) ...
- Selecting previously unselected package libicu67:amd64.
- Preparing to unpack .../23-libicu67_67.1-7_amd64.deb ...
- Unpacking libicu67:amd64 (67.1-7) ...
- Selecting previously unselected package libboost-regex1.74.0:amd64.
- Preparing to unpack .../24-libboost-regex1.74.0_1.74.0-9_amd64.deb ...
- Unpacking libboost-regex1.74.0:amd64 (1.74.0-9) ...
- Selecting previously unselected package libsource-highlight4v5.
- Preparing to unpack .../25-libsource-highlight4v5_3.1.9-3+b1_amd64.deb ...
- Unpacking libsource-highlight4v5 (3.1.9-3+b1) ...
- Selecting previously unselected package gdb.
- Preparing to unpack .../26-gdb_10.1-1.7_amd64.deb ...
- Unpacking gdb (10.1-1.7) ...
- Selecting previously unselected package libc6-dbg:amd64.
- Preparing to unpack .../27-libc6-dbg_2.31-13+deb11u5_amd64.deb ...
- Unpacking libc6-dbg:amd64 (2.31-13+deb11u5) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../28-libglib2.0-data_2.66.8-1_all.deb ...
- Unpacking libglib2.0-data (2.66.8-1) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../29-libxml2_2.9.10+dfsg-6.7+deb11u3_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
- Selecting previously unselected package rust-gdb.
- Preparing to unpack .../30-rust-gdb_1.48.0+dfsg1-2_all.deb ...
- Unpacking rust-gdb (1.48.0+dfsg1-2) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../31-shared-mime-info_2.0-1_amd64.deb ...
- Unpacking shared-mime-info (2.0-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../32-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up media-types (4.0.0) ...
- Setting up libicu67:amd64 (67.1-7) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:amd64 (2.66.8-1) ...
- No schema files found: doing nothing.
- Setting up libpython3.9-minimal:amd64 (3.9.2-1) ...
- Setting up libsource-highlight-common (3.1.9-3) ...
- Setting up libc6-dbg:amd64 (2.31-13+deb11u5) ...
- Setting up libz3-4:amd64 (4.8.10-1) ...
- Setting up libglib2.0-data (2.66.8-1) ...
- Setting up libllvm11:amd64 (1:11.0.1-2) ...
- Setting up libboost-regex1.74.0:amd64 (1.74.0-9) ...
- Setting up libipt2 (2.0.3-1) ...
- Setting up libstd-rust-1.48:amd64 (1.48.0+dfsg1-2) ...
- Setting up libmpdec3:amd64 (2.5.1-1) ...
- Setting up libmbedcrypto3:amd64 (2.16.9-0.1) ...
- Setting up libelf1:amd64 (0.183-1) ...
- Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
- Setting up libhttp-parser2.9:amd64 (2.9.4-4+deb11u1) ...
- Setting up libsource-highlight4v5 (3.1.9-3+b1) ...
- Setting up libpython3.9-stdlib:amd64 (3.9.2-1) ...
- Setting up libdw1:amd64 (0.183-1) ...
- Setting up libmbedx509-0:amd64 (2.16.9-0.1) ...
- Setting up libdebuginfod1:amd64 (0.183-1) ...
- Setting up libmbedtls12:amd64 (2.16.9-0.1) ...
- Setting up libstd-rust-dev:amd64 (1.48.0+dfsg1-2) ...
- Setting up libpython3.9:amd64 (3.9.2-1) ...
- Setting up shared-mime-info (2.0-1) ...
- Setting up libbabeltrace1:amd64 (1.5.8-1+b3) ...
- Setting up rustc (1.48.0+dfsg1-2) ...
- Setting up libgit2-1.1:amd64 (1.1.0+dfsg.1-4) ...
- Setting up cargo (0.47.0-3+b1) ...
- Setting up gdb (10.1-1.7) ...
- Setting up rust-gdb (1.48.0+dfsg1-2) ...
- Processing triggers for libc-bin (2.31-13+deb11u5) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/30:
Processing  3/30: [errpy.0.0.7: http]
Processing  4/30: [errpy.0.0.7: http]
Processing  5/30: [errpy.0.0.7: http] [conf-rust-2021: cargo]
-> retrieved cppo.1.6.9  (cached)
Processing  6/30: [errpy.0.0.7: http] [conf-rust-2021: cargo]
Processing  7/30: [errpy.0.0.7: http] [conf-rust-2021: cargo] [cppo: dune build]
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
Processing  8/30: [errpy.0.0.7: http] [conf-rust-2021: cargo] [cppo: dune build]
Processing  9/30: [errpy.0.0.7: http] [conf-rust-2021: cargo] [cppo: dune build] [ocaml-compiler-libs: dune build]
- cargo 1.46.0
Processing  9/30: [errpy.0.0.7: http] [conf-rust-2021: rustc 2021] [cppo: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ppx_derivers.1.2.1  (cached)
Processing 10/30: [errpy.0.0.7: http] [conf-rust-2021: rustc 2021] [cppo: dune build] [ocaml-compiler-libs: dune build]
Processing 11/30: [errpy.0.0.7: http] [conf-rust-2021: rustc 2021] [cppo: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
-> retrieved ppx_deriving.5.2.1  (cached)
Processing 12/30: [errpy.0.0.7: http] [conf-rust-2021: rustc 2021] [cppo: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
- error: argument for `--edition` must be one of: 2015|2018. (instead was `2021`)
- 
[ERROR] The compilation of conf-rust-2021.1 failed at "rustc --edition 2021 test.rs".
Processing 12/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
Processing 13/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
-> retrieved result.1.5  (cached)
Processing 14/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
Processing 15/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [result: dune build]
-> retrieved sexplib0.v0.15.1  (cached)
Processing 16/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [result: dune build]
Processing 17/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [result: dune build] [sexplib0: dune build]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 18/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [result: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> retrieved ppxlib.0.29.1  (cached)
-> compiled  ppx_derivers.1.2.1
Processing 18/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build] [result: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed ppx_derivers.1.2.1
Processing 19/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build] [result: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  result.1.5
Processing 19/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed result.1.5
Processing 20/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 20/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build] [sexplib0: dune build]
-> installed stdlib-shims.0.3.0
Processing 21/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build] [sexplib0: dune build]
-> compiled  sexplib0.v0.15.1
Processing 21/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build]
-> installed sexplib0.v0.15.1
Processing 22/30: [errpy.0.0.7: http] [cppo: dune build] [ocaml-compiler-libs: dune build]
-> compiled  cppo.1.6.9
Processing 22/30: [errpy.0.0.7: http] [ocaml-compiler-libs: dune build]
-> installed cppo.1.6.9
Processing 23/30: [errpy.0.0.7: http] [ocaml-compiler-libs: dune build]
-> compiled  ocaml-compiler-libs.v0.12.4
Processing 23/30: [errpy.0.0.7: http]
-> installed ocaml-compiler-libs.v0.12.4
Processing 24/30: [errpy.0.0.7: http]
Processing 25/30: [errpy.0.0.7: http] [ppxlib: dune build]
Processing 25/30: [ppxlib: dune build]
-> retrieved errpy.0.0.7  (https://github.com/facebook/errpy/archive/refs/tags/0.0.7.tar.gz)
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "ppxlib" "-j" "127" "@install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ppxlib.0.29.1)
-> compiled  ppxlib.0.29.1
-> installed ppxlib.0.29.1
Processing 27/30: [ppx_deriving: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "ppx_deriving" "-j" "127" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ppx_deriving.5.2.1)
-> compiled  ppx_deriving.5.2.1
-> installed ppx_deriving.5.2.1

#=== ERROR while compiling conf-rust-2021.1 ===================================#
# context              2.1.4 | linux/x86_64 | ocaml-base-compiler.4.14.1 | file:///src
# path                 ~/.opam/4.14/.opam-switch/build/conf-rust-2021.1
# command              /usr/bin/rustc --edition 2021 test.rs
# exit-code            1
# env-file             ~/.opam/log/conf-rust-2021-260-b86bbb.env
# output-file          ~/.opam/log/conf-rust-2021-260-b86bbb.out
### output ###
# error: argument for `--edition` must be one of: 2015|2018. (instead was `2021`)
# 



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install errpy 0.0.7
+- 
+- The following actions failed
| - build conf-rust-2021 1
+- 
+- The following changes have been performed (the rest was aborted)
| - install cppo                1.6.9
| - install ocaml-compiler-libs v0.12.4
| - install ppx_derivers        1.2.1
| - install ppx_deriving        5.2.1
| - install ppxlib              0.29.1
| - install result              1.5
| - install sexplib0            v0.15.1
| - install stdlib-shims        0.3.0
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20230321185043.export"
'opam --cli=2.1 install errpy.0.0.7 conf-rust-2021.1 cppo.1.6.9 dune.3.7.0 ocaml-compiler-libs.v0.12.4 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppx_deriving.5.2.1 ppxlib.0.29.1 result.1.5 sexplib0.v0.15.1 stdlib-shims.0.3.0 --verbose --yes --confirm-level=unsafe-yes' failed.