[INFO] cloning repository https://github.com/JtPerez-Acle/rustdiag [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JtPerez-Acle/rustdiag" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJtPerez-Acle%2Frustdiag", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJtPerez-Acle%2Frustdiag'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1f27fa495d4d2308307652819c0aa5a1c1d95be [INFO] building JtPerez-Acle/rustdiag against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJtPerez-Acle%2Frustdiag" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JtPerez-Acle/rustdiag [INFO] finished tweaking git repo https://github.com/JtPerez-Acle/rustdiag [INFO] tweaked toml for git repo https://github.com/JtPerez-Acle/rustdiag written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JtPerez-Acle/rustdiag on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JtPerez-Acle/rustdiag 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trust-dns-resolver v0.23.2 [INFO] [stderr] Downloaded dirs-sys v0.4.1 [INFO] [stderr] Downloaded clap_derive v4.5.32 [INFO] [stderr] Downloaded clap v4.5.34 [INFO] [stderr] Downloaded mockall_derive v0.12.1 [INFO] [stderr] Downloaded pcap v1.3.0 [INFO] [stderr] Downloaded pnet_macros v0.34.0 [INFO] [stderr] Downloaded ntapi v0.4.1 [INFO] [stderr] Downloaded no-std-net v0.6.0 [INFO] [stderr] Downloaded clap_builder v4.5.34 [INFO] [stderr] Downloaded pnet_packet v0.34.0 [INFO] [stderr] Downloaded sysinfo v0.30.13 [INFO] [stderr] Downloaded ipnetwork v0.20.0 [INFO] [stderr] Downloaded pnet_datalink v0.34.0 [INFO] [stderr] Downloaded pnet_base v0.34.0 [INFO] [stderr] Downloaded pnet_macros_support v0.34.0 [INFO] [stderr] Downloaded pnet_sys v0.34.0 [INFO] [stderr] Downloaded rustix v1.0.3 [INFO] [stderr] Downloaded pnet_transport v0.34.0 [INFO] [stderr] Downloaded trust-dns-proto v0.23.2 [INFO] [stderr] Downloaded pnet v0.34.0 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded once_cell v1.21.2 [INFO] [stderr] Downloaded dirs v5.0.1 [INFO] [stderr] Downloaded mockall v0.12.1 [INFO] [stderr] Downloaded errno v0.2.8 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.36.1 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.36.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.36.1 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.36.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.36.1 [INFO] [stderr] Downloaded windows-sys v0.36.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a48ab3fb4ed9f141771485c6e936538697b20228a9b19c961169e02add2755a9 [INFO] running `Command { std: "docker" "start" "-a" "a48ab3fb4ed9f141771485c6e936538697b20228a9b19c961169e02add2755a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a48ab3fb4ed9f141771485c6e936538697b20228a9b19c961169e02add2755a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a48ab3fb4ed9f141771485c6e936538697b20228a9b19c961169e02add2755a9", kill_on_drop: false }` [INFO] [stdout] a48ab3fb4ed9f141771485c6e936538697b20228a9b19c961169e02add2755a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 058066ee30349ba2ac7921b8004436fb7cb61b81bfe03e4420b82ad3de29f754 [INFO] running `Command { std: "docker" "start" "-a" "058066ee30349ba2ac7921b8004436fb7cb61b81bfe03e4420b82ad3de29f754", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.21.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling no-std-net v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pnet_sys v0.34.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling pnet_base v0.34.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling pnet_macros_support v0.34.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling pnet v0.34.0 [INFO] [stderr] Compiling clap_builder v4.5.34 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling resolv-conf v0.7.1 [INFO] [stderr] Compiling pnet_datalink v0.34.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling clap v4.5.34 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling sysinfo v0.30.13 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling pnet_macros v0.34.0 [INFO] [stderr] Compiling pcap v1.3.0 [INFO] [stderr] Compiling trust-dns-proto v0.23.2 [INFO] [stderr] Compiling pnet_packet v0.34.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling trust-dns-resolver v0.23.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling pnet_transport v0.34.0 [INFO] [stderr] Compiling rustdiag v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Interface` is never constructed [INFO] [stdout] --> src/network/interfaces.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Interface { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_interfaces` is never used [INFO] [stdout] --> src/network/interfaces.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_interfaces() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_interface` is never used [INFO] [stdout] --> src/network/interfaces.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_interface(_name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PortState` is never used [INFO] [stdout] --> src/network/ports.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum PortState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScanResult` is never constructed [INFO] [stdout] --> src/network/ports.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ScanResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_port_range` is never used [INFO] [stdout] --> src/network/ports.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse_port_range(_range: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_ports` is never used [INFO] [stdout] --> src/network/ports.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn scan_ports(_target: &str, _ports: &[u16]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `is_default` are never read [INFO] [stdout] --> src/network/dns.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DnsResolver { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | /// Resolver name or IP [INFO] [stdout] 8 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | /// Whether this is the system default resolver [INFO] [stdout] 10 | pub is_default: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DnsResolver` 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 `resolvers` is never read [INFO] [stdout] --> src/network/dns.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DnsResolutionResult { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub resolvers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DnsResolutionResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_system_resolvers` is never used [INFO] [stdout] --> src/network/dns.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_system_resolvers() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/network/traffic.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BandwidthUsage` is never constructed [INFO] [stdout] --> src/network/traffic.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct BandwidthUsage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeoLocation` is never constructed [INFO] [stdout] --> src/network/traffic.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct GeoLocation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_connections` is never used [INFO] [stdout] --> src/network/traffic.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_connections() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bandwidth_usage` is never used [INFO] [stdout] --> src/network/traffic.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_bandwidth_usage(_interface: Option<&str>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_geolocation` is never used [INFO] [stdout] --> src/network/traffic.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | pub async fn get_geolocation(_ip: &IpAddr) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/util/config.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load`, `save`, and `default_path` are never used [INFO] [stdout] --> src/util/config.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 34 | /// Load configuration from a file [INFO] [stdout] 35 | pub fn load>(path: P) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn save>(&self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn default_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.19s [INFO] running `Command { std: "docker" "inspect" "058066ee30349ba2ac7921b8004436fb7cb61b81bfe03e4420b82ad3de29f754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "058066ee30349ba2ac7921b8004436fb7cb61b81bfe03e4420b82ad3de29f754", kill_on_drop: false }` [INFO] [stdout] 058066ee30349ba2ac7921b8004436fb7cb61b81bfe03e4420b82ad3de29f754 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4d8322620976832f13428a46883e1895eef6cdab8f8e70414fc0049451a41ae [INFO] running `Command { std: "docker" "start" "-a" "c4d8322620976832f13428a46883e1895eef6cdab8f8e70414fc0049451a41ae", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling mockall v0.12.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling trust-dns-proto v0.23.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling trust-dns-resolver v0.23.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rustdiag v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `formatter` [INFO] [stdout] --> src/util/display.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let formatter = OutputFormatter::new(false); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_formatter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `ip_addresses`, `mac_address`, `mtu`, and `is_up` are never read [INFO] [stdout] --> src/network/interfaces.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Interface { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | /// Interface name [INFO] [stdout] 8 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | /// IP addresses (IPv4 and IPv6) [INFO] [stdout] 10 | pub ip_addresses: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | /// MAC address [INFO] [stdout] 12 | pub mac_address: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | /// Maximum Transmission Unit [INFO] [stdout] 14 | pub mtu: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | /// Whether the interface is up [INFO] [stdout] 16 | pub is_up: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interface` 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: enum `PortState` is never used [INFO] [stdout] --> src/network/ports.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum PortState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target`, `open_ports`, `closed_ports`, and `filtered_ports` are never read [INFO] [stdout] --> src/network/ports.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ScanResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 19 | /// Target IP address [INFO] [stdout] 20 | pub target: IpAddr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | /// Open ports with service information [INFO] [stdout] 22 | pub open_ports: Vec<(u16, Option)>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | /// Closed ports [INFO] [stdout] 24 | pub closed_ports: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | /// Filtered ports [INFO] [stdout] 26 | pub filtered_ports: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanResult` 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 `address` and `is_default` are never read [INFO] [stdout] --> src/network/dns.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DnsResolver { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | /// Resolver name or IP [INFO] [stdout] 8 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | /// Whether this is the system default resolver [INFO] [stdout] 10 | pub is_default: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DnsResolver` 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 `resolvers` is never read [INFO] [stdout] --> src/network/dns.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DnsResolutionResult { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub resolvers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DnsResolutionResult` 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 `local_addr`, `remote_addr`, `state`, `pid`, and `process_name` are never read [INFO] [stdout] --> src/network/traffic.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Connection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | /// Local address [INFO] [stdout] 9 | pub local_addr: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | /// Remote address [INFO] [stdout] 11 | pub remote_addr: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | /// Connection state [INFO] [stdout] 13 | pub state: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | /// Process ID (if available) [INFO] [stdout] 15 | pub pid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | /// Process name (if available) [INFO] [stdout] 17 | pub process_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` 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 `interface`, `rx_bytes`, `tx_bytes`, `rx_packets`, `tx_packets`, and `timestamp` are never read [INFO] [stdout] --> src/network/traffic.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct BandwidthUsage { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 23 | /// Interface name [INFO] [stdout] 24 | pub interface: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | /// Bytes received [INFO] [stdout] 26 | pub rx_bytes: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | /// Bytes transmitted [INFO] [stdout] 28 | pub tx_bytes: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | /// Packets received [INFO] [stdout] 30 | pub rx_packets: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | /// Packets transmitted [INFO] [stdout] 32 | pub tx_packets: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | /// Timestamp of the measurement [INFO] [stdout] 34 | pub timestamp: std::time::SystemTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BandwidthUsage` 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_code`, `country_name`, `city`, and `isp` are never read [INFO] [stdout] --> src/network/traffic.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct GeoLocation { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 53 | /// Country code [INFO] [stdout] 54 | pub country_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 55 | /// Country name [INFO] [stdout] 56 | pub country_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | /// City [INFO] [stdout] 58 | pub city: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | /// ISP [INFO] [stdout] 60 | pub isp: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeoLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `save` and `default_path` are never used [INFO] [stdout] --> src/util/config.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn save>(&self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn default_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 32.09s [INFO] running `Command { std: "docker" "inspect" "c4d8322620976832f13428a46883e1895eef6cdab8f8e70414fc0049451a41ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4d8322620976832f13428a46883e1895eef6cdab8f8e70414fc0049451a41ae", kill_on_drop: false }` [INFO] [stdout] c4d8322620976832f13428a46883e1895eef6cdab8f8e70414fc0049451a41ae