package topiary

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

topiary 0.3.0

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 opam-depext 1.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 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.3.0 conf-rust-2021.1" <><><><><>

Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# 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.3.0
===== 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 libpipeline1:amd64.
- (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 ... 18764 files and directories currently installed.)
- Preparing to unpack .../libpipeline1_1.5.7-1_amd64.deb ...
- Unpacking libpipeline1:amd64 (1.5.7-1) ...
- Selecting previously unselected package binfmt-support.
- Preparing to unpack .../binfmt-support_2.2.2-2_amd64.deb ...
- Unpacking binfmt-support (2.2.2-2) ...
- Selecting previously unselected package libpython3.11-minimal:amd64.
- Preparing to unpack .../libpython3.11-minimal_3.11.2-6+deb12u3_amd64.deb ...
- Unpacking libpython3.11-minimal:amd64 (3.11.2-6+deb12u3) ...
- Selecting previously unselected package python3.11-minimal.
- Preparing to unpack .../python3.11-minimal_3.11.2-6+deb12u3_amd64.deb ...
- Unpacking python3.11-minimal (3.11.2-6+deb12u3) ...
- Setting up libpython3.11-minimal:amd64 (3.11.2-6+deb12u3) ...
- Setting up python3.11-minimal (3.11.2-6+deb12u3) ...
- Selecting previously unselected package python3-minimal.
- (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 ... 19093 files and directories currently installed.)
- Preparing to unpack .../python3-minimal_3.11.2-1+b1_amd64.deb ...
- Unpacking python3-minimal (3.11.2-1+b1) ...
- Selecting previously unselected package media-types.
- Preparing to unpack .../media-types_10.0.0_all.deb ...
- Unpacking media-types (10.0.0) ...
- Selecting previously unselected package libpython3.11-stdlib:amd64.
- Preparing to unpack .../libpython3.11-stdlib_3.11.2-6+deb12u3_amd64.deb ...
- Unpacking libpython3.11-stdlib:amd64 (3.11.2-6+deb12u3) ...
- Selecting previously unselected package python3.11.
- Preparing to unpack .../python3.11_3.11.2-6+deb12u3_amd64.deb ...
- Unpacking python3.11 (3.11.2-6+deb12u3) ...
- Selecting previously unselected package libpython3-stdlib:amd64.
- Preparing to unpack .../libpython3-stdlib_3.11.2-1+b1_amd64.deb ...
- Unpacking libpython3-stdlib:amd64 (3.11.2-1+b1) ...
- Setting up python3-minimal (3.11.2-1+b1) ...
- Selecting previously unselected package python3.
- (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 ... 19503 files and directories currently installed.)
- Preparing to unpack .../00-python3_3.11.2-1+b1_amd64.deb ...
- Unpacking python3 (3.11.2-1+b1) ...
- Selecting previously unselected package libhttp-parser2.9:amd64.
- Preparing to unpack .../01-libhttp-parser2.9_2.9.4-5_amd64.deb ...
- Unpacking libhttp-parser2.9:amd64 (2.9.4-5) ...
- Selecting previously unselected package libmbedcrypto7:amd64.
- Preparing to unpack .../02-libmbedcrypto7_2.28.3-1_amd64.deb ...
- Unpacking libmbedcrypto7:amd64 (2.28.3-1) ...
- Selecting previously unselected package libmbedx509-1:amd64.
- Preparing to unpack .../03-libmbedx509-1_2.28.3-1_amd64.deb ...
- Unpacking libmbedx509-1:amd64 (2.28.3-1) ...
- Selecting previously unselected package libmbedtls14:amd64.
- Preparing to unpack .../04-libmbedtls14_2.28.3-1_amd64.deb ...
- Unpacking libmbedtls14:amd64 (2.28.3-1) ...
- Selecting previously unselected package libgit2-1.5:amd64.
- Preparing to unpack .../05-libgit2-1.5_1.5.1+ds-1+deb12u1_amd64.deb ...
- Unpacking libgit2-1.5:amd64 (1.5.1+ds-1+deb12u1) ...
- Selecting previously unselected package libicu72:amd64.
- Preparing to unpack .../06-libicu72_72.1-3_amd64.deb ...
- Unpacking libicu72:amd64 (72.1-3) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../07-libxml2_2.9.14+dfsg-1.3~deb12u1_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Selecting previously unselected package libz3-4:amd64.
- Preparing to unpack .../08-libz3-4_4.8.12-3.1_amd64.deb ...
- Unpacking libz3-4:amd64 (4.8.12-3.1) ...
- Selecting previously unselected package libllvm14:amd64.
- Preparing to unpack .../09-libllvm14_1%3a14.0.6-12_amd64.deb ...
- Unpacking libllvm14:amd64 (1:14.0.6-12) ...
- Selecting previously unselected package libstd-rust-1.63:amd64.
- Preparing to unpack .../10-libstd-rust-1.63_1.63.0+dfsg1-2_amd64.deb ...
- Unpacking libstd-rust-1.63:amd64 (1.63.0+dfsg1-2) ...
- Selecting previously unselected package libstd-rust-dev:amd64.
- Preparing to unpack .../11-libstd-rust-dev_1.63.0+dfsg1-2_amd64.deb ...
- Unpacking libstd-rust-dev:amd64 (1.63.0+dfsg1-2) ...
- Selecting previously unselected package rustc.
- Preparing to unpack .../12-rustc_1.63.0+dfsg1-2_amd64.deb ...
- Unpacking rustc (1.63.0+dfsg1-2) ...
- Selecting previously unselected package cargo.
- Preparing to unpack .../13-cargo_0.66.0+ds1-1_amd64.deb ...
- Unpacking cargo (0.66.0+ds1-1) ...
- Selecting previously unselected package icu-devtools.
- Preparing to unpack .../14-icu-devtools_72.1-3_amd64.deb ...
- Unpacking icu-devtools (72.1-3) ...
- Selecting previously unselected package libclang-cpp14.
- Preparing to unpack .../15-libclang-cpp14_1%3a14.0.6-12_amd64.deb ...
- Unpacking libclang-cpp14 (1:14.0.6-12) ...
- Selecting previously unselected package libnspr4:amd64.
- Preparing to unpack .../16-libnspr4_2%3a4.35-1_amd64.deb ...
- Unpacking libnspr4:amd64 (2:4.35-1) ...
- Selecting previously unselected package libnss3:amd64.
- Preparing to unpack .../17-libnss3_2%3a3.87.1-1_amd64.deb ...
- Unpacking libnss3:amd64 (2:3.87.1-1) ...
- Selecting previously unselected package nss-plugin-pem:amd64.
- Preparing to unpack .../18-nss-plugin-pem_1.0.8+1-1_amd64.deb ...
- Unpacking nss-plugin-pem:amd64 (1.0.8+1-1) ...
- Selecting previously unselected package libcurl3-nss:amd64.
- Preparing to unpack .../19-libcurl3-nss_7.88.1-10+deb12u7_amd64.deb ...
- Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u7) ...
- Selecting previously unselected package libffi-dev:amd64.
- Preparing to unpack .../20-libffi-dev_3.4.4-1_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.4-1) ...
- Selecting previously unselected package libicu-dev:amd64.
- Preparing to unpack .../21-libicu-dev_72.1-3_amd64.deb ...
- Unpacking libicu-dev:amd64 (72.1-3) ...
- Selecting previously unselected package libncurses6:amd64.
- Preparing to unpack .../22-libncurses6_6.4-4_amd64.deb ...
- Unpacking libncurses6:amd64 (6.4-4) ...
- Selecting previously unselected package libncurses-dev:amd64.
- Preparing to unpack .../23-libncurses-dev_6.4-4_amd64.deb ...
- Unpacking libncurses-dev:amd64 (6.4-4) ...
- Selecting previously unselected package libpfm4:amd64.
- Preparing to unpack .../24-libpfm4_4.13.0-1_amd64.deb ...
- Unpacking libpfm4:amd64 (4.13.0-1) ...
- Selecting previously unselected package libtinfo-dev:amd64.
- Preparing to unpack .../25-libtinfo-dev_6.4-4_amd64.deb ...
- Unpacking libtinfo-dev:amd64 (6.4-4) ...
- Selecting previously unselected package libxml2-dev:amd64.
- Preparing to unpack .../26-libxml2-dev_2.9.14+dfsg-1.3~deb12u1_amd64.deb ...
- Unpacking libxml2-dev:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Selecting previously unselected package libyaml-0-2:amd64.
- Preparing to unpack .../27-libyaml-0-2_0.2.5-1_amd64.deb ...
- Unpacking libyaml-0-2:amd64 (0.2.5-1) ...
- Selecting previously unselected package libz3-dev:amd64.
- Preparing to unpack .../28-libz3-dev_4.8.12-3.1_amd64.deb ...
- Unpacking libz3-dev:amd64 (4.8.12-3.1) ...
- Selecting previously unselected package llvm-14-runtime.
- Preparing to unpack .../29-llvm-14-runtime_1%3a14.0.6-12_amd64.deb ...
- Unpacking llvm-14-runtime (1:14.0.6-12) ...
- Selecting previously unselected package llvm-14-linker-tools.
- Preparing to unpack .../30-llvm-14-linker-tools_1%3a14.0.6-12_amd64.deb ...
- Unpacking llvm-14-linker-tools (1:14.0.6-12) ...
- Selecting previously unselected package llvm-14.
- Preparing to unpack .../31-llvm-14_1%3a14.0.6-12_amd64.deb ...
- Unpacking llvm-14 (1:14.0.6-12) ...
- Selecting previously unselected package python3-pkg-resources.
- Preparing to unpack .../32-python3-pkg-resources_66.1.1-1_all.deb ...
- Unpacking python3-pkg-resources (66.1.1-1) ...
- Selecting previously unselected package python3-pygments.
- Preparing to unpack .../33-python3-pygments_2.14.0+dfsg-1_all.deb ...
- Unpacking python3-pygments (2.14.0+dfsg-1) ...
- Selecting previously unselected package python3-yaml.
- Preparing to unpack .../34-python3-yaml_6.0-3+b2_amd64.deb ...
- Unpacking python3-yaml (6.0-3+b2) ...
- Selecting previously unselected package llvm-14-tools.
- Preparing to unpack .../35-llvm-14-tools_1%3a14.0.6-12_amd64.deb ...
- Unpacking llvm-14-tools (1:14.0.6-12) ...
- Selecting previously unselected package llvm-14-dev.
- Preparing to unpack .../36-llvm-14-dev_1%3a14.0.6-12_amd64.deb ...
- Unpacking llvm-14-dev (1:14.0.6-12) ...
- Setting up media-types (10.0.0) ...
- Setting up libpipeline1:amd64 (1.5.7-1) ...
- Setting up libicu72:amd64 (72.1-3) ...
- Setting up libyaml-0-2:amd64 (0.2.5-1) ...
- Setting up libpython3.11-stdlib:amd64 (3.11.2-6+deb12u3) ...
- Setting up libffi-dev:amd64 (3.4.4-1) ...
- Setting up libz3-4:amd64 (4.8.12-3.1) ...
- Setting up libpfm4:amd64 (4.13.0-1) ...
- Setting up libmbedcrypto7:amd64 (2.28.3-1) ...
- Setting up libnspr4:amd64 (2:4.35-1) ...
- Setting up libncurses6:amd64 (6.4-4) ...
- Setting up binfmt-support (2.2.2-2) ...
- invoke-rc.d: could not determine current runlevel
- invoke-rc.d: policy-rc.d denied execution of start.
- Setting up icu-devtools (72.1-3) ...
- Setting up libicu-dev:amd64 (72.1-3) ...
- Setting up libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Setting up libhttp-parser2.9:amd64 (2.9.4-5) ...
- Setting up libpython3-stdlib:amd64 (3.11.2-1+b1) ...
- Setting up libz3-dev:amd64 (4.8.12-3.1) ...
- Setting up python3.11 (3.11.2-6+deb12u3) ...
- Setting up libncurses-dev:amd64 (6.4-4) ...
- Setting up libmbedx509-1:amd64 (2.28.3-1) ...
- Setting up libmbedtls14:amd64 (2.28.3-1) ...
- Setting up python3 (3.11.2-1+b1) ...
- running python rtupdate hooks for python3.11...
- running python post-rtupdate hooks for python3.11...
- Setting up libnss3:amd64 (2:3.87.1-1) ...
- Setting up libxml2-dev:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Setting up libllvm14:amd64 (1:14.0.6-12) ...
- Setting up llvm-14-linker-tools (1:14.0.6-12) ...
- Setting up libgit2-1.5:amd64 (1.5.1+ds-1+deb12u1) ...
- Setting up python3-pkg-resources (66.1.1-1) ...
- Setting up libtinfo-dev:amd64 (6.4-4) ...
- Setting up libstd-rust-1.63:amd64 (1.63.0+dfsg1-2) ...
- Setting up nss-plugin-pem:amd64 (1.0.8+1-1) ...
- Setting up python3-yaml (6.0-3+b2) ...
- Setting up libstd-rust-dev:amd64 (1.63.0+dfsg1-2) ...
- Setting up python3-pygments (2.14.0+dfsg-1) ...
- Setting up llvm-14-runtime (1:14.0.6-12) ...
- Setting up libclang-cpp14 (1:14.0.6-12) ...
- Setting up rustc (1.63.0+dfsg1-2) ...
- Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u7) ...
- Setting up llvm-14 (1:14.0.6-12) ...
- Setting up llvm-14-tools (1:14.0.6-12) ...
- Setting up cargo (0.66.0+ds1-1) ...
- Setting up llvm-14-dev (1:14.0.6-12) ...
- Processing triggers for libc-bin (2.36-9+deb12u8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-rust-2021.1  (cached)
Processing  2/6: [topiary.0.3.0: http]
Processing  3/6: [topiary.0.3.0: http] [conf-rust-2021: cargo]
Processing  3/6: [conf-rust-2021: cargo]
- cargo 1.65.0
Processing  3/6: [conf-rust-2021: rustc 2021]
-> compiled  conf-rust-2021.1
Processing  3/6:
-> installed conf-rust-2021.1
Processing  4/6:
-> retrieved topiary.0.3.0  (https://github.com/tweag/topiary-opam/releases/download/v0.3.0/source-code-with-submodules.tar.xz)
Processing  5/6: [topiary: cargo build]
+ /usr/bin/cargo "build" "--release" "--package" "topiary-cli" (CWD=/home/opam/.opam/5.1/.opam-switch/build/topiary.0.3.0)
- error: package `serde_spanned v0.6.3` cannot be built because it requires rustc 1.64.0 or newer, while the currently active rustc version is 1.63.0
- Either upgrade to rustc 1.64.0 or newer, or use
- cargo update -p serde_spanned@0.6.3 --precise ver
- where `ver` is the latest version of `serde_spanned` supporting rustc 1.63.0
[ERROR] The compilation of topiary.0.3.0 failed at "cargo build --release --package topiary-cli".

#=== ERROR while compiling topiary.0.3.0 ======================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/topiary.0.3.0
# command              /usr/bin/cargo build --release --package topiary-cli
# exit-code            101
# env-file             ~/.opam/log/topiary-115-0167e3.env
# output-file          ~/.opam/log/topiary-115-0167e3.out
### output ###
# error: package `serde_spanned v0.6.3` cannot be built because it requires rustc 1.64.0 or newer, while the currently active rustc version is 1.63.0
# Either upgrade to rustc 1.64.0 or newer, or use
# cargo update -p serde_spanned@0.6.3 --precise ver
# where `ver` is the latest version of `serde_spanned` supporting rustc 1.63.0



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build topiary 0.3.0
+- 
+- The following changes have been performed
| - install conf-rust-2021 1
+- 
# 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/5.1/.opam-switch/backup/state-20240912084013.export"
'opam --cli=2.1 install topiary.0.3.0 conf-rust-2021.1 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.