[INFO] cloning repository https://github.com/MichelKrispin/myvo-coin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MichelKrispin/myvo-coin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichelKrispin%2Fmyvo-coin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichelKrispin%2Fmyvo-coin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5620201b335cafedb5a25db26f3bfcd33ed85e0 [INFO] checking MichelKrispin/myvo-coin against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichelKrispin%2Fmyvo-coin" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MichelKrispin/myvo-coin 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/MichelKrispin/myvo-coin [INFO] finished tweaking git repo https://github.com/MichelKrispin/myvo-coin [INFO] tweaked toml for git repo https://github.com/MichelKrispin/myvo-coin written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MichelKrispin/myvo-coin already has a lockfile, it will not be regenerated [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 zeroize_derive v1.3.2 [INFO] [stderr] Downloaded serde_bytes v0.11.7 [INFO] [stderr] Downloaded keccak v0.1.2 [INFO] [stderr] Downloaded ed25519 v1.5.2 [INFO] [stderr] Downloaded signature v1.6.0 [INFO] [stderr] Downloaded sha3 v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b8f80a820d018299d7379b99a893acb2527f866b88b90135d64cc106f5163de3 [INFO] running `Command { std: "docker" "start" "-a" "b8f80a820d018299d7379b99a893acb2527f866b88b90135d64cc106f5163de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8f80a820d018299d7379b99a893acb2527f866b88b90135d64cc106f5163de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f80a820d018299d7379b99a893acb2527f866b88b90135d64cc106f5163de3", kill_on_drop: false }` [INFO] [stdout] b8f80a820d018299d7379b99a893acb2527f866b88b90135d64cc106f5163de3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 304692134ec92ec09639334a6aa6feca83ffab9d0a33c1f7ffdb9a6966509474 [INFO] running `Command { std: "docker" "start" "-a" "304692134ec92ec09639334a6aa6feca83ffab9d0a33c1f7ffdb9a6966509474", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking cpufeatures v0.2.4 [INFO] [stderr] Checking signature v1.6.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking keccak v0.1.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha3 v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking ed25519 v1.5.2 [INFO] [stderr] Checking serde_bytes v0.11.7 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking myvo-coin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/blockchain/block.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/blockchain/first_block.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bincode` is imported redundantly [INFO] [stdout] --> src/blockchain/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bincode; [INFO] [stdout] | ^^^^^^^ the item `bincode` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/blockchain/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/crypto/keypair.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ed25519_dalek` is imported redundantly [INFO] [stdout] --> src/crypto/keypair.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ed25519_dalek; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `ed25519_dalek` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ed25519_dalek` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ed25519_dalek; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `ed25519_dalek` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ed25519_dalek` is imported redundantly [INFO] [stdout] --> src/crypto/signature.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ed25519_dalek; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `ed25519_dalek` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/crypto/signature.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/creation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/output.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/transaction/validator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/validator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/blockchain/block.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/blockchain/first_block.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bincode` is imported redundantly [INFO] [stdout] --> src/blockchain/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bincode; [INFO] [stdout] | ^^^^^^^ the item `bincode` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/blockchain/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/crypto/keypair.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ed25519_dalek` is imported redundantly [INFO] [stdout] --> src/crypto/keypair.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ed25519_dalek; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `ed25519_dalek` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ed25519_dalek` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ed25519_dalek; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `ed25519_dalek` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ed25519_dalek` is imported redundantly [INFO] [stdout] --> src/crypto/signature.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ed25519_dalek; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `ed25519_dalek` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/crypto/signature.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/creation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/output.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/transaction/validator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/validator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_transaction` is never used [INFO] [stdout] --> src/blockchain/block.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn add_transaction(&mut self, transaction: transaction::Transaction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty` and `add` are never used [INFO] [stdout] --> src/cashbook/balance.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Balance { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add(&mut self, receipt: receipt::Receipt) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_amount` is never used [INFO] [stdout] --> src/transaction/mod.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_amount(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `signature_test` is never used [INFO] [stdout] --> src/utils.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn signature_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_test` is never used [INFO] [stdout] --> src/utils.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn hash_test() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_public_key` is never used [INFO] [stdout] --> src/utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn hash_public_key() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_transaction` is never used [INFO] [stdout] --> src/blockchain/block.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn add_transaction(&mut self, transaction: transaction::Transaction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty` and `add` are never used [INFO] [stdout] --> src/cashbook/balance.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Balance { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add(&mut self, receipt: receipt::Receipt) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_amount` is never used [INFO] [stdout] --> src/transaction/mod.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_amount(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `signature_test` is never used [INFO] [stdout] --> src/utils.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn signature_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_test` is never used [INFO] [stdout] --> src/utils.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn hash_test() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_public_key` is never used [INFO] [stdout] --> src/utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn hash_public_key() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.32s [INFO] running `Command { std: "docker" "inspect" "304692134ec92ec09639334a6aa6feca83ffab9d0a33c1f7ffdb9a6966509474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304692134ec92ec09639334a6aa6feca83ffab9d0a33c1f7ffdb9a6966509474", kill_on_drop: false }` [INFO] [stdout] 304692134ec92ec09639334a6aa6feca83ffab9d0a33c1f7ffdb9a6966509474 [INFO] checking MichelKrispin/myvo-coin against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichelKrispin%2Fmyvo-coin" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MichelKrispin/myvo-coin on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MichelKrispin/myvo-coin [INFO] finished tweaking git repo https://github.com/MichelKrispin/myvo-coin [INFO] tweaked toml for git repo https://github.com/MichelKrispin/myvo-coin written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MichelKrispin/myvo-coin already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f244ebecc4b27316fd9aca64af822ded01c59b06f6a7503c6ea5a74503d5ad4 [INFO] running `Command { std: "docker" "start" "-a" "0f244ebecc4b27316fd9aca64af822ded01c59b06f6a7503c6ea5a74503d5ad4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f244ebecc4b27316fd9aca64af822ded01c59b06f6a7503c6ea5a74503d5ad4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f244ebecc4b27316fd9aca64af822ded01c59b06f6a7503c6ea5a74503d5ad4", kill_on_drop: false }` [INFO] [stdout] 0f244ebecc4b27316fd9aca64af822ded01c59b06f6a7503c6ea5a74503d5ad4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d19562ec6e34d6824de3bde182102b3cdf7c128bcd458147fb230ea416a026d9 [INFO] running `Command { std: "docker" "start" "-a" "d19562ec6e34d6824de3bde182102b3cdf7c128bcd458147fb230ea416a026d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.4 [INFO] [stderr] Checking signature v1.6.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking keccak v0.1.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha3 v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking ed25519 v1.5.2 [INFO] [stderr] Checking serde_bytes v0.11.7 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking myvo-coin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/blockchain/block.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/blockchain/first_block.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bincode` is imported redundantly [INFO] [stdout] --> src/blockchain/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bincode; [INFO] [stdout] | ^^^^^^^ the item `bincode` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/blockchain/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/crypto/keypair.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ed25519_dalek` is imported redundantly [INFO] [stdout] --> src/crypto/keypair.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ed25519_dalek; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `ed25519_dalek` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ed25519_dalek` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ed25519_dalek; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `ed25519_dalek` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ed25519_dalek` is imported redundantly [INFO] [stdout] --> src/crypto/signature.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ed25519_dalek; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `ed25519_dalek` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/crypto/signature.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/creation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/output.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/transaction/validator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/validator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/blockchain/block.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/blockchain/first_block.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bincode` is imported redundantly [INFO] [stdout] --> src/blockchain/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bincode; [INFO] [stdout] | ^^^^^^^ the item `bincode` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/blockchain/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/crypto/hash.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/crypto/keypair.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ed25519_dalek` is imported redundantly [INFO] [stdout] --> src/crypto/keypair.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ed25519_dalek; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `ed25519_dalek` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ed25519_dalek` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ed25519_dalek; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `ed25519_dalek` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/crypto/public_key.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ed25519_dalek` is imported redundantly [INFO] [stdout] --> src/crypto/signature.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ed25519_dalek; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `ed25519_dalek` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/crypto/signature.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/creation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/output.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/transaction/validator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/validator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/transaction/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_transaction` is never used [INFO] [stdout] --> src/blockchain/block.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn add_transaction(&mut self, transaction: transaction::Transaction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty` and `add` are never used [INFO] [stdout] --> src/cashbook/balance.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Balance { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add(&mut self, receipt: receipt::Receipt) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_amount` is never used [INFO] [stdout] --> src/transaction/mod.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_amount(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `signature_test` is never used [INFO] [stdout] --> src/utils.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn signature_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_test` is never used [INFO] [stdout] --> src/utils.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn hash_test() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_public_key` is never used [INFO] [stdout] --> src/utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn hash_public_key() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_transaction` is never used [INFO] [stdout] --> src/blockchain/block.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn add_transaction(&mut self, transaction: transaction::Transaction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty` and `add` are never used [INFO] [stdout] --> src/cashbook/balance.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Balance { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add(&mut self, receipt: receipt::Receipt) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_amount` is never used [INFO] [stdout] --> src/transaction/mod.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_amount(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `signature_test` is never used [INFO] [stdout] --> src/utils.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn signature_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_test` is never used [INFO] [stdout] --> src/utils.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn hash_test() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_public_key` is never used [INFO] [stdout] --> src/utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn hash_public_key() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.85s [INFO] running `Command { std: "docker" "inspect" "d19562ec6e34d6824de3bde182102b3cdf7c128bcd458147fb230ea416a026d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d19562ec6e34d6824de3bde182102b3cdf7c128bcd458147fb230ea416a026d9", kill_on_drop: false }` [INFO] [stdout] d19562ec6e34d6824de3bde182102b3cdf7c128bcd458147fb230ea416a026d9