[INFO] cloning repository https://github.com/tradewithmeai/network-security-monitor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tradewithmeai/network-security-monitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftradewithmeai%2Fnetwork-security-monitor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftradewithmeai%2Fnetwork-security-monitor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 72ff7958ce203d183b3a873ada22de3a28c812ac
[INFO] testing tradewithmeai/network-security-monitor against 1.97.0-beta.1 for beta-1.97-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftradewithmeai%2Fnetwork-security-monitor" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tradewithmeai/network-security-monitor
[INFO] finished tweaking git repo https://github.com/tradewithmeai/network-security-monitor
[INFO] tweaked toml for git repo https://github.com/tradewithmeai/network-security-monitor written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tradewithmeai/network-security-monitor on toolchain 1.97.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tradewithmeai/network-security-monitor 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" "+1.97.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7e40fa0c7854b44723689155a3132d08b86512374d16113318f03110af4df2e5
[INFO] running `Command { std: "docker" "start" "-a" "7e40fa0c7854b44723689155a3132d08b86512374d16113318f03110af4df2e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7e40fa0c7854b44723689155a3132d08b86512374d16113318f03110af4df2e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e40fa0c7854b44723689155a3132d08b86512374d16113318f03110af4df2e5", kill_on_drop: false }`
[INFO] [stdout] 7e40fa0c7854b44723689155a3132d08b86512374d16113318f03110af4df2e5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5814442c160d32c41ff015a465335bc4e61c8c5074b59f0bf75d49e4d7937125
[INFO] running `Command { std: "docker" "start" "-a" "5814442c160d32c41ff015a465335bc4e61c8c5074b59f0bf75d49e4d7937125", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zmij v1.0.19
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling data-encoding v2.10.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling rust-embed-utils v8.11.0
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling clap_lex v0.7.7
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling clap_builder v4.5.57
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling etherparse v0.16.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling errno v0.2.8
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling uuid v1.20.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling rust-embed-impl v8.11.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling pcap v2.4.0
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling rust-embed v8.11.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tungstenite v0.28.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling axum-core v0.5.6
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling clap v4.5.57
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling ipnetwork v0.20.0
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling toml_edit v0.20.2
[INFO] [stderr]    Compiling maxminddb v0.24.0
[INFO] [stderr]    Compiling rusqlite v0.32.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tracing-appender v0.2.4
[INFO] [stderr]    Compiling toml v0.8.2
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tokio-tungstenite v0.28.0
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling axum v0.8.8
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling network-security-monitor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `Anomaly` is never constructed
[INFO] [stdout]   --> src/alert/types.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub enum AlertSource {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 73 |     Anomaly,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AlertSource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `raw_data` is never read
[INFO] [stdout]   --> src/capture/packet.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct ParsedPacket {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub raw_data: Vec<u8>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParsedPacket` 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 `is_syn_only` is never used
[INFO] [stdout]   --> src/capture/packet.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | impl TcpFlags {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 76 |     pub fn is_syn_only(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `log_level` and `log_file` are never read
[INFO] [stdout]   --> src/config.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct GeneralConfig {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 31 |     #[serde(default = "default_log_level")]
[INFO] [stdout] 32 |     pub log_level: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 33 |     #[serde(default)]
[INFO] [stdout] 34 |     pub log_file: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GeneralConfig` 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 `min_severity`, `store_packet_data`, and `max_packet_store_size` are never read
[INFO] [stdout]    --> src/config.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub struct AlertingConfig {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 150 |     #[serde(default = "default_min_severity")]
[INFO] [stdout] 151 |     pub min_severity: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 152 |     #[serde(default)]
[INFO] [stdout] 153 |     pub store_packet_data: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 154 |     #[serde(default = "default_max_packet_store_size")]
[INFO] [stdout] 155 |     pub max_packet_store_size: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AlertingConfig` 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 `internal_networks` is never read
[INFO] [stdout]    --> src/config.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub struct DeviceSecurityConfig {
[INFO] [stdout]     |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 174 |     pub internal_networks: Vec<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DeviceSecurityConfig` 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 `little_brother_db` is never read
[INFO] [stdout]    --> src/config.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 224 | pub struct AiConfig {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 234 |     pub little_brother_db: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AiConfig` 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 `set_hostname` is never used
[INFO] [stdout]    --> src/detection/device_profiler.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout]  58 | impl DeviceProfiler {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn set_hostname(&mut self, mac: &str, hostname: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `lookup_country` is never used
[INFO] [stdout]   --> src/detection/geoip.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl GeoIpResolver {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn lookup_country(&self, ip: IpAddr) -> Option<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `unknown_options` is never read
[INFO] [stdout]    --> src/detection/rules/types.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct Rule {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub unknown_options: Vec<(String, Option<String>)>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Rule` 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 `WriteEvent` is never constructed
[INFO] [stdout]   --> src/storage/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum StorageEvent {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |     WriteEvent(AppEvent),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TopTalker` is never constructed
[INFO] [stdout]    --> src/storage/models.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct TopTalker {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TrackedConnection` is never constructed
[INFO] [stdout]    --> src/storage/models.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub struct TrackedConnection {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ConnectionState` is never used
[INFO] [stdout]    --> src/storage/models.rs:160:10
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub enum ConnectionState {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 10s
[INFO] running `Command { std: "docker" "inspect" "5814442c160d32c41ff015a465335bc4e61c8c5074b59f0bf75d49e4d7937125", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5814442c160d32c41ff015a465335bc4e61c8c5074b59f0bf75d49e4d7937125", kill_on_drop: false }`
[INFO] [stdout] 5814442c160d32c41ff015a465335bc4e61c8c5074b59f0bf75d49e4d7937125
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 168c187f2d8c03ae155d8fc5d0d57555fa7a07a65adeeccdafa847640d04b41c
[INFO] running `Command { std: "docker" "start" "-a" "168c187f2d8c03ae155d8fc5d0d57555fa7a07a65adeeccdafa847640d04b41c", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling rusqlite v0.32.1
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling network-security-monitor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `Anomaly` is never constructed
[INFO] [stdout]   --> src/alert/types.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub enum AlertSource {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 73 |     Anomaly,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AlertSource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `raw_data` is never read
[INFO] [stdout]   --> src/capture/packet.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct ParsedPacket {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub raw_data: Vec<u8>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParsedPacket` 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 `is_syn_only` is never used
[INFO] [stdout]   --> src/capture/packet.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | impl TcpFlags {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 76 |     pub fn is_syn_only(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `log_level` and `log_file` are never read
[INFO] [stdout]   --> src/config.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct GeneralConfig {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 31 |     #[serde(default = "default_log_level")]
[INFO] [stdout] 32 |     pub log_level: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 33 |     #[serde(default)]
[INFO] [stdout] 34 |     pub log_file: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GeneralConfig` 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 `min_severity`, `store_packet_data`, and `max_packet_store_size` are never read
[INFO] [stdout]    --> src/config.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub struct AlertingConfig {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 150 |     #[serde(default = "default_min_severity")]
[INFO] [stdout] 151 |     pub min_severity: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 152 |     #[serde(default)]
[INFO] [stdout] 153 |     pub store_packet_data: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 154 |     #[serde(default = "default_max_packet_store_size")]
[INFO] [stdout] 155 |     pub max_packet_store_size: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AlertingConfig` 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 `internal_networks` is never read
[INFO] [stdout]    --> src/config.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub struct DeviceSecurityConfig {
[INFO] [stdout]     |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 174 |     pub internal_networks: Vec<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DeviceSecurityConfig` 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 `little_brother_db` is never read
[INFO] [stdout]    --> src/config.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 224 | pub struct AiConfig {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 234 |     pub little_brother_db: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AiConfig` 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 `set_hostname` is never used
[INFO] [stdout]    --> src/detection/device_profiler.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout]  58 | impl DeviceProfiler {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn set_hostname(&mut self, mac: &str, hostname: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `lookup_country` is never used
[INFO] [stdout]   --> src/detection/geoip.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl GeoIpResolver {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn lookup_country(&self, ip: IpAddr) -> Option<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `unknown_options` is never read
[INFO] [stdout]    --> src/detection/rules/types.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct Rule {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub unknown_options: Vec<(String, Option<String>)>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Rule` 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 `WriteEvent` is never constructed
[INFO] [stdout]   --> src/storage/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum StorageEvent {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |     WriteEvent(AppEvent),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TopTalker` is never constructed
[INFO] [stdout]    --> src/storage/models.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct TopTalker {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TrackedConnection` is never constructed
[INFO] [stdout]    --> src/storage/models.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub struct TrackedConnection {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ConnectionState` is never used
[INFO] [stdout]    --> src/storage/models.rs:160:10
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub enum ConnectionState {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Anomaly` is never constructed
[INFO] [stdout]   --> src/alert/types.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub enum AlertSource {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 73 |     Anomaly,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AlertSource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `raw_data` is never read
[INFO] [stdout]   --> src/capture/packet.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct ParsedPacket {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub raw_data: Vec<u8>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParsedPacket` 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 `is_syn_only` is never used
[INFO] [stdout]   --> src/capture/packet.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | impl TcpFlags {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 76 |     pub fn is_syn_only(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `log_file` is never read
[INFO] [stdout]   --> src/config.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct GeneralConfig {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub log_file: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GeneralConfig` 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 `min_severity`, `store_packet_data`, and `max_packet_store_size` are never read
[INFO] [stdout]    --> src/config.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub struct AlertingConfig {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 150 |     #[serde(default = "default_min_severity")]
[INFO] [stdout] 151 |     pub min_severity: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 152 |     #[serde(default)]
[INFO] [stdout] 153 |     pub store_packet_data: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 154 |     #[serde(default = "default_max_packet_store_size")]
[INFO] [stdout] 155 |     pub max_packet_store_size: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AlertingConfig` 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 `little_brother_db` is never read
[INFO] [stdout]    --> src/config.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 224 | pub struct AiConfig {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 234 |     pub little_brother_db: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AiConfig` 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 `set_hostname` is never used
[INFO] [stdout]    --> src/detection/device_profiler.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout]  58 | impl DeviceProfiler {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn set_hostname(&mut self, mac: &str, hostname: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `lookup_country` is never used
[INFO] [stdout]   --> src/detection/geoip.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl GeoIpResolver {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn lookup_country(&self, ip: IpAddr) -> Option<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `unknown_options` is never read
[INFO] [stdout]    --> src/detection/rules/types.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct Rule {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub unknown_options: Vec<(String, Option<String>)>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Rule` 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 `WriteEvent` is never constructed
[INFO] [stdout]   --> src/storage/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum StorageEvent {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |     WriteEvent(AppEvent),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TopTalker` is never constructed
[INFO] [stdout]    --> src/storage/models.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct TopTalker {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TrackedConnection` is never constructed
[INFO] [stdout]    --> src/storage/models.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub struct TrackedConnection {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ConnectionState` is never used
[INFO] [stdout]    --> src/storage/models.rs:160:10
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub enum ConnectionState {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 53.13s
[INFO] running `Command { std: "docker" "inspect" "168c187f2d8c03ae155d8fc5d0d57555fa7a07a65adeeccdafa847640d04b41c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "168c187f2d8c03ae155d8fc5d0d57555fa7a07a65adeeccdafa847640d04b41c", kill_on_drop: false }`
[INFO] [stdout] 168c187f2d8c03ae155d8fc5d0d57555fa7a07a65adeeccdafa847640d04b41c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6220e80eb84c78ab6a6b3e9d6b909a52b64b276e917ce5c6db476b2c58a608ea
[INFO] running `Command { std: "docker" "start" "-a" "6220e80eb84c78ab6a6b3e9d6b909a52b64b276e917ce5c6db476b2c58a608ea", kill_on_drop: false }`
[INFO] [stderr] warning: variant `Anomaly` is never constructed
[INFO] [stderr]   --> src/alert/types.rs:73:5
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub enum AlertSource {
[INFO] [stderr]    |          ----------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 73 |     Anomaly,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AlertSource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `raw_data` is never read
[INFO] [stderr]   --> src/capture/packet.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr]  7 | pub struct ParsedPacket {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 22 |     pub raw_data: Vec<u8>,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ParsedPacket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `is_syn_only` is never used
[INFO] [stderr]   --> src/capture/packet.rs:76:12
[INFO] [stderr]    |
[INFO] [stderr] 75 | impl TcpFlags {
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] 76 |     pub fn is_syn_only(&self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `log_level` and `log_file` are never read
[INFO] [stderr]   --> src/config.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub struct GeneralConfig {
[INFO] [stderr]    |            ------------- fields in this struct
[INFO] [stderr] 31 |     #[serde(default = "default_log_level")]
[INFO] [stderr] 32 |     pub log_level: String,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 33 |     #[serde(default)]
[INFO] [stderr] 34 |     pub log_file: Option<String>,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `GeneralConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `min_severity`, `store_packet_data`, and `max_packet_store_size` are never read
[INFO] [stderr]    --> src/config.rs:151:9
[INFO] [stderr]     |
[INFO] [stderr] 149 | pub struct AlertingConfig {
[INFO] [stderr]     |            -------------- fields in this struct
[INFO] [stderr] 150 |     #[serde(default = "default_min_severity")]
[INFO] [stderr] 151 |     pub min_severity: String,
[INFO] [stderr]     |         ^^^^^^^^^^^^
[INFO] [stderr] 152 |     #[serde(default)]
[INFO] [stderr] 153 |     pub store_packet_data: bool,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 154 |     #[serde(default = "default_max_packet_store_size")]
[INFO] [stderr] 155 |     pub max_packet_store_size: usize,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `AlertingConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `internal_networks` is never read
[INFO] [stderr]    --> src/config.rs:174:9
[INFO] [stderr]     |
[INFO] [stderr] 162 | pub struct DeviceSecurityConfig {
[INFO] [stderr]     |            -------------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 174 |     pub internal_networks: Vec<String>,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `DeviceSecurityConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `little_brother_db` is never read
[INFO] [stderr]    --> src/config.rs:234:9
[INFO] [stderr]     |
[INFO] [stderr] 224 | pub struct AiConfig {
[INFO] [stderr]     |            -------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 234 |     pub little_brother_db: String,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `AiConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `set_hostname` is never used
[INFO] [stderr]    --> src/detection/device_profiler.rs:216:12
[INFO] [stderr]     |
[INFO] [stderr]  58 | impl DeviceProfiler {
[INFO] [stderr]     | ------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 216 |     pub fn set_hostname(&mut self, mac: &str, hostname: String) {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `lookup_country` is never used
[INFO] [stderr]   --> src/detection/geoip.rs:95:12
[INFO] [stderr]    |
[INFO] [stderr] 24 | impl GeoIpResolver {
[INFO] [stderr]    | ------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 95 |     pub fn lookup_country(&self, ip: IpAddr) -> Option<String> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `unknown_options` is never read
[INFO] [stderr]    --> src/detection/rules/types.rs:136:9
[INFO] [stderr]     |
[INFO] [stderr] 114 | pub struct Rule {
[INFO] [stderr]     |            ---- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 136 |     pub unknown_options: Vec<(String, Option<String>)>,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variant `WriteEvent` is never constructed
[INFO] [stderr]   --> src/storage/mod.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub enum StorageEvent {
[INFO] [stderr]    |          ------------ variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 24 |     WriteEvent(AppEvent),
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TopTalker` is never constructed
[INFO] [stderr]    --> src/storage/models.rs:134:12
[INFO] [stderr]     |
[INFO] [stderr] 134 | pub struct TopTalker {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TrackedConnection` is never constructed
[INFO] [stderr]    --> src/storage/models.rs:144:12
[INFO] [stderr]     |
[INFO] [stderr] 144 | pub struct TrackedConnection {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `ConnectionState` is never used
[INFO] [stderr]    --> src/storage/models.rs:160:10
[INFO] [stderr]     |
[INFO] [stderr] 160 | pub enum ConnectionState {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `network-security-monitor` (bin "nsm") generated 14 warnings
[INFO] [stderr] warning: field `log_file` is never read
[INFO] [stderr]   --> src/config.rs:34:9
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub struct GeneralConfig {
[INFO] [stderr]    |            ------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 34 |     pub log_file: Option<String>,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `GeneralConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `network-security-monitor` (bin "nsm" test) generated 13 warnings (12 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/network_security_monitor-41ed53cc056fe421)
[INFO] [stdout] 
[INFO] [stdout] running 41 tests
[INFO] [stdout] test config::tests::test_db_path_construction ... ok
[INFO] [stdout] test config::tests::test_default_config ... ok
[INFO] [stdout] test config::tests::test_device_security_defaults ... ok
[INFO] [stdout] test config::tests::test_parse_detection_config ... ok
[INFO] [stdout] test config::tests::test_parse_web_api_keys ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_dirty_flag_prevents_duplicate_flush ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_icmp_packets_ignored ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_canonical_ordering ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_multiple_distinct_flows ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_bidirectional_byte_counting ... ok
[INFO] [stdout] test config::tests::test_parse_webhooks ... ok
[INFO] [stdout] test config::tests::test_parse_capture_config ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_udp_flow_immediately_established ... ok
[INFO] [stdout] test detection::dns::tests::test_is_known_cloud_domain ... ok
[INFO] [stdout] test config::tests::test_parse_minimal_toml ... ok
[INFO] [stdout] test detection::dns::tests::test_shannon_entropy_repeated ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_rst_closes_flow ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_tcp_flow_state_transitions ... ok
[INFO] [stdout] test detection::dns::tests::test_parse_dns_name_simple ... ok
[INFO] [stdout] test detection::dns::tests::test_parse_dns_name_with_pointer ... ok
[INFO] [stdout] test detection::dns::tests::test_parse_dns_nxdomain ... ok
[INFO] [stdout] test detection::port_scan::tests::test_different_source_ips_tracked_independently ... ok
[INFO] [stdout] test detection::port_scan::tests::test_syn_scan_below_threshold ... ok
[INFO] [stdout] test detection::port_scan::tests::test_duplicate_ports_not_double_counted ... ok
[INFO] [stdout] test detection::port_scan::tests::test_udp_scan_detection ... ok
[INFO] [stdout] test detection::port_scan::tests::test_ports_sample_is_sorted ... ok
[INFO] [stdout] test detection::rules::parser::tests::test_parse_content_hex ... ok
[INFO] [stdout] test detection::port_scan::tests::test_syn_scan_triggers_at_threshold ... ok
[INFO] [stdout] test detection::port_scan::tests::test_cooldown_suppresses_second_alert ... ok
[INFO] [stdout] test detection::dns::tests::test_parse_dns_packet_query ... ok
[INFO] [stdout] test detection::dns::tests::test_shannon_entropy_uniform ... ok
[INFO] [stdout] test detection::dns::tests::test_parse_dns_packet_response_with_answer ... ok
[INFO] [stdout] test detection::rules::parser::tests::test_parse_content_mixed ... ok
[INFO] [stdout] test detection::rules::parser::tests::test_parse_content_text ... ok
[INFO] [stdout] test detection::rules::parser::tests::test_parse_threshold ... ok
[INFO] [stdout] test detection::rules::parser::tests::test_parse_full_rule ... ok
[INFO] [stdout] test detection::dns::tests::test_parse_dns_too_short ... ok
[INFO] [stdout] test detection::dns::tests::test_qtype_to_string ... ok
[INFO] [stdout] test detection::dns::tests::test_rcode_str ... ok
[INFO] [stdout] test detection::rules::parser::tests::test_parse_port_negated ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_new_tcp_flow_created ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nsm-923188fd019e572a)
[INFO] [stdout] 
[INFO] [stdout] running 41 tests
[INFO] [stdout] test config::tests::test_default_config ... ok
[INFO] [stdout] test config::tests::test_device_security_defaults ... ok
[INFO] [stdout] test config::tests::test_db_path_construction ... ok
[INFO] [stdout] test config::tests::test_parse_minimal_toml ... ok
[INFO] [stdout] test config::tests::test_parse_detection_config ... ok
[INFO] [stdout] test config::tests::test_parse_capture_config ... ok
[INFO] [stdout] test config::tests::test_parse_webhooks ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_canonical_ordering ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_dirty_flag_prevents_duplicate_flush ... ok
[INFO] [stdout] test config::tests::test_parse_web_api_keys ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_bidirectional_byte_counting ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_multiple_distinct_flows ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_new_tcp_flow_created ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_rst_closes_flow ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_tcp_flow_state_transitions ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_udp_flow_immediately_established ... ok
[INFO] [stdout] test detection::dns::tests::test_is_known_cloud_domain ... ok
[INFO] [stdout] test detection::dns::tests::test_parse_dns_name_simple ... ok
[INFO] [stdout] test detection::dns::tests::test_parse_dns_name_with_pointer ... ok
[INFO] [stdout] test detection::dns::tests::test_parse_dns_packet_query ... ok
[INFO] [stdout] test detection::dns::tests::test_parse_dns_too_short ... ok
[INFO] [stdout] test detection::dns::tests::test_parse_dns_nxdomain ... ok
[INFO] [stdout] test detection::dns::tests::test_qtype_to_string ... ok
[INFO] [stdout] test detection::dns::tests::test_shannon_entropy_uniform ... ok
[INFO] [stdout] test detection::port_scan::tests::test_cooldown_suppresses_second_alert ... ok
[INFO] [stdout] test detection::dns::tests::test_parse_dns_packet_response_with_answer ... ok
[INFO] [stdout] test detection::port_scan::tests::test_duplicate_ports_not_double_counted ... ok
[INFO] [stdout] test detection::port_scan::tests::test_udp_scan_detection ... ok
[INFO] [stdout] test detection::rules::parser::tests::test_parse_content_text ... ok
[INFO] [stdout] test detection::rules::parser::tests::test_parse_port_negated ... ok
[INFO] [stdout] test detection::rules::parser::tests::test_parse_content_mixed ... ok
[INFO] [stdout] test detection::port_scan::tests::test_different_source_ips_tracked_independently ... ok
[INFO] [stdout] test detection::dns::tests::test_shannon_entropy_repeated ... ok
[INFO] [stdout] test detection::dns::tests::test_rcode_str ... ok
[INFO] [stdout] test detection::connection_tracker::tests::test_icmp_packets_ignored ... ok
[INFO] [stdout] test detection::port_scan::tests::test_syn_scan_below_threshold ... ok
[INFO] [stdout] test detection::port_scan::tests::test_ports_sample_is_sorted ... ok
[INFO] [stdout] test detection::rules::parser::tests::test_parse_full_rule ... ok
[INFO] [stdout] test detection::rules::parser::tests::test_parse_content_hex ... ok
[INFO] [stdout] test detection::port_scan::tests::test_syn_scan_triggers_at_threshold ... ok
[INFO] [stdout] test detection::rules::parser::tests::test_parse_threshold ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/storage_tests.rs (/opt/rustwide/target/debug/deps/storage_tests-96d669d4490f43d0)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test test_unacknowledged_alert_count ... ok
[INFO] [stdout] test test_bulk_acknowledge ... ok
[INFO] [stdout] test test_upsert_connection ... ok
[INFO] [stdout] test test_bulk_delete_invalid_table ... ok
[INFO] [stdout] test test_insert_and_count_alerts ... ok
[INFO] [stdout] test test_get_alerts_pagination ... ok
[INFO] [stdout] test test_acknowledge_alert ... ok
[INFO] [stdout] test test_search_alerts ... ok
[INFO] [stdout] test test_get_alerts_severity_filter ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests network_security_monitor
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "6220e80eb84c78ab6a6b3e9d6b909a52b64b276e917ce5c6db476b2c58a608ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6220e80eb84c78ab6a6b3e9d6b909a52b64b276e917ce5c6db476b2c58a608ea", kill_on_drop: false }`
[INFO] [stdout] 6220e80eb84c78ab6a6b3e9d6b909a52b64b276e917ce5c6db476b2c58a608ea
