[INFO] cloning repository https://github.com/HariSeldon23/Romer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HariSeldon23/Romer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHariSeldon23%2FRomer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHariSeldon23%2FRomer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57c5db097c1e40f77d35c0cd657e4224aaea07e0 [INFO] checking HariSeldon23/Romer against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHariSeldon23%2FRomer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HariSeldon23/Romer on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HariSeldon23/Romer [INFO] finished tweaking git repo https://github.com/HariSeldon23/Romer [INFO] tweaked toml for git repo https://github.com/HariSeldon23/Romer written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HariSeldon23/Romer 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-derive v0.13.4 [INFO] [stderr] Downloaded quanta v0.12.4 [INFO] [stderr] Downloaded local-ip-address v0.5.7 [INFO] [stderr] Downloaded commonware-runtime v0.0.11 [INFO] [stderr] Downloaded prost v0.13.4 [INFO] [stderr] Downloaded prost-types v0.13.4 [INFO] [stderr] Downloaded prost-build v0.13.4 [INFO] [stderr] Downloaded windows-acl v0.3.0 [INFO] [stderr] Downloaded blst v0.3.13 [INFO] [stderr] Downloaded commonware-utils v0.0.3 [INFO] [stderr] Downloaded commonware-macros v0.0.5 [INFO] [stderr] Downloaded commonware-cryptography v0.0.14 [INFO] [stderr] Downloaded commonware-p2p v0.0.25 [INFO] [stderr] Downloaded commonware-stream v0.0.3 [INFO] [stderr] Downloaded commonware-utils v0.0.6 [INFO] [stderr] Downloaded commonware-storage v0.0.6 [INFO] [stderr] Downloaded commonware-consensus v0.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08894d2f044bc069f956ec5bc5e42a353115b9ccea8601d3fce338968c3abad1 [INFO] running `Command { std: "docker" "start" "-a" "08894d2f044bc069f956ec5bc5e42a353115b9ccea8601d3fce338968c3abad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08894d2f044bc069f956ec5bc5e42a353115b9ccea8601d3fce338968c3abad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08894d2f044bc069f956ec5bc5e42a353115b9ccea8601d3fce338968c3abad1", kill_on_drop: false }` [INFO] [stdout] 08894d2f044bc069f956ec5bc5e42a353115b9ccea8601d3fce338968c3abad1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f7e71f6529e2eb99a31cdeb8ac5caba94d4ab26372c31a1bf08faaeead971fa [INFO] running `Command { std: "docker" "start" "-a" "7f7e71f6529e2eb99a31cdeb8ac5caba94d4ab26372c31a1bf08faaeead971fa", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking raw-cpuid v11.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking event-listener-strategy v0.5.3 [INFO] [stderr] Checking quanta v0.12.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling blst v0.3.13 [INFO] [stderr] Checking spinning_top v0.3.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking subtle-ng v2.5.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking nonzero_ext v0.3.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling prost v0.13.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling prost-types v0.13.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling prost-build v0.13.4 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking commonware-utils v0.0.6 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Checking governor v0.6.3 [INFO] [stderr] Checking curve25519-dalek-ng v4.1.1 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Compiling commonware-stream v0.0.3 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling commonware-p2p v0.0.25 [INFO] [stderr] Checking ed25519-consensus v2.1.0 [INFO] [stderr] Checking commonware-cryptography v0.0.14 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Compiling commonware-macros v0.0.5 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking commonware-runtime v0.0.11 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Compiling commonware-consensus v0.0.3 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking rangemap v1.5.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Compiling neli-proc-macros v0.1.3 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking commonware-storage v0.0.6 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking neli v0.6.4 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Checking windows-acl v0.3.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking local-ip-address v0.5.7 [INFO] [stderr] Checking commonware-utils v0.0.3 [INFO] [stderr] Checking whoami v1.5.2 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking clap v4.5.23 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stderr] Checking romer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::config::validator::ValidatorConfig` [INFO] [stdout] --> src/node/validator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::config::validator::ValidatorConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::node::hardware_validator::OperatingSystem` [INFO] [stdout] --> src/node/validator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::node::hardware_validator::OperatingSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::node::operating_regions::RegionConfig` [INFO] [stdout] --> src/node/validator.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::node::operating_regions::RegionConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::net::TcpStream` [INFO] [stdout] --> src/node/network_validator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::validator::ValidatorConfig` [INFO] [stdout] --> src/node/validator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::config::validator::ValidatorConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::node::hardware_validator::OperatingSystem` [INFO] [stdout] --> src/node/validator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::node::hardware_validator::OperatingSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::node::operating_regions::RegionConfig` [INFO] [stdout] --> src/node/validator.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::node::operating_regions::RegionConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::net::TcpStream` [INFO] [stdout] --> src/node/network_validator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `genesis_block` [INFO] [stdout] --> src/consensus/automaton.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let genesis_block = self [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_genesis_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `genesis_block` [INFO] [stdout] --> src/consensus/automaton.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let genesis_block = self [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_genesis_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bootstrap` [INFO] [stdout] --> src/node/validator.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | bootstrap: Option, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bootstrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `validator_ip` [INFO] [stdout] --> src/node/network_validator.rs:87:41 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn verify_location(&self, validator_ip: IpAddr) -> LocationVerificationResult { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_validator_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `genesis_block` [INFO] [stdout] --> src/consensus/automaton.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let genesis_block = self [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_genesis_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `genesis_block` [INFO] [stdout] --> src/consensus/automaton.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let genesis_block = self [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_genesis_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bootstrap` [INFO] [stdout] --> src/node/validator.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | bootstrap: Option, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bootstrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `validator_ip` [INFO] [stdout] --> src/node/network_validator.rs:87:41 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn verify_location(&self, validator_ip: IpAddr) -> LocationVerificationResult { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_validator_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/node/network_validator.rs:132:47 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn enhance_location_estimation(&self, result: &mut LocationVerificationResult) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transactions` is never read [INFO] [stdout] --> src/block.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 20 | pub header: BlockHeader, [INFO] [stdout] 21 | pub transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction_type`, `from`, `nonce`, `gas_amount`, and `signature` are never read [INFO] [stdout] --> src/block.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 28 | pub transaction_type: TransactionType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub from: String, // Base58 encoded address [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub nonce: u64, // Transaction sequence number [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub gas_amount: u64, // Computed gas requirement [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | pub signature: Signature, // Transaction signature [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TokenTransfer` is never constructed [INFO] [stdout] --> src/block.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum TransactionType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 38 | TokenTransfer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValidatorConfigError` is never used [INFO] [stdout] --> src/config/validator.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ValidatorConfigError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidatorConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load_validator_config`, `get_validator_config_path`, `load`, and `validate` are never used [INFO] [stdout] --> src/config/validator.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl ValidatorConfig { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 34 | /// Loads the validator configuration from the config directory [INFO] [stdout] 35 | pub fn load_validator_config() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_validator_config_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn load>(path: P) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn validate(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `development` is never used [INFO] [stdout] --> src/config/genesis.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl GenesisConfig { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn development() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_BLOCK_TIME_MS` is never used [INFO] [stdout] --> src/config/genesis.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | pub const DEFAULT_BLOCK_TIME_MS: u64 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_EPOCH_LENGTH` is never used [INFO] [stdout] --> src/config/genesis.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | pub const DEFAULT_EPOCH_LENGTH: u64 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MIN_VALIDATORS` is never used [INFO] [stdout] --> src/config/genesis.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | pub const DEFAULT_MIN_VALIDATORS: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_VALIDATORS` is never used [INFO] [stdout] --> src/config/genesis.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | pub const DEFAULT_MAX_VALIDATORS: u32 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_PEERS` is never used [INFO] [stdout] --> src/config/genesis.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | pub const DEFAULT_MAX_PEERS: u32 = 50; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_MESSAGE_SIZE` is never used [INFO] [stdout] --> src/config/genesis.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | pub const DEFAULT_MAX_MESSAGE_SIZE: usize = 1024 * 1024; // 1MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CONNECTION_TIMEOUT_MS` is never used [INFO] [stdout] --> src/config/genesis.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | pub const DEFAULT_CONNECTION_TIMEOUT_MS: u32 = 5000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_PEER_DISCOVERY_INTERVAL` is never used [INFO] [stdout] --> src/config/genesis.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | pub const DEFAULT_PEER_DISCOVERY_INTERVAL: u32 = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_BLOCK_SIZE` is never used [INFO] [stdout] --> src/config/genesis.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | pub const DEFAULT_MAX_BLOCK_SIZE: u32 = 1024 * 1024; // 1MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_TX_SIZE` is never used [INFO] [stdout] --> src/config/genesis.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | pub const DEFAULT_MAX_TX_SIZE: u32 = 64 * 1024; // 64KB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `development` and `initialize_directories` are never used [INFO] [stdout] --> src/config/storage.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl StorageConfig { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn development() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn initialize_directories(&self) -> Result<(), ConfigError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCKS_PER_SECTION` is never used [INFO] [stdout] --> src/config/storage.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | pub const BLOCKS_PER_SECTION: u64 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINIMUM_SECTIONS` is never used [INFO] [stdout] --> src/config/storage.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | pub const MINIMUM_SECTIONS: u64 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_AGE_DAYS` is never used [INFO] [stdout] --> src/config/storage.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | pub const MAX_AGE_DAYS: u32 = 30; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYNC_INTERVAL_MS` is never used [INFO] [stdout] --> src/config/storage.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | pub const SYNC_INTERVAL_MS: u64 = 5000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BATCH_SIZE` is never used [INFO] [stdout] --> src/config/storage.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 113 | pub const MAX_BATCH_SIZE: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPLAY_CONCURRENCY` is never used [INFO] [stdout] --> src/config/storage.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | pub const REPLAY_CONCURRENCY: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PENDING_WRITES` is never used [INFO] [stdout] --> src/config/storage.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | pub const PENDING_WRITES: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMPRESSION_LEVEL` is never used [INFO] [stdout] --> src/config/storage.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | pub const COMPRESSION_LEVEL: i32 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `supervisor` is never read [INFO] [stdout] --> src/consensus/automaton.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BlockchainAutomaton { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub supervisor: BlockchainSupervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockchainAutomaton` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_sender` is never used [INFO] [stdout] --> src/consensus/automaton.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl BlockchainAutomaton { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set_sender(&mut self, sender: commonware_p2p::authenticated::Sender) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_validators` is never used [INFO] [stdout] --> src/consensus/supervisor.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl BlockchainSupervisor { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn update_validators(&mut self, validators: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_signer_info` and `get_os` are never used [INFO] [stdout] --> src/identity/keymanager.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl NodeKeyManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn get_signer_info(&self, signer: &Ed25519) -> (String, &PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn get_os(&self) -> &OperatingSystem { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Windows`, `MacOS`, and `Unknown` are never constructed [INFO] [stdout] --> src/node/hardware_validator.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum OperatingSystem { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 20 | Windows, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | MacOS, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | Linux, [INFO] [stdout] 23 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatingSystem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/node/hardware_validator.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocationVerificationConfig` is never constructed [INFO] [stdout] --> src/node/network_validator.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct LocationVerificationConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationVerificationConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocationVerificationResult` is never constructed [INFO] [stdout] --> src/node/network_validator.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct LocationVerificationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationVerificationResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ix_rtt_measurements`, `total_latency`, and `response_count` are never read [INFO] [stdout] --> src/node/network_validator.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct NetworkPerformance { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 35 | pub ix_rtt_measurements: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub total_latency: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub response_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkPerformance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocationVerificationService` is never constructed [INFO] [stdout] --> src/node/network_validator.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct LocationVerificationService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `measure_rtt`, `verify_location`, and `enhance_location_estimation` are never used [INFO] [stdout] --> src/node/network_validator.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl LocationVerificationService { [INFO] [stdout] | -------------------------------- associated items in this implementation [INFO] [stdout] 47 | /// Creates a new location verification service with predefined IXPs [INFO] [stdout] 48 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn measure_rtt(&self, ix_point: &IpAddr) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn verify_location(&self, validator_ip: IpAddr) -> LocationVerificationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn enhance_location_estimation(&self, result: &mut LocationVerificationResult) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_validator_location` is never used [INFO] [stdout] --> src/node/network_validator.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | async fn validate_validator_location(validator_ip: IpAddr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ValidationError` is never constructed [INFO] [stdout] --> src/node/operating_regions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum RegionError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | ValidationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load`, `validate`, and `get_city_display` are never used [INFO] [stdout] --> src/node/operating_regions.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl RegionConfig { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 38 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn validate(&self) -> Result<(), RegionError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_city_display(&self, region_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/node/network_validator.rs:132:47 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn enhance_location_estimation(&self, result: &mut LocationVerificationResult) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transactions` is never read [INFO] [stdout] --> src/block.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 20 | pub header: BlockHeader, [INFO] [stdout] 21 | pub transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction_type`, `from`, `nonce`, `gas_amount`, and `signature` are never read [INFO] [stdout] --> src/block.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 28 | pub transaction_type: TransactionType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub from: String, // Base58 encoded address [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub nonce: u64, // Transaction sequence number [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub gas_amount: u64, // Computed gas requirement [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | pub signature: Signature, // Transaction signature [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TokenTransfer` is never constructed [INFO] [stdout] --> src/block.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum TransactionType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 38 | TokenTransfer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValidatorConfigError` is never used [INFO] [stdout] --> src/config/validator.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ValidatorConfigError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidatorConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load_validator_config`, `get_validator_config_path`, `load`, and `validate` are never used [INFO] [stdout] --> src/config/validator.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl ValidatorConfig { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 34 | /// Loads the validator configuration from the config directory [INFO] [stdout] 35 | pub fn load_validator_config() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_validator_config_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn load>(path: P) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn validate(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initialize_directories` is never used [INFO] [stdout] --> src/config/storage.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl StorageConfig { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn initialize_directories(&self) -> Result<(), ConfigError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `supervisor` is never read [INFO] [stdout] --> src/consensus/automaton.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BlockchainAutomaton { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub supervisor: BlockchainSupervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockchainAutomaton` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_sender` is never used [INFO] [stdout] --> src/consensus/automaton.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl BlockchainAutomaton { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set_sender(&mut self, sender: commonware_p2p::authenticated::Sender) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_validators` is never used [INFO] [stdout] --> src/consensus/supervisor.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl BlockchainSupervisor { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn update_validators(&mut self, validators: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_signer_info` and `get_os` are never used [INFO] [stdout] --> src/identity/keymanager.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl NodeKeyManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn get_signer_info(&self, signer: &Ed25519) -> (String, &PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn get_os(&self) -> &OperatingSystem { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Windows`, `MacOS`, and `Unknown` are never constructed [INFO] [stdout] --> src/node/hardware_validator.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum OperatingSystem { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 20 | Windows, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | MacOS, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | Linux, [INFO] [stdout] 23 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatingSystem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/node/hardware_validator.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocationVerificationConfig` is never constructed [INFO] [stdout] --> src/node/network_validator.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct LocationVerificationConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationVerificationConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocationVerificationResult` is never constructed [INFO] [stdout] --> src/node/network_validator.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct LocationVerificationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationVerificationResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ix_rtt_measurements`, `total_latency`, and `response_count` are never read [INFO] [stdout] --> src/node/network_validator.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct NetworkPerformance { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 35 | pub ix_rtt_measurements: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub total_latency: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub response_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkPerformance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocationVerificationService` is never constructed [INFO] [stdout] --> src/node/network_validator.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct LocationVerificationService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `measure_rtt`, `verify_location`, and `enhance_location_estimation` are never used [INFO] [stdout] --> src/node/network_validator.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl LocationVerificationService { [INFO] [stdout] | -------------------------------- associated items in this implementation [INFO] [stdout] 47 | /// Creates a new location verification service with predefined IXPs [INFO] [stdout] 48 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn measure_rtt(&self, ix_point: &IpAddr) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn verify_location(&self, validator_ip: IpAddr) -> LocationVerificationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn enhance_location_estimation(&self, result: &mut LocationVerificationResult) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_validator_location` is never used [INFO] [stdout] --> src/node/network_validator.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | async fn validate_validator_location(validator_ip: IpAddr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ValidationError` is never constructed [INFO] [stdout] --> src/node/operating_regions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum RegionError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | ValidationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load`, `validate`, and `get_city_display` are never used [INFO] [stdout] --> src/node/operating_regions.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl RegionConfig { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 38 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn validate(&self) -> Result<(), RegionError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_city_display(&self, region_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 15s [INFO] running `Command { std: "docker" "inspect" "7f7e71f6529e2eb99a31cdeb8ac5caba94d4ab26372c31a1bf08faaeead971fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f7e71f6529e2eb99a31cdeb8ac5caba94d4ab26372c31a1bf08faaeead971fa", kill_on_drop: false }` [INFO] [stdout] 7f7e71f6529e2eb99a31cdeb8ac5caba94d4ab26372c31a1bf08faaeead971fa