[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] 5f0c8d34424e0ccb199b8c6b70fd410d4bd6af41 [INFO] checking input-output-hk/rust-cardano against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finput-output-hk%2Frust-cardano" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/input-output-hk/rust-cardano on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 159 packages [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.2.0) [INFO] [stderr] Adding base64 v0.9.3 (latest: v0.22.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (latest: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.8.2 (latest: v0.9.18) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (latest: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (latest: v0.8.19) [INFO] [stderr] Adding cryptoxide v0.1.3 (latest: v0.4.4) [INFO] [stderr] Adding dtoa v0.4.8 (latest: v1.0.9) [INFO] [stderr] Adding env_logger v0.5.13 (latest: v0.11.3) [INFO] [stderr] Adding env_logger v0.6.2 (latest: v0.11.3) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding hyper v0.11.27 (latest: v1.2.0) [INFO] [stderr] Adding language-tags v0.2.2 (latest: v0.3.2) [INFO] [stderr] Adding lock_api v0.3.4 (latest: v0.4.11) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.21) [INFO] [stderr] Adding memoffset v0.5.6 (latest: v0.9.1) [INFO] [stderr] Adding mio v0.6.23 (latest: v0.8.11) [INFO] [stderr] Adding miow v0.2.2 (latest: v0.6.0) [INFO] [stderr] Adding parking_lot v0.9.0 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot_core v0.6.3 (latest: v0.9.9) [INFO] [stderr] Adding percent-encoding v1.0.1 (latest: v2.3.1) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quickcheck v0.7.2 (latest: v1.0.3) [INFO] [stderr] Adding quickcheck v0.8.5 (latest: v1.0.3) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.5.6 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.6.5 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.2.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (latest: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (latest: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.1) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding scoped-tls v0.1.2 (latest: v1.0.1) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding serde_yaml v0.7.5 (latest: v0.9.34+deprecated) [INFO] [stderr] Adding slab v0.3.0 (latest: v0.4.9) [INFO] [stderr] Adding smallvec v0.2.1 (latest: v1.13.2) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding tokio v0.1.22 (latest: v1.37.0) [INFO] [stderr] Adding try-lock v0.1.0 (latest: v0.2.5) [INFO] [stderr] Adding want v0.0.4 (latest: v0.3.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded want v0.0.4 [INFO] [stderr] Downloaded quickcheck v0.7.2 [INFO] [stderr] Downloaded try-lock v0.1.0 [INFO] [stderr] Downloaded relay v0.1.1 [INFO] [stderr] Downloaded smallvec v0.2.1 [INFO] [stderr] Downloaded take v0.1.0 [INFO] [stderr] Downloaded tokio-proto v0.1.1 [INFO] [stderr] Downloaded hyper v0.11.27 [INFO] [stderr] Downloaded quickcheck v0.8.5 [INFO] [stderr] Downloaded cbor_event v2.4.0 [INFO] [stderr] Downloaded cryptoxide v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e30fba57b9690246d528e8e9cb008254341c8e97f3551bdd002b225a886ed048 [INFO] running `Command { std: "docker" "start" "-a" "e30fba57b9690246d528e8e9cb008254341c8e97f3551bdd002b225a886ed048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e30fba57b9690246d528e8e9cb008254341c8e97f3551bdd002b225a886ed048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e30fba57b9690246d528e8e9cb008254341c8e97f3551bdd002b225a886ed048", kill_on_drop: false }` [INFO] [stdout] e30fba57b9690246d528e8e9cb008254341c8e97f3551bdd002b225a886ed048 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8d8e32ebf4734554639314342ba6bd92646a11f8d243449e6354e7c40d80309 [INFO] running `Command { std: "docker" "start" "-a" "e8d8e32ebf4734554639314342ba6bd92646a11f8d243449e6354e7c40d80309", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking chain-core v0.1.0 (/opt/rustwide/workdir/chain-core) [INFO] [stderr] Checking cbor_event v2.4.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking cryptoxide v0.1.3 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking try-lock v0.1.0 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking storage-units v0.1.0 (/opt/rustwide/workdir/storage-units) [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking network-core v0.1.0-dev (/opt/rustwide/workdir/network-core) [INFO] [stderr] Checking want v0.0.4 [INFO] [stderr] Checking relay v0.1.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> storage-units/src/utils/tmpfile.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: storage-units/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> network-core/src/gossip.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | iter::{DoubleEndedIterator, FromIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> storage-units/src/append.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> storage-units/src/utils/tmpfile.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: storage-units/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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-units/src/append.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> network-core/src/gossip.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | iter::{DoubleEndedIterator, FromIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | file: &mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking protocol-tokio v0.1.0 (/opt/rustwide/workdir/protocol-tokio) [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> protocol-tokio/src/protocol/accepting.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{self, fmt, io::Cursor, vec}; [INFO] [stdout] | ^^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> protocol-tokio/src/protocol/codec/handshake.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol-tokio/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> protocol-tokio/src/protocol/codec/message.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol-tokio/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> protocol-tokio/src/protocol/connecting.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use cbor_event::{self, de::Deserializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol-tokio/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> protocol-tokio/src/protocol/mod.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | struct LightWeightConnectionState { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 157 | id: nt::LightWeightConnectionId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LightWeightConnectionState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_node_id` is never used [INFO] [stdout] --> protocol-tokio/src/protocol/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 162 | impl LightWeightConnectionState { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | fn with_node_id(mut self, node_id: NodeId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking network-ntt v0.1.0 (/opt/rustwide/workdir/network-ntt) [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> network-ntt/src/server.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | use futures::{future, prelude::*, stream::Stream, sync::mpsc}; [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `Stream` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking hyper v0.11.27 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking quickcheck v0.8.5 [INFO] [stderr] Checking quickcheck v0.7.2 [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> network-ntt/src/server.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | use futures::{future, prelude::*, stream::Stream, sync::mpsc}; [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `Stream` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> protocol-tokio/src/protocol/accepting.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{self, fmt, io::Cursor, vec}; [INFO] [stdout] | ^^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> protocol-tokio/src/protocol/codec/handshake.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol-tokio/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> protocol-tokio/src/protocol/codec/message.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol-tokio/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `property` is imported redundantly [INFO] [stdout] --> protocol-tokio/src/protocol/codec/message.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 364 | use super::*; [INFO] [stdout] | -------- the item `property` is already imported here [INFO] [stdout] 365 | use chain_core::property; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> protocol-tokio/src/protocol/connecting.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use cbor_event::{self, de::Deserializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol-tokio/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 | 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: field `id` is never read [INFO] [stdout] --> protocol-tokio/src/protocol/mod.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | struct LightWeightConnectionState { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 157 | id: nt::LightWeightConnectionId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LightWeightConnectionState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_node_id` is never used [INFO] [stdout] --> protocol-tokio/src/protocol/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 162 | impl LightWeightConnectionState { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | fn with_node_id(mut self, node_id: NodeId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cardano v0.1.1 (/opt/rustwide/workdir/cardano) [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> cardano/src/address.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/address.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/coin.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/config.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/fee.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cbor_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/hash.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> cardano/src/hash.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/hdpayload.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/hdwallet.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> cardano/src/hdwallet.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/input_selection/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cbor_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/redeem.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> cardano/src/redeem.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/tx.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [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] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> cardano/src/txbuild.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [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] = 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: the item `serde` is imported redundantly [INFO] [stdout] --> cardano/src/bip/bip44.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [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: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/block.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use cbor_event::{self, de::Deserialize, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chain_core` is imported redundantly [INFO] [stdout] --> cardano/src/block/block.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use chain_core; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate chain_core; [INFO] [stdout] | ------------------------ the item `chain_core` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/boundary.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ord` is imported redundantly [INFO] [stdout] --> cardano/src/block/date.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | cmp::{Ord, Ordering}, [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/normal.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/sign.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/types.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/update.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `update` is imported redundantly [INFO] [stdout] --> cardano/src/block/verify.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::update; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | use address; [INFO] [stdout] 5 | use block::*; [INFO] [stdout] | -------- the item `update` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/verify.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use cbor_event::{self, se}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block::verify_chain::*` [INFO] [stdout] --> cardano/src/block/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use block::verify_chain::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/cbor/hs.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use cbor_event::{self, de::Deserializer, se::Serializer, Len}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/wallet/rindex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cbor_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cryptoxide` is imported redundantly [INFO] [stdout] --> cardano/src/wallet/rindex.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cryptoxide; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern crate cryptoxide; [INFO] [stdout] | ------------------------ the item `cryptoxide` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/vss.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> cardano/src/address.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base58` is imported redundantly [INFO] [stdout] --> cardano/src/address.rs:724:9 [INFO] [stdout] | [INFO] [stdout] 722 | use address::*; [INFO] [stdout] | ---------- the item `base58` is already imported here [INFO] [stdout] 723 | use hdwallet; [INFO] [stdout] 724 | use util::base58; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/coin.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/config.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/fee.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cbor_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/hash.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> cardano/src/hash.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/hash.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 249 | use super::*; [INFO] [stdout] | -------- the item `cbor_event` is already imported here [INFO] [stdout] 250 | use cbor_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/hdpayload.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/hdwallet.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> cardano/src/hdwallet.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bip39` is imported redundantly [INFO] [stdout] --> cardano/src/hdwallet.rs:1303:9 [INFO] [stdout] | [INFO] [stdout] 1302 | use super::*; [INFO] [stdout] | -------- the item `bip39` is already imported here [INFO] [stdout] 1303 | use bip::bip39; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/hdwallet.rs:1304:9 [INFO] [stdout] | [INFO] [stdout] 1302 | use super::*; [INFO] [stdout] | -------- the item `cbor_event` is already imported here [INFO] [stdout] 1303 | use bip::bip39; [INFO] [stdout] 1304 | use cbor_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/input_selection/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cbor_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FeeAlgorithm` is imported redundantly [INFO] [stdout] --> cardano/src/input_selection/simple_selections.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 168 | use super::*; [INFO] [stdout] | -------- the item `FeeAlgorithm` is already imported here [INFO] [stdout] ... [INFO] [stdout] 175 | use fee::{FeeAlgorithm, LinearFee}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FeeAlgorithm` is imported redundantly [INFO] [stdout] --> cardano/src/input_selection/simple_selections.rs:383:15 [INFO] [stdout] | [INFO] [stdout] 379 | use super::*; [INFO] [stdout] | -------- the item `FeeAlgorithm` is already imported here [INFO] [stdout] ... [INFO] [stdout] 383 | use fee::{FeeAlgorithm, LinearFee}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TxOut` is imported redundantly [INFO] [stdout] --> cardano/src/input_selection/simple_selections.rs:386:37 [INFO] [stdout] | [INFO] [stdout] 379 | use super::*; [INFO] [stdout] | -------- the item `TxOut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 386 | use tx::{Tx, TxId, TxInWitness, TxOut, TxoPointer}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> cardano/src/input_selection/simple_selections.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 379 | use super::*; [INFO] [stdout] | -------- the item `Input` is already imported here [INFO] [stdout] ... [INFO] [stdout] 387 | use txutils::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/redeem.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> cardano/src/redeem.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/tx.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [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] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/tx.rs:716:22 [INFO] [stdout] | [INFO] [stdout] 714 | use super::*; [INFO] [stdout] | -------- the item `cbor_event` is already imported here [INFO] [stdout] 715 | use address; [INFO] [stdout] 716 | use cbor_event::{self, de::Deserializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> cardano/src/tx.rs:716:28 [INFO] [stdout] | [INFO] [stdout] 714 | use super::*; [INFO] [stdout] | -------- the item `Deserializer` is already imported here [INFO] [stdout] 715 | use address; [INFO] [stdout] 716 | use cbor_event::{self, de::Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> cardano/src/txbuild.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TxOut` is imported redundantly [INFO] [stdout] --> cardano/src/txbuild.rs:329:20 [INFO] [stdout] | [INFO] [stdout] 325 | use super::*; [INFO] [stdout] | -------- the item `TxOut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 329 | use tx::{TxId, TxOut}; [INFO] [stdout] | ^^^^^ [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] = 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: the item `serde` is imported redundantly [INFO] [stdout] --> cardano/src/bip/bip44.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [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: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/block.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use cbor_event::{self, de::Deserialize, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chain_core` is imported redundantly [INFO] [stdout] --> cardano/src/block/block.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use chain_core; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate chain_core; [INFO] [stdout] | ------------------------ the item `chain_core` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/boundary.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ord` is imported redundantly [INFO] [stdout] --> cardano/src/block/date.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | cmp::{Ord, Ordering}, [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/normal.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Blake2b256` is imported redundantly [INFO] [stdout] --> cardano/src/block/normal.rs:786:9 [INFO] [stdout] | [INFO] [stdout] 785 | use super::*; [INFO] [stdout] | -------- the item `Blake2b256` is already imported here [INFO] [stdout] 786 | use hash::Blake2b256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/sign.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> cardano/src/block/sign.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | extern crate base64; [INFO] [stdout] | -------------------- the item `base64` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/types.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Blake2b256` is imported redundantly [INFO] [stdout] --> cardano/src/block/types.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 587 | use super::*; [INFO] [stdout] | -------- the item `Blake2b256` is already imported here [INFO] [stdout] 588 | use hash::Blake2b256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/update.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Blake2b256` is imported redundantly [INFO] [stdout] --> cardano/src/block/update.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 312 | use super::*; [INFO] [stdout] | -------- the item `Blake2b256` is already imported here [INFO] [stdout] 313 | use hash::Blake2b256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `update` is imported redundantly [INFO] [stdout] --> cardano/src/block/verify.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::update; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | use address; [INFO] [stdout] 5 | use block::*; [INFO] [stdout] | -------- the item `update` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/verify.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use cbor_event::{self, se}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/block/verify.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | use cbor_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block::verify_chain::*` [INFO] [stdout] --> cardano/src/block/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use block::verify_chain::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/cbor/hs.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use cbor_event::{self, de::Deserializer, se::Serializer, Len}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/wallet/rindex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cbor_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cryptoxide` is imported redundantly [INFO] [stdout] --> cardano/src/wallet/rindex.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cryptoxide; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern crate cryptoxide; [INFO] [stdout] | ------------------------ the item `cryptoxide` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ProtocolMagic` is imported redundantly [INFO] [stdout] --> cardano/src/wallet/rindex.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 591 | use super::*; [INFO] [stdout] | -------- the item `ProtocolMagic` is already imported here [INFO] [stdout] 592 | use crate::config::ProtocolMagic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> cardano/src/vss.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use cbor_event::{self, de::Deserializer, se::Serializer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cardano/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/fee.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, 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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, 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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 327 | 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/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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 327 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cardano-storage v0.1.0 (/opt/rustwide/workdir/storage) [INFO] [stderr] Checking protocol v0.1.0 (/opt/rustwide/workdir/protocol) [INFO] [stderr] Checking cardano-c v0.1.0 (/opt/rustwide/workdir/cardano-c) [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> protocol/src/packet.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cardano` is imported redundantly [INFO] [stdout] --> storage/src/pack.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cardano; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: storage/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate cardano; [INFO] [stdout] | --------------------- the item `cardano` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cardano` is imported redundantly [INFO] [stdout] --> protocol/src/protocol.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cardano; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate cardano; [INFO] [stdout] | --------------------- the item `cardano` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> protocol/src/protocol.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use cbor_event::{self, de::Deserializer, se, Deserialize}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> protocol/src/protocol.rs:237:10 [INFO] [stdout] | [INFO] [stdout] 237 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cardano` is imported redundantly [INFO] [stdout] --> protocol/src/protocol.rs:546:19 [INFO] [stdout] | [INFO] [stdout] 546 | use cardano::{self, tx}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate cardano; [INFO] [stdout] | --------------------- the item `cardano` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> protocol/src/protocol.rs:547:22 [INFO] [stdout] | [INFO] [stdout] 547 | use cbor_event::{self, de::Deserializer, se}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> protocol/src/packet.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol/src/ntt/mod.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> protocol/src/packet.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 384 | use super::*; [INFO] [stdout] | -------- the item `Deserializer` is already imported here [INFO] [stdout] 385 | use cbor_event::de::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Cursor` is imported redundantly [INFO] [stdout] --> protocol/src/packet.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 384 | use super::*; [INFO] [stdout] | -------- the item `Cursor` is already imported here [INFO] [stdout] 385 | use cbor_event::de::Deserializer; [INFO] [stdout] 386 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cardano` is imported redundantly [INFO] [stdout] --> protocol/src/protocol.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cardano; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate cardano; [INFO] [stdout] | --------------------- the item `cardano` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> protocol/src/protocol.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use cbor_event::{self, de::Deserializer, se, Deserialize}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> protocol/src/protocol.rs:237:10 [INFO] [stdout] | [INFO] [stdout] 237 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cardano` is imported redundantly [INFO] [stdout] --> protocol/src/protocol.rs:546:19 [INFO] [stdout] | [INFO] [stdout] 546 | use cardano::{self, tx}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate cardano; [INFO] [stdout] | --------------------- the item `cardano` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> protocol/src/protocol.rs:547:22 [INFO] [stdout] | [INFO] [stdout] 547 | use cbor_event::{self, de::Deserializer, se}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: protocol/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cardano` is imported redundantly [INFO] [stdout] --> storage/src/pack.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cardano; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: storage/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate cardano; [INFO] [stdout] | --------------------- the item `cardano` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> protocol/src/ntt/mod.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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] --> storage/src/lib.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/address.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe { Box::from_raw(c_addr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | unsafe { let _ = Box::from_raw(c_addr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/block.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { Box::from_raw(block) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { let _ = Box::from_raw(block); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/block.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | Box::from_raw(slice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = Box::from_raw(slice); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/block.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { std::ffi::CString::from_raw(hash) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { let _ = std::ffi::CString::from_raw(hash); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/block.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe { Box::from_raw(header) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 117 | unsafe { let _ = Box::from_raw(header); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/key.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe { Box::from_raw(c_xprv) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 67 | unsafe { let _ = Box::from_raw(c_xprv); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/key.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | unsafe { Box::from_raw(c_xpub) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | unsafe { let _ = Box::from_raw(c_xpub); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { Box::from_raw(txo) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { let _ = Box::from_raw(txo); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { Box::from_raw(output) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { let _ = Box::from_raw(output); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe { Box::from_raw(tb) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | unsafe { let _ = Box::from_raw(tb); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | unsafe { Box::from_raw(tx) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 208 | unsafe { let _ = Box::from_raw(tx); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe { Box::from_raw(c_txf) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 223 | unsafe { let _ = Box::from_raw(c_txf); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:266:14 [INFO] [stdout] | [INFO] [stdout] 266 | unsafe { Box::from_raw(txaux) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 266 | unsafe { let _ = Box::from_raw(txaux); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:300:14 [INFO] [stdout] | [INFO] [stdout] 300 | unsafe { Box::from_raw(slice::from_raw_parts_mut(ptr, size)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 300 | unsafe { let _ = Box::from_raw(slice::from_raw_parts_mut(ptr, size)); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:340:14 [INFO] [stdout] | [INFO] [stdout] 340 | unsafe { Box::from_raw(slice::from_raw_parts_mut(inputs, size)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 340 | unsafe { let _ = Box::from_raw(slice::from_raw_parts_mut(inputs, size)); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:373:14 [INFO] [stdout] | [INFO] [stdout] 373 | unsafe { Box::from_raw(slice::from_raw_parts_mut(outputs, size)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 373 | unsafe { let _ = Box::from_raw(slice::from_raw_parts_mut(outputs, size)); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/wallet.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { Box::from_raw(wallet_ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { let _ = Box::from_raw(wallet_ptr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/wallet.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | unsafe { Box::from_raw(account_ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | unsafe { let _ = Box::from_raw(account_ptr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [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: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = ffi::CString::from_raw(*ptr); [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/address.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe { Box::from_raw(c_addr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | unsafe { let _ = Box::from_raw(c_addr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/block.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { Box::from_raw(block) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { let _ = Box::from_raw(block); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/block.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | Box::from_raw(slice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = Box::from_raw(slice); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/block.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { std::ffi::CString::from_raw(hash) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { let _ = std::ffi::CString::from_raw(hash); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/block.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe { Box::from_raw(header) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 117 | unsafe { let _ = Box::from_raw(header); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/key.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe { Box::from_raw(c_xprv) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 67 | unsafe { let _ = Box::from_raw(c_xprv); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/key.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | unsafe { Box::from_raw(c_xpub) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | unsafe { let _ = Box::from_raw(c_xpub); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { Box::from_raw(txo) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { let _ = Box::from_raw(txo); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { Box::from_raw(output) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { let _ = Box::from_raw(output); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe { Box::from_raw(tb) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | unsafe { let _ = Box::from_raw(tb); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | unsafe { Box::from_raw(tx) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 208 | unsafe { let _ = Box::from_raw(tx); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe { Box::from_raw(c_txf) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 223 | unsafe { let _ = Box::from_raw(c_txf); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:266:14 [INFO] [stdout] | [INFO] [stdout] 266 | unsafe { Box::from_raw(txaux) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 266 | unsafe { let _ = Box::from_raw(txaux); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:300:14 [INFO] [stdout] | [INFO] [stdout] 300 | unsafe { Box::from_raw(slice::from_raw_parts_mut(ptr, size)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 300 | unsafe { let _ = Box::from_raw(slice::from_raw_parts_mut(ptr, size)); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:340:14 [INFO] [stdout] | [INFO] [stdout] 340 | unsafe { Box::from_raw(slice::from_raw_parts_mut(inputs, size)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 340 | unsafe { let _ = Box::from_raw(slice::from_raw_parts_mut(inputs, size)); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/transaction.rs:373:14 [INFO] [stdout] | [INFO] [stdout] 373 | unsafe { Box::from_raw(slice::from_raw_parts_mut(outputs, size)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 373 | unsafe { let _ = Box::from_raw(slice::from_raw_parts_mut(outputs, size)); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/wallet.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { Box::from_raw(wallet_ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { let _ = Box::from_raw(wallet_ptr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> cardano-c/src/wallet.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | unsafe { Box::from_raw(account_ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | unsafe { let _ = Box::from_raw(account_ptr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [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: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = ffi::CString::from_raw(*ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> protocol/src/protocol.rs:651:27 [INFO] [stdout] | [INFO] [stdout] 651 | from: from.clone().to_vec(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[HeaderHash]` does not implement `Clone`, so calling `clone` on `&[HeaderHash]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> storage/src/iter/mod.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | for block in self.iterator.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to iterate over `self.iterator` remove the call to `next` [INFO] [stdout] | [INFO] [stdout] 166 | for block in self.iterator.by_ref() { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 166 | if let Some(block) = self.iterator.next() { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [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: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> storage/src/iter/mod.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | for block in self.iterator.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to iterate over `self.iterator` remove the call to `next` [INFO] [stdout] | [INFO] [stdout] 166 | for block in self.iterator.by_ref() { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 166 | if let Some(block) = self.iterator.next() { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking exe-common v0.1.0 (/opt/rustwide/workdir/exe-common) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> protocol/src/protocol.rs:651:27 [INFO] [stdout] | [INFO] [stdout] 651 | from: from.clone().to_vec(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[HeaderHash]` does not implement `Clone`, so calling `clone` on `&[HeaderHash]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> exe-common/src/config.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_yaml` is imported redundantly [INFO] [stdout] --> exe-common/src/config.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate serde_yaml; [INFO] [stdout] | ------------------------ the item `serde_yaml` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> exe-common/src/genesisdata/parse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `coin` is imported redundantly [INFO] [stdout] --> exe-common/src/genesisdata/parse.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 110 | use super::*; [INFO] [stdout] | -------- the item `coin` is already imported here [INFO] [stdout] 111 | use cardano::{coin, fee::Milli}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> exe-common/src/network/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cbor_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> exe-common/src/network/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate hyper; [INFO] [stdout] | ------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `protocol` is imported redundantly [INFO] [stdout] --> exe-common/src/network/error.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use protocol::{self, ntt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate protocol; [INFO] [stdout] | ---------------------- the item `protocol` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `protocol` is imported redundantly [INFO] [stdout] --> exe-common/src/network/native.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use protocol; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate protocol; [INFO] [stdout] | ---------------------- the item `protocol` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> exe-common/src/network/native.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BlockRef` is imported redundantly [INFO] [stdout] --> exe-common/src/network/peer.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use network::api::{BlockRef, *}; [INFO] [stdout] | ^^^^^^^^ - the item `BlockRef` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> exe-common/src/config.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_yaml` is imported redundantly [INFO] [stdout] --> exe-common/src/config.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate serde_yaml; [INFO] [stdout] | ------------------------ the item `serde_yaml` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> exe-common/src/genesisdata/parse.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate base64; [INFO] [stdout] | -------------------- the item `base64` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> exe-common/src/genesisdata/parse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cbor_event` is imported redundantly [INFO] [stdout] --> exe-common/src/network/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cbor_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate cbor_event; [INFO] [stdout] | ------------------------ the item `cbor_event` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> exe-common/src/network/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate hyper; [INFO] [stdout] | ------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `protocol` is imported redundantly [INFO] [stdout] --> exe-common/src/network/error.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use protocol::{self, ntt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate protocol; [INFO] [stdout] | ---------------------- the item `protocol` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `protocol` is imported redundantly [INFO] [stdout] --> exe-common/src/network/native.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use protocol; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate protocol; [INFO] [stdout] | ---------------------- the item `protocol` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> exe-common/src/network/native.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: exe-common/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BlockRef` is imported redundantly [INFO] [stdout] --> exe-common/src/network/peer.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use network::api::{BlockRef, *}; [INFO] [stdout] | ^^^^^^^^ - the item `BlockRef` is already imported here [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | 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] --> 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: 12 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: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.59s [INFO] running `Command { std: "docker" "inspect" "e8d8e32ebf4734554639314342ba6bd92646a11f8d243449e6354e7c40d80309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d8e32ebf4734554639314342ba6bd92646a11f8d243449e6354e7c40d80309", kill_on_drop: false }` [INFO] [stdout] e8d8e32ebf4734554639314342ba6bd92646a11f8d243449e6354e7c40d80309