[INFO] cloning repository https://github.com/cacinghypens/blockchain_template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cacinghypens/blockchain_template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcacinghypens%2Fblockchain_template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcacinghypens%2Fblockchain_template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 449ab8fd6621a076c9032915bcbf1984582f51fc [INFO] checking cacinghypens/blockchain_template against try#0f31acebf540c89e4a4d5d114959fe91973419cb for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcacinghypens%2Fblockchain_template" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cacinghypens/blockchain_template [INFO] finished tweaking git repo https://github.com/cacinghypens/blockchain_template [INFO] tweaked toml for git repo https://github.com/cacinghypens/blockchain_template written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cacinghypens/blockchain_template on toolchain 0f31acebf540c89e4a4d5d114959fe91973419cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cacinghypens/blockchain_template 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" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded warp v0.3.7 [INFO] [stderr] Downloaded ed25519-dalek v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f88fe3e7fc8d37aa18bb93cb38e4bb299200afb5bb4e8afa5f8fce371137832c [INFO] running `Command { std: "docker" "start" "-a" "f88fe3e7fc8d37aa18bb93cb38e4bb299200afb5bb4e8afa5f8fce371137832c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f88fe3e7fc8d37aa18bb93cb38e4bb299200afb5bb4e8afa5f8fce371137832c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f88fe3e7fc8d37aa18bb93cb38e4bb299200afb5bb4e8afa5f8fce371137832c", kill_on_drop: false }` [INFO] [stdout] f88fe3e7fc8d37aa18bb93cb38e4bb299200afb5bb4e8afa5f8fce371137832c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee5c0523228011d1151dfad42771ae7a8b2e6274bb44bb5a270664b49afcc219 [INFO] running `Command { std: "docker" "start" "-a" "ee5c0523228011d1151dfad42771ae7a8b2e6274bb44bb5a270664b49afcc219", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking blockchain_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `blockchain_project` [INFO] [stdout] --> tests/integration_tests.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use blockchain_project::blockchain::{Blockchain, ConsensusType, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `blockchain_project` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `blockchain_project`, use `cargo add blockchain_project` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecretKey` [INFO] [stdout] --> src/wallet.rs:2:76 [INFO] [stdout] | [INFO] [stdout] 2 | use ed25519_dalek::{Signature, Signer, Verifier, SigningKey, VerifyingKey, SecretKey}; [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: `NetworkMessage` [INFO] [stdout] --> src/main.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use network::{Network, NetworkMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain_project` (bin "block_explorer" test) due to 1 previous error [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/block_explorer.rs:413:2 [INFO] [stdout] | [INFO] [stdout] 153 | ) -> impl Filter + Clone { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 157 | .and_then(|hash: String, state: AppState| async move { [INFO] [stdout] | - unclosed delimiter - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 220 | ) -> impl Filter + Clone { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 233 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] ... [INFO] [stdout] 413 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `blockchain_project` (test "integration_tests") due to 1 previous error [INFO] [stdout] warning: unused import: `SecretKey` [INFO] [stdout] --> src/wallet.rs:2:76 [INFO] [stdout] | [INFO] [stdout] 2 | use ed25519_dalek::{Signature, Signer, Verifier, SigningKey, VerifyingKey, SecretKey}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/wallet.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl Wallet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | fn verify(&self, message: &[u8], signature: &Signature) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NetworkMessage` [INFO] [stdout] --> src/main.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use network::{Network, NetworkMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/wallet.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl Wallet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | fn verify(&self, message: &[u8], signature: &Signature) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash` is never used [INFO] [stdout] --> src/blockchain.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn hash(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `withdraw_rewards` is never used [INFO] [stdout] --> src/blockchain.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Validator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn withdraw_rewards(&mut self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_validator` and `get_validators` are never used [INFO] [stdout] --> src/blockchain.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Staking { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_validator(&self, address: &str) -> Option<&Validator> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_validators(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_validator_info`, `get_all_validators`, and `get_heaviest_tip` are never used [INFO] [stdout] --> src/blockchain.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 245 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn get_validator_info(&self, address: &str) -> Option<&Validator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn get_all_validators(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn get_heaviest_tip(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeInfo` is never constructed [INFO] [stdout] --> src/network.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct NodeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_rx` is never read [INFO] [stdout] --> src/network.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Network { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | message_rx: Arc>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Network` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `connect_to_peer`, `broadcast_message`, `send_message_to_peer`, `get_message_receiver`, and `request_node_info` are never used [INFO] [stdout] --> src/network.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 49 | impl Network { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub async fn connect_to_peer(&self, addr: SocketAddr) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub async fn broadcast_message(&self, message: &NetworkMessage) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub async fn send_message_to_peer(&self, addr: SocketAddr, message: &NetworkMessage) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn get_message_receiver(&self) -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub async fn request_node_info(&self, addr: SocketAddr) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash` is never used [INFO] [stdout] --> src/blockchain.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn hash(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `withdraw_rewards` is never used [INFO] [stdout] --> src/blockchain.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Validator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn withdraw_rewards(&mut self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_validator` and `get_validators` are never used [INFO] [stdout] --> src/blockchain.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Staking { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_validator(&self, address: &str) -> Option<&Validator> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_validators(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_validator_info`, `get_all_validators`, and `get_heaviest_tip` are never used [INFO] [stdout] --> src/blockchain.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 245 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn get_validator_info(&self, address: &str) -> Option<&Validator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn get_all_validators(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn get_heaviest_tip(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeInfo` is never constructed [INFO] [stdout] --> src/network.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct NodeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_rx` is never read [INFO] [stdout] --> src/network.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Network { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | message_rx: Arc>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Network` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `connect_to_peer`, `broadcast_message`, `send_message_to_peer`, `get_message_receiver`, and `request_node_info` are never used [INFO] [stdout] --> src/network.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 49 | impl Network { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub async fn connect_to_peer(&self, addr: SocketAddr) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub async fn broadcast_message(&self, message: &NetworkMessage) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub async fn send_message_to_peer(&self, addr: SocketAddr, message: &NetworkMessage) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn get_message_receiver(&self) -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub async fn request_node_info(&self, addr: SocketAddr) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee5c0523228011d1151dfad42771ae7a8b2e6274bb44bb5a270664b49afcc219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee5c0523228011d1151dfad42771ae7a8b2e6274bb44bb5a270664b49afcc219", kill_on_drop: false }` [INFO] [stdout] ee5c0523228011d1151dfad42771ae7a8b2e6274bb44bb5a270664b49afcc219