[INFO] cloning repository https://github.com/andyrobert3/ibft-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andyrobert3/ibft-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyrobert3%2Fibft-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyrobert3%2Fibft-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 654c734e49d72a042f1a273c63ee41f9b5834eb2 [INFO] checking andyrobert3/ibft-rust against try#9961e55b3687a6d0b2bab4af0e5e81494b09be81 for pr-139087-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyrobert3%2Fibft-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/andyrobert3/ibft-rust [INFO] finished tweaking git repo https://github.com/andyrobert3/ibft-rust [INFO] tweaked toml for git repo https://github.com/andyrobert3/ibft-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/andyrobert3/ibft-rust on toolchain 9961e55b3687a6d0b2bab4af0e5e81494b09be81 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/andyrobert3/ibft-rust 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" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking andyrobert3/ibft-rust against try#9961e55b3687a6d0b2bab4af0e5e81494b09be81 for pr-139087-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyrobert3%2Fibft-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/andyrobert3/ibft-rust [INFO] finished tweaking git repo https://github.com/andyrobert3/ibft-rust [INFO] tweaked toml for git repo https://github.com/andyrobert3/ibft-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/andyrobert3/ibft-rust on toolchain 9961e55b3687a6d0b2bab4af0e5e81494b09be81 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/andyrobert3/ibft-rust 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" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e35774c2e626c3499ff36a0659d652b225accc3dffdfa7dd7632d602d72f6e9a [INFO] running `Command { std: "docker" "start" "-a" "e35774c2e626c3499ff36a0659d652b225accc3dffdfa7dd7632d602d72f6e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e35774c2e626c3499ff36a0659d652b225accc3dffdfa7dd7632d602d72f6e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e35774c2e626c3499ff36a0659d652b225accc3dffdfa7dd7632d602d72f6e9a", kill_on_drop: false }` [INFO] [stdout] e35774c2e626c3499ff36a0659d652b225accc3dffdfa7dd7632d602d72f6e9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26d0cd6899777401c29bd2f8233890c5cde96ebf48412f926eb499784f82fbca [INFO] running `Command { std: "docker" "start" "-a" "26d0cd6899777401c29bd2f8233890c5cde96ebf48412f926eb499784f82fbca", kill_on_drop: false }` [INFO] [stderr] Checking ibft-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `peer::Peer` [INFO] [stdout] --> src/network/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use peer::Peer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `peer::Peer` [INFO] [stdout] --> src/network/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use peer::Peer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validator_set::ValidatorSet` [INFO] [stdout] --> src/state/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use validator_set::ValidatorSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validator_set::ValidatorSet` [INFO] [stdout] --> src/state/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use validator_set::ValidatorSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `signature::Signature` [INFO] [stdout] --> src/crypto/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use signature::Signature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `signature::Signature` [INFO] [stdout] --> src/crypto/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use signature::Signature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network` is never read [INFO] [stdout] --> src/consensus/ibft.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IbftConsensus { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | state: ConsensusState, [INFO] [stdout] 15 | network: NetworkHandler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_current_round` and `get_current_phase` are never used [INFO] [stdout] --> src/consensus/ibft.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl IbftConsensus { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn get_current_round(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_current_phase(&self) -> &crate::state::consensus_state::ConsensusPhase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_start_round_change` is never used [INFO] [stdout] --> src/consensus/round_change.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl RoundChangeHandler { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn should_start_round_change(&self, state: &ConsensusState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peers` and `node_id` are never read [INFO] [stdout] --> src/network/handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NetworkHandler { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | peers: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | node_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network` is never read [INFO] [stdout] --> src/consensus/ibft.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IbftConsensus { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | state: ConsensusState, [INFO] [stdout] 15 | network: NetworkHandler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_peer`, `broadcast_message`, `send_message`, and `receive_message` are never used [INFO] [stdout] --> src/network/handler.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl NetworkHandler { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add_peer(&mut self, peer_id: u64, peer: Peer) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn broadcast_message(&self, _message: Message) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn send_message(&self, _peer_id: u64, _message: Message) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn receive_message(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_current_round` and `get_current_phase` are never used [INFO] [stdout] --> src/consensus/ibft.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl IbftConsensus { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn get_current_round(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_current_phase(&self) -> &crate::state::consensus_state::ConsensusPhase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_start_round_change` is never used [INFO] [stdout] --> src/consensus/round_change.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl RoundChangeHandler { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn should_start_round_change(&self, state: &ConsensusState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `address`, and `is_connected` are never read [INFO] [stdout] --> src/network/peer.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Peer { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 2 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 3 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | pub is_connected: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `connect`, and `disconnect` are never used [INFO] [stdout] --> src/network/peer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Peer { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 8 | pub fn new(id: u64, address: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn connect(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn disconnect(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peers` and `node_id` are never read [INFO] [stdout] --> src/network/handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NetworkHandler { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | peers: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | node_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageValidator` is never constructed [INFO] [stdout] --> src/message/validation.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MessageValidator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_peer`, `broadcast_message`, `send_message`, and `receive_message` are never used [INFO] [stdout] --> src/network/handler.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl NetworkHandler { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add_peer(&mut self, peer_id: u64, peer: Peer) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn broadcast_message(&self, _message: Message) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn send_message(&self, _peer_id: u64, _message: Message) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn receive_message(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `address`, and `is_connected` are never read [INFO] [stdout] --> src/network/peer.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Peer { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 2 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 3 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | pub is_connected: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `validate_round_change`, `validate_pre_prepare`, `validate_prepare`, `validate_commit`, and `validate_message` are never used [INFO] [stdout] --> src/message/validation.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl MessageValidator { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn validate_round_change(&self, _message: &RoundChangeMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn validate_pre_prepare(&self, _message: &PrePrepareMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn validate_prepare(&self, _message: &PrepareMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn validate_commit(&self, _message: &CommitMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn validate_message(&self, message: &Message) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_primary` is never read [INFO] [stdout] --> src/state/consensus_state.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ConsensusState { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub is_primary: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `connect`, and `disconnect` are never used [INFO] [stdout] --> src/network/peer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Peer { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 8 | pub fn new(id: u64, address: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn connect(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn disconnect(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify_hash` is never used [INFO] [stdout] --> src/crypto/hasher.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Hasher { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn verify_hash(&self, data: &[u8], expected_hash: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageValidator` is never constructed [INFO] [stdout] --> src/message/validation.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MessageValidator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Signature` is never constructed [INFO] [stdout] --> src/crypto/signature.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Signature { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `sign`, and `verify` are never used [INFO] [stdout] --> src/crypto/signature.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Signature { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(data: Vec, validator_id: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn sign(_message: &[u8], _private_key: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn verify(&self, _message: &[u8], _public_key: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `validate_round_change`, `validate_pre_prepare`, `validate_prepare`, `validate_commit`, and `validate_message` are never used [INFO] [stdout] --> src/message/validation.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl MessageValidator { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn validate_round_change(&self, _message: &RoundChangeMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn validate_pre_prepare(&self, _message: &PrePrepareMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn validate_prepare(&self, _message: &PrepareMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn validate_commit(&self, _message: &CommitMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn validate_message(&self, message: &Message) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_primary` is never read [INFO] [stdout] --> src/state/consensus_state.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ConsensusState { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub is_primary: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify_hash` is never used [INFO] [stdout] --> src/crypto/hasher.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Hasher { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn verify_hash(&self, data: &[u8], expected_hash: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Signature` is never constructed [INFO] [stdout] --> src/crypto/signature.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Signature { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `sign`, and `verify` are never used [INFO] [stdout] --> src/crypto/signature.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Signature { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(data: Vec, validator_id: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn sign(_message: &[u8], _private_key: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn verify(&self, _message: &[u8], _public_key: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "26d0cd6899777401c29bd2f8233890c5cde96ebf48412f926eb499784f82fbca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d0cd6899777401c29bd2f8233890c5cde96ebf48412f926eb499784f82fbca", kill_on_drop: false }` [INFO] [stdout] 26d0cd6899777401c29bd2f8233890c5cde96ebf48412f926eb499784f82fbca