[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.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finput-output-hk%2Frust-cardano" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/input-output-hk/rust-cardano on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4f1a752b9c927b2e9ed927b71d6431c63534cc85606ab31d1990ea8cc3574e14 [INFO] running `Command { std: "docker" "start" "-a" "4f1a752b9c927b2e9ed927b71d6431c63534cc85606ab31d1990ea8cc3574e14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f1a752b9c927b2e9ed927b71d6431c63534cc85606ab31d1990ea8cc3574e14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f1a752b9c927b2e9ed927b71d6431c63534cc85606ab31d1990ea8cc3574e14", kill_on_drop: false }` [INFO] [stdout] 4f1a752b9c927b2e9ed927b71d6431c63534cc85606ab31d1990ea8cc3574e14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 655d8342d81b2544c56050cd98fd66303cc1effffe5f5bf48834a93c0188aa3b [INFO] running `Command { std: "docker" "start" "-a" "655d8342d81b2544c56050cd98fd66303cc1effffe5f5bf48834a93c0188aa3b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cbor_event v2.1.3 [INFO] [stderr] Compiling cryptoxide v0.1.3 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling try-lock v0.1.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling chain-core v0.1.0 (/opt/rustwide/workdir/chain-core) [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 base64 v0.9.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.79 [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 iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling rand v0.3.23 [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 tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling protocol-tokio v0.1.0 (/opt/rustwide/workdir/protocol-tokio) [INFO] [stderr] Compiling storage-units v0.1.0 (/opt/rustwide/workdir/storage-units) [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 160 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 61 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 150 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 44 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 104 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 51 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 60 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - file: &mut Read, [INFO] [stdout] 31 + file: &mut dyn Read, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> protocol-tokio/src/protocol/mod.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | id: nt::LightWeightConnectionId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_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] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: 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: `...` 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 [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 [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 [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/fee.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 69 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 117 + fn cause(&self) -> Option<&dyn error::Error> { [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 124 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 327 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 327 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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: 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/src/ntt/mod.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 38 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 64 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 87 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 75 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/wallet.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | ffi::CString::from_raw(*ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "655d8342d81b2544c56050cd98fd66303cc1effffe5f5bf48834a93c0188aa3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "655d8342d81b2544c56050cd98fd66303cc1effffe5f5bf48834a93c0188aa3b", kill_on_drop: false }` [INFO] [stdout] 655d8342d81b2544c56050cd98fd66303cc1effffe5f5bf48834a93c0188aa3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2745dc137291b930e0999c096c00ebfb88efa5e37a585a24e1f90a114f4cfa4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b2745dc137291b930e0999c096c00ebfb88efa5e37a585a24e1f90a114f4cfa4", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling network-core v0.1.0-dev (/opt/rustwide/workdir/network-core) [INFO] [stderr] Compiling env_logger v0.6.2 [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 160 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 61 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 150 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> protocol-tokio/src/protocol/mod.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | id: nt::LightWeightConnectionId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_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] [INFO] [stdout] warning: 5 warnings emitted [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: `...` 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 [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 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling storage-units v0.1.0 (/opt/rustwide/workdir/storage-units) [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/fee.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 69 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 117 + fn cause(&self) -> Option<&dyn error::Error> { [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 124 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 327 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 327 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] --> storage-units/src/append.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 44 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 104 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 51 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 60 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - file: &mut Read, [INFO] [stdout] 31 + file: &mut dyn Read, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cardano-c v0.1.0 (/opt/rustwide/workdir/cardano-c) [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] [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 38 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 64 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 87 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] [stderr] Compiling exe-common v0.1.0 (/opt/rustwide/workdir/exe-common) [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] [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 75 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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 env_logger v0.5.13 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/wallet.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | ffi::CString::from_raw(*ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 44 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 104 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 51 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 60 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - file: &mut Read, [INFO] [stdout] 31 + file: &mut dyn Read, [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 87 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quickcheck v0.8.5 [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 75 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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: 5 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] [stderr] Compiling protocol v0.1.0 (/opt/rustwide/workdir/protocol) [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/src/ntt/mod.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 38 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 64 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quickcheck v0.7.2 [INFO] [stderr] Compiling cardano v0.1.1 (/opt/rustwide/workdir/cardano) [INFO] [stderr] Compiling chain-core v0.1.0 (/opt/rustwide/workdir/chain-core) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] [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: `...` 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 [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 [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 [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/fee.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 69 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 117 + fn cause(&self) -> Option<&dyn error::Error> { [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 124 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 327 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 327 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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: 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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 160 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 61 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 150 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> protocol-tokio/src/protocol/mod.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | id: nt::LightWeightConnectionId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_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] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 39.54s [INFO] running `Command { std: "docker" "inspect" "b2745dc137291b930e0999c096c00ebfb88efa5e37a585a24e1f90a114f4cfa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2745dc137291b930e0999c096c00ebfb88efa5e37a585a24e1f90a114f4cfa4", kill_on_drop: false }` [INFO] [stdout] b2745dc137291b930e0999c096c00ebfb88efa5e37a585a24e1f90a114f4cfa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5a3303d178d25734fe732250e16576e5d94b265130759a10ba0f99282c370a4e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5a3303d178d25734fe732250e16576e5d94b265130759a10ba0f99282c370a4e", kill_on_drop: false }` [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 160 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 160 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 61 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 61 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 150 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 150 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> protocol-tokio/src/protocol/mod.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | id: nt::LightWeightConnectionId, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [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] 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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 44 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 44 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 104 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 104 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 51 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 60 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 60 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [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] | ^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 31 - file: &mut Read, [INFO] [stderr] 31 + file: &mut dyn Read, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `protocol-tokio` (lib) generated 5 warnings [INFO] [stderr] warning: `storage-units` (lib) generated 5 warnings [INFO] [stderr] warning: `storage-units` (lib test) generated 5 warnings (5 duplicates) [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: `...` 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 [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 [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 [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/fee.rs:44:32 [INFO] [stderr] | [INFO] [stderr] 44 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 44 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stderr] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 46 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stderr] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 71 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stderr] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 109 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stderr] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 59 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stderr] | +++++ + [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] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 58 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stderr] | +++++ + [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 69 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 69 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 117 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 117 + fn cause(&self) -> Option<&dyn error::Error> { [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 124 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 124 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 327 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 327 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `cardano` (lib) generated 15 warnings [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] --> protocol/src/ntt/mod.rs:38:32 [INFO] [stderr] | [INFO] [stderr] 38 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 38 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 64 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 64 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 87 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 87 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [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: unused return value of `CString::from_raw` that must be used [INFO] [stderr] --> cardano-c/src/wallet.rs:144:13 [INFO] [stderr] | [INFO] [stderr] 144 | ffi::CString::from_raw(*ptr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [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: `cardano` (lib test) generated 17 warnings (15 duplicates) [INFO] [stderr] warning: `cardano-c` (lib test) generated 1 warning [INFO] [stderr] warning: `protocol` (lib test) generated 3 warnings (3 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: `protocol-tokio` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: `network-ntt` (lib test) generated 1 warning (1 duplicate) [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 75 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 75 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [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.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cardano-6324ba2a09990fc7) [INFO] [stdout] [INFO] [stdout] running 99 tests [INFO] [stdout] test address::tests::encode_decode_addr_type ... ok [INFO] [stdout] test bip::bip39::test::mnemonic_zero ... ok [INFO] [stdout] test address::tests::decode_address_no_derivation_path ... ok [INFO] [stdout] test address::tests::decode_address_1 ... ok [INFO] [stdout] test address::tests::decode_address_2 ... ok [INFO] [stdout] test bip::bip39::test::mnemonic_7f ... ok [INFO] [stdout] test address::tests::test_encode_extended_address ... ok [INFO] [stdout] test address::tests::test_make_address ... ok [INFO] [stdout] test address::tests::decode_address_network_magic ... ok [INFO] [stdout] test bip::bip39::test::from_mnemonic_to_mnemonic ... ok [INFO] [stdout] test bip::bip39::test::english_dic ... ok [INFO] [stdout] test address::tests::encode_decode_stakeholderid ... ok [INFO] [stdout] test address::tests::encode_decode_stakedistribution ... ok [INFO] [stdout] test block::date::tests::parse_bad_epoch ... ok [INFO] [stdout] test block::date::tests::parse_bad_slotid ... ok [INFO] [stdout] test block::block::test::check_main_block ... 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::sign::tests::test_psk_sign ... ok [INFO] [stdout] test block::normal::tests::debug_dlg_proof ... ok [INFO] [stdout] test block::update::tests::debug_update_proof ... ok [INFO] [stdout] test block::types::tests::debug_header_hash ... ok [INFO] [stdout] test coin::test::coin_cbor_serialization ... ok [INFO] [stdout] test block::sign::tests::test_psk_verify ... ok [INFO] [stdout] test coin::test::coin_from_u32_always_valid ... 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_mul ... ok [INFO] [stdout] test fee::test::check_fee_add ... ok [INFO] [stdout] test hash::test::cbor_encode_decode_blake2b_256 ... ok [INFO] [stdout] test hash::test::debug_blake2b_224 ... ok [INFO] [stdout] test hdpayload::tests::path_cbor_encoding ... ok [INFO] [stdout] test hdpayload::tests::unit1 ... ok [INFO] [stdout] test hdpayload::tests::unit2 ... ok [INFO] [stdout] test block::block::test::check_boundary_block ... ok [INFO] [stdout] test hdpayload::tests::decrypt_too_large ... ok [INFO] [stdout] test hdwallet::tests::seed_cases ... ok [INFO] [stdout] test hdwallet::tests::unit_derivation_v1 ... ok [INFO] [stdout] test hdwallet::tests::unit_derivation_v2 ... ok [INFO] [stdout] test hdwallet::tests::xprv_derive ... ok [INFO] [stdout] test hdwallet::tests::xprv_sign ... ok [INFO] [stdout] test hdpayload::tests::hdpayload ... ok [INFO] [stdout] test hdwallet::tests::xpub_derive_v1_hardened ... ok [INFO] [stdout] test hdwallet::tests::xpub_derive_v1_soft ... ok [INFO] [stdout] test hdpayload::tests::decrypt_too_small ... ok [INFO] [stdout] test hdwallet::tests::xpub_derive_v2 ... ok [INFO] [stdout] test hdpayload::tests::encrypt ... 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_first_match_first_1 ... 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 block::verify::tests::test_too_long_system_tag - should panic ... ok [INFO] [stdout] test block::verify::tests::test_invalid_coin - should panic ... ok [INFO] [stdout] test block::verify::tests::test_invalid_application_name - should panic ... ok [INFO] [stdout] test input_selection::simple_selections::unit_tests::random_large_amount_ada_first_match_first ... 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 tx::tests::tx_decode ... ok [INFO] [stdout] test input_selection::simple_selections::unit_tests::random_small_amount_ada_first_match_first ... ok [INFO] [stdout] test tx::tests::tx_encode_decode ... ok [INFO] [stdout] test tx::tests::txaux_decode ... ok [INFO] [stdout] test tx::tests::txaux_encode_decode ... ok [INFO] [stdout] test tx::tests::txin_decode ... ok [INFO] [stdout] test input_selection::simple_selections::unit_tests::random_small_amount_ada_first_match_first_2 ... ok [INFO] [stdout] test tx::tests::txinwitness_decode ... ok [INFO] [stdout] test hdwallet::golden_tests::mnemonics ... ok [INFO] [stdout] test tx::tests::txin_encode_decode ... ok [INFO] [stdout] test tx::tests::txinwitness_encode_decode ... ok [INFO] [stdout] test tx::tests::txout_encode_decode ... ok [INFO] [stdout] test txbuild::tests::txbuild_auto ... ok [INFO] [stdout] test tx::tests::txout_decode ... ok [INFO] [stdout] test hdpayload::tests::golden_tests ... ok [INFO] [stdout] test util::base58::tests::test_vector_2 ... ok [INFO] [stdout] test tx::tests::txinwitness_sign_verify ... ok [INFO] [stdout] test txbuild::tests::txbuild_simple ... ok [INFO] [stdout] test util::base58::tests::test_vector_5 ... ok [INFO] [stdout] test util::base58::tests::test_vector_6 ... ok [INFO] [stdout] test util::base58::tests::test_vector_7 ... ok [INFO] [stdout] test util::base58::tests::test_vector_8 ... ok [INFO] [stdout] test util::base58::tests::test_vector_4 ... 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 util::base58::tests::test_vector_1 ... ok [INFO] [stdout] test util::base58::tests::test_vector_3 ... ok [INFO] [stdout] test txbuild::tests::txbuild_auto_2 ... ok [INFO] [stdout] test wallet::rindex::test::test_move_rindex_wallet ... ok [INFO] [stdout] test block::verify::tests::test_verify ... 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::blackjack ... ok [INFO] [stdout] test input_selection::simple_selections::test::head_first ... ok [INFO] [stdout] test input_selection::simple_selections::test::largest_first ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 99 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 30.49s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cardano_c-9e99c7eaf478ecab) [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-dd3d8404f95f6882) [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-f20cbac9fed006f5) [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-4bb741de76f4c512) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/network_core-c37d258476e11bd5) [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.83s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/network_ntt-e6fb052a2d7ae30e) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/protocol-e6854dd24993f659) [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] [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] [stdout] [INFO] [stdout] running 3 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/protocol_tokio-f1ee1b20e0fa0cd7) [INFO] [stdout] test packet::tests::parse_get_block_headers_response ... ok [INFO] [stdout] test packet::tests::handshake_decoding ... ok [INFO] [stdout] test packet::tests::handshake_encoding ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/storage_units-073bded577ec8238) [INFO] [stdout] [INFO] [stderr] Doc-tests cardano [INFO] [stdout] running 3 tests [INFO] [stdout] test utils::directory_name::test::invalid_encoding_in_directory_name ... ok [INFO] [stdout] test utils::directory_name::test::valid_directory_name ... ok [INFO] [stdout] test utils::directory_name::test::invalid_character_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] 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 [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 [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 [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::Seed::from_slice (line 426) ... ok [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::MnemonicIndex::new (line 697) ... ok [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::Entropy::from_mnemonics (line 272) ... ok [INFO] [stdout] test src/coin.rs - coin::Coin::unit (line 78) ... ok [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::Entropy::generate (line 161) ... ok [INFO] [stdout] test src/bip/bip44.rs - bip::bip44::Addressing::incr (line 421) ... ok [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::Entropy::to_mnemonics (line 317) ... ok [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::Seed::from_mnemonic_string (line 464) ... ok [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::Entropy::checksum (line 246) ... ok [INFO] [stdout] test src/coin.rs - coin::Coin::zero (line 65) ... ok [INFO] [stdout] test src/coin.rs - coin::Coin::new (line 91) ... ok [INFO] [stdout] test src/bip/bip44.rs - bip::bip44 (line 8) ... ok [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::MnemonicString::new (line 531) ... ok [INFO] [stdout] test src/bip/bip44.rs - bip::bip44::Addressing::new (line 347) ... ok [INFO] [stdout] test src/bip/bip39.rs - bip::bip39 (line 34) ... ok [INFO] [stdout] test src/bip/bip39.rs - bip::bip39::Seed::from_bytes (line 410) ... ok [INFO] [stdout] test src/hdwallet.rs - hdwallet::Seed::from_slice (line 154) ... ok [INFO] [stdout] test src/hdwallet.rs - hdwallet::XPub::from_hex (line 472) ... ok [INFO] [stdout] test src/util/hex.rs - util::hex (line 5) ... ok [INFO] [stdout] test src/bip/bip39.rs - bip::bip39 (line 14) ... ok [INFO] [stdout] test src/hdwallet.rs - hdwallet::XPrv::public (line 307) ... ok [INFO] [stdout] test src/config.rs - config::ProtocolMagic (line 30) ... ok [INFO] [stdout] test src/hdwallet.rs - hdwallet::Seed::from_bytes (line 140) ... ok [INFO] [stdout] test src/util/base58.rs - util::base58::encode (line 39) ... ok [INFO] [stdout] test src/util/hex.rs - util::hex::encode (line 42) ... ok [INFO] [stdout] test src/util/base58.rs - util::base58 (line 5) ... ok [INFO] [stdout] test src/hdwallet.rs - hdwallet::XPrv::generate_from_seed (line 200) ... ok [INFO] [stdout] test src/hdwallet.rs - hdwallet::XPub::verify (line 487) ... ok [INFO] [stdout] test src/util/hex.rs - util::hex::decode (line 63) ... ok [INFO] [stdout] test src/hdwallet.rs - hdwallet::XPrv::sign (line 325) ... ok [INFO] [stdout] test src/util/base58.rs - util::base58::decode_bytes (line 73) ... ok [INFO] [stdout] test src/util/base58.rs - util::base58::decode (line 57) ... ok [INFO] [stdout] test src/wallet/bip44.rs - wallet::bip44::Account::address_generator (line 187) ... ok [INFO] [stdout] test src/wallet/bip44.rs - wallet::bip44::Account::address_generator (line 231) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 34 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 12.38s [INFO] [stdout] [INFO] [stderr] Doc-tests cardano-storage [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] Doc-tests chain-core [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] Doc-tests exe-common [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests network-core [INFO] [stdout] test src/config.rs - config::net::Peer (line 40) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.59s [INFO] [stdout] [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] Doc-tests network-ntt [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] Doc-tests protocol [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> /opt/rustwide/workdir/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] [stdout] [INFO] [stderr] warning: 1 warning emitted [INFO] [stdout] running 0 tests [INFO] [stderr] [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] Doc-tests protocol-tokio [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] Doc-tests storage-units [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/utils/directory_name.rs - utils::directory_name::DirectoryName::new (line 23) ... 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] running `Command { std: "docker" "inspect" "5a3303d178d25734fe732250e16576e5d94b265130759a10ba0f99282c370a4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3303d178d25734fe732250e16576e5d94b265130759a10ba0f99282c370a4e", kill_on_drop: false }` [INFO] [stdout] 5a3303d178d25734fe732250e16576e5d94b265130759a10ba0f99282c370a4e