[INFO] fetching crate hotstuff_rs 0.4.0... [INFO] checking hotstuff_rs-0.4.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate hotstuff_rs 0.4.0 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hotstuff_rs 0.4.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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.1) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] [stderr] Adding typed-builder v0.16.2 (available: v0.21.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57d0ec721460f158179fdfa41eddce8befbe265483b7c82677ae6efe15173e77 [INFO] running `Command { std: "docker" "start" "-a" "57d0ec721460f158179fdfa41eddce8befbe265483b7c82677ae6efe15173e77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57d0ec721460f158179fdfa41eddce8befbe265483b7c82677ae6efe15173e77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57d0ec721460f158179fdfa41eddce8befbe265483b7c82677ae6efe15173e77", kill_on_drop: false }` [INFO] [stdout] 57d0ec721460f158179fdfa41eddce8befbe265483b7c82677ae6efe15173e77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5fb3d252e1a952f5273abade1190062302ecadd1ddad12a88c8cb3755a25424 [INFO] running `Command { std: "docker" "start" "-a" "d5fb3d252e1a952f5273abade1190062302ecadd1ddad12a88c8cb3755a25424", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking cpufeatures v0.2.17 [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 base64 v0.21.7 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rand_core v0.6.4 [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] Checking rand_core v0.5.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [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.1.1 [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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn block_tree(&self) -> &AppBlockTreeView<'_, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn inserts(&self) -> hash_map::Iter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn deletes(&self) -> hash_set::Iter<'_, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/validator_set.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn validators(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn validators(&self) -> slice::Iter<'_, VerifyingKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'b` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn block_tree(&self) -> &AppBlockTreeView<'_, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn inserts(&self) -> hash_map::Iter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn deletes(&self) -> hash_set::Iter<'_, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/validator_set.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn validators(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn validators(&self) -> slice::Iter<'_, VerifyingKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'b` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: 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: 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: 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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.07s [INFO] running `Command { std: "docker" "inspect" "d5fb3d252e1a952f5273abade1190062302ecadd1ddad12a88c8cb3755a25424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5fb3d252e1a952f5273abade1190062302ecadd1ddad12a88c8cb3755a25424", kill_on_drop: false }` [INFO] [stdout] d5fb3d252e1a952f5273abade1190062302ecadd1ddad12a88c8cb3755a25424