[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#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEclesioMeloJunior%2Fwbchain" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EclesioMeloJunior/wbchain on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "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-3-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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e83773dd7bd92b9b340d14cb61d280b848e436550866c297d32f717f9b132c90 [INFO] running `Command { std: "docker" "start" "-a" "e83773dd7bd92b9b340d14cb61d280b848e436550866c297d32f717f9b132c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e83773dd7bd92b9b340d14cb61d280b848e436550866c297d32f717f9b132c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e83773dd7bd92b9b340d14cb61d280b848e436550866c297d32f717f9b132c90", kill_on_drop: false }` [INFO] [stdout] e83773dd7bd92b9b340d14cb61d280b848e436550866c297d32f717f9b132c90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f32998a53666c642765ff23abc939978b1981714dac928b2242f4db5d3470853 [INFO] running `Command { std: "docker" "start" "-a" "f32998a53666c642765ff23abc939978b1981714dac928b2242f4db5d3470853", 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 syn v1.0.100 [INFO] [stderr] Compiling libc v0.2.133 [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 parking_lot_core v0.9.3 [INFO] [stderr] Compiling generic-array v0.14.6 [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] Checking lock_api v0.4.9 [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 arrayvec v0.7.2 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking num-complex v0.4.2 [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: 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] = note: `#[warn(unused_imports)]` on by default [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] = note: `#[warn(unused_imports)]` 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] = note: `#[warn(dead_code)]` on by default [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] = help: consider removing this field [INFO] [stdout] = note: `Slot` 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: 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: 5 warnings emitted [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] = note: `#[warn(dead_code)]` on by default [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] = help: consider removing this field [INFO] [stdout] = note: `Slot` 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: 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.34s [INFO] running `Command { std: "docker" "inspect" "f32998a53666c642765ff23abc939978b1981714dac928b2242f4db5d3470853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f32998a53666c642765ff23abc939978b1981714dac928b2242f4db5d3470853", kill_on_drop: false }` [INFO] [stdout] f32998a53666c642765ff23abc939978b1981714dac928b2242f4db5d3470853