[INFO] cloning repository https://github.com/EclesioMeloJunior/wbchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EclesioMeloJunior/wbchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEclesioMeloJunior%2Fwbchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEclesioMeloJunior%2Fwbchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40879e917191d4838eb1d43b3f040a95f2fd3b32 [INFO] checking EclesioMeloJunior/wbchain against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEclesioMeloJunior%2Fwbchain" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EclesioMeloJunior/wbchain 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/EclesioMeloJunior/wbchain [INFO] finished tweaking git repo https://github.com/EclesioMeloJunior/wbchain [INFO] tweaked toml for git repo https://github.com/EclesioMeloJunior/wbchain written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/EclesioMeloJunior/wbchain 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 once_cell v1.15.0 [INFO] [stderr] Downloaded zeroize_derive v1.3.2 [INFO] [stderr] Downloaded zeroize v1.5.7 [INFO] [stderr] Downloaded keccak v0.1.2 [INFO] [stderr] Downloaded serde_bytes v0.11.7 [INFO] [stderr] Downloaded tokio v1.21.1 [INFO] [stderr] Downloaded syn v1.0.100 [INFO] [stderr] Downloaded schnorrkel v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9790e39d0e79dc0140c615e2de91a5a85c6ba4196476a11969a6fb910d5c743e [INFO] running `Command { std: "docker" "start" "-a" "9790e39d0e79dc0140c615e2de91a5a85c6ba4196476a11969a6fb910d5c743e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9790e39d0e79dc0140c615e2de91a5a85c6ba4196476a11969a6fb910d5c743e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9790e39d0e79dc0140c615e2de91a5a85c6ba4196476a11969a6fb910d5c743e", kill_on_drop: false }` [INFO] [stdout] 9790e39d0e79dc0140c615e2de91a5a85c6ba4196476a11969a6fb910d5c743e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 29111a0c6762dec1f08164d0714a151b749cc605f9e4b480a387c07366140675 [INFO] running `Command { std: "docker" "start" "-a" "29111a0c6762dec1f08164d0714a151b749cc605f9e4b480a387c07366140675", 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.4 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Checking keccak v0.1.2 [INFO] [stderr] Checking subtle-ng v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Checking curve25519-dalek-ng v4.1.1 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking serde_bytes v0.11.7 [INFO] [stderr] Checking schnorrkel v0.10.2 [INFO] [stderr] Checking wbchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/consensus/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::crypto_common::Key` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sha2::digest::crypto_common::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/consensus/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::crypto_common::Key` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sha2::digest::crypto_common::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockTree` is never constructed [INFO] [stdout] --> src/blocktree/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BlockTree [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `current_height`, and `insert` are never used [INFO] [stdout] --> src/blocktree/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl BlockTree [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: OutputSizeUser + Digest, [INFO] [stdout] | |_______________________________- associated items in this implementation [INFO] [stdout] 20 | { [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn current_height(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn insert(&mut self, key: Output, value: Header) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLOT_DURATION_MILLI` is never used [INFO] [stdout] --> src/consensus/block_production.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const SLOT_DURATION_MILLI: u32 = 5000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `3` is never read [INFO] [stdout] --> src/consensus/block_production.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Slot(u32, u32, VRFInOut, VRFProof); [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Slot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Slot(u32, u32, VRFInOut, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `epoch_info`, `current_threshold`, `current_authorities`, `epoch_slots`, and `claimable_slots` are never read [INFO] [stdout] --> src/consensus/block_production.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Babe { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 43 | epoch_info: Epoch, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | current_threshold: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | current_authorities: ProductionAuthorities, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | epoch_slots: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | claimable_slots: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Babe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `babe` is never read [INFO] [stdout] --> src/consensus/block_production.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct BlockProductionEngine { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 145 | babe: Babe, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockProductionEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_height` is never used [INFO] [stdout] --> src/blocktree/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl BlockTree [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: OutputSizeUser + Digest, [INFO] [stdout] | |_______________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn current_height(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLOT_DURATION_MILLI` is never used [INFO] [stdout] --> src/consensus/block_production.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const SLOT_DURATION_MILLI: u32 = 5000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `3` is never read [INFO] [stdout] --> src/consensus/block_production.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Slot(u32, u32, VRFInOut, VRFProof); [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Slot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Slot(u32, u32, VRFInOut, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `epoch_info`, `current_threshold`, `current_authorities`, `epoch_slots`, and `claimable_slots` are never read [INFO] [stdout] --> src/consensus/block_production.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Babe { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 43 | epoch_info: Epoch, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | current_threshold: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | current_authorities: ProductionAuthorities, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | epoch_slots: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | claimable_slots: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Babe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `babe` is never read [INFO] [stdout] --> src/consensus/block_production.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct BlockProductionEngine { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 145 | babe: Babe, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockProductionEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.08s [INFO] running `Command { std: "docker" "inspect" "29111a0c6762dec1f08164d0714a151b749cc605f9e4b480a387c07366140675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29111a0c6762dec1f08164d0714a151b749cc605f9e4b480a387c07366140675", kill_on_drop: false }` [INFO] [stdout] 29111a0c6762dec1f08164d0714a151b749cc605f9e4b480a387c07366140675 [INFO] checking EclesioMeloJunior/wbchain against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEclesioMeloJunior%2Fwbchain" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EclesioMeloJunior/wbchain 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/EclesioMeloJunior/wbchain [INFO] finished tweaking git repo https://github.com/EclesioMeloJunior/wbchain [INFO] tweaked toml for git repo https://github.com/EclesioMeloJunior/wbchain written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/EclesioMeloJunior/wbchain 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b16525823616a7b92f831d5c8387fcb5715c5fd2cac27cab0dce51d8f5c36471 [INFO] running `Command { std: "docker" "start" "-a" "b16525823616a7b92f831d5c8387fcb5715c5fd2cac27cab0dce51d8f5c36471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b16525823616a7b92f831d5c8387fcb5715c5fd2cac27cab0dce51d8f5c36471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b16525823616a7b92f831d5c8387fcb5715c5fd2cac27cab0dce51d8f5c36471", kill_on_drop: false }` [INFO] [stdout] b16525823616a7b92f831d5c8387fcb5715c5fd2cac27cab0dce51d8f5c36471 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a4f2f9e8569923b520befc78b61485028fe3200b182db2d2d6af96eead76c9aa [INFO] running `Command { std: "docker" "start" "-a" "a4f2f9e8569923b520befc78b61485028fe3200b182db2d2d6af96eead76c9aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Checking keccak v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking subtle-ng v2.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking curve25519-dalek-ng v4.1.1 [INFO] [stderr] Checking serde_bytes v0.11.7 [INFO] [stderr] Checking schnorrkel v0.10.2 [INFO] [stderr] Checking wbchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/consensus/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::crypto_common::Key` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sha2::digest::crypto_common::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/consensus/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::crypto_common::Key` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sha2::digest::crypto_common::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_height` is never used [INFO] [stdout] --> src/blocktree/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl BlockTree [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: OutputSizeUser + Digest, [INFO] [stdout] | |_______________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn current_height(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLOT_DURATION_MILLI` is never used [INFO] [stdout] --> src/consensus/block_production.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const SLOT_DURATION_MILLI: u32 = 5000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `3` is never read [INFO] [stdout] --> src/consensus/block_production.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Slot(u32, u32, VRFInOut, VRFProof); [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Slot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Slot(u32, u32, VRFInOut, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `epoch_info`, `current_threshold`, `current_authorities`, `epoch_slots`, and `claimable_slots` are never read [INFO] [stdout] --> src/consensus/block_production.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Babe { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 43 | epoch_info: Epoch, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | current_threshold: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | current_authorities: ProductionAuthorities, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | epoch_slots: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | claimable_slots: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Babe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `babe` is never read [INFO] [stdout] --> src/consensus/block_production.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct BlockProductionEngine { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 145 | babe: Babe, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockProductionEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockTree` is never constructed [INFO] [stdout] --> src/blocktree/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BlockTree [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `current_height`, and `insert` are never used [INFO] [stdout] --> src/blocktree/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl BlockTree [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: OutputSizeUser + Digest, [INFO] [stdout] | |_______________________________- associated items in this implementation [INFO] [stdout] 20 | { [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn current_height(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn insert(&mut self, key: Output, value: Header) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLOT_DURATION_MILLI` is never used [INFO] [stdout] --> src/consensus/block_production.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const SLOT_DURATION_MILLI: u32 = 5000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `3` is never read [INFO] [stdout] --> src/consensus/block_production.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Slot(u32, u32, VRFInOut, VRFProof); [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Slot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Slot(u32, u32, VRFInOut, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `epoch_info`, `current_threshold`, `current_authorities`, `epoch_slots`, and `claimable_slots` are never read [INFO] [stdout] --> src/consensus/block_production.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Babe { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 43 | epoch_info: Epoch, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | current_threshold: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | current_authorities: ProductionAuthorities, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | epoch_slots: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | claimable_slots: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Babe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `babe` is never read [INFO] [stdout] --> src/consensus/block_production.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct BlockProductionEngine { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 145 | babe: Babe, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockProductionEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.17s [INFO] running `Command { std: "docker" "inspect" "a4f2f9e8569923b520befc78b61485028fe3200b182db2d2d6af96eead76c9aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4f2f9e8569923b520befc78b61485028fe3200b182db2d2d6af96eead76c9aa", kill_on_drop: false }` [INFO] [stdout] a4f2f9e8569923b520befc78b61485028fe3200b182db2d2d6af96eead76c9aa