[INFO] fetching crate apfsds-daemon 0.4.0...
[INFO] checking apfsds-daemon-0.4.0 against try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320
[INFO] extracting crate apfsds-daemon 0.4.0 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate apfsds-daemon 0.4.0
[INFO] finished tweaking crates.io crate apfsds-daemon 0.4.0
[INFO] tweaked toml for crates.io crate apfsds-daemon 0.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate apfsds-daemon 0.4.0 on toolchain 8a2f6fe57adadb246778b8d41925d3dc46d468cb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate apfsds-daemon 0.4.0 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" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cf96ca36ab5ce6858fa35bcf7d8e89185744d34f4237076c1f796f67d5de4117
[INFO] running `Command { std: "docker" "start" "cf96ca36ab5ce6858fa35bcf7d8e89185744d34f4237076c1f796f67d5de4117", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cf96ca36ab5ce6858fa35bcf7d8e89185744d34f4237076c1f796f67d5de4117" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf96ca36ab5ce6858fa35bcf7d8e89185744d34f4237076c1f796f67d5de4117", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cf96ca36ab5ce6858fa35bcf7d8e89185744d34f4237076c1f796f67d5de4117" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.8
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking base64ct v1.8.3
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling zmij v1.0.15
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]     Checking uuid v1.19.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]     Checking const-oid v0.10.2
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking hybrid-array v0.4.7
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking data-encoding v2.10.0
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking iri-string v0.7.10
[INFO] [stderr]     Checking openssl-probe v0.2.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling cc v1.2.53
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]     Checking dashmap v6.1.0
[INFO] [stderr]    Compiling quinn-udp v0.5.14
[INFO] [stderr]     Checking password-hash v0.4.2
[INFO] [stderr]     Checking rand_core v0.10.0
[INFO] [stderr]     Checking block-buffer v0.11.0
[INFO] [stderr]     Checking crypto-common v0.2.0-rc.15
[INFO] [stderr]     Checking keccak v0.2.0-rc.1
[INFO] [stderr]     Checking simd-adler32 v0.3.8
[INFO] [stderr]     Checking fastbloom v0.14.1
[INFO] [stderr]     Checking module-lattice v0.1.0-rc.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking hybrid-array v0.2.3
[INFO] [stderr]    Compiling quinn v0.11.9
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]     Checking russh-cryptovec v0.7.3
[INFO] [stderr]     Checking bstr v1.12.1
[INFO] [stderr]     Checking lru-slab v0.1.2
[INFO] [stderr]     Checking replace_with v0.1.8
[INFO] [stderr]     Checking lz4_flex v0.11.5
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]     Checking cityhash-rs v1.0.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking flate2 v1.1.8
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking winnow v0.7.14
[INFO] [stderr]    Compiling prometheus v0.13.4
[INFO] [stderr]     Checking hex-literal v0.4.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]     Checking clap_builder v4.5.54
[INFO] [stderr]     Checking digest v0.11.0-rc.11
[INFO] [stderr]     Checking signature v3.0.0-rc.10
[INFO] [stderr]     Checking sha3 v0.11.0-rc.7
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking ipnetwork v0.21.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]     Checking ioctl-sys v0.8.0
[INFO] [stderr]     Checking etherparse v0.13.0
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]     Checking rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling ptr_meta_derive v0.3.1
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking block-padding v0.3.3
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking cbc v0.1.2
[INFO] [stderr]     Checking salsa20 v0.10.2
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking ptr_meta v0.3.1
[INFO] [stderr]     Checking scrypt v0.11.0
[INFO] [stderr]     Checking rancor v0.1.1
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking pkcs5 v0.7.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]    Compiling bytecheck_derive v0.8.2
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking bytecheck v0.8.2
[INFO] [stderr]     Checking rustls-webpki v0.103.9
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]    Compiling munge_macro v0.4.7
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking rend v0.5.3
[INFO] [stderr]     Checking ed25519-dalek v2.2.0
[INFO] [stderr]     Checking pkcs1 v0.7.5
[INFO] [stderr]     Checking ssh-encoding v0.2.0
[INFO] [stderr]     Checking chacha20 v0.9.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking munge v0.4.7
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking poly1305 v0.8.0
[INFO] [stderr]     Checking der v0.8.0-rc.10
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking num-bigint-dig v0.8.6
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling rkyv_derive v0.8.14
[INFO] [stderr]     Checking ssh-cipher v0.2.0
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking bcrypt-pbkdf v0.10.0
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]     Checking spki v0.8.0-rc.4
[INFO] [stderr]     Checking p521 v0.13.3
[INFO] [stderr]     Checking rsa v0.9.10
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking pkcs8 v0.11.0-rc.10
[INFO] [stderr]     Checking p384 v0.13.1
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking kem v0.3.0-pre.0
[INFO] [stderr]    Compiling sealed v0.5.0
[INFO] [stderr]    Compiling clickhouse-derive v0.2.0
[INFO] [stderr]     Checking ssh-key v0.6.7
[INFO] [stderr]     Checking ml-kem v0.2.2
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking ml-dsa v0.1.0-rc.7
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking tungstenite v0.26.2
[INFO] [stderr]     Checking x25519-dalek v2.0.1
[INFO] [stderr]     Checking des v0.8.1
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking tokio-tungstenite v0.26.2
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking maxminddb v0.27.1
[INFO] [stderr]     Checking russh-keys v0.45.0
[INFO] [stderr]     Checking tun v0.6.1
[INFO] [stderr]     Checking rustls-platform-verifier v0.6.2
[INFO] [stderr]     Checking quinn-proto v0.11.13
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking apfsds-crypto v0.4.0
[INFO] [stderr]     Checking russh v0.45.0
[INFO] [stderr]     Checking rkyv v0.8.14
[INFO] [stderr]     Checking async-raft v0.6.1
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking clap v4.5.54
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking apfsds-obfuscation v0.4.0
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking apfsds-protocol v0.4.0
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking clickhouse v0.12.2
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking apfsds-transport v0.4.0
[INFO] [stderr]     Checking crates_io_api v0.11.0
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking apfsds-storage v0.4.0
[INFO] [stderr]     Checking apfsds-raft v0.4.0
[INFO] [stderr]     Checking apfsds-daemon v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/exit_node.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::sync::Mutex;
[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: `GroupInfo`
[INFO] [stdout]    --> src/exit_node.rs:417:43
[INFO] [stdout]     |
[INFO] [stdout] 417 |     use apfsds_protocol::{ControlMessage, GroupInfo};
[INFO] [stdout]     |                                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/exit_node_pool.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SinkExt`
[INFO] [stdout]  --> src/exit_node_pool.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures::{SinkExt, StreamExt};
[INFO] [stdout]   |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `error`, and `warn`
[INFO] [stdout]   --> src/exit_node_pool.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tracing::{debug, error, info, warn};
[INFO] [stdout]    |               ^^^^^  ^^^^^        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow`
[INFO] [stdout]  --> src/geoip.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use anyhow::{Result, anyhow};
[INFO] [stdout]   |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/geoip.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]   --> src/geoip.rs:11:22
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::{debug, warn};
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/plugin.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/exit_node.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::sync::Mutex;
[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: `GroupInfo`
[INFO] [stdout]    --> src/exit_node.rs:417:43
[INFO] [stdout]     |
[INFO] [stdout] 417 |     use apfsds_protocol::{ControlMessage, GroupInfo};
[INFO] [stdout]     |                                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/exit_node_pool.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SinkExt`
[INFO] [stdout]  --> src/exit_node_pool.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures::{SinkExt, StreamExt};
[INFO] [stdout]   |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `error`, and `warn`
[INFO] [stdout]   --> src/exit_node_pool.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tracing::{debug, error, info, warn};
[INFO] [stdout]    |               ^^^^^  ^^^^^        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow`
[INFO] [stdout]  --> src/geoip.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use anyhow::{Result, anyhow};
[INFO] [stdout]   |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/geoip.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]   --> src/geoip.rs:11:22
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::{debug, warn};
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/plugin.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/handler.rs:581:5
[INFO] [stdout]     |
[INFO] [stdout] 581 |     mut req: Request<Incoming>,
[INFO] [stdout]     |     ----^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/plugin.rs:71:31
[INFO] [stdout]    |
[INFO] [stdout] 71 | async fn handle_connection<S>(mut stream: S)
[INFO] [stdout]    |                               ----^^^^^^
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/handler.rs:581:5
[INFO] [stdout]     |
[INFO] [stdout] 581 |     mut req: Request<Incoming>,
[INFO] [stdout]     |     ----^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/plugin.rs:71:31
[INFO] [stdout]    |
[INFO] [stdout] 71 | async fn handle_connection<S>(mut stream: S)
[INFO] [stdout]    |                               ----^^^^^^
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]  --> src/exit_node_pool.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures::{SinkExt, StreamExt};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `header` is assigned to, but never used
[INFO] [stdout]    --> src/exit_node.rs:183:19
[INFO] [stdout]     |
[INFO] [stdout] 183 |         if let Ok(mut header) = etherparse::Ipv4Header::from_slice(&packet.payload).map(|(h, _)| h)
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_header` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `header` is never read
[INFO] [stdout]    --> src/exit_node.rs:185:13
[INFO] [stdout]     |
[INFO] [stdout] 185 |             header.source = virtual_ip.octets();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/exit_node.rs:269:22
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let (stream, addr) = listener.accept().await?;
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]  --> src/exit_node_pool.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures::{SinkExt, StreamExt};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/handler.rs:85:24
[INFO] [stdout]    |
[INFO] [stdout] 85 |             if let Err(e) = http1::Builder::new()
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/handler.rs:99:5
[INFO] [stdout]    |
[INFO] [stdout] 99 |     addr: SocketAddr,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `padding`
[INFO] [stdout]    --> src/handler.rs:388:21
[INFO] [stdout]     |
[INFO] [stdout] 388 |                 let padding = PaddingStrategy::default();
[INFO] [stdout]     |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `raft_node`
[INFO] [stdout]    --> src/handler.rs:280:5
[INFO] [stdout]     |
[INFO] [stdout] 280 |     raft_node: Arc<RaftNode>,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raft_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `header` is assigned to, but never used
[INFO] [stdout]    --> src/exit_node.rs:183:19
[INFO] [stdout]     |
[INFO] [stdout] 183 |         if let Ok(mut header) = etherparse::Ipv4Header::from_slice(&packet.payload).map(|(h, _)| h)
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_header` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `header` is never read
[INFO] [stdout]    --> src/exit_node.rs:185:13
[INFO] [stdout]     |
[INFO] [stdout] 185 |             header.source = virtual_ip.octets();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/exit_node.rs:269:22
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let (stream, addr) = listener.accept().await?;
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]   --> src/plugin.rs:71:31
[INFO] [stdout]    |
[INFO] [stdout] 71 | async fn handle_connection<S>(mut stream: S)
[INFO] [stdout]    |                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `raft`
[INFO] [stdout]    --> src/main.rs:177:21
[INFO] [stdout]     |
[INFO] [stdout] 177 |         if let Some(raft) = &raft_node {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_raft`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/handler.rs:85:24
[INFO] [stdout]    |
[INFO] [stdout] 85 |             if let Err(e) = http1::Builder::new()
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/handler.rs:99:5
[INFO] [stdout]    |
[INFO] [stdout] 99 |     addr: SocketAddr,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `padding`
[INFO] [stdout]    --> src/handler.rs:388:21
[INFO] [stdout]     |
[INFO] [stdout] 388 |                 let padding = PaddingStrategy::default();
[INFO] [stdout]     |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `raft_node`
[INFO] [stdout]    --> src/handler.rs:280:5
[INFO] [stdout]     |
[INFO] [stdout] 280 |     raft_node: Arc<RaftNode>,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raft_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InvalidTimestamp`, `NonceReused`, and `InvalidHmac` are never constructed
[INFO] [stdout]   --> src/auth.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum AuthError {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 14 |     #[error("Invalid timestamp: drift {0}ms")]
[INFO] [stdout] 15 |     InvalidTimestamp(i64),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     NonceReused,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     InvalidHmac,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hmac`, `nonce_cache`, `max_drift_ms`, and `token_ttl_ms` are never read
[INFO] [stdout]   --> src/auth.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Authenticator {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 42 |     hmac: HmacAuthenticator,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     nonce_cache: ReplayCache,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     max_drift_ms: i64,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     token_ttl_ms: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `public_key`, `verify`, `generate_token`, and `cleanup` are never used
[INFO] [stdout]    --> src/auth.rs:78:12
[INFO] [stdout]     |
[INFO] [stdout]  57 | impl Authenticator {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  78 |     pub fn public_key(&self) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub fn verify(&self, auth: &AuthRequest) -> Result<u64, AuthError> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn generate_token(&self, user_id: u64, nonce: &[u8; 32]) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     pub fn cleanup(&self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_user_id` is never used
[INFO] [stdout]    --> src/auth.rs:192:4
[INFO] [stdout]     |
[INFO] [stdout] 192 | fn extract_user_id(hmac_base: &[u8]) -> Result<u64, AuthError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `storage` is never read
[INFO] [stdout]   --> src/config.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct DaemonConfig {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub storage: StorageConfig,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DaemonConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load_merge` and `merge` are never used
[INFO] [stdout]   --> src/config.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl DaemonConfig {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub async fn load_merge(&mut self, path: impl AsRef<Path>) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn merge(&mut self, other: DaemonConfig) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mode` and `max_connections` are never read
[INFO] [stdout]    --> src/config.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub struct ServerConfig {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 151 |     pub mode: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub max_connections: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `election_timeout` and `heartbeat_interval` are never read
[INFO] [stdout]    --> src/config.rs:217:9
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub struct RaftConfig {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub election_timeout: (u64, u64),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub heartbeat_interval: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RaftConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `weight`, and `location` are never read
[INFO] [stdout]    --> src/config.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 249 | pub struct ExitNodeConfig {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 250 |     /// Node name
[INFO] [stdout] 251 |     pub name: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     pub weight: f64,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 262 |     pub location: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ExitNodeConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tmpfs_path`, `tmpfs_size`, `disk_path`, `segment_size_limit`, `compaction_threshold`, and `clickhouse` are never read
[INFO] [stdout]    --> src/config.rs:278:9
[INFO] [stdout]     |
[INFO] [stdout] 275 | pub struct StorageConfig {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub tmpfs_path: String,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub tmpfs_size: usize,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     pub disk_path: String,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub segment_size_limit: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 294 |     pub compaction_threshold: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub clickhouse: ClickHouseConfig,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StorageConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `enabled`, `url`, `database`, `table`, `username`, and `password` are never read
[INFO] [stdout]    --> src/config.rs:304:9
[INFO] [stdout]     |
[INFO] [stdout] 302 | pub struct ClickHouseConfig {
[INFO] [stdout]     |            ---------------- fields in this struct
[INFO] [stdout] 303 |     #[serde(default)]
[INFO] [stdout] 304 |     pub enabled: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 307 |     pub url: String,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 310 |     pub database: String,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |     pub table: String,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 316 |     pub username: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 319 |     pub password: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClickHouseConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key_rotation_interval`, `grace_period`, and `client_sni` are never read
[INFO] [stdout]    --> src/config.rs:397:9
[INFO] [stdout]     |
[INFO] [stdout] 382 | pub struct SecurityConfig {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 397 |     pub key_rotation_interval: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 401 |     pub grace_period: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 409 |     pub client_sni: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SecurityConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EmergencyConfig` is never constructed
[INFO] [stdout]   --> src/emergency.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct EmergencyConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EmergencyMonitor` is never constructed
[INFO] [stdout]   --> src/emergency.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct EmergencyMonitor {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `is_triggered`, `trigger_at`, `trigger`, `start`, and `subscribe` are never used
[INFO] [stdout]    --> src/emergency.rs:46:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl EmergencyMonitor {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout]  45 |     /// Create a new emergency monitor
[INFO] [stdout]  46 |     pub fn new(config: EmergencyConfig) -> (Arc<Self>, broadcast::Receiver<()>) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     pub fn is_triggered(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn trigger_at(&self) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |     pub fn trigger(&self, delay_secs: u64) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub async fn start(self: Arc<Self>) {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn subscribe(&self) -> broadcast::Receiver<()> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WsSender` is never used
[INFO] [stdout]   --> src/exit_node_pool.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | type WsSender = futures::stream::SplitSink<
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `node_id` is never read
[INFO] [stdout]   --> src/exit_node_pool.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct ExitNodeConnection {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] 23 |     /// Node ID (generated)
[INFO] [stdout] 24 |     pub node_id: u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExitNodeConnection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `select_by_group` and `count` are never used
[INFO] [stdout]    --> src/exit_node_pool.rs:92:12
[INFO] [stdout]     |
[INFO] [stdout]  41 | impl ExitNodePool {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn select_by_group(&self, group_id: i32) -> Option<u64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn count(&self) -> usize {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GeoLocation` is never constructed
[INFO] [stdout]   --> src/geoip.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct GeoLocation {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GeoIPResolver` is never constructed
[INFO] [stdout]   --> src/geoip.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct GeoIPResolver {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from_bytes`, and `lookup` are never used
[INFO] [stdout]   --> src/geoip.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl GeoIPResolver {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 39 |     /// Create a new resolver from database file path
[INFO] [stdout] 40 |     pub fn new(db_path: impl AsRef<Path>) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn from_bytes(data: Vec<u8>) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn lookup(&self, ip: IpAddr) -> Option<GeoLocation> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `haversine_distance` is never used
[INFO] [stdout]   --> src/geoip.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn haversine_distance(lat1: f64, lon1: f64, lat2: f64, lon2: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GeoExitNode` is never constructed
[INFO] [stdout]    --> src/geoip.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct GeoExitNode {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `score` is never used
[INFO] [stdout]    --> src/geoip.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl GeoExitNode {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] 111 |     /// Calculate score based on distance (lower = better)
[INFO] [stdout] 112 |     pub fn score(&self, client_geo: &GeoLocation) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `select_best_exit` is never used
[INFO] [stdout]    --> src/geoip.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn select_best_exit<'a>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_exit` is never used
[INFO] [stdout]    --> src/handler.rs:853:14
[INFO] [stdout]     |
[INFO] [stdout] 853 | pub async fn run_exit(_config: &DaemonConfig) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KeyRotationConfig` is never constructed
[INFO] [stdout]   --> src/key_rotation.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct KeyRotationConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KeyEntry` is never constructed
[INFO] [stdout]   --> src/key_rotation.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct KeyEntry {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KeyManager` is never constructed
[INFO] [stdout]   --> src/key_rotation.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct KeyManager {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/key_rotation.rs:50:12
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl KeyManager {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  49 |     /// Create a new key manager with generated key
[INFO] [stdout]  50 |     pub fn new(config: KeyRotationConfig) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub fn with_secret(secret: [u8; 32], config: KeyRotationConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     pub fn public_key(&self) -> [u8; 32] {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  85 |     pub fn sign(&self, message: &[u8]) -> [u8; 64] {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn verify(&self, message: &[u8], signature: &[u8; 64]) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn should_rotate(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn force_rotate(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn rotate(&self) -> [u8; 32] {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn cleanup(&self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn status(&self) -> KeyRotationStatus {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KeyRotationStatus` is never constructed
[INFO] [stdout]    --> src/key_rotation.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub struct KeyRotationStatus {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/management.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct AppState {
[INFO] [stdout]    |        -------- field in this struct
[INFO] [stdout] 29 |     config: Arc<DaemonConfig>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username` and `quota_bytes` are never read
[INFO] [stdout]   --> src/management.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct CreateUserRequest {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] 38 |     pub username: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 39 |     pub quota_bytes: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CreateUserRequest` 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 `name`, `endpoint`, and `weight` are never read
[INFO] [stdout]   --> src/management.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct RegisterNodeRequest {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 45 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 46 |     pub endpoint: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 47 |     pub weight: f64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RegisterNodeRequest` 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 `pool_connections` and `request_duration` are never read
[INFO] [stdout]   --> src/metrics.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Metrics {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub pool_connections: IntGauge,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub request_duration: Histogram,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NoiseConfig` is never constructed
[INFO] [stdout]   --> src/noise.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct NoiseConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NoiseGenerator` is never constructed
[INFO] [stdout]   --> src/noise.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct NoiseGenerator {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `start`, `stop`, and `should_inject` are never used
[INFO] [stdout]   --> src/noise.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl NoiseGenerator {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 46 |     /// Create a new noise generator
[INFO] [stdout] 47 |     pub fn new(config: NoiseConfig) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn start(&self, tx: mpsc::UnboundedSender<Bytes>) -> tokio::task::JoinHandle<()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn stop(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |     pub fn should_inject(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_fake_json` is never used
[INFO] [stdout]    --> src/noise.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn generate_fake_json() -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_sse_event` is never used
[INFO] [stdout]    --> src/noise.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn generate_sse_event() -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_random_data` is never used
[INFO] [stdout]    --> src/noise.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn generate_random_data() -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]   --> src/plugin.rs:71:31
[INFO] [stdout]    |
[INFO] [stdout] 71 | async fn handle_connection<S>(mut stream: S)
[INFO] [stdout]    |                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `raft`
[INFO] [stdout]    --> src/main.rs:177:21
[INFO] [stdout]     |
[INFO] [stdout] 177 |         if let Some(raft) = &raft_node {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_raft`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InvalidTimestamp`, `NonceReused`, and `InvalidHmac` are never constructed
[INFO] [stdout]   --> src/auth.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum AuthError {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 14 |     #[error("Invalid timestamp: drift {0}ms")]
[INFO] [stdout] 15 |     InvalidTimestamp(i64),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     NonceReused,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     InvalidHmac,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hmac`, `nonce_cache`, and `max_drift_ms` are never read
[INFO] [stdout]   --> src/auth.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Authenticator {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 42 |     hmac: HmacAuthenticator,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     nonce_cache: ReplayCache,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     max_drift_ms: i64,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `public_key`, `verify`, and `cleanup` are never used
[INFO] [stdout]    --> src/auth.rs:78:12
[INFO] [stdout]     |
[INFO] [stdout]  57 | impl Authenticator {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  78 |     pub fn public_key(&self) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub fn verify(&self, auth: &AuthRequest) -> Result<u64, AuthError> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     pub fn cleanup(&self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_user_id` is never used
[INFO] [stdout]    --> src/auth.rs:192:4
[INFO] [stdout]     |
[INFO] [stdout] 192 | fn extract_user_id(hmac_base: &[u8]) -> Result<u64, AuthError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `storage` is never read
[INFO] [stdout]   --> src/config.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct DaemonConfig {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub storage: StorageConfig,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DaemonConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `load_merge` is never used
[INFO] [stdout]   --> src/config.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl DaemonConfig {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub async fn load_merge(&mut self, path: impl AsRef<Path>) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `election_timeout` and `heartbeat_interval` are never read
[INFO] [stdout]    --> src/config.rs:217:9
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub struct RaftConfig {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub election_timeout: (u64, u64),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub heartbeat_interval: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RaftConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `location` is never read
[INFO] [stdout]    --> src/config.rs:262:9
[INFO] [stdout]     |
[INFO] [stdout] 249 | pub struct ExitNodeConfig {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 262 |     pub location: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ExitNodeConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tmpfs_path`, `tmpfs_size`, `disk_path`, `segment_size_limit`, `compaction_threshold`, and `clickhouse` are never read
[INFO] [stdout]    --> src/config.rs:278:9
[INFO] [stdout]     |
[INFO] [stdout] 275 | pub struct StorageConfig {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub tmpfs_path: String,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub tmpfs_size: usize,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     pub disk_path: String,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub segment_size_limit: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 294 |     pub compaction_threshold: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub clickhouse: ClickHouseConfig,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StorageConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `enabled`, `url`, `database`, `table`, `username`, and `password` are never read
[INFO] [stdout]    --> src/config.rs:304:9
[INFO] [stdout]     |
[INFO] [stdout] 302 | pub struct ClickHouseConfig {
[INFO] [stdout]     |            ---------------- fields in this struct
[INFO] [stdout] 303 |     #[serde(default)]
[INFO] [stdout] 304 |     pub enabled: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 307 |     pub url: String,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 310 |     pub database: String,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |     pub table: String,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 316 |     pub username: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 319 |     pub password: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClickHouseConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `grace_period` and `client_sni` are never read
[INFO] [stdout]    --> src/config.rs:401:9
[INFO] [stdout]     |
[INFO] [stdout] 382 | pub struct SecurityConfig {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 401 |     pub grace_period: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 409 |     pub client_sni: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SecurityConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `crate_name`, `trigger_version`, `check_interval`, and `trigger_delay_range` are never read
[INFO] [stdout]   --> src/emergency.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct EmergencyConfig {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 15 |     /// Crate name to monitor (default: "apfsds")
[INFO] [stdout] 16 |     pub crate_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 17 |     /// Version prefix that triggers emergency (e.g., "0.0.0-EMERGENCY")
[INFO] [stdout] 18 |     pub trigger_version: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     /// Check interval (default: 5 minutes)
[INFO] [stdout] 20 |     pub check_interval: Duration,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     /// Trigger delay range in seconds (random delay before shutdown)
[INFO] [stdout] 22 |     pub trigger_delay_range: (u64, u64),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EmergencyConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `config` and `shutdown_tx` are never read
[INFO] [stdout]   --> src/emergency.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct EmergencyMonitor {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 38 |     config: EmergencyConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     shutdown_tx: broadcast::Sender<()>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `start` and `subscribe` are never used
[INFO] [stdout]    --> src/emergency.rs:84:18
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl EmergencyMonitor {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub async fn start(self: Arc<Self>) {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn subscribe(&self) -> broadcast::Receiver<()> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WsSender` is never used
[INFO] [stdout]   --> src/exit_node_pool.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | type WsSender = futures::stream::SplitSink<
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `node_id` is never read
[INFO] [stdout]   --> src/exit_node_pool.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct ExitNodeConnection {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] 23 |     /// Node ID (generated)
[INFO] [stdout] 24 |     pub node_id: u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExitNodeConnection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `select_by_group` and `count` are never used
[INFO] [stdout]    --> src/exit_node_pool.rs:92:12
[INFO] [stdout]     |
[INFO] [stdout]  41 | impl ExitNodePool {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn select_by_group(&self, group_id: i32) -> Option<u64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn count(&self) -> usize {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `country_code` and `city` are never read
[INFO] [stdout]   --> src/geoip.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct GeoLocation {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 16 |     pub country_code: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 17 |     pub city: Option<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GeoLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GeoIPResolver` is never constructed
[INFO] [stdout]   --> src/geoip.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct GeoIPResolver {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from_bytes`, and `lookup` are never used
[INFO] [stdout]   --> src/geoip.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl GeoIPResolver {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 39 |     /// Create a new resolver from database file path
[INFO] [stdout] 40 |     pub fn new(db_path: impl AsRef<Path>) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn from_bytes(data: Vec<u8>) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn lookup(&self, ip: IpAddr) -> Option<GeoLocation> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `endpoint` is never read
[INFO] [stdout]    --> src/geoip.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct GeoExitNode {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 103 |     pub name: String,
[INFO] [stdout] 104 |     pub endpoint: String,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GeoExitNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_exit` is never used
[INFO] [stdout]    --> src/handler.rs:853:14
[INFO] [stdout]     |
[INFO] [stdout] 853 | pub async fn run_exit(_config: &DaemonConfig) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_secret`, `cleanup`, and `status` are never used
[INFO] [stdout]    --> src/key_rotation.rs:65:12
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl KeyManager {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub fn with_secret(secret: [u8; 32], config: KeyRotationConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn cleanup(&self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn status(&self) -> KeyRotationStatus {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KeyRotationStatus` is never constructed
[INFO] [stdout]    --> src/key_rotation.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub struct KeyRotationStatus {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/management.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct AppState {
[INFO] [stdout]    |        -------- field in this struct
[INFO] [stdout] 29 |     config: Arc<DaemonConfig>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username` and `quota_bytes` are never read
[INFO] [stdout]   --> src/management.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct CreateUserRequest {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] 38 |     pub username: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 39 |     pub quota_bytes: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CreateUserRequest` 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 `name`, `endpoint`, and `weight` are never read
[INFO] [stdout]   --> src/management.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct RegisterNodeRequest {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 45 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 46 |     pub endpoint: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 47 |     pub weight: f64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RegisterNodeRequest` 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 `pool_connections` and `request_duration` are never read
[INFO] [stdout]   --> src/metrics.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Metrics {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub pool_connections: IntGauge,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub request_duration: Histogram,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `timing`, `fake_json_enabled`, and `sse_keepalive` are never read
[INFO] [stdout]   --> src/noise.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct NoiseConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub timing: TimingConfig,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 21 |     /// Generate fake JSON responses
[INFO] [stdout] 22 |     pub fake_json_enabled: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     /// Generate SSE keepalive events
[INFO] [stdout] 24 |     pub sse_keepalive: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NoiseConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `running` is never read
[INFO] [stdout]   --> src/noise.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct NoiseGenerator {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 41 |     config: NoiseConfig,
[INFO] [stdout] 42 |     running: Arc<AtomicBool>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `start` and `stop` are never used
[INFO] [stdout]   --> src/noise.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl NoiseGenerator {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn start(&self, tx: mpsc::UnboundedSender<Bytes>) -> tokio::task::JoinHandle<()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn stop(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_random_data` is never used
[INFO] [stdout]    --> src/noise.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn generate_random_data() -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "cf96ca36ab5ce6858fa35bcf7d8e89185744d34f4237076c1f796f67d5de4117", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf96ca36ab5ce6858fa35bcf7d8e89185744d34f4237076c1f796f67d5de4117", kill_on_drop: false }`
[INFO] [stdout] cf96ca36ab5ce6858fa35bcf7d8e89185744d34f4237076c1f796f67d5de4117
