[INFO] cloning repository https://github.com/input-output-hk/rust-cardano [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/input-output-hk/rust-cardano" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finput-output-hk%2Frust-cardano", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finput-output-hk%2Frust-cardano'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fad3d12341acc2ab0f9c2026149af3d839447e4 [INFO] testing input-output-hk/rust-cardano against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finput-output-hk%2Frust-cardano" "/workspace/builds/worker-33/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-33/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/input-output-hk/rust-cardano on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/input-output-hk/rust-cardano [INFO] finished tweaking git repo https://github.com/input-output-hk/rust-cardano [INFO] tweaked toml for git repo https://github.com/input-output-hk/rust-cardano written to /workspace/builds/worker-33/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickcheck v0.8.5 [INFO] [stderr] Downloaded cryptoxide v0.1.3 [INFO] [stderr] Downloaded serde_yaml v0.7.5 [INFO] [stderr] Downloaded quickcheck v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa972471a6a28862405e4da14328ae2814611da7420ceced456ec05e3de0cac4 [INFO] running `Command { std: "docker" "start" "-a" "aa972471a6a28862405e4da14328ae2814611da7420ceced456ec05e3de0cac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa972471a6a28862405e4da14328ae2814611da7420ceced456ec05e3de0cac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa972471a6a28862405e4da14328ae2814611da7420ceced456ec05e3de0cac4", kill_on_drop: false }` [INFO] [stdout] aa972471a6a28862405e4da14328ae2814611da7420ceced456ec05e3de0cac4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04ceb1a908ed88fbf20a4d5a4ad085ab6576c2b123ddf6682ce73e0be79a98a7 [INFO] running `Command { std: "docker" "start" "-a" "04ceb1a908ed88fbf20a4d5a4ad085ab6576c2b123ddf6682ce73e0be79a98a7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling cbor_event v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling cryptoxide v0.1.3 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling try-lock v0.1.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling chain-core v0.1.0 (/opt/rustwide/workdir/chain-core) [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling network-core v0.1.0-dev (/opt/rustwide/workdir/network-core) [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling protocol-tokio v0.1.0 (/opt/rustwide/workdir/protocol-tokio) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol-tokio/src/network_transport/accepting.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol-tokio/src/network_transport/closing.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol-tokio/src/network_transport/connecting.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stdout] warning: associated function is never used: `with_node_id` [INFO] [stdout] --> protocol-tokio/src/protocol/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn with_node_id(mut self, node_id: NodeId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling storage-units v0.1.0 (/opt/rustwide/workdir/storage-units) [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/append.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/utils/directory_name.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/utils/error.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/utils/lock.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/utils/magic.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | file: &mut Read, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling network-ntt v0.1.0 (/opt/rustwide/workdir/network-ntt) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> network-ntt/src/server.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 236 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 237 | future::Either::B(future::Either::B(future::Either::B(future::ok(())))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling cardano v0.1.1 (/opt/rustwide/workdir/cardano) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/fee.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/hash.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/hdpayload.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/hdwallet.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/input_selection/mod.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/redeem.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> cardano/src/tx.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 11 | io::{BufRead, Write}, [INFO] [stdout] | ----- the item `Write` is already imported here [INFO] [stdout] ... [INFO] [stdout] 564 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/txbuild.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> cardano/src/util/hex.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | b'A'...b'F' => buf |= byte - b'A' + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> cardano/src/util/hex.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | b'a'...b'f' => buf |= byte - b'a' + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> cardano/src/util/hex.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | b'0'...b'9' => buf |= byte - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/bip/bip39.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tx::TxAux` [INFO] [stdout] --> cardano/src/block/block.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::tx::TxAux; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/block/verify.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/wallet/rindex.rs:327:32 [INFO] [stdout] | [INFO] [stdout] 327 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling protocol v0.1.0 (/opt/rustwide/workdir/protocol) [INFO] [stderr] Compiling cardano-storage v0.1.0 (/opt/rustwide/workdir/storage) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol/src/ntt/mod.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol/src/protocol.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> protocol/src/protocol.rs:237:10 [INFO] [stdout] | [INFO] [stdout] 237 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage/src/lib.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> storage/src/iter/mod.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let mut range = range_iter(storage, from, to)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> storage/src/iter/mod.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | let mut iterator = IteratorType::Epoch(epochs, None); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling exe-common v0.1.0 (/opt/rustwide/workdir/exe-common) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> exe-common/src/network/error.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> exe-common/src/sync.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | Err(err) => panic!(err), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 60 | Err(err) => panic!("{}", err), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 60 | Err(err) => std::panic::panic_any(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cardano-c v0.1.0 (/opt/rustwide/workdir/cardano-c) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "04ceb1a908ed88fbf20a4d5a4ad085ab6576c2b123ddf6682ce73e0be79a98a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04ceb1a908ed88fbf20a4d5a4ad085ab6576c2b123ddf6682ce73e0be79a98a7", kill_on_drop: false }` [INFO] [stdout] 04ceb1a908ed88fbf20a4d5a4ad085ab6576c2b123ddf6682ce73e0be79a98a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 628a7d77e4cc944190f1b1446c176850bd82e321e41997129e8cf2526e567e89 [INFO] running `Command { std: "docker" "start" "-a" "628a7d77e4cc944190f1b1446c176850bd82e321e41997129e8cf2526e567e89", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling network-core v0.1.0-dev (/opt/rustwide/workdir/network-core) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/append.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/utils/directory_name.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/utils/error.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/utils/lock.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/utils/magic.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | file: &mut Read, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling storage-units v0.1.0 (/opt/rustwide/workdir/storage-units) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/fee.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/hash.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/hdpayload.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/hdwallet.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/input_selection/mod.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/redeem.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> cardano/src/tx.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 11 | io::{BufRead, Write}, [INFO] [stdout] | ----- the item `Write` is already imported here [INFO] [stdout] ... [INFO] [stdout] 564 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/txbuild.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> cardano/src/util/hex.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | b'A'...b'F' => buf |= byte - b'A' + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> cardano/src/util/hex.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | b'a'...b'f' => buf |= byte - b'a' + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> cardano/src/util/hex.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | b'0'...b'9' => buf |= byte - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/bip/bip39.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tx::TxAux` [INFO] [stdout] --> cardano/src/block/block.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::tx::TxAux; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/block/verify.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/wallet/rindex.rs:327:32 [INFO] [stdout] | [INFO] [stdout] 327 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol-tokio/src/network_transport/accepting.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol-tokio/src/network_transport/closing.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol-tokio/src/network_transport/connecting.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_node_id` [INFO] [stdout] --> protocol-tokio/src/protocol/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn with_node_id(mut self, node_id: NodeId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol/src/ntt/mod.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol/src/protocol.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cardano-storage v0.1.0 (/opt/rustwide/workdir/storage) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> protocol/src/protocol.rs:237:10 [INFO] [stdout] | [INFO] [stdout] 237 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage/src/lib.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> storage/src/iter/mod.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let mut range = range_iter(storage, from, to)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> storage/src/iter/mod.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | let mut iterator = IteratorType::Epoch(epochs, None); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cardano-c v0.1.0 (/opt/rustwide/workdir/cardano-c) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> network-ntt/src/server.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 236 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 237 | future::Either::B(future::Either::B(future::Either::B(future::ok(())))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling exe-common v0.1.0 (/opt/rustwide/workdir/exe-common) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> exe-common/src/network/error.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> exe-common/src/sync.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | Err(err) => panic!(err), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 60 | Err(err) => panic!("{}", err), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 60 | Err(err) => std::panic::panic_any(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage/src/lib.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/append.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/utils/directory_name.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/utils/error.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/utils/lock.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/utils/magic.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | file: &mut Read, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> exe-common/src/network/error.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> storage/src/iter/mod.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let mut range = range_iter(storage, from, to)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> storage/src/iter/mod.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | let mut iterator = IteratorType::Epoch(epochs, None); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> exe-common/src/sync.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | Err(err) => panic!(err), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 60 | Err(err) => panic!("{}", err), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 60 | Err(err) => std::panic::panic_any(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling quickcheck v0.8.5 [INFO] [stderr] Compiling quickcheck v0.7.2 [INFO] [stderr] Compiling protocol-tokio v0.1.0 (/opt/rustwide/workdir/protocol-tokio) [INFO] [stderr] Compiling network-ntt v0.1.0 (/opt/rustwide/workdir/network-ntt) [INFO] [stderr] Compiling protocol v0.1.0 (/opt/rustwide/workdir/protocol) [INFO] [stderr] Compiling chain-core v0.1.0 (/opt/rustwide/workdir/chain-core) [INFO] [stderr] Compiling cardano v0.1.1 (/opt/rustwide/workdir/cardano) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol/src/ntt/mod.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol/src/protocol.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> protocol/src/protocol.rs:237:10 [INFO] [stdout] | [INFO] [stdout] 237 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol-tokio/src/network_transport/accepting.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol-tokio/src/network_transport/closing.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol-tokio/src/network_transport/connecting.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> network-ntt/src/server.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 236 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 237 | future::Either::B(future::Either::B(future::Either::B(future::ok(())))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_node_id` [INFO] [stdout] --> protocol-tokio/src/protocol/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn with_node_id(mut self, node_id: NodeId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/fee.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/hash.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/hdpayload.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/hdwallet.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/input_selection/mod.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/redeem.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> cardano/src/tx.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 11 | io::{BufRead, Write}, [INFO] [stdout] | ----- the item `Write` is already imported here [INFO] [stdout] ... [INFO] [stdout] 564 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/txbuild.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> cardano/src/util/hex.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | b'A'...b'F' => buf |= byte - b'A' + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> cardano/src/util/hex.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | b'a'...b'f' => buf |= byte - b'a' + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> cardano/src/util/hex.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | b'0'...b'9' => buf |= byte - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/bip/bip39.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tx::TxAux` [INFO] [stdout] --> cardano/src/block/block.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::tx::TxAux; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/block/verify.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cardano/src/wallet/rindex.rs:327:32 [INFO] [stdout] | [INFO] [stdout] 327 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> cardano/src/block/date.rs:209:37 [INFO] [stdout] | [INFO] [stdout] 209 | println!("{}: {}", err, err.cause().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> cardano/src/block/date.rs:215:37 [INFO] [stdout] | [INFO] [stdout] 215 | println!("{}: {}", err, err.cause().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.59s [INFO] running `Command { std: "docker" "inspect" "628a7d77e4cc944190f1b1446c176850bd82e321e41997129e8cf2526e567e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "628a7d77e4cc944190f1b1446c176850bd82e321e41997129e8cf2526e567e89", kill_on_drop: false }` [INFO] [stdout] 628a7d77e4cc944190f1b1446c176850bd82e321e41997129e8cf2526e567e89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d17604c96a98617def504949e05da0bf1bc49d37842dd098cd33218fa2dd843f [INFO] running `Command { std: "docker" "start" "-a" "d17604c96a98617def504949e05da0bf1bc49d37842dd098cd33218fa2dd843f", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> storage-units/src/append.rs:44:32 [INFO] [stderr] | [INFO] [stderr] 44 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> storage-units/src/utils/directory_name.rs:104:32 [INFO] [stderr] | [INFO] [stderr] 104 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> storage-units/src/utils/error.rs:51:32 [INFO] [stderr] | [INFO] [stderr] 51 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> storage-units/src/utils/lock.rs:60:32 [INFO] [stderr] | [INFO] [stderr] 60 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> storage-units/src/utils/magic.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 31 | file: &mut Read, [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `storage-units` (lib) generated 5 warnings [INFO] [stderr] warning: `storage-units` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> cardano/src/fee.rs:44:32 [INFO] [stderr] | [INFO] [stderr] 44 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> cardano/src/hash.rs:46:32 [INFO] [stderr] | [INFO] [stderr] 46 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> cardano/src/hdpayload.rs:71:32 [INFO] [stderr] | [INFO] [stderr] 71 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> cardano/src/hdwallet.rs:109:32 [INFO] [stderr] | [INFO] [stderr] 109 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> cardano/src/input_selection/mod.rs:59:32 [INFO] [stderr] | [INFO] [stderr] 59 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> cardano/src/redeem.rs:58:32 [INFO] [stderr] | [INFO] [stderr] 58 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: the item `Write` is imported redundantly [INFO] [stderr] --> cardano/src/tx.rs:564:9 [INFO] [stderr] | [INFO] [stderr] 11 | io::{BufRead, Write}, [INFO] [stderr] | ----- the item `Write` is already imported here [INFO] [stderr] ... [INFO] [stderr] 564 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> cardano/src/txbuild.rs:69:32 [INFO] [stderr] | [INFO] [stderr] 69 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> cardano/src/util/hex.rs:82:17 [INFO] [stderr] | [INFO] [stderr] 82 | b'A'...b'F' => buf |= byte - b'A' + 10, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> cardano/src/util/hex.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | b'a'...b'f' => buf |= byte - b'a' + 10, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> cardano/src/util/hex.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 84 | b'0'...b'9' => buf |= byte - b'0', [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> cardano/src/bip/bip39.rs:117:32 [INFO] [stderr] | [INFO] [stderr] 117 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::tx::TxAux` [INFO] [stderr] --> cardano/src/block/block.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::tx::TxAux; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> cardano/src/block/verify.rs:124:32 [INFO] [stderr] | [INFO] [stderr] 124 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> cardano/src/wallet/rindex.rs:327:32 [INFO] [stderr] | [INFO] [stderr] 327 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> protocol-tokio/src/network_transport/accepting.rs:160:32 [INFO] [stderr] | [INFO] [stderr] 160 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> protocol-tokio/src/network_transport/closing.rs:61:32 [INFO] [stderr] | [INFO] [stderr] 61 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> protocol-tokio/src/network_transport/connecting.rs:150:32 [INFO] [stderr] | [INFO] [stderr] 150 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_node_id` [INFO] [stderr] --> protocol-tokio/src/protocol/mod.rs:172:8 [INFO] [stderr] | [INFO] [stderr] 172 | fn with_node_id(mut self, node_id: NodeId) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `cardano` (lib) generated 15 warnings [INFO] [stderr] warning: `protocol-tokio` (lib) generated 4 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> protocol/src/ntt/mod.rs:38:32 [INFO] [stderr] | [INFO] [stderr] 38 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> protocol/src/protocol.rs:64:32 [INFO] [stderr] | [INFO] [stderr] 64 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> protocol/src/protocol.rs:237:10 [INFO] [stderr] | [INFO] [stderr] 237 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> storage/src/lib.rs:87:32 [INFO] [stderr] | [INFO] [stderr] 87 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> storage/src/iter/mod.rs:119:21 [INFO] [stderr] | [INFO] [stderr] 119 | let mut range = range_iter(storage, from, to)?; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> storage/src/iter/mod.rs:132:21 [INFO] [stderr] | [INFO] [stderr] 132 | let mut iterator = IteratorType::Epoch(epochs, None); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> cardano/src/block/date.rs:209:37 [INFO] [stderr] | [INFO] [stderr] 209 | println!("{}: {}", err, err.cause().unwrap()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> cardano/src/block/date.rs:215:37 [INFO] [stderr] | [INFO] [stderr] 215 | println!("{}: {}", err, err.cause().unwrap()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `protocol` (lib) generated 3 warnings [INFO] [stderr] warning: `cardano-storage` (lib) generated 3 warnings [INFO] [stderr] warning: `cardano-storage` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `protocol` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `cardano` (lib test) generated 17 warnings (15 duplicates) [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> network-ntt/src/server.rs:237:21 [INFO] [stderr] | [INFO] [stderr] 236 | unimplemented!(); [INFO] [stderr] | ----------------- any code following this expression is unreachable [INFO] [stderr] 237 | future::Either::B(future::Either::B(future::Either::B(future::ok(())))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `network-ntt` (lib) generated 1 warning [INFO] [stderr] warning: `network-ntt` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `protocol-tokio` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> exe-common/src/network/error.rs:75:32 [INFO] [stderr] | [INFO] [stderr] 75 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> exe-common/src/sync.rs:60:28 [INFO] [stderr] | [INFO] [stderr] 60 | Err(err) => panic!(err), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 60 | Err(err) => panic!("{}", err), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 60 | Err(err) => std::panic::panic_any(err), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `exe-common` (lib) generated 2 warnings [INFO] [stderr] warning: `exe-common` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cardano-fdd5ddb182fb6bcf) [INFO] [stdout] running 99 tests [INFO] [stdout] test address::tests::decode_address_network_magic ... ok [INFO] [stdout] test address::tests::encode_decode_addr_type ... ok [INFO] [stdout] test address::tests::decode_address_1 ... ok [INFO] [stdout] test address::tests::encode_decode_stakeholderid ... ok [INFO] [stdout] test address::tests::test_encode_extended_address ... ok [INFO] [stdout] test address::tests::decode_address_2 ... ok [INFO] [stdout] test address::tests::encode_decode_stakedistribution ... ok [INFO] [stdout] test address::tests::decode_address_no_derivation_path ... ok [INFO] [stdout] test bip::bip39::test::mnemonic_7f ... ok [INFO] [stdout] test bip::bip39::test::english_dic ... ok [INFO] [stdout] test bip::bip39::test::from_mnemonic_to_mnemonic ... ok [INFO] [stdout] test block::block::test::check_boundary_block ... ok [INFO] [stdout] test address::tests::test_make_address ... ok [INFO] [stdout] test bip::bip39::test::mnemonic_zero ... ok [INFO] [stdout] test block::block::test::check_main_block ... ok [INFO] [stdout] test block::date::tests::parse_bad_slotid ... ok [INFO] [stdout] test block::date::tests::parse_bare_epoch ... ok [INFO] [stdout] test block::date::tests::parse_epoch_genesis ... ok [INFO] [stdout] test block::date::tests::parse_epoch_slot_id ... ok [INFO] [stdout] test block::normal::tests::debug_dlg_proof ... ok [INFO] [stdout] test block::date::tests::parse_bad_epoch ... ok [INFO] [stdout] test block::sign::tests::test_psk_sign ... ok [INFO] [stdout] test block::sign::tests::test_psk_verify ... ok [INFO] [stdout] test block::types::tests::debug_header_hash ... ok [INFO] [stdout] test fee::test::check_fee_mul ... ok [INFO] [stdout] test hash::test::cbor_encode_decode_blake2b_224 ... ok [INFO] [stdout] test crc32::tests::crc32 ... ok [INFO] [stdout] test fee::test::check_fee_add ... ok [INFO] [stdout] test coin::test::coin_cbor_serialization ... ok [INFO] [stdout] test hash::test::cbor_encode_decode_blake2b_256 ... ok [INFO] [stdout] test block::update::tests::debug_update_proof ... ok [INFO] [stdout] test hdpayload::tests::unit1 ... ok [INFO] [stdout] test hdpayload::tests::path_cbor_encoding ... ok [INFO] [stdout] test hdpayload::tests::unit2 ... ok [INFO] [stdout] test coin::test::coin_from_u32_always_valid ... ok [INFO] [stdout] test hdpayload::tests::decrypt_too_large ... ok [INFO] [stdout] test hdpayload::tests::encrypt ... ok [INFO] [stdout] test hash::test::debug_blake2b_224 ... ok [INFO] [stdout] test hdpayload::tests::decrypt_too_small ... ok [INFO] [stdout] test hdpayload::tests::hdpayload ... ok [INFO] [stdout] test hdwallet::tests::seed_cases ... ok [INFO] [stdout] test hdpayload::tests::golden_tests ... ok [INFO] [stdout] test hdwallet::tests::xprv_derive ... ok [INFO] [stdout] test hdwallet::tests::unit_derivation_v2 ... ok [INFO] [stdout] test hdwallet::tests::unit_derivation_v1 ... ok [INFO] [stdout] test hdwallet::tests::xpub_derive_v1_hardened ... ok [INFO] [stdout] test hdwallet::tests::xpub_derive_v2 ... ok [INFO] [stdout] test hdwallet::tests::xprv_sign ... ok [INFO] [stdout] test hdwallet::tests::xpub_derive_v1_soft ... ok [INFO] [stdout] test hdwallet::golden_tests::mnemonics ... ok [INFO] [stdout] test input_selection::simple_selections::unit_tests::not_enough_ada_blackjack ... ok [INFO] [stdout] test input_selection::simple_selections::unit_tests::not_enough_ada_fisrt_match_first_2 ... ok [INFO] [stdout] test input_selection::simple_selections::unit_tests::random_large_amount_ada_blackjack ... ok [INFO] [stdout] test input_selection::simple_selections::unit_tests::random_large_amount_ada_first_match_first ... ok [INFO] [stdout] test input_selection::simple_selections::unit_tests::random_small_amount_ada_first_match_first ... ok [INFO] [stdout] test input_selection::simple_selections::unit_tests::random_small_amount_ada_first_match_first_2 ... ok [INFO] [stdout] test block::verify::tests::test_verify ... ok [INFO] [stdout] test tx::tests::tx_decode ... ok [INFO] [stdout] test input_selection::simple_selections::unit_tests::not_enough_ada_first_match_first_1 ... ok [INFO] [stdout] test tx::tests::txaux_encode_decode ... ok [INFO] [stdout] test tx::tests::tx_encode_decode ... ok [INFO] [stdout] test tx::tests::txin_decode ... ok [INFO] [stdout] test util::base58::tests::test_vector_3 ... ok [INFO] [stdout] test util::base58::tests::test_vector_2 ... ok [INFO] [stdout] test util::base58::tests::test_vector_6 ... ok [INFO] [stdout] test util::base58::tests::test_vector_5 ... ok [INFO] [stdout] test util::bits::test::bit_read_by_11 ... ok [INFO] [stdout] test util::hex::tests::test_vector_1 ... ok [INFO] [stdout] test util::hex::tests::test_vector_2 ... ok [INFO] [stdout] test txbuild::tests::txbuild_auto ... ok [INFO] [stdout] test util::base58::tests::test_vector_1 ... ok [INFO] [stdout] test tx::tests::txout_decode ... ok [INFO] [stdout] test util::base58::tests::test_vector_8 ... ok [INFO] [stdout] test tx::tests::txinwitness_decode ... ok [INFO] [stdout] test tx::tests::txinwitness_encode_decode ... ok [INFO] [stdout] test tx::tests::txinwitness_sign_verify ... ok [INFO] [stdout] test util::base58::tests::test_vector_4 ... ok [INFO] [stdout] test util::base58::tests::test_vector_7 ... ok [INFO] [stdout] test tx::tests::txout_encode_decode ... ok [INFO] [stdout] test tx::tests::txaux_decode ... ok [INFO] [stdout] test tx::tests::txin_encode_decode ... ok [INFO] [stdout] test txbuild::tests::txbuild_simple ... ok [INFO] [stdout] test txbuild::tests::txbuild_auto_2 ... ok [INFO] [stdout] test block::verify::tests::test_invalid_application_name - should panic ... ok [INFO] [stdout] test block::verify::tests::test_too_long_system_tag - should panic ... ok [INFO] [stdout] test block::verify::tests::test_invalid_coin_portion - should panic ... ok [INFO] [stdout] test block::verify::tests::test_invalid_system_tag - should panic ... ok [INFO] [stdout] test block::verify::tests::test_invalid_coin - should panic ... ok [INFO] [stdout] test wallet::rindex::test::test_move_rindex_wallet ... ok [INFO] [stdout] test redeem::tests::redeem_signature ... ok [INFO] [stdout] test paperwallet::tests::paper_scramble ... ok [INFO] [stdout] test paperwallet::tests::paper_unscramble ... ok [INFO] [stdout] test hdwallet::tests::normalize_bytes ... ok [INFO] [stdout] test bip::bip39::test::test_vectors_japanese ... ok [INFO] [stdout] test bip::bip39::test::test_vectors_english ... ok [INFO] [stdout] test hdwallet::golden_tests::derivation ... ok [INFO] [stdout] test input_selection::simple_selections::test::largest_first ... ok [INFO] [stdout] test input_selection::simple_selections::test::head_first ... ok [INFO] [stdout] test input_selection::simple_selections::test::blackjack ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 99 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 11.30s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cardano_c-ff4dede5956930d2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cardano_storage-93487fe3462c0625) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/chain_core-c482fb1d0fac0278) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/exe_common-ea0b0e8ab4327e06) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test genesisdata::parse::test::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.70s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/network_core-291dc326088dd63e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/network_ntt-87ee303920b160ee) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/protocol-df20059789d95290) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test packet::tests::handshake_encoding ... ok [INFO] [stdout] test packet::tests::parse_get_block_headers_response ... ok [INFO] [stdout] test packet::tests::handshake_decoding ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/protocol_tokio-83fe2ba04fc38bb4) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test network_transport::response_code::test::encode_decode ... ok [INFO] [stdout] test network_transport::event::test::event_encode_decode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/storage_units-88811622f019ee2b) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test utils::directory_name::test::invalid_character_in_directory_name ... ok [INFO] [stdout] test utils::directory_name::test::valid_directory_name ... ok [INFO] [stdout] test utils::directory_name::test::invalid_encoding_in_directory_name ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests cardano [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/cardano/src/util/hex.rs:82:17 [INFO] [stderr] | [INFO] [stderr] 82 | b'A'...b'F' => buf |= byte - b'A' + 10, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/cardano/src/util/hex.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | b'a'...b'f' => buf |= byte - b'a' + 10, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/cardano/src/util/hex.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 84 | b'0'...b'9' => buf |= byte - b'0', [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test src/wallet/bip44.rs - wallet::bip44::Account::address_generator (line 231) ... FAILED [INFO] [stdout] test src/wallet/bip44.rs - wallet::bip44::Account::address_generator (line 187) ... FAILED [INFO] [stdout] test src/bip/bip39.rs - bip::bip39 (line 14) ... FAILED [INFO] [stdout] test src/bip/bip39.rs - bip::bip39 (line 34) ... FAILED [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::MnemonicString::new (line 531) ... FAILED [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::Entropy::from_mnemonics (line 272) ... FAILED [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::Entropy::to_mnemonics (line 317) ... FAILED [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::Seed::from_mnemonic_string (line 464) ... FAILED [INFO] [stdout] test src/util/base58.rs - util::base58 (line 5) ... FAILED [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::MnemonicIndex::new (line 697) ... FAILED [INFO] [stdout] test src/util/base58.rs - util::base58::encode (line 39) ... FAILED [INFO] [stdout] test src/bip/bip44.rs - bip::bip44 (line 8) ... FAILED [INFO] [stdout] test src/util/base58.rs - util::base58::decode_bytes (line 73) ... FAILED [INFO] [stdout] test src/util/base58.rs - util::base58::decode (line 57) ... FAILED [INFO] [stdout] test src/util/hex.rs - util::hex (line 5) ... FAILED [INFO] [stdout] test src/config.rs - config::ProtocolMagic (line 30) ... FAILED [INFO] [stdout] test src/bip/bip44.rs - bip::bip44::Addressing::new (line 347) ... FAILED [INFO] [stdout] test src/bip/bip44.rs - bip::bip44::Addressing::incr (line 421) ... FAILED [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::Entropy::generate (line 161) ... FAILED [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::Entropy::checksum (line 246) ... FAILED [INFO] [stdout] test src/hdwallet.rs - hdwallet::XPub::verify (line 487) ... FAILED [INFO] [stdout] test src/hdwallet.rs - hdwallet::Seed::from_slice (line 154) ... FAILED [INFO] [stdout] test src/coin.rs - coin::Coin::unit (line 78) ... FAILED [INFO] [stdout] test src/util/hex.rs - util::hex::decode (line 63) ... FAILED [INFO] [stdout] test src/util/hex.rs - util::hex::encode (line 42) ... FAILED [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::Seed::from_slice (line 426) ... FAILED [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::Seed::from_bytes (line 410) ... FAILED [INFO] [stdout] test src/hdwallet.rs - hdwallet::XPub::from_hex (line 472) ... FAILED [INFO] [stdout] test src/coin.rs - coin::Coin::new (line 91) ... FAILED [INFO] [stdout] test src/hdwallet.rs - hdwallet::XPrv::public (line 307) ... FAILED [INFO] [stdout] test src/hdwallet.rs - hdwallet::XPrv::generate_from_seed (line 200) ... FAILED [INFO] [stdout] test src/hdwallet.rs - hdwallet::Seed::from_bytes (line 140) ... FAILED [INFO] [stdout] test src/hdwallet.rs - hdwallet::XPrv::sign (line 325) ... FAILED [INFO] [stdout] test src/coin.rs - coin::Coin::zero (line 65) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/wallet/bip44.rs - wallet::bip44::Account::address_generator (line 231) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/wallet/bip44.rs - wallet::bip44::Account::address_generator (line 187) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bip/bip39.rs - bip::bip39 (line 14) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bip/bip39.rs - bip::bip39 (line 34) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bip/bip39.rs - bip::bip39::MnemonicString::new (line 531) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bip/bip39.rs - bip::bip39::Entropy::from_mnemonics (line 272) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bip/bip39.rs - bip::bip39::Entropy::to_mnemonics (line 317) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bip/bip39.rs - bip::bip39::Seed::from_mnemonic_string (line 464) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util/base58.rs - util::base58 (line 5) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bip/bip39.rs - bip::bip39::MnemonicIndex::new (line 697) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util/base58.rs - util::base58::encode (line 39) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bip/bip44.rs - bip::bip44 (line 8) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util/base58.rs - util::base58::decode_bytes (line 73) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util/base58.rs - util::base58::decode (line 57) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util/hex.rs - util::hex (line 5) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::ProtocolMagic (line 30) stdout ---- [INFO] [stdout] warning: use of deprecated associated function `cardano::config::ProtocolMagic::new` [INFO] [stdout] --> src/config.rs:33:53 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(ProtocolMagic::default(), ProtocolMagic::new(0x2D964A09)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bip/bip44.rs - bip::bip44::Addressing::new (line 347) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bip/bip44.rs - bip::bip44::Addressing::incr (line 421) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bip/bip39.rs - bip::bip39::Entropy::generate (line 161) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bip/bip39.rs - bip::bip39::Entropy::checksum (line 246) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/hdwallet.rs - hdwallet::XPub::verify (line 487) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/hdwallet.rs - hdwallet::Seed::from_slice (line 154) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/coin.rs - coin::Coin::unit (line 78) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util/hex.rs - util::hex::decode (line 63) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util/hex.rs - util::hex::encode (line 42) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bip/bip39.rs - bip::bip39::Seed::from_slice (line 426) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bip/bip39.rs - bip::bip39::Seed::from_bytes (line 410) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/hdwallet.rs - hdwallet::XPub::from_hex (line 472) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/coin.rs - coin::Coin::new (line 91) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/hdwallet.rs - hdwallet::XPrv::public (line 307) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/hdwallet.rs - hdwallet::XPrv::generate_from_seed (line 200) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/hdwallet.rs - hdwallet::Seed::from_bytes (line 140) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/hdwallet.rs - hdwallet::XPrv::sign (line 325) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/coin.rs - coin::Coin::zero (line 65) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/bip/bip39.rs - bip::bip39 (line 14) [INFO] [stdout] src/bip/bip39.rs - bip::bip39 (line 34) [INFO] [stdout] src/bip/bip39.rs - bip::bip39::Entropy::checksum (line 246) [INFO] [stdout] src/bip/bip39.rs - bip::bip39::Entropy::from_mnemonics (line 272) [INFO] [stdout] src/bip/bip39.rs - bip::bip39::Entropy::generate (line 161) [INFO] [stdout] src/bip/bip39.rs - bip::bip39::Entropy::to_mnemonics (line 317) [INFO] [stdout] src/bip/bip39.rs - bip::bip39::MnemonicIndex::new (line 697) [INFO] [stdout] src/bip/bip39.rs - bip::bip39::MnemonicString::new (line 531) [INFO] [stdout] src/bip/bip39.rs - bip::bip39::Seed::from_bytes (line 410) [INFO] [stdout] src/bip/bip39.rs - bip::bip39::Seed::from_mnemonic_string (line 464) [INFO] [stdout] src/bip/bip39.rs - bip::bip39::Seed::from_slice (line 426) [INFO] [stdout] src/bip/bip44.rs - bip::bip44 (line 8) [INFO] [stdout] src/bip/bip44.rs - bip::bip44::Addressing::incr (line 421) [INFO] [stdout] src/bip/bip44.rs - bip::bip44::Addressing::new (line 347) [INFO] [stdout] src/coin.rs - coin::Coin::new (line 91) [INFO] [stdout] src/coin.rs - coin::Coin::unit (line 78) [INFO] [stdout] src/coin.rs - coin::Coin::zero (line 65) [INFO] [stdout] src/config.rs - config::ProtocolMagic (line 30) [INFO] [stdout] src/hdwallet.rs - hdwallet::Seed::from_bytes (line 140) [INFO] [stdout] src/hdwallet.rs - hdwallet::Seed::from_slice (line 154) [INFO] [stdout] src/hdwallet.rs - hdwallet::XPrv::generate_from_seed (line 200) [INFO] [stdout] src/hdwallet.rs - hdwallet::XPrv::public (line 307) [INFO] [stdout] src/hdwallet.rs - hdwallet::XPrv::sign (line 325) [INFO] [stdout] src/hdwallet.rs - hdwallet::XPub::from_hex (line 472) [INFO] [stdout] src/hdwallet.rs - hdwallet::XPub::verify (line 487) [INFO] [stdout] src/util/base58.rs - util::base58 (line 5) [INFO] [stdout] src/util/base58.rs - util::base58::decode (line 57) [INFO] [stdout] src/util/base58.rs - util::base58::decode_bytes (line 73) [INFO] [stdout] src/util/base58.rs - util::base58::encode (line 39) [INFO] [stdout] src/util/hex.rs - util::hex (line 5) [INFO] [stdout] src/util/hex.rs - util::hex::decode (line 63) [INFO] [stdout] src/util/hex.rs - util::hex::encode (line 42) [INFO] [stdout] src/wallet/bip44.rs - wallet::bip44::Account::address_generator (line 187) [INFO] [stdout] src/wallet/bip44.rs - wallet::bip44::Account::address_generator (line 231) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 34 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.68s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "d17604c96a98617def504949e05da0bf1bc49d37842dd098cd33218fa2dd843f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d17604c96a98617def504949e05da0bf1bc49d37842dd098cd33218fa2dd843f", kill_on_drop: false }` [INFO] [stdout] d17604c96a98617def504949e05da0bf1bc49d37842dd098cd33218fa2dd843f