[INFO] cloning repository https://github.com/GWizard98/cyber-guardian [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GWizard98/cyber-guardian" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGWizard98%2Fcyber-guardian", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGWizard98%2Fcyber-guardian'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66bd6140f69b9f0e285fba79f69b29d3b730c6ca [INFO] checking GWizard98/cyber-guardian against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGWizard98%2Fcyber-guardian" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GWizard98/cyber-guardian [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/GWizard98/cyber-guardian [INFO] tweaked toml for git repo https://github.com/GWizard98/cyber-guardian written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GWizard98/cyber-guardian on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/GWizard98/cyber-guardian 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc884979c8c10a5270c339bc1e40bec8ce78a1ff0b3917d3e218222256799f8c [INFO] running `Command { std: "docker" "start" "-a" "bc884979c8c10a5270c339bc1e40bec8ce78a1ff0b3917d3e218222256799f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc884979c8c10a5270c339bc1e40bec8ce78a1ff0b3917d3e218222256799f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc884979c8c10a5270c339bc1e40bec8ce78a1ff0b3917d3e218222256799f8c", kill_on_drop: false }` [INFO] [stdout] bc884979c8c10a5270c339bc1e40bec8ce78a1ff0b3917d3e218222256799f8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 679b622bf138ffc8eee2c7627925382925a01740e584c1fe95af6806a88d281e [INFO] running `Command { std: "docker" "start" "-a" "679b622bf138ffc8eee2c7627925382925a01740e584c1fe95af6806a88d281e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling pathfinder_simd v0.5.5 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Compiling regex-syntax v0.8.7 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking regex-automata v0.4.12 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling psm v0.1.27 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Compiling font-kit v0.14.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling linfa v0.8.0 [INFO] [stderr] Checking clap_builder v4.5.49 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Checking windows-targets v0.48.5 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking order-stat v0.1.3 [INFO] [stderr] Compiling network-interface v1.1.4 [INFO] [stderr] Checking traitobject v0.1.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking owned_ttf_parser v0.12.1 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking plotters-bitmap v0.3.7 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking pom v3.4.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking lopdf v0.31.0 [INFO] [stderr] Checking windows-core v0.51.1 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking email-encoding v0.4.1 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking lber v0.4.2 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking hostname v0.4.1 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking sprs v0.11.3 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking space v0.12.1 [INFO] [stderr] Checking windows v0.51.1 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking printpdf v0.6.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling pcap v1.3.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Checking rcgen v0.11.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking kdtree v0.7.0 [INFO] [stderr] Checking linfa-linalg v0.2.1 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking zerocopy v0.8.27 [INFO] [stderr] Checking clap v4.5.49 [INFO] [stderr] Checking clap_complete v4.5.59 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Checking oid-registry v0.6.1 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking tokio-tls v0.2.1 [INFO] [stderr] Checking websocket-base v0.26.5 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ratatui v0.26.3 [INFO] [stderr] Checking websocket v0.26.5 [INFO] [stderr] Checking x509-parser v0.15.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking ndarray-stats v0.6.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking ping v0.5.2 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking ndarray-rand v0.15.0 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking ldap3 v0.11.5 [INFO] [stderr] Checking linfa-nn v0.8.0 [INFO] [stderr] Checking linfa-clustering v0.8.0 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking lettre v0.11.19 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking axum-server v0.5.1 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking cyber_guardian v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/vpn_circuits.rs:467:41 [INFO] [stdout] | [INFO] [stdout] 467 | *byte = (chrono::Utc::now().timestamp_nanos() % 256) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/vpn_circuits.rs:511:39 [INFO] [stdout] | [INFO] [stdout] 511 | let seed = chrono::Utc::now().timestamp_nanos() as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/vpn_circuits.rs:467:41 [INFO] [stdout] | [INFO] [stdout] 467 | *byte = (chrono::Utc::now().timestamp_nanos() % 256) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/vpn_circuits.rs:511:39 [INFO] [stdout] | [INFO] [stdout] 511 | let seed = chrono::Utc::now().timestamp_nanos() as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/darkweb_monitor.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{Result, Context}; [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: `Context` [INFO] [stdout] --> src/darkweb_monitor.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{Result, Context}; [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 variable: `response` [INFO] [stdout] --> src/siem_integration.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let response = self.client [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/siem_integration.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let response = self.client [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/siem_integration.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let response = self.client [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_trial_mode` is never used [INFO] [stdout] --> src/license.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl LicenseManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | fn start_trial_mode(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `recent_events` and `prediction_window` are never read [INFO] [stdout] --> src/threat_predictor.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ThreatPredictor { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | recent_events: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 54 | prediction_window: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `geo_restrictions` is never read [INFO] [stdout] --> src/layered_defense.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct EntrySecurityLayer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | geo_restrictions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ml_models` is never read [INFO] [stdout] --> src/layered_defense.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ThreatAnalysisLayer { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 68 | ml_models: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `risk_score` are never read [INFO] [stdout] --> src/layered_defense.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct UserBehavior { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 83 | typical_actions: Vec, [INFO] [stdout] 84 | risk_score: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserBehavior` 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 `escalation_rules` is never read [INFO] [stdout] --> src/layered_defense.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct ResponseLayer { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 91 | escalation_rules: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recovery_timeout` is never read [INFO] [stdout] --> src/layered_defense.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct CircuitBreaker { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 96 | failure_threshold: u32, [INFO] [stdout] 97 | recovery_timeout: chrono::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreaker` 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 `condition`, `action`, and `priority` are never read [INFO] [stdout] --> src/layered_defense.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct EscalationRule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 111 | condition: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 112 | action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 113 | priority: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EscalationRule` 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 `encryption_key` and `retention_policy` are never read [INFO] [stdout] --> src/layered_defense.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct LoggingLayer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 117 | anonymization_enabled: bool, [INFO] [stdout] 118 | encryption_key: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 119 | retention_policy: RetentionPolicy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `days`, `archive_after`, and `secure_delete` are never read [INFO] [stdout] --> src/layered_defense.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct RetentionPolicy { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 124 | days: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 125 | archive_after: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 126 | secure_delete: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RetentionPolicy` 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 `private_key` and `public_key` are never read [INFO] [stdout] --> src/decentralized_network.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct DecentralizedThreatNetwork { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 98 | node_id: String, [INFO] [stdout] 99 | private_key: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 100 | public_key: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trust_weights` is never read [INFO] [stdout] --> src/decentralized_network.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ReputationSystem { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 111 | node_scores: HashMap, [INFO] [stdout] 112 | trust_weights: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReputationSystem` 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 `blocked_indicators` and `intelligence_feeds` are never read [INFO] [stdout] --> src/darkweb_monitor.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct DarkWebMonitor { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 118 | blocked_indicators: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | intelligence_feeds: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `performance_metrics` is never read [INFO] [stdout] --> src/adaptive_vpn.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct RouteOptimizer { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | performance_metrics: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `infrastructure_risk` is never read [INFO] [stdout] --> src/adaptive_vpn.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 113 | struct GeopoliticalRisk { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | infrastructure_risk: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeopoliticalRisk` 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 `avg_latency`, `reliability_score`, `bandwidth_score`, and `uptime_percentage` are never read [INFO] [stdout] --> src/adaptive_vpn.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct PerformanceMetrics { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 122 | avg_latency: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 123 | reliability_score: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | bandwidth_score: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | uptime_percentage: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PerformanceMetrics` 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 `circuit_builder` is never read [INFO] [stdout] --> src/vpn_circuits.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct VpnCircuitManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 97 | circuit_builder: CircuitBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `available_servers`, `build_timeout`, and `max_retries` are never read [INFO] [stdout] --> src/vpn_circuits.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct CircuitBuilder { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 103 | available_servers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | build_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 105 | max_retries: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entropy_pool` and `key_derivation_rounds` are never read [INFO] [stdout] --> src/vpn_circuits.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct KeyGenerator { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 114 | entropy_pool: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 115 | key_derivation_rounds: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key_size` and `tag_size` are never read [INFO] [stdout] --> src/vpn_circuits.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct CipherSuite { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 119 | key_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | iv_size: usize, [INFO] [stdout] 121 | tag_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rebuild_interval` and `max_circuit_lifetime` are never read [INFO] [stdout] --> src/vpn_circuits.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct RebuildScheduler { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 125 | scheduled_rebuilds: HashMap>, [INFO] [stdout] 126 | rebuild_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | max_circuit_lifetime: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `encode_source`, `encode_event_type`, and `is_internal_ip` are never used [INFO] [stdout] --> src/network_defense.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl NetworkDefenseAnalyzer { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 263 | fn encode_source(&self, source: &NetworkEventSource) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn encode_event_type(&self, event_type: &NetworkEventType) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | fn is_internal_ip(&self, ip: &IpAddr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/siem_integration.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let response = self.client [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_trial_mode` is never used [INFO] [stdout] --> src/license.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl LicenseManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | fn start_trial_mode(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `recent_events` and `prediction_window` are never read [INFO] [stdout] --> src/threat_predictor.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ThreatPredictor { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | recent_events: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 54 | prediction_window: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `geo_restrictions` is never read [INFO] [stdout] --> src/layered_defense.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct EntrySecurityLayer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | geo_restrictions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ml_models` is never read [INFO] [stdout] --> src/layered_defense.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ThreatAnalysisLayer { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 68 | ml_models: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `risk_score` are never read [INFO] [stdout] --> src/layered_defense.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct UserBehavior { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 83 | typical_actions: Vec, [INFO] [stdout] 84 | risk_score: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserBehavior` 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 `escalation_rules` is never read [INFO] [stdout] --> src/layered_defense.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct ResponseLayer { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 91 | escalation_rules: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recovery_timeout` is never read [INFO] [stdout] --> src/layered_defense.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct CircuitBreaker { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 96 | failure_threshold: u32, [INFO] [stdout] 97 | recovery_timeout: chrono::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreaker` 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 `condition`, `action`, and `priority` are never read [INFO] [stdout] --> src/layered_defense.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct EscalationRule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 111 | condition: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 112 | action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 113 | priority: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EscalationRule` 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 `encryption_key` and `retention_policy` are never read [INFO] [stdout] --> src/layered_defense.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct LoggingLayer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 117 | anonymization_enabled: bool, [INFO] [stdout] 118 | encryption_key: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 119 | retention_policy: RetentionPolicy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `days`, `archive_after`, and `secure_delete` are never read [INFO] [stdout] --> src/layered_defense.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct RetentionPolicy { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 124 | days: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 125 | archive_after: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 126 | secure_delete: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RetentionPolicy` 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 `private_key` and `public_key` are never read [INFO] [stdout] --> src/decentralized_network.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct DecentralizedThreatNetwork { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 98 | node_id: String, [INFO] [stdout] 99 | private_key: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 100 | public_key: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trust_weights` is never read [INFO] [stdout] --> src/decentralized_network.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ReputationSystem { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 111 | node_scores: HashMap, [INFO] [stdout] 112 | trust_weights: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReputationSystem` 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 `blocked_indicators` and `intelligence_feeds` are never read [INFO] [stdout] --> src/darkweb_monitor.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct DarkWebMonitor { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 118 | blocked_indicators: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | intelligence_feeds: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `performance_metrics` is never read [INFO] [stdout] --> src/adaptive_vpn.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct RouteOptimizer { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | performance_metrics: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `infrastructure_risk` is never read [INFO] [stdout] --> src/adaptive_vpn.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 113 | struct GeopoliticalRisk { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | infrastructure_risk: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeopoliticalRisk` 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 `avg_latency`, `reliability_score`, `bandwidth_score`, and `uptime_percentage` are never read [INFO] [stdout] --> src/adaptive_vpn.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct PerformanceMetrics { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 122 | avg_latency: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 123 | reliability_score: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | bandwidth_score: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | uptime_percentage: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PerformanceMetrics` 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 `circuit_builder` is never read [INFO] [stdout] --> src/vpn_circuits.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct VpnCircuitManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 97 | circuit_builder: CircuitBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `available_servers`, `build_timeout`, and `max_retries` are never read [INFO] [stdout] --> src/vpn_circuits.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct CircuitBuilder { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 103 | available_servers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | build_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 105 | max_retries: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entropy_pool` and `key_derivation_rounds` are never read [INFO] [stdout] --> src/vpn_circuits.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct KeyGenerator { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 114 | entropy_pool: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 115 | key_derivation_rounds: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key_size` and `tag_size` are never read [INFO] [stdout] --> src/vpn_circuits.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct CipherSuite { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 119 | key_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | iv_size: usize, [INFO] [stdout] 121 | tag_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rebuild_interval` and `max_circuit_lifetime` are never read [INFO] [stdout] --> src/vpn_circuits.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct RebuildScheduler { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 125 | scheduled_rebuilds: HashMap>, [INFO] [stdout] 126 | rebuild_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | max_circuit_lifetime: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `encode_source`, `encode_event_type`, and `is_internal_ip` are never used [INFO] [stdout] --> src/network_defense.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl NetworkDefenseAnalyzer { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 263 | fn encode_source(&self, source: &NetworkEventSource) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn encode_event_type(&self, event_type: &NetworkEventType) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | fn is_internal_ip(&self, ip: &IpAddr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/vpn_circuits.rs:467:41 [INFO] [stdout] | [INFO] [stdout] 467 | *byte = (chrono::Utc::now().timestamp_nanos() % 256) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/vpn_circuits.rs:511:39 [INFO] [stdout] | [INFO] [stdout] 511 | let seed = chrono::Utc::now().timestamp_nanos() as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/vpn_circuits.rs:467:41 [INFO] [stdout] | [INFO] [stdout] 467 | *byte = (chrono::Utc::now().timestamp_nanos() % 256) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/vpn_circuits.rs:511:39 [INFO] [stdout] | [INFO] [stdout] 511 | let seed = chrono::Utc::now().timestamp_nanos() as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/darkweb_monitor.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{Result, Context}; [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: `Context` [INFO] [stdout] --> src/darkweb_monitor.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_trial_mode` is never used [INFO] [stdout] --> src/license.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl LicenseManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | fn start_trial_mode(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `recent_events` and `prediction_window` are never read [INFO] [stdout] --> src/threat_predictor.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ThreatPredictor { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | recent_events: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 54 | prediction_window: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_model` and `load_model` are never used [INFO] [stdout] --> src/threat_predictor.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl ThreatPredictor { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn save_model(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn load_model(&mut self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_active_responses`, `cleanup_expired_rules`, and `adaptive_response_tuning` are never used [INFO] [stdout] --> src/response_engine.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl AutonomousResponseEngine { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn get_active_responses(&self) -> Vec<&ResponseAction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn cleanup_expired_rules(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub async fn adaptive_response_tuning(&mut self, feedback_logs: &[LogRecord]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_threat_model`, `get_conversation_history`, and `clear_session` are never used [INFO] [stdout] --> src/security_chat.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl SecurityChatBot { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn load_threat_model(&mut self, threat_model_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn get_conversation_history(&self) -> &[ChatMessage] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | pub fn clear_session(&mut self, session_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `geo_restrictions` is never read [INFO] [stdout] --> src/layered_defense.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct EntrySecurityLayer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | geo_restrictions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ml_models` is never read [INFO] [stdout] --> src/layered_defense.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ThreatAnalysisLayer { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 68 | ml_models: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `risk_score` are never read [INFO] [stdout] --> src/layered_defense.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct UserBehavior { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 83 | typical_actions: Vec, [INFO] [stdout] 84 | risk_score: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserBehavior` 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 `escalation_rules` is never read [INFO] [stdout] --> src/layered_defense.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct ResponseLayer { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 91 | escalation_rules: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recovery_timeout` is never read [INFO] [stdout] --> src/layered_defense.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct CircuitBreaker { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 96 | failure_threshold: u32, [INFO] [stdout] 97 | recovery_timeout: chrono::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreaker` 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: variant `HalfOpen` is never constructed [INFO] [stdout] --> src/layered_defense.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum CircuitState { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 106 | HalfOpen, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitState` 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 `condition`, `action`, and `priority` are never read [INFO] [stdout] --> src/layered_defense.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct EscalationRule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 111 | condition: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 112 | action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 113 | priority: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EscalationRule` 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 `encryption_key` and `retention_policy` are never read [INFO] [stdout] --> src/layered_defense.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct LoggingLayer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 117 | anonymization_enabled: bool, [INFO] [stdout] 118 | encryption_key: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 119 | retention_policy: RetentionPolicy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `days`, `archive_after`, and `secure_delete` are never read [INFO] [stdout] --> src/layered_defense.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct RetentionPolicy { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 124 | days: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 125 | archive_after: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 126 | secure_delete: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RetentionPolicy` 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 `rebuild_all_circuits` is never used [INFO] [stdout] --> src/layered_defense.rs:239:18 [INFO] [stdout] | [INFO] [stdout] 135 | impl LayeredSecurityProcessor { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 239 | pub async fn rebuild_all_circuits(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id`, `private_key`, and `public_key` are never read [INFO] [stdout] --> src/decentralized_network.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct DecentralizedThreatNetwork { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 98 | node_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 99 | private_key: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 100 | public_key: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trust_weights` and `reputation_decay_rate` are never read [INFO] [stdout] --> src/decentralized_network.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ReputationSystem { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 111 | node_scores: HashMap, [INFO] [stdout] 112 | trust_weights: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 113 | reputation_decay_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReputationSystem` 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: multiple methods are never used [INFO] [stdout] --> src/decentralized_network.rs:315:18 [INFO] [stdout] | [INFO] [stdout] 116 | impl DecentralizedThreatNetwork { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 315 | pub async fn share_threat_intelligence(&mut self, threats: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | async fn create_threat_packet(&self, threat: ThreatPrediction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | fn encrypt_data(&self, data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | fn sign_data(&self, data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | async fn broadcast_threat_packet(&mut self, mut packet: ThreatIntelligencePacket) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub async fn initiate_threat_consensus(&mut self, threat: ThreatPrediction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | async fn request_peer_votes(&mut self, _threat: &ThreatPrediction) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | async fn evaluate_consensus(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | async fn execute_coordinated_response(&mut self, threat: &ThreatPrediction) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | pub fn update_node_reputation(&mut self, node_id: &str, performance_score: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `consensus_participants` is never read [INFO] [stdout] --> src/decentralized_network.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 522 | pub struct NetworkStats { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 526 | pub consensus_participants: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkStats` 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 `blocked_indicators` and `intelligence_feeds` are never read [INFO] [stdout] --> src/darkweb_monitor.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct DarkWebMonitor { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 118 | blocked_indicators: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | intelligence_feeds: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_tor_exit_nodes` is never used [INFO] [stdout] --> src/darkweb_monitor.rs:472:18 [INFO] [stdout] | [INFO] [stdout] 128 | impl DarkWebMonitor { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 472 | pub async fn update_tor_exit_nodes(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `monitored_onion_sites` is never read [INFO] [stdout] --> src/darkweb_monitor.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 521 | pub struct DarkWebStats { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 522 | pub monitored_exit_nodes: usize, [INFO] [stdout] 523 | pub monitored_onion_sites: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DarkWebStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network` is never read [INFO] [stdout] --> src/adaptive_vpn.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct AdaptiveVpnManager { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | network: DecentralizedThreatNetwork, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ml_model` and `performance_metrics` are never read [INFO] [stdout] --> src/adaptive_vpn.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct RouteOptimizer { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 101 | ml_model: RouteMLModel, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 102 | geopolitical_data: HashMap, [INFO] [stdout] 103 | performance_metrics: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `weights` and `bias` are never read [INFO] [stdout] --> src/adaptive_vpn.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | struct RouteMLModel { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 108 | weights: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 109 | bias: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteMLModel` 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 `country` and `infrastructure_risk` are never read [INFO] [stdout] --> src/adaptive_vpn.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | struct GeopoliticalRisk { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 114 | country: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | infrastructure_risk: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeopoliticalRisk` 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 `avg_latency`, `reliability_score`, `bandwidth_score`, and `uptime_percentage` are never read [INFO] [stdout] --> src/adaptive_vpn.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct PerformanceMetrics { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 122 | avg_latency: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 123 | reliability_score: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | bandwidth_score: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | uptime_percentage: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PerformanceMetrics` 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 `initialize`, `load_vpn_servers`, `adaptive_reconnect`, `get_available_servers`, and `get_connection_history` are never used [INFO] [stdout] --> src/adaptive_vpn.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 134 | impl AdaptiveVpnManager { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub async fn initialize(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | async fn load_vpn_servers(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | pub async fn adaptive_reconnect(&mut self, new_threat_level: f64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | pub fn get_available_servers(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | pub fn get_connection_history(&self) -> &[VpnConnection] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection_id` and `security_level` are never read [INFO] [stdout] --> src/adaptive_vpn.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 515 | pub struct VpnStatus { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 516 | pub is_connected: bool, [INFO] [stdout] 517 | pub connection_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 518 | pub route_info: Option, [INFO] [stdout] 519 | pub security_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VpnStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Low`, `Medium`, and `Critical` are never constructed [INFO] [stdout] --> src/adaptive_vpn.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 584 | pub enum ThreatSeverity { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 585 | Low, [INFO] [stdout] | ^^^ [INFO] [stdout] 586 | Medium, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 587 | High, [INFO] [stdout] 588 | Critical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreatSeverity` 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: variants `Monitor`, `Quarantine`, and `Investigate` are never constructed [INFO] [stdout] --> src/adaptive_vpn.rs:593:5 [INFO] [stdout] | [INFO] [stdout] 592 | pub enum RecommendedAction { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 593 | Monitor, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 594 | Block, [INFO] [stdout] 595 | Quarantine, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 596 | Investigate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecommendedAction` 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 `train_model` and `load_geopolitical_data` are never used [INFO] [stdout] --> src/adaptive_vpn.rs:611:14 [INFO] [stdout] | [INFO] [stdout] 599 | impl RouteOptimizer { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 611 | async fn train_model(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 628 | async fn load_geopolitical_data(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_upgrade_security` is never used [INFO] [stdout] --> src/adaptive_vpn.rs:706:4 [INFO] [stdout] | [INFO] [stdout] 706 | fn should_upgrade_security(current: &SecurityLevel, optimal: &SecurityLevel) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VpnCircuit` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VpnCircuit { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircuitHop` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CircuitHop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HopState` is never used [INFO] [stdout] --> src/vpn_circuits.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum HopState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EncryptionLayer` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct EncryptionLayer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LayerEncryption` is never used [INFO] [stdout] --> src/vpn_circuits.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum LayerEncryption { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CircuitState` is never used [INFO] [stdout] --> src/vpn_circuits.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum CircuitState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrafficStats` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct TrafficStats { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircuitPool` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct CircuitPool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VpnCircuitManager` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct VpnCircuitManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircuitBuilder` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct CircuitBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EncryptionEngine` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct EncryptionEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyGenerator` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct KeyGenerator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CipherSuite` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct CipherSuite { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RebuildScheduler` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct RebuildScheduler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vpn_circuits.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl VpnCircuitManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 137 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub async fn build_circuit(&mut self, servers: Vec, security_level: SecurityLevel) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | async fn build_circuit_hop(&mut self, server: VpnServer, hop_index: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | async fn create_encryption_layer(&mut self, hop_index: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub async fn encrypt_traffic(&mut self, circuit_id: &str, plaintext: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub async fn decrypt_traffic(&mut self, circuit_id: &str, ciphertext: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub async fn rebuild_circuit(&mut self, circuit_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub async fn destroy_circuit(&mut self, circuit_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub async fn health_check_circuits(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | pub fn get_circuit_stats(&self, circuit_id: &str) -> Option<&TrafficStats> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn get_active_circuits(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn get_circuit_pool_stats(&self, security_level: &SecurityLevel) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircuitPoolStats` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 417 | pub struct CircuitPoolStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vpn_circuits.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 424 | impl CircuitBuilder { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 425 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_key`, `generate_iv`, `generate_shared_secret`, `encrypt`, and `decrypt` are never used [INFO] [stdout] --> src/vpn_circuits.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 434 | impl EncryptionEngine { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 435 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | async fn generate_key(&mut self, size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | async fn generate_iv(&self, encryption_type: &LayerEncryption) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | async fn generate_shared_secret(&self, key: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | async fn encrypt(&self, data: &[u8], layer: &EncryptionLayer) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | async fn decrypt(&self, data: &[u8], layer: &EncryptionLayer) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `generate_random_bytes` are never used [INFO] [stdout] --> src/vpn_circuits.rs:500:8 [INFO] [stdout] | [INFO] [stdout] 499 | impl KeyGenerator { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 500 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | async fn generate_random_bytes(&mut self, size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `schedule_rebuild` are never used [INFO] [stdout] --> src/vpn_circuits.rs:521:8 [INFO] [stdout] | [INFO] [stdout] 520 | impl RebuildScheduler { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 521 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | async fn schedule_rebuild(&mut self, circuit_id: &str, lifetime: Duration) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `continuous_monitoring` is never used [INFO] [stdout] --> src/ethical_hacking.rs:494:18 [INFO] [stdout] | [INFO] [stdout] 343 | impl EthicalHackingEngine { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 494 | pub async fn continuous_monitoring(&mut self, targets: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lightweight_scan` is never used [INFO] [stdout] --> src/ethical_hacking.rs:593:14 [INFO] [stdout] | [INFO] [stdout] 571 | impl VulnerabilityScanner { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 593 | async fn lightweight_scan(&mut self, _target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `detect_security_anomalies` is never used [INFO] [stdout] --> src/ethical_hacking.rs:875:14 [INFO] [stdout] | [INFO] [stdout] 824 | impl EthicalHackingMLModels { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 875 | async fn detect_security_anomalies(&self, _target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MLVulnerabilityDetectionEngine` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MLVulnerabilityDetectionEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VulnerabilitySignatureDetector` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct VulnerabilitySignatureDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VulnerabilityBehaviorAnalyzer` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct VulnerabilityBehaviorAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExploitSuccessPredictionEngine` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ExploitSuccessPredictionEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VulnerabilitySignature` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct VulnerabilitySignature { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BehaviorPattern` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct BehaviorPattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BehaviorIndicator` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct BehaviorIndicator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExploitFeatureExtractor` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct ExploitFeatureExtractor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExploitOutcome` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct ExploitOutcome { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MLClassificationModel` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct MLClassificationModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MLRegressionModel` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct MLRegressionModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SignatureType` is never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | pub enum SignatureType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExploitFeatureType` is never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | pub enum ExploitFeatureType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl MLVulnerabilityDetectionEngine { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 137 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub async fn initialize(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub async fn detect_vulnerabilities(&mut self, target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | async fn train_vulnerability_classifiers(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | async fn train_category_classifier(&self, category: VulnerabilityCategory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn get_feature_weights_for_category(&self, category: &VulnerabilityCategory) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | async fn classify_potential_vulnerabilities(&self, target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | async fn extract_features_for_classification(&self, target: &TargetInformation, category: &VulnerabilityCategory) -> Result, model: &MLClassificationModel) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | async fn deduplicate_and_rank_vulnerabilities(&self, vulnerabilities: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | fn map_score_to_severity(&self, score: f64) -> VulnerabilitySeverity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | fn determine_remediation_priority(&self, score: f64) -> Priority { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 392 | impl ExploitSuccessPredictionEngine { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 393 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub async fn initialize(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub async fn predict_exploit_success(&mut self, exploit: &Exploit, target: &TargetInformation, vulnerability: &Vulnerability) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | async fn initialize_feature_extractors(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | async fn train_exploit_models(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | async fn train_exploit_regression_model(&self, exploit_type: ExploitType) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | fn get_coefficients_for_exploit_type(&self, exploit_type: &ExploitType) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | fn get_feature_importance_for_exploit_type(&self, exploit_type: &ExploitType) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 561 | async fn extract_exploit_features(&self, exploit: &Exploit, target: &TargetInformation, vulnerability: &Vulnerability) -> Resul... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 585 | fn calculate_network_accessibility(&self, target: &TargetInformation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 592 | fn assess_system_hardening(&self, target: &TargetInformation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 602 | fn assess_input_validation(&self, target: &TargetInformation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 613 | fn detect_waf_presence(&self, _target: &TargetInformation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 618 | fn assess_auth_strength(&self, target: &TargetInformation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | fn combine_features(&self, mut features: HashMap, env_factors: HashMap) -> Result, model: &MLRegressionModel) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | async fn adjust_with_historical_data(&mut self, exploit: &Exploit, base_prediction: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 665 | async fn record_prediction(&mut self, exploit: &Exploit, _target: &TargetInformation, prediction: f64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VulnerabilityPatternMatcher` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:688:12 [INFO] [stdout] | [INFO] [stdout] 688 | pub struct VulnerabilityPatternMatcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:693:8 [INFO] [stdout] | [INFO] [stdout] 692 | impl VulnerabilityPatternMatcher { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 693 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompiledPattern` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:701:12 [INFO] [stdout] | [INFO] [stdout] 701 | pub struct CompiledPattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SecurityAnomalyDetector` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:708:12 [INFO] [stdout] | [INFO] [stdout] 708 | pub struct SecurityAnomalyDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `initialize_models`, and `detect_security_anomalies` are never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:714:8 [INFO] [stdout] | [INFO] [stdout] 713 | impl SecurityAnomalyDetector { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 714 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 721 | async fn initialize_models(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | async fn detect_security_anomalies(&self, _target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnomalyDetectionModel` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:733:12 [INFO] [stdout] | [INFO] [stdout] 733 | pub struct AnomalyDetectionModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaselineProfile` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:740:12 [INFO] [stdout] | [INFO] [stdout] 740 | pub struct BaselineProfile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_signatures`, `detect_signature_vulnerabilities`, `load_predefined_signatures`, and `match_signature` are never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:747:8 [INFO] [stdout] | [INFO] [stdout] 746 | impl VulnerabilitySignatureDetector { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 747 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 755 | async fn load_signatures(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | async fn detect_signature_vulnerabilities(&self, target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 781 | async fn load_predefined_signatures(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | async fn match_signature(&self, signature: &VulnerabilitySignature, target: &TargetInformation, category: &VulnerabilityCategor... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MLSignatureGenerator` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:846:12 [INFO] [stdout] | [INFO] [stdout] 846 | pub struct MLSignatureGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `generate_signatures` are never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:851:8 [INFO] [stdout] | [INFO] [stdout] 850 | impl MLSignatureGenerator { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 851 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 857 | async fn generate_signatures(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_behavior_patterns`, `detect_behavioral_vulnerabilities`, `load_behavioral_indicators`, `analyze_behavioral_pattern`, and `calculate_anomaly_score` are never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:865:8 [INFO] [stdout] | [INFO] [stdout] 864 | impl VulnerabilityBehaviorAnalyzer { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 865 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 873 | async fn load_behavior_patterns(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | async fn detect_behavioral_vulnerabilities(&self, target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 895 | async fn load_behavioral_indicators(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 927 | async fn analyze_behavioral_pattern(&self, pattern: &BehaviorPattern, target: &TargetInformation) -> Result Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MLBehaviorClassifier` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:962:12 [INFO] [stdout] | [INFO] [stdout] 962 | pub struct MLBehaviorClassifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:967:8 [INFO] [stdout] | [INFO] [stdout] 966 | impl MLBehaviorClassifier { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 967 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnomalyScoring` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:975:12 [INFO] [stdout] | [INFO] [stdout] 975 | pub struct AnomalyScoring { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:980:8 [INFO] [stdout] | [INFO] [stdout] 979 | impl AnomalyScoring { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 980 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScoringModel` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:988:12 [INFO] [stdout] | [INFO] [stdout] 988 | pub struct ScoringModel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvironmentalFactorAnalyzer` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:995:12 [INFO] [stdout] | [INFO] [stdout] 995 | pub struct EnvironmentalFactorAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `initialize`, `analyze_environment`, and `extract_factor` are never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:1001:8 [INFO] [stdout] | [INFO] [stdout] 1000 | impl EnvironmentalFactorAnalyzer { [INFO] [stdout] | -------------------------------- associated items in this implementation [INFO] [stdout] 1001 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1008 | async fn initialize(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1032 | async fn analyze_environment(&self, target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1043 | async fn extract_factor(&self, extractor: &FactorExtractor, target: &TargetInformation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FactorExtractor` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:1067:12 [INFO] [stdout] | [INFO] [stdout] 1067 | pub struct FactorExtractor { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvironmentalModel` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:1074:12 [INFO] [stdout] | [INFO] [stdout] 1074 | pub struct EnvironmentalModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkEvent` is never constructed [INFO] [stdout] --> src/network_defense.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct NetworkEvent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NetworkEventSource` is never used [INFO] [stdout] --> src/network_defense.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum NetworkEventSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NetworkEventType` is never used [INFO] [stdout] --> src/network_defense.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum NetworkEventType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NetworkAnomalyType` is never used [INFO] [stdout] --> src/network_defense.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum NetworkAnomalyType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkDefenseAnalyzer` is never constructed [INFO] [stdout] --> src/network_defense.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct NetworkDefenseAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkBaseline` is never constructed [INFO] [stdout] --> src/network_defense.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct NetworkBaseline { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionProfile` is never constructed [INFO] [stdout] --> src/network_defense.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct ConnectionProfile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/network_defense.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl NetworkDefenseAnalyzer { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 89 | pub fn new(event_receiver: mpsc::Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn start_analysis(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | async fn analyze_network_event(&mut self, event: &NetworkEvent) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn network_event_to_log_record(&self, event: &NetworkEvent) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn detect_network_specific_anomalies(&self, event: &NetworkEvent) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | async fn handle_network_anomaly( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn update_network_baseline(&mut self, event: &NetworkEvent) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn encode_source(&self, source: &NetworkEventSource) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn encode_event_type(&self, event_type: &NetworkEventType) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | fn is_internal_ip(&self, ip: &IpAddr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | fn is_potential_port_scan(&self, _client_ip: &Option, _port: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn generate_recommended_actions(&self, anomalies: &[NetworkAnomalyType]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | fn calculate_severity(&self, ml_score: &AnomalyScore, network_anomalies: &[NetworkAnomalyType]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkAnomalyReport` is never constructed [INFO] [stdout] --> src/network_defense.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 351 | pub struct NetworkAnomalyReport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkEventIngester` is never constructed [INFO] [stdout] --> src/network_defense.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct NetworkEventIngester { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ingest_event`, `ingest_vpn_log`, `ingest_dns_log`, and `ingest_firewall_log` are never used [INFO] [stdout] --> src/network_defense.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 377 | impl NetworkEventIngester { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 378 | pub fn new(event_sender: mpsc::Sender) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub async fn ingest_event(&self, event: NetworkEvent) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub async fn ingest_vpn_log(&self, log_line: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub async fn ingest_dns_log(&self, log_line: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub async fn ingest_firewall_log(&self, log_line: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REGISTRY` is never used [INFO] [stdout] --> src/metrics.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | static REGISTRY: Lazy = Lazy::new(Registry::new); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `COUNTERS` is never used [INFO] [stdout] --> src/metrics.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static COUNTERS: Lazy>> = Lazy::new(|| Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inc_counter` is never used [INFO] [stdout] --> src/metrics.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn inc_counter(name: &'static str, v: f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gather` is never used [INFO] [stdout] --> src/metrics.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn gather() -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseAction` is never constructed [INFO] [stdout] --> src/automated_response.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ResponseAction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseActionType` is never used [INFO] [stdout] --> src/automated_response.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum ResponseActionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ActionStatus` is never used [INFO] [stdout] --> src/automated_response.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum ActionStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseConfig` is never constructed [INFO] [stdout] --> src/automated_response.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct ResponseConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AutomatedResponseEngine` is never constructed [INFO] [stdout] --> src/automated_response.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct AutomatedResponseEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/automated_response.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl AutomatedResponseEngine { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 117 | pub fn new(config: ResponseConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub async fn process_threat_response(&mut self, analysis: &AnalysisResponse) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | async fn determine_response_action( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | async fn execute_response_action(&mut self, mut action: ResponseAction) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | async fn block_ip(&self, ip: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | async fn lock_account(&self, username: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | async fn isolate_system(&self, hostname: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | async fn disable_service(&self, service: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | async fn quarantine_file(&self, file_path: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | async fn restrict_access(&self, resource: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | async fn escalate_alert(&self, action: &ResponseAction) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | fn extract_target_from_threat(&self, threat: &ThreatSummary) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | fn is_rate_limited(&self, target: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | fn is_whitelisted(&self, target: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | async fn log_action_success(&self, action: &ResponseAction) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | async fn log_action_failure(&self, action: &ResponseAction, error: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn get_action_history(&self) -> &[ResponseAction] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn update_config(&mut self, new_config: ResponseConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn get_config(&self) -> &ResponseConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | async fn clean_disk_space(&self, threshold: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | async fn clean_directory(&self, path: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | async fn configure_secure_dns(&self, dns_servers: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | async fn enable_vpn(&self, vpn_config: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 603 | async fn system_health_check(&self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 652 | async fn security_hardening(&self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 691 | async fn configure_basic_firewall(&self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 713 | fn extract_disk_usage(&self, line: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | pub async fn process_maintenance_request(&mut self, maintenance_type: ResponseActionType, target: Option) -> anyhow::Re... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreatNotification` is never constructed [INFO] [stdout] --> src/notifications.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ThreatNotification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelfAssessmentNotification` is never constructed [INFO] [stdout] --> src/notifications.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SelfAssessmentNotification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NotificationSeverity` is never used [INFO] [stdout] --> src/notifications.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum NotificationSeverity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NotificationType` is never used [INFO] [stdout] --> src/notifications.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum NotificationType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NotificationManager` is never constructed [INFO] [stdout] --> src/notifications.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct NotificationManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Platform` is never used [INFO] [stdout] --> src/notifications.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum Platform { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/notifications.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl NotificationManager { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn send_threat_alert(&self, notification: ThreatNotification) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn send_self_assessment(&self, notification: SelfAssessmentNotification) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn send_system_status(&self, message: String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn send_hourly_report( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn send_system_notification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn send_macos_notification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn send_linux_notification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | fn send_windows_notification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn test_notifications(&self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HourlyThreatSummary` is never constructed [INFO] [stdout] --> src/notifications.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | pub struct HourlyThreatSummary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_analysis_response` is never used [INFO] [stdout] --> src/notifications.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 370 | impl HourlyThreatSummary { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 371 | pub fn from_analysis_response(response: &crate::api::AnalysisResponse) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_trial_mode` is never used [INFO] [stdout] --> src/license.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl LicenseManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | fn start_trial_mode(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `recent_events` and `prediction_window` are never read [INFO] [stdout] --> src/threat_predictor.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ThreatPredictor { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | recent_events: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 54 | prediction_window: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_model` and `load_model` are never used [INFO] [stdout] --> src/threat_predictor.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl ThreatPredictor { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn save_model(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn load_model(&mut self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_active_responses`, `cleanup_expired_rules`, and `adaptive_response_tuning` are never used [INFO] [stdout] --> src/response_engine.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl AutonomousResponseEngine { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn get_active_responses(&self) -> Vec<&ResponseAction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn cleanup_expired_rules(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub async fn adaptive_response_tuning(&mut self, feedback_logs: &[LogRecord]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_threat_model`, `get_conversation_history`, and `clear_session` are never used [INFO] [stdout] --> src/security_chat.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl SecurityChatBot { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn load_threat_model(&mut self, threat_model_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn get_conversation_history(&self) -> &[ChatMessage] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | pub fn clear_session(&mut self, session_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `geo_restrictions` is never read [INFO] [stdout] --> src/layered_defense.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct EntrySecurityLayer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | geo_restrictions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ml_models` is never read [INFO] [stdout] --> src/layered_defense.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ThreatAnalysisLayer { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 68 | ml_models: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `risk_score` are never read [INFO] [stdout] --> src/layered_defense.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct UserBehavior { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 83 | typical_actions: Vec, [INFO] [stdout] 84 | risk_score: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserBehavior` 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 `escalation_rules` is never read [INFO] [stdout] --> src/layered_defense.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct ResponseLayer { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 91 | escalation_rules: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recovery_timeout` is never read [INFO] [stdout] --> src/layered_defense.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct CircuitBreaker { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 96 | failure_threshold: u32, [INFO] [stdout] 97 | recovery_timeout: chrono::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreaker` 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: variant `HalfOpen` is never constructed [INFO] [stdout] --> src/layered_defense.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum CircuitState { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 106 | HalfOpen, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitState` 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 `condition`, `action`, and `priority` are never read [INFO] [stdout] --> src/layered_defense.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct EscalationRule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 111 | condition: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 112 | action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 113 | priority: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EscalationRule` 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 `encryption_key` and `retention_policy` are never read [INFO] [stdout] --> src/layered_defense.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct LoggingLayer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 117 | anonymization_enabled: bool, [INFO] [stdout] 118 | encryption_key: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 119 | retention_policy: RetentionPolicy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `days`, `archive_after`, and `secure_delete` are never read [INFO] [stdout] --> src/layered_defense.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct RetentionPolicy { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 124 | days: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 125 | archive_after: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 126 | secure_delete: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RetentionPolicy` 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 `rebuild_all_circuits` is never used [INFO] [stdout] --> src/layered_defense.rs:239:18 [INFO] [stdout] | [INFO] [stdout] 135 | impl LayeredSecurityProcessor { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 239 | pub async fn rebuild_all_circuits(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id`, `private_key`, and `public_key` are never read [INFO] [stdout] --> src/decentralized_network.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct DecentralizedThreatNetwork { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 98 | node_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 99 | private_key: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 100 | public_key: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trust_weights` and `reputation_decay_rate` are never read [INFO] [stdout] --> src/decentralized_network.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ReputationSystem { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 111 | node_scores: HashMap, [INFO] [stdout] 112 | trust_weights: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 113 | reputation_decay_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReputationSystem` 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: multiple methods are never used [INFO] [stdout] --> src/decentralized_network.rs:315:18 [INFO] [stdout] | [INFO] [stdout] 116 | impl DecentralizedThreatNetwork { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 315 | pub async fn share_threat_intelligence(&mut self, threats: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | async fn create_threat_packet(&self, threat: ThreatPrediction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | fn encrypt_data(&self, data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | fn sign_data(&self, data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | async fn broadcast_threat_packet(&mut self, mut packet: ThreatIntelligencePacket) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub async fn initiate_threat_consensus(&mut self, threat: ThreatPrediction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | async fn request_peer_votes(&mut self, _threat: &ThreatPrediction) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | async fn evaluate_consensus(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | async fn execute_coordinated_response(&mut self, threat: &ThreatPrediction) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | pub fn update_node_reputation(&mut self, node_id: &str, performance_score: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `consensus_participants` is never read [INFO] [stdout] --> src/decentralized_network.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 522 | pub struct NetworkStats { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 526 | pub consensus_participants: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkStats` 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 `blocked_indicators` and `intelligence_feeds` are never read [INFO] [stdout] --> src/darkweb_monitor.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct DarkWebMonitor { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 118 | blocked_indicators: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | intelligence_feeds: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_tor_exit_nodes` is never used [INFO] [stdout] --> src/darkweb_monitor.rs:472:18 [INFO] [stdout] | [INFO] [stdout] 128 | impl DarkWebMonitor { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 472 | pub async fn update_tor_exit_nodes(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `monitored_onion_sites` is never read [INFO] [stdout] --> src/darkweb_monitor.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 521 | pub struct DarkWebStats { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 522 | pub monitored_exit_nodes: usize, [INFO] [stdout] 523 | pub monitored_onion_sites: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DarkWebStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network` is never read [INFO] [stdout] --> src/adaptive_vpn.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct AdaptiveVpnManager { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | network: DecentralizedThreatNetwork, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ml_model` and `performance_metrics` are never read [INFO] [stdout] --> src/adaptive_vpn.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct RouteOptimizer { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 101 | ml_model: RouteMLModel, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 102 | geopolitical_data: HashMap, [INFO] [stdout] 103 | performance_metrics: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `weights` and `bias` are never read [INFO] [stdout] --> src/adaptive_vpn.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | struct RouteMLModel { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 108 | weights: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 109 | bias: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteMLModel` 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 `country` and `infrastructure_risk` are never read [INFO] [stdout] --> src/adaptive_vpn.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | struct GeopoliticalRisk { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 114 | country: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | infrastructure_risk: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeopoliticalRisk` 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 `avg_latency`, `reliability_score`, `bandwidth_score`, and `uptime_percentage` are never read [INFO] [stdout] --> src/adaptive_vpn.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct PerformanceMetrics { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 122 | avg_latency: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 123 | reliability_score: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | bandwidth_score: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | uptime_percentage: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PerformanceMetrics` 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 `initialize`, `load_vpn_servers`, `adaptive_reconnect`, `get_available_servers`, and `get_connection_history` are never used [INFO] [stdout] --> src/adaptive_vpn.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 134 | impl AdaptiveVpnManager { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub async fn initialize(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | async fn load_vpn_servers(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | pub async fn adaptive_reconnect(&mut self, new_threat_level: f64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | pub fn get_available_servers(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | pub fn get_connection_history(&self) -> &[VpnConnection] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection_id` and `security_level` are never read [INFO] [stdout] --> src/adaptive_vpn.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 515 | pub struct VpnStatus { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 516 | pub is_connected: bool, [INFO] [stdout] 517 | pub connection_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 518 | pub route_info: Option, [INFO] [stdout] 519 | pub security_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VpnStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Low`, `Medium`, and `Critical` are never constructed [INFO] [stdout] --> src/adaptive_vpn.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 584 | pub enum ThreatSeverity { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 585 | Low, [INFO] [stdout] | ^^^ [INFO] [stdout] 586 | Medium, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 587 | High, [INFO] [stdout] 588 | Critical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreatSeverity` 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: variants `Monitor`, `Quarantine`, and `Investigate` are never constructed [INFO] [stdout] --> src/adaptive_vpn.rs:593:5 [INFO] [stdout] | [INFO] [stdout] 592 | pub enum RecommendedAction { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 593 | Monitor, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 594 | Block, [INFO] [stdout] 595 | Quarantine, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 596 | Investigate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecommendedAction` 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 `train_model` and `load_geopolitical_data` are never used [INFO] [stdout] --> src/adaptive_vpn.rs:611:14 [INFO] [stdout] | [INFO] [stdout] 599 | impl RouteOptimizer { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 611 | async fn train_model(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 628 | async fn load_geopolitical_data(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_upgrade_security` is never used [INFO] [stdout] --> src/adaptive_vpn.rs:706:4 [INFO] [stdout] | [INFO] [stdout] 706 | fn should_upgrade_security(current: &SecurityLevel, optimal: &SecurityLevel) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VpnCircuit` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VpnCircuit { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircuitHop` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CircuitHop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HopState` is never used [INFO] [stdout] --> src/vpn_circuits.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum HopState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EncryptionLayer` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct EncryptionLayer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LayerEncryption` is never used [INFO] [stdout] --> src/vpn_circuits.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum LayerEncryption { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CircuitState` is never used [INFO] [stdout] --> src/vpn_circuits.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum CircuitState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrafficStats` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct TrafficStats { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircuitPool` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct CircuitPool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VpnCircuitManager` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct VpnCircuitManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircuitBuilder` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct CircuitBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EncryptionEngine` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct EncryptionEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyGenerator` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct KeyGenerator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CipherSuite` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct CipherSuite { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RebuildScheduler` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct RebuildScheduler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vpn_circuits.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl VpnCircuitManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 137 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub async fn build_circuit(&mut self, servers: Vec, security_level: SecurityLevel) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | async fn build_circuit_hop(&mut self, server: VpnServer, hop_index: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | async fn create_encryption_layer(&mut self, hop_index: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub async fn encrypt_traffic(&mut self, circuit_id: &str, plaintext: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub async fn decrypt_traffic(&mut self, circuit_id: &str, ciphertext: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub async fn rebuild_circuit(&mut self, circuit_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub async fn destroy_circuit(&mut self, circuit_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub async fn health_check_circuits(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | pub fn get_circuit_stats(&self, circuit_id: &str) -> Option<&TrafficStats> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn get_active_circuits(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn get_circuit_pool_stats(&self, security_level: &SecurityLevel) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircuitPoolStats` is never constructed [INFO] [stdout] --> src/vpn_circuits.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 417 | pub struct CircuitPoolStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vpn_circuits.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 424 | impl CircuitBuilder { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 425 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_key`, `generate_iv`, `generate_shared_secret`, `encrypt`, and `decrypt` are never used [INFO] [stdout] --> src/vpn_circuits.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 434 | impl EncryptionEngine { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 435 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | async fn generate_key(&mut self, size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | async fn generate_iv(&self, encryption_type: &LayerEncryption) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | async fn generate_shared_secret(&self, key: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | async fn encrypt(&self, data: &[u8], layer: &EncryptionLayer) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | async fn decrypt(&self, data: &[u8], layer: &EncryptionLayer) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `generate_random_bytes` are never used [INFO] [stdout] --> src/vpn_circuits.rs:500:8 [INFO] [stdout] | [INFO] [stdout] 499 | impl KeyGenerator { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 500 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | async fn generate_random_bytes(&mut self, size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `schedule_rebuild` are never used [INFO] [stdout] --> src/vpn_circuits.rs:521:8 [INFO] [stdout] | [INFO] [stdout] 520 | impl RebuildScheduler { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 521 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | async fn schedule_rebuild(&mut self, circuit_id: &str, lifetime: Duration) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `continuous_monitoring` is never used [INFO] [stdout] --> src/ethical_hacking.rs:494:18 [INFO] [stdout] | [INFO] [stdout] 343 | impl EthicalHackingEngine { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 494 | pub async fn continuous_monitoring(&mut self, targets: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lightweight_scan` is never used [INFO] [stdout] --> src/ethical_hacking.rs:593:14 [INFO] [stdout] | [INFO] [stdout] 571 | impl VulnerabilityScanner { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 593 | async fn lightweight_scan(&mut self, _target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `detect_security_anomalies` is never used [INFO] [stdout] --> src/ethical_hacking.rs:875:14 [INFO] [stdout] | [INFO] [stdout] 824 | impl EthicalHackingMLModels { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 875 | async fn detect_security_anomalies(&self, _target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MLVulnerabilityDetectionEngine` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MLVulnerabilityDetectionEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VulnerabilitySignatureDetector` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct VulnerabilitySignatureDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VulnerabilityBehaviorAnalyzer` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct VulnerabilityBehaviorAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExploitSuccessPredictionEngine` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ExploitSuccessPredictionEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VulnerabilitySignature` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct VulnerabilitySignature { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BehaviorPattern` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct BehaviorPattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BehaviorIndicator` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct BehaviorIndicator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExploitFeatureExtractor` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct ExploitFeatureExtractor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExploitOutcome` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct ExploitOutcome { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MLClassificationModel` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct MLClassificationModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MLRegressionModel` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct MLRegressionModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SignatureType` is never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | pub enum SignatureType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExploitFeatureType` is never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | pub enum ExploitFeatureType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl MLVulnerabilityDetectionEngine { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 137 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub async fn initialize(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub async fn detect_vulnerabilities(&mut self, target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | async fn train_vulnerability_classifiers(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | async fn train_category_classifier(&self, category: VulnerabilityCategory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn get_feature_weights_for_category(&self, category: &VulnerabilityCategory) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | async fn classify_potential_vulnerabilities(&self, target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | async fn extract_features_for_classification(&self, target: &TargetInformation, category: &VulnerabilityCategory) -> Result, model: &MLClassificationModel) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | async fn deduplicate_and_rank_vulnerabilities(&self, vulnerabilities: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | fn map_score_to_severity(&self, score: f64) -> VulnerabilitySeverity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | fn determine_remediation_priority(&self, score: f64) -> Priority { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 392 | impl ExploitSuccessPredictionEngine { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 393 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub async fn initialize(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub async fn predict_exploit_success(&mut self, exploit: &Exploit, target: &TargetInformation, vulnerability: &Vulnerability) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | async fn initialize_feature_extractors(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | async fn train_exploit_models(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | async fn train_exploit_regression_model(&self, exploit_type: ExploitType) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | fn get_coefficients_for_exploit_type(&self, exploit_type: &ExploitType) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | fn get_feature_importance_for_exploit_type(&self, exploit_type: &ExploitType) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 561 | async fn extract_exploit_features(&self, exploit: &Exploit, target: &TargetInformation, vulnerability: &Vulnerability) -> Resul... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 585 | fn calculate_network_accessibility(&self, target: &TargetInformation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 592 | fn assess_system_hardening(&self, target: &TargetInformation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 602 | fn assess_input_validation(&self, target: &TargetInformation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 613 | fn detect_waf_presence(&self, _target: &TargetInformation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 618 | fn assess_auth_strength(&self, target: &TargetInformation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | fn combine_features(&self, mut features: HashMap, env_factors: HashMap) -> Result, model: &MLRegressionModel) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | async fn adjust_with_historical_data(&mut self, exploit: &Exploit, base_prediction: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 665 | async fn record_prediction(&mut self, exploit: &Exploit, _target: &TargetInformation, prediction: f64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VulnerabilityPatternMatcher` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:688:12 [INFO] [stdout] | [INFO] [stdout] 688 | pub struct VulnerabilityPatternMatcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:693:8 [INFO] [stdout] | [INFO] [stdout] 692 | impl VulnerabilityPatternMatcher { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 693 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompiledPattern` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:701:12 [INFO] [stdout] | [INFO] [stdout] 701 | pub struct CompiledPattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SecurityAnomalyDetector` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:708:12 [INFO] [stdout] | [INFO] [stdout] 708 | pub struct SecurityAnomalyDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `initialize_models`, and `detect_security_anomalies` are never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:714:8 [INFO] [stdout] | [INFO] [stdout] 713 | impl SecurityAnomalyDetector { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 714 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 721 | async fn initialize_models(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | async fn detect_security_anomalies(&self, _target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnomalyDetectionModel` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:733:12 [INFO] [stdout] | [INFO] [stdout] 733 | pub struct AnomalyDetectionModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaselineProfile` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:740:12 [INFO] [stdout] | [INFO] [stdout] 740 | pub struct BaselineProfile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_signatures`, `detect_signature_vulnerabilities`, `load_predefined_signatures`, and `match_signature` are never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:747:8 [INFO] [stdout] | [INFO] [stdout] 746 | impl VulnerabilitySignatureDetector { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 747 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 755 | async fn load_signatures(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | async fn detect_signature_vulnerabilities(&self, target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 781 | async fn load_predefined_signatures(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | async fn match_signature(&self, signature: &VulnerabilitySignature, target: &TargetInformation, category: &VulnerabilityCategor... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MLSignatureGenerator` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:846:12 [INFO] [stdout] | [INFO] [stdout] 846 | pub struct MLSignatureGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `generate_signatures` are never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:851:8 [INFO] [stdout] | [INFO] [stdout] 850 | impl MLSignatureGenerator { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 851 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 857 | async fn generate_signatures(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_behavior_patterns`, `detect_behavioral_vulnerabilities`, `load_behavioral_indicators`, `analyze_behavioral_pattern`, and `calculate_anomaly_score` are never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:865:8 [INFO] [stdout] | [INFO] [stdout] 864 | impl VulnerabilityBehaviorAnalyzer { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 865 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 873 | async fn load_behavior_patterns(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | async fn detect_behavioral_vulnerabilities(&self, target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 895 | async fn load_behavioral_indicators(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 927 | async fn analyze_behavioral_pattern(&self, pattern: &BehaviorPattern, target: &TargetInformation) -> Result Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MLBehaviorClassifier` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:962:12 [INFO] [stdout] | [INFO] [stdout] 962 | pub struct MLBehaviorClassifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:967:8 [INFO] [stdout] | [INFO] [stdout] 966 | impl MLBehaviorClassifier { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 967 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnomalyScoring` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:975:12 [INFO] [stdout] | [INFO] [stdout] 975 | pub struct AnomalyScoring { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:980:8 [INFO] [stdout] | [INFO] [stdout] 979 | impl AnomalyScoring { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 980 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScoringModel` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:988:12 [INFO] [stdout] | [INFO] [stdout] 988 | pub struct ScoringModel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvironmentalFactorAnalyzer` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:995:12 [INFO] [stdout] | [INFO] [stdout] 995 | pub struct EnvironmentalFactorAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `initialize`, `analyze_environment`, and `extract_factor` are never used [INFO] [stdout] --> src/ml_ethical_hacking.rs:1001:8 [INFO] [stdout] | [INFO] [stdout] 1000 | impl EnvironmentalFactorAnalyzer { [INFO] [stdout] | -------------------------------- associated items in this implementation [INFO] [stdout] 1001 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1008 | async fn initialize(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1032 | async fn analyze_environment(&self, target: &TargetInformation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1043 | async fn extract_factor(&self, extractor: &FactorExtractor, target: &TargetInformation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FactorExtractor` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:1067:12 [INFO] [stdout] | [INFO] [stdout] 1067 | pub struct FactorExtractor { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvironmentalModel` is never constructed [INFO] [stdout] --> src/ml_ethical_hacking.rs:1074:12 [INFO] [stdout] | [INFO] [stdout] 1074 | pub struct EnvironmentalModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NetworkAnomalyType` is never used [INFO] [stdout] --> src/network_defense.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum NetworkAnomalyType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkDefenseAnalyzer` is never constructed [INFO] [stdout] --> src/network_defense.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct NetworkDefenseAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkBaseline` is never constructed [INFO] [stdout] --> src/network_defense.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct NetworkBaseline { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionProfile` is never constructed [INFO] [stdout] --> src/network_defense.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct ConnectionProfile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/network_defense.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl NetworkDefenseAnalyzer { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 89 | pub fn new(event_receiver: mpsc::Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn start_analysis(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | async fn analyze_network_event(&mut self, event: &NetworkEvent) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn network_event_to_log_record(&self, event: &NetworkEvent) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn detect_network_specific_anomalies(&self, event: &NetworkEvent) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | async fn handle_network_anomaly( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn update_network_baseline(&mut self, event: &NetworkEvent) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn encode_source(&self, source: &NetworkEventSource) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn encode_event_type(&self, event_type: &NetworkEventType) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | fn is_internal_ip(&self, ip: &IpAddr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | fn is_potential_port_scan(&self, _client_ip: &Option, _port: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn generate_recommended_actions(&self, anomalies: &[NetworkAnomalyType]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | fn calculate_severity(&self, ml_score: &AnomalyScore, network_anomalies: &[NetworkAnomalyType]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkAnomalyReport` is never constructed [INFO] [stdout] --> src/network_defense.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 351 | pub struct NetworkAnomalyReport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ingest_vpn_log`, `ingest_dns_log`, and `ingest_firewall_log` are never used [INFO] [stdout] --> src/network_defense.rs:391:18 [INFO] [stdout] | [INFO] [stdout] 377 | impl NetworkEventIngester { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 391 | pub async fn ingest_vpn_log(&self, log_line: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub async fn ingest_dns_log(&self, log_line: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub async fn ingest_firewall_log(&self, log_line: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REGISTRY` is never used [INFO] [stdout] --> src/metrics.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | static REGISTRY: Lazy = Lazy::new(Registry::new); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `COUNTERS` is never used [INFO] [stdout] --> src/metrics.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static COUNTERS: Lazy>> = Lazy::new(|| Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inc_counter` is never used [INFO] [stdout] --> src/metrics.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn inc_counter(name: &'static str, v: f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gather` is never used [INFO] [stdout] --> src/metrics.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn gather() -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_action_history`, `update_config`, `get_config`, and `process_maintenance_request` are never used [INFO] [stdout] --> src/automated_response.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl AutomatedResponseEngine { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn get_action_history(&self) -> &[ResponseAction] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn update_config(&mut self, new_config: ResponseConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn get_config(&self) -> &ResponseConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | pub async fn process_maintenance_request(&mut self, maintenance_type: ResponseActionType, target: Option) -> anyhow::Re... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreatNotification` is never constructed [INFO] [stdout] --> src/notifications.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ThreatNotification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelfAssessmentNotification` is never constructed [INFO] [stdout] --> src/notifications.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SelfAssessmentNotification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NotificationType` is never used [INFO] [stdout] --> src/notifications.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum NotificationType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_threat_alert`, `send_self_assessment`, `send_hourly_report`, and `test_notifications` are never used [INFO] [stdout] --> src/notifications.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl NotificationManager { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn send_threat_alert(&self, notification: ThreatNotification) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn send_self_assessment(&self, notification: SelfAssessmentNotification) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn send_hourly_report( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn test_notifications(&self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "679b622bf138ffc8eee2c7627925382925a01740e584c1fe95af6806a88d281e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "679b622bf138ffc8eee2c7627925382925a01740e584c1fe95af6806a88d281e", kill_on_drop: false }` [INFO] [stdout] 679b622bf138ffc8eee2c7627925382925a01740e584c1fe95af6806a88d281e