[INFO] fetching crate hotstuff_rs 0.4.0... [INFO] checking hotstuff_rs-0.4.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate hotstuff_rs 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate hotstuff_rs 0.4.0 [INFO] finished tweaking crates.io crate hotstuff_rs 0.4.0 [INFO] tweaked toml for crates.io crate hotstuff_rs 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hotstuff_rs 0.4.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding borsh v0.10.4 (available: v1.5.7) [INFO] [stderr] Adding fern v0.6.2 (available: v0.7.1) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] [stderr] Adding typed-builder v0.16.2 (available: v0.21.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e39b0c2401e3439794f691c868188c2784bb8934e75a3702fe1560039270553a [INFO] running `Command { std: "docker" "start" "-a" "e39b0c2401e3439794f691c868188c2784bb8934e75a3702fe1560039270553a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e39b0c2401e3439794f691c868188c2784bb8934e75a3702fe1560039270553a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39b0c2401e3439794f691c868188c2784bb8934e75a3702fe1560039270553a", kill_on_drop: false }` [INFO] [stdout] e39b0c2401e3439794f691c868188c2784bb8934e75a3702fe1560039270553a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8985406e51613ef9b29b0e677c58c205e0906ae03755e50d3be06f222c21e023 [INFO] running `Command { std: "docker" "start" "-a" "8985406e51613ef9b29b0e677c58c205e0906ae03755e50d3be06f222c21e023", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [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 sha2 v0.10.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling typed-builder-macro v0.16.2 [INFO] [stderr] Checking borsh v0.10.4 [INFO] [stderr] Checking typed-builder v0.16.2 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking hotstuff_rs v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `chain_id` and `view` are never used [INFO] [stdout] --> src/types/signed_messages.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) trait Vote: SignedMessage { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 70 | /// Get the `chain_id` of the chain that the `Vote` is about. [INFO] [stdout] 71 | fn chain_id(&self) -> ChainID; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn view(&self) -> ViewNumber; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `quorum` is never used [INFO] [stdout] --> src/types/signed_messages.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) trait Certificate { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 142 | fn quorum(validator_set_power: TotalPower) -> TotalPower { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pacemaker/implementation.rs:592:21 [INFO] [stdout] | [INFO] [stdout] 592 | UpdateViewError(UpdateViewError), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PacemakerError` has a derived impl for the trait `Debug`, but this is 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] 592 - UpdateViewError(UpdateViewError), [INFO] [stdout] 592 + UpdateViewError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pacemaker/implementation.rs:595:21 [INFO] [stdout] | [INFO] [stdout] 595 | ExtendViewError(ExtendViewError), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PacemakerError` has a derived impl for the trait `Debug`, but this is 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] 595 - ExtendViewError(ExtendViewError), [INFO] [stdout] 595 + ExtendViewError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pacemaker/implementation.rs:598:20 [INFO] [stdout] | [INFO] [stdout] 598 | BlockTreeError(BlockTreeError), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PacemakerError` has a derived impl for the trait `Debug`, but this is 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] 598 - BlockTreeError(BlockTreeError), [INFO] [stdout] 598 + BlockTreeError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cur_view` and `next_view` are never read [INFO] [stdout] --> src/pacemaker/implementation.rs:626:9 [INFO] [stdout] | [INFO] [stdout] 624 | NonIncreasingViewError { [INFO] [stdout] | ---------------------- fields in this variant [INFO] [stdout] 625 | /// The current view. [INFO] [stdout] 626 | cur_view: ViewNumber, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | next_view: ViewNumber, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateViewError` 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 `view` is never read [INFO] [stdout] --> src/pacemaker/implementation.rs:635:27 [INFO] [stdout] | [INFO] [stdout] 635 | GetViewTimeoutError { view: ViewNumber }, [INFO] [stdout] | ------------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UpdateViewError` 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 `view` is never read [INFO] [stdout] --> src/pacemaker/implementation.rs:642:33 [INFO] [stdout] | [INFO] [stdout] 642 | TriedToExtendNonEpochView { view: ViewNumber }, [INFO] [stdout] | ------------------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExtendViewError` 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 `view` is never read [INFO] [stdout] --> src/pacemaker/implementation.rs:645:27 [INFO] [stdout] | [INFO] [stdout] 645 | GetViewTimeoutError { view: ViewNumber }, [INFO] [stdout] | ------------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExtendViewError` 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 `0` is never read [INFO] [stdout] --> src/hotstuff/implementation.rs:683:20 [INFO] [stdout] | [INFO] [stdout] 683 | BlockTreeError(BlockTreeError), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HotStuffError` has a derived impl for the trait `Debug`, but this is 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] 683 - BlockTreeError(BlockTreeError), [INFO] [stdout] 683 + BlockTreeError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/block_sync/client.rs:585:20 [INFO] [stdout] | [INFO] [stdout] 585 | BlockTreeError(BlockTreeError), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BlockSyncClientError` has a derived impl for the trait `Debug`, but this is 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] 585 - BlockTreeError(BlockTreeError), [INFO] [stdout] 585 + BlockTreeError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app.rs:258:23 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn block_tree(&self) -> &AppBlockTreeView { [INFO] [stdout] | ^^^^^ -------------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn block_tree(&self) -> &AppBlockTreeView<'_, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/update_sets.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn inserts(&self) -> hash_map::Iter { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn inserts(&self) -> hash_map::Iter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/update_sets.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn deletes(&self) -> hash_set::Iter { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn deletes(&self) -> hash_set::Iter<'_, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/validator_set.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn validators(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn validators(&self) -> slice::Iter<'_, VerifyingKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/block_tree/pluggables.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | fn snapshot<'b>(&'b self) -> Self::Snapshot<'_>; [INFO] [stdout] | ^^ -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 29 - fn snapshot<'b>(&'b self) -> Self::Snapshot<'_>; [INFO] [stdout] 29 + fn snapshot<'b>(&'b self) -> Self::Snapshot<'b>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `chain_id` and `view` are never used [INFO] [stdout] --> src/types/signed_messages.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) trait Vote: SignedMessage { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 70 | /// Get the `chain_id` of the chain that the `Vote` is about. [INFO] [stdout] 71 | fn chain_id(&self) -> ChainID; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn view(&self) -> ViewNumber; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `quorum` is never used [INFO] [stdout] --> src/types/signed_messages.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) trait Certificate { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 142 | fn quorum(validator_set_power: TotalPower) -> TotalPower { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pacemaker/implementation.rs:592:21 [INFO] [stdout] | [INFO] [stdout] 592 | UpdateViewError(UpdateViewError), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PacemakerError` has a derived impl for the trait `Debug`, but this is 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] 592 - UpdateViewError(UpdateViewError), [INFO] [stdout] 592 + UpdateViewError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pacemaker/implementation.rs:595:21 [INFO] [stdout] | [INFO] [stdout] 595 | ExtendViewError(ExtendViewError), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PacemakerError` has a derived impl for the trait `Debug`, but this is 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] 595 - ExtendViewError(ExtendViewError), [INFO] [stdout] 595 + ExtendViewError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pacemaker/implementation.rs:598:20 [INFO] [stdout] | [INFO] [stdout] 598 | BlockTreeError(BlockTreeError), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PacemakerError` has a derived impl for the trait `Debug`, but this is 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] 598 - BlockTreeError(BlockTreeError), [INFO] [stdout] 598 + BlockTreeError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cur_view` and `next_view` are never read [INFO] [stdout] --> src/pacemaker/implementation.rs:626:9 [INFO] [stdout] | [INFO] [stdout] 624 | NonIncreasingViewError { [INFO] [stdout] | ---------------------- fields in this variant [INFO] [stdout] 625 | /// The current view. [INFO] [stdout] 626 | cur_view: ViewNumber, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | next_view: ViewNumber, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateViewError` 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 `view` is never read [INFO] [stdout] --> src/pacemaker/implementation.rs:635:27 [INFO] [stdout] | [INFO] [stdout] 635 | GetViewTimeoutError { view: ViewNumber }, [INFO] [stdout] | ------------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UpdateViewError` 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 `view` is never read [INFO] [stdout] --> src/pacemaker/implementation.rs:642:33 [INFO] [stdout] | [INFO] [stdout] 642 | TriedToExtendNonEpochView { view: ViewNumber }, [INFO] [stdout] | ------------------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExtendViewError` 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 `view` is never read [INFO] [stdout] --> src/pacemaker/implementation.rs:645:27 [INFO] [stdout] | [INFO] [stdout] 645 | GetViewTimeoutError { view: ViewNumber }, [INFO] [stdout] | ------------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExtendViewError` 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 `0` is never read [INFO] [stdout] --> src/hotstuff/implementation.rs:683:20 [INFO] [stdout] | [INFO] [stdout] 683 | BlockTreeError(BlockTreeError), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HotStuffError` has a derived impl for the trait `Debug`, but this is 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] 683 - BlockTreeError(BlockTreeError), [INFO] [stdout] 683 + BlockTreeError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/block_sync/client.rs:585:20 [INFO] [stdout] | [INFO] [stdout] 585 | BlockTreeError(BlockTreeError), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BlockSyncClientError` has a derived impl for the trait `Debug`, but this is 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] 585 - BlockTreeError(BlockTreeError), [INFO] [stdout] 585 + BlockTreeError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app.rs:258:23 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn block_tree(&self) -> &AppBlockTreeView { [INFO] [stdout] | ^^^^^ -------------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn block_tree(&self) -> &AppBlockTreeView<'_, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/update_sets.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn inserts(&self) -> hash_map::Iter { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn inserts(&self) -> hash_map::Iter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/update_sets.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn deletes(&self) -> hash_set::Iter { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn deletes(&self) -> hash_set::Iter<'_, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/validator_set.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn validators(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn validators(&self) -> slice::Iter<'_, VerifyingKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/block_tree/pluggables.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | fn snapshot<'b>(&'b self) -> Self::Snapshot<'_>; [INFO] [stdout] | ^^ -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 29 - fn snapshot<'b>(&'b self) -> Self::Snapshot<'_>; [INFO] [stdout] 29 + fn snapshot<'b>(&'b self) -> Self::Snapshot<'b>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `verifying_key` is never read [INFO] [stdout] --> tests/common/node.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 39 | verifying_key: VerifyingKeyBytes, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `committed_validator_set` and `verifying_key` are never used [INFO] [stdout] --> tests/common/node.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub(crate) fn committed_validator_set(&self) -> ValidatorSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub(crate) fn verifying_key(&self) -> VerifyingKeyBytes { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `highest_view_entered` is never used [INFO] [stdout] --> tests/common/node.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub(crate) fn highest_view_entered(&self) -> ViewNumber { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `number` and `highest_view_entered` are never used [INFO] [stdout] --> tests/common/node.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub(crate) fn number(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub(crate) fn highest_view_entered(&self) -> ViewNumber { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `number` is never used [INFO] [stdout] --> tests/common/number_app.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 61 | impl NumberApp { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub(crate) fn number(block_tree: BlockTreeSnapshot) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `verifying_key` is never read [INFO] [stdout] --> tests/common/node.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 39 | verifying_key: VerifyingKeyBytes, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `committed_validator_set`, `highest_view_entered`, and `verifying_key` are never used [INFO] [stdout] --> tests/common/node.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub(crate) fn committed_validator_set(&self) -> ValidatorSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub(crate) fn highest_view_entered(&self) -> ViewNumber { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub(crate) fn verifying_key(&self) -> VerifyingKeyBytes { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.41s [INFO] running `Command { std: "docker" "inspect" "8985406e51613ef9b29b0e677c58c205e0906ae03755e50d3be06f222c21e023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8985406e51613ef9b29b0e677c58c205e0906ae03755e50d3be06f222c21e023", kill_on_drop: false }` [INFO] [stdout] 8985406e51613ef9b29b0e677c58c205e0906ae03755e50d3be06f222c21e023