package topiary

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

topiary 0.2.1

Error log

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

Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile ocaml-options-vanilla 1       [upstream or system changes]
  - recompile opam-depext           1.2.1-1
===== 2 to recompile =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   ocaml-options-vanilla.1
-> installed ocaml-options-vanilla.1
-> retrieved opam-depext.1.2.1-1  (cached)
-> removed   opam-depext.1.2.1-1
-> installed opam-depext.1.2.1-1
Done.

<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment

<><> Carrying on to "opam depext -viy topiary.0.2.1 conf-rust-2021.1" <><><><><>

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
The following actions will be performed:
  - install conf-rust-2021 1
  - install topiary        0.2.1
===== 2 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 ... 18336 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+deb11u1_amd64.deb ...
- Unpacking libgit2-1.1:amd64 (1.1.0+dfsg.1-4+deb11u1) ...
- 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+deb11u6_amd64.deb ...
- Unpacking libc6-dbg:amd64 (2.31-13+deb11u6) ...
- 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+deb11u4_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u4) ...
- 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+deb11u6) ...
- 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+deb11u4) ...
- 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+deb11u1) ...
- 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+deb11u6) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/6:
Processing  3/6: [conf-rust-2021: cargo]
- cargo 1.46.0
Processing  3/6: [conf-rust-2021: rustc 2021]
- 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  3/6:
Processing  4/6:
-> retrieved topiary.0.2.1  (cached)

#=== ERROR while compiling conf-rust-2021.1 ===================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///src
# path                 ~/.opam/5.0/.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-266-a03222.env
# output-file          ~/.opam/log/conf-rust-2021-266-a03222.out
### output ###
# error: argument for `--edition` must be one of: 2015|2018. (instead was `2021`)
# 



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install topiary 0.2.1
+- 
+- The following actions failed
| - build conf-rust-2021 1
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam --cli=2.1 install topiary.0.2.1 conf-rust-2021.1 --verbose --yes --confirm-level=unsafe-yes' failed.