[INFO] cloning repository https://github.com/ddjerqq/crypton_node [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddjerqq/crypton_node" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddjerqq%2Fcrypton_node", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddjerqq%2Fcrypton_node'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb051b411f0ff5891bcc2d1fe04d665eef883ec1 [INFO] checking ddjerqq/crypton_node against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddjerqq%2Fcrypton_node" "/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/ddjerqq/crypton_node 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/ddjerqq/crypton_node [INFO] finished tweaking git repo https://github.com/ddjerqq/crypton_node [INFO] tweaked toml for git repo https://github.com/ddjerqq/crypton_node written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ddjerqq/crypton_node 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chbs v0.1.1 [INFO] [stderr] Downloaded secp256k1 v0.28.0 [INFO] [stderr] Downloaded secp256k1-sys v0.9.0 [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] fbce0ea05a83d82544022b0d28dbbe87c6f89ef516ac989a99c8464f525c31e0 [INFO] running `Command { std: "docker" "start" "-a" "fbce0ea05a83d82544022b0d28dbbe87c6f89ef516ac989a99c8464f525c31e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbce0ea05a83d82544022b0d28dbbe87c6f89ef516ac989a99c8464f525c31e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbce0ea05a83d82544022b0d28dbbe87c6f89ef516ac989a99c8464f525c31e0", kill_on_drop: false }` [INFO] [stdout] fbce0ea05a83d82544022b0d28dbbe87c6f89ef516ac989a99c8464f525c31e0 [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] 8dd0f656cd92a1019181644639796d3e054bfdc1a63255a5863cf9da83cf9e1f [INFO] running `Command { std: "docker" "start" "-a" "8dd0f656cd92a1019181644639796d3e054bfdc1a63255a5863cf9da83cf9e1f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Checking thiserror v1.0.50 [INFO] [stderr] Checking secp256k1 v0.28.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Checking serde v1.0.193 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking chbs v0.1.1 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Checking crypton_node v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `balance` is never read [INFO] [stdout] --> src/wallet.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Wallet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | pub ecdsa: Ecdsa, [INFO] [stdout] 9 | pub balance: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wallet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_total_fee` and `get_digest` are never used [INFO] [stdout] --> src/block.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> Block<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_total_fee(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_digest(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol/peer.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Peer { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAYLOAD_SIZE` is never used [INFO] [stdout] --> src/transaction.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PAYLOAD_SIZE: usize = 112; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY_HASH` is never used [INFO] [stdout] --> src/transaction.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const EMPTY_HASH: [u8; 32] = [0u8; 32]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY_SIGN` is never used [INFO] [stdout] --> src/transaction.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const EMPTY_SIGN: [u8; 64] = [0u8; 64]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_payload` are never used [INFO] [stdout] --> src/transaction.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Transaction<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 25 | pub fn new(sender: &'a Wallet, recipient: &'a Wallet, amount: u64, fee: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_payload(&self) -> [u8; PAYLOAD_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ecdsa` and `balance` are never read [INFO] [stdout] --> src/wallet.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Wallet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 8 | pub ecdsa: Ecdsa, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub balance: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wallet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_passphrase`, `sign`, and `verify` are never used [INFO] [stdout] --> src/wallet.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Wallet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(ecdsa: Ecdsa) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_passphrase(passphrase: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn sign(&self, data: &[u8]) -> Signature { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn verify(&self, data: &[u8], sig: &Signature) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `passphrase` is never used [INFO] [stdout] --> src/crypto/passphrase.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn passphrase(count: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_passphrase`, `sign`, and `verify` are never used [INFO] [stdout] --> src/crypto/ecdsa.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Ecdsa { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn from_passphrase(passphrase: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn sign(&self, msg: &Message) -> Signature { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn verify(&self, msg: &Message, sig: &Signature) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `genesis`, `next`, `add_transaction`, `get_total_fee`, and `get_digest` are never used [INFO] [stdout] --> src/block.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> Block<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 20 | pub fn genesis() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn next(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn add_transaction(&mut self, transaction: &Transaction<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_total_fee(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_digest(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEGREES` is never used [INFO] [stdout] --> src/util/hash_ring.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const DEGREES: usize = 360; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashRing` is never constructed [INFO] [stdout] --> src/util/hash_ring.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HashRing { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashRing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/util/hash_ring.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl HashRing { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(nodes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get(&self, item: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mine_single_core` is never used [INFO] [stdout] --> src/miner.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn mine_single_core(block: &mut Block) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `miner_thread` is never used [INFO] [stdout] --> src/miner.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn miner_thread(idx: usize, difficulty: &u64, mut payload: [u8; 96], hash_ring: &HashRing, valid_nonce: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mine_multi_core` is never used [INFO] [stdout] --> src/miner.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn mine_multi_core(block: &mut Block, parallelism_available: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mine` is never used [INFO] [stdout] --> src/miner.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn mine(block: &mut Block) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol/peer.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Peer { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.84s [INFO] running `Command { std: "docker" "inspect" "8dd0f656cd92a1019181644639796d3e054bfdc1a63255a5863cf9da83cf9e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd0f656cd92a1019181644639796d3e054bfdc1a63255a5863cf9da83cf9e1f", kill_on_drop: false }` [INFO] [stdout] 8dd0f656cd92a1019181644639796d3e054bfdc1a63255a5863cf9da83cf9e1f [INFO] checking ddjerqq/crypton_node against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddjerqq%2Fcrypton_node" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ddjerqq/crypton_node 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/ddjerqq/crypton_node [INFO] finished tweaking git repo https://github.com/ddjerqq/crypton_node [INFO] tweaked toml for git repo https://github.com/ddjerqq/crypton_node written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ddjerqq/crypton_node 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c544c639a070256cb1f29cd9a7eabfadf657ccc81b2f4dee9f1b35e2e003afb2 [INFO] running `Command { std: "docker" "start" "-a" "c544c639a070256cb1f29cd9a7eabfadf657ccc81b2f4dee9f1b35e2e003afb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c544c639a070256cb1f29cd9a7eabfadf657ccc81b2f4dee9f1b35e2e003afb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c544c639a070256cb1f29cd9a7eabfadf657ccc81b2f4dee9f1b35e2e003afb2", kill_on_drop: false }` [INFO] [stdout] c544c639a070256cb1f29cd9a7eabfadf657ccc81b2f4dee9f1b35e2e003afb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ef9cc2cf0c4262e51d01ec09c02c38dac1740a04fefe8b9e43104c515c8c33d3 [INFO] running `Command { std: "docker" "start" "-a" "ef9cc2cf0c4262e51d01ec09c02c38dac1740a04fefe8b9e43104c515c8c33d3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling secp256k1-sys v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Checking thiserror v1.0.50 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Checking secp256k1 v0.28.0 [INFO] [stderr] Checking serde v1.0.193 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking chbs v0.1.1 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Checking crypton_node v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAYLOAD_SIZE` is never used [INFO] [stdout] --> src/transaction.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PAYLOAD_SIZE: usize = 112; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY_HASH` is never used [INFO] [stdout] --> src/transaction.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const EMPTY_HASH: [u8; 32] = [0u8; 32]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY_SIGN` is never used [INFO] [stdout] --> src/transaction.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const EMPTY_SIGN: [u8; 64] = [0u8; 64]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_payload` are never used [INFO] [stdout] --> src/transaction.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Transaction<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 25 | pub fn new(sender: &'a Wallet, recipient: &'a Wallet, amount: u64, fee: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_payload(&self) -> [u8; PAYLOAD_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ecdsa` and `balance` are never read [INFO] [stdout] --> src/wallet.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Wallet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 8 | pub ecdsa: Ecdsa, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub balance: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wallet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_passphrase`, `sign`, and `verify` are never used [INFO] [stdout] --> src/wallet.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Wallet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(ecdsa: Ecdsa) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_passphrase(passphrase: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn sign(&self, data: &[u8]) -> Signature { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn verify(&self, data: &[u8], sig: &Signature) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `passphrase` is never used [INFO] [stdout] --> src/crypto/passphrase.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn passphrase(count: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_passphrase`, `sign`, and `verify` are never used [INFO] [stdout] --> src/crypto/ecdsa.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Ecdsa { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn from_passphrase(passphrase: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn sign(&self, msg: &Message) -> Signature { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn verify(&self, msg: &Message, sig: &Signature) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `genesis`, `next`, `add_transaction`, `get_total_fee`, and `get_digest` are never used [INFO] [stdout] --> src/block.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> Block<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 20 | pub fn genesis() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn next(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn add_transaction(&mut self, transaction: &Transaction<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_total_fee(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_digest(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEGREES` is never used [INFO] [stdout] --> src/util/hash_ring.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const DEGREES: usize = 360; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashRing` is never constructed [INFO] [stdout] --> src/util/hash_ring.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HashRing { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashRing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/util/hash_ring.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl HashRing { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(nodes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get(&self, item: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mine_single_core` is never used [INFO] [stdout] --> src/miner.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn mine_single_core(block: &mut Block) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `miner_thread` is never used [INFO] [stdout] --> src/miner.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn miner_thread(idx: usize, difficulty: &u64, mut payload: [u8; 96], hash_ring: &HashRing, valid_nonce: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mine_multi_core` is never used [INFO] [stdout] --> src/miner.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn mine_multi_core(block: &mut Block, parallelism_available: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mine` is never used [INFO] [stdout] --> src/miner.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn mine(block: &mut Block) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol/peer.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Peer { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `balance` is never read [INFO] [stdout] --> src/wallet.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Wallet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | pub ecdsa: Ecdsa, [INFO] [stdout] 9 | pub balance: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wallet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_total_fee` and `get_digest` are never used [INFO] [stdout] --> src/block.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> Block<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_total_fee(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_digest(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol/peer.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Peer { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.68s [INFO] running `Command { std: "docker" "inspect" "ef9cc2cf0c4262e51d01ec09c02c38dac1740a04fefe8b9e43104c515c8c33d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef9cc2cf0c4262e51d01ec09c02c38dac1740a04fefe8b9e43104c515c8c33d3", kill_on_drop: false }` [INFO] [stdout] ef9cc2cf0c4262e51d01ec09c02c38dac1740a04fefe8b9e43104c515c8c33d3