[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] testing EclesioMeloJunior/wbchain against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEclesioMeloJunior%2Fwbchain" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EclesioMeloJunior/wbchain on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded subtle-ng v2.5.0 [INFO] [stderr] Downloaded curve25519-dalek-ng v4.1.1 [INFO] [stderr] Downloaded schnorrkel v0.10.2 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0af54fc4914cb6f15f8b47310ebb905508be3c76a8b1b3923b2e022446d7dde [INFO] running `Command { std: "docker" "start" "-a" "e0af54fc4914cb6f15f8b47310ebb905508be3c76a8b1b3923b2e022446d7dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0af54fc4914cb6f15f8b47310ebb905508be3c76a8b1b3923b2e022446d7dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0af54fc4914cb6f15f8b47310ebb905508be3c76a8b1b3923b2e022446d7dde", kill_on_drop: false }` [INFO] [stdout] e0af54fc4914cb6f15f8b47310ebb905508be3c76a8b1b3923b2e022446d7dde [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ec0a20d01f54c1862d23ad09e020119c54565d7abcc715f9de829332a9d4571b [INFO] running `Command { std: "docker" "start" "-a" "ec0a20d01f54c1862d23ad09e020119c54565d7abcc715f9de829332a9d4571b", 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 generic-array v0.14.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling log v0.4.17 [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] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling subtle-ng v2.5.0 [INFO] [stderr] Compiling keccak v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling 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] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling curve25519-dalek-ng v4.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.7 [INFO] [stderr] Compiling schnorrkel v0.10.2 [INFO] [stderr] Compiling 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: 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] = help: consider removing this field [INFO] [stdout] = note: `Slot` has derived impls for the traits `Debug` and `Clone`, 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.22s [INFO] running `Command { std: "docker" "inspect" "ec0a20d01f54c1862d23ad09e020119c54565d7abcc715f9de829332a9d4571b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec0a20d01f54c1862d23ad09e020119c54565d7abcc715f9de829332a9d4571b", kill_on_drop: false }` [INFO] [stdout] ec0a20d01f54c1862d23ad09e020119c54565d7abcc715f9de829332a9d4571b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0bf101e24907ae89de9612a769867dea9ce10f6a74150f91bf9331b33a84d6d9 [INFO] running `Command { std: "docker" "start" "-a" "0bf101e24907ae89de9612a769867dea9ce10f6a74150f91bf9331b33a84d6d9", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] = help: consider removing this field [INFO] [stdout] = note: `Slot` has derived impls for the traits `Debug` and `Clone`, 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "0bf101e24907ae89de9612a769867dea9ce10f6a74150f91bf9331b33a84d6d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bf101e24907ae89de9612a769867dea9ce10f6a74150f91bf9331b33a84d6d9", kill_on_drop: false }` [INFO] [stdout] 0bf101e24907ae89de9612a769867dea9ce10f6a74150f91bf9331b33a84d6d9 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7f7187f004e8831bb1a8bf8e30d1251d3ac1d46f6567424b0a4a53d972f1d688 [INFO] running `Command { std: "docker" "start" "-a" "7f7187f004e8831bb1a8bf8e30d1251d3ac1d46f6567424b0a4a53d972f1d688", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `sha2::digest::crypto_common::Key` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use sha2::digest::crypto_common::Key; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `current_height` is never used [INFO] [stderr] --> src/blocktree/mod.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 17 | / impl BlockTree [INFO] [stderr] 18 | | where [INFO] [stderr] 19 | | T: OutputSizeUser + Digest, [INFO] [stderr] | |_______________________________- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn current_height(self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `SLOT_DURATION_MILLI` is never used [INFO] [stderr] --> src/consensus/block_production.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub const SLOT_DURATION_MILLI: u32 = 5000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `3` is never read [INFO] [stderr] --> src/consensus/block_production.rs:39:37 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct Slot(u32, u32, VRFInOut, VRFProof); [INFO] [stderr] | ---- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Slot` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `epoch_info`, `current_threshold`, `current_authorities`, `epoch_slots`, and `claimable_slots` are never read [INFO] [stderr] --> src/consensus/block_production.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct Babe { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 43 | epoch_info: Epoch, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 44 | current_threshold: BigInt, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 45 | current_authorities: ProductionAuthorities, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 46 | [INFO] [stderr] 47 | epoch_slots: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 48 | claimable_slots: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Babe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `babe` is never read [INFO] [stderr] --> src/consensus/block_production.rs:145:5 [INFO] [stderr] | [INFO] [stderr] 144 | pub struct BlockProductionEngine { [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] 145 | babe: Babe, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BlockProductionEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `wbchain` (bin "wbchain" test) generated 6 warnings (run `cargo fix --bin "wbchain" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/wbchain-301adf27fa39cbc3) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test genesis::tests::genesis_json_parsing ... ok [INFO] [stdout] test blocktree::tests::test_insert_at_block_tree ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7f7187f004e8831bb1a8bf8e30d1251d3ac1d46f6567424b0a4a53d972f1d688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f7187f004e8831bb1a8bf8e30d1251d3ac1d46f6567424b0a4a53d972f1d688", kill_on_drop: false }` [INFO] [stdout] 7f7187f004e8831bb1a8bf8e30d1251d3ac1d46f6567424b0a4a53d972f1d688