[INFO] cloning repository https://github.com/alexadam/net-stats [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexadam/net-stats" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexadam%2Fnet-stats", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexadam%2Fnet-stats'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aaa98517eb61d2a2f8c5c49fe3f84e661bbef0b9 [INFO] building alexadam/net-stats against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexadam%2Fnet-stats" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alexadam/net-stats [INFO] finished tweaking git repo https://github.com/alexadam/net-stats [INFO] tweaked toml for git repo https://github.com/alexadam/net-stats written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alexadam/net-stats 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/alexadam/net-stats 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 netlink-sys v0.8.7 [INFO] [stderr] Downloaded unicode-ident v1.0.16 [INFO] [stderr] Downloaded tracing-error v0.2.1 [INFO] [stderr] Downloaded netlink-packet-utils v0.5.2 [INFO] [stderr] Downloaded netstat2 v0.11.1 [INFO] [stderr] Downloaded owo-colors v3.5.0 [INFO] [stderr] Downloaded netlink-packet-core v0.7.0 [INFO] [stderr] Downloaded native-tls v0.2.13 [INFO] [stderr] Downloaded dns-lookup v2.0.4 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded netlink-packet-sock-diag v0.4.2 [INFO] [stderr] Downloaded openssl-sys v0.9.105 [INFO] [stderr] Downloaded autocfg v0.1.8 [INFO] [stderr] Downloaded color-spantrace v0.2.1 [INFO] [stderr] Downloaded prettyplease v0.2.29 [INFO] [stderr] Downloaded bindgen v0.71.1 [INFO] [stderr] Downloaded simplerand v1.5.1 [INFO] [stderr] Downloaded fakeit v1.3.0 [INFO] [stderr] Downloaded if-addrs-sys v0.3.2 [INFO] [stderr] Downloaded if-addrs v0.6.7 [INFO] [stderr] Downloaded clang-sys v1.8.1 [INFO] [stderr] Downloaded openssl v0.10.70 [INFO] [stderr] Downloaded cexpr v0.6.0 [INFO] [stderr] Downloaded cc v1.2.12 [INFO] [stderr] Downloaded tempfile v3.16.0 [INFO] [stderr] Downloaded color-eyre v0.6.3 [INFO] [stderr] Downloaded libmath v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6479bd608bc87f952a3ae6a749ce463fe05ab4a5b783b5b1a7020be94fd26ff7 [INFO] running `Command { std: "docker" "start" "-a" "6479bd608bc87f952a3ae6a749ce463fe05ab4a5b783b5b1a7020be94fd26ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6479bd608bc87f952a3ae6a749ce463fe05ab4a5b783b5b1a7020be94fd26ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6479bd608bc87f952a3ae6a749ce463fe05ab4a5b783b5b1a7020be94fd26ff7", kill_on_drop: false }` [INFO] [stdout] 6479bd608bc87f952a3ae6a749ce463fe05ab4a5b783b5b1a7020be94fd26ff7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 228c186df059b8f28ce983606054ed93815ee6fc182b2516d947bd14d1a9db09 [INFO] running `Command { std: "docker" "start" "-a" "228c186df059b8f28ce983606054ed93815ee6fc182b2516d947bd14d1a9db09", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling cc v1.2.12 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling libmath v0.2.1 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling simplerand v1.5.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling fakeit v1.3.0 [INFO] [stderr] Compiling dns-lookup v2.0.4 [INFO] [stderr] Compiling if-addrs v0.6.7 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling sysinfo v0.33.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling netlink-packet-sock-diag v0.4.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling netstat2 v0.11.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [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 net-stats v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `KeyEventKind` and `KeyModifiers` [INFO] [stdout] --> src/main.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use crossterm::event::{Event, KeyCode, KeyEventKind, KeyModifiers}; [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: `futures::SinkExt` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Alignment` [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use ratatui::layout::{Alignment, Constraint, Layout, Margin, Rect}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Masked` [INFO] [stdout] --> src/main.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use ratatui::text::{Line, Masked, Span}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IP_Address` [INFO] [stdout] --> src/main.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::my_ips::{getMyIps, IP_Address}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_dns` [INFO] [stdout] --> src/main.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::netstat::{get_all_connections, get_dns, Netstat}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IP_Address` should have an upper camel case name [INFO] [stdout] --> src/my_ips.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IP_Address { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `IpAddress` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/netstat.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dns_lookup::lookup_addr` [INFO] [stdout] --> src/netstat.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use dns_lookup::lookup_addr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Process` [INFO] [stdout] --> src/netstat.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use sysinfo::{Process, System}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SocketAddr` and `ToSocketAddrs` [INFO] [stdout] --> src/netstat.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::net::{SocketAddr, ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/netstat.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::iproduct` [INFO] [stdout] --> src/netstat.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use itertools::iproduct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/connections_table.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::event::KeyModifiers` [INFO] [stdout] --> src/connections_table.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crossterm::event::KeyModifiers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `BorderType`, `DefaultTerminal`, `Event`, `KeyCode`, `KeyEventKind`, `Layout`, `Modifier`, `Paragraph`, and `self` [INFO] [stdout] --> src/connections_table.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | crossterm::event::{self, Event, KeyCode, KeyEventKind}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 22 | layout::{Constraint, Layout, Margin, Rect}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | style::{self, Color, Modifier, Style, Stylize}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | Block, BorderType, Cell, HighlightSpacing, Paragraph, Row, Scrollbar, ScrollbarOrientation, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | DefaultTerminal, Frame, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicode_width::UnicodeWidthStr` [INFO] [stdout] --> src/connections_table.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use unicode_width::UnicodeWidthStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/connections_table.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | if (state == "ESTABLISHED") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - if (state == "ESTABLISHED") { [INFO] [stdout] 335 + if state == "ESTABLISHED" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/connections_table.rs:337:15 [INFO] [stdout] | [INFO] [stdout] 337 | } else if (state == "LISTEN") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 337 - } else if (state == "LISTEN") { [INFO] [stdout] 337 + } else if state == "LISTEN" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/connections_table.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | if (state == "ESTABLISHED") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 345 - if (state == "ESTABLISHED") { [INFO] [stdout] 345 + if state == "ESTABLISHED" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 457 | if (state == "ESTABLISHED") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 457 - if (state == "ESTABLISHED") { [INFO] [stdout] 457 + if state == "ESTABLISHED" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:459:15 [INFO] [stdout] | [INFO] [stdout] 459 | } else if (state == "LISTEN") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 459 - } else if (state == "LISTEN") { [INFO] [stdout] 459 + } else if state == "LISTEN" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:467:8 [INFO] [stdout] | [INFO] [stdout] 467 | if (state == "ESTABLISHED") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 467 - if (state == "ESTABLISHED") { [INFO] [stdout] 467 + if state == "ESTABLISHED" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/my_ips.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if let ip = iface.ip() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/my_ips.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | if let addr = externamIpAddress.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/netstat.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 126 | return "?".to_string(); [INFO] [stdout] | ---------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 131 | return stdout.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::owo_colors::OwoColorize` [INFO] [stdout] --> src/connections_table.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use color_eyre::owo_colors::OwoColorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/connections_table.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ipAddressesStr` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ipAddressesStr = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ipAddressesStr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ipAddressesStr = String::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertical_scroll` [INFO] [stdout] --> src/main.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut vertical_scroll = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertical_scroll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertical_scroll_state` [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut vertical_scroll_state: ScrollbarState = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertical_scroll_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_tick` is never read [INFO] [stdout] --> src/main.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | last_tick = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut vertical_scroll = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut vertical_scroll_state: ScrollbarState = Default::default(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scroll_state` [INFO] [stdout] --> src/main.rs:366:103 [INFO] [stdout] | [INFO] [stdout] 366 | fn render_table(frame: &mut Frame, area: Rect, allConnections: &Vec, state: &mut TableState, scroll_state: &mut ScrollbarState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEM_HEIGHT` is never used [INFO] [stdout] --> src/connections_table.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const ITEM_HEIGHT: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableColors` is never constructed [INFO] [stdout] --> src/connections_table.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct TableColors { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/connections_table.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl TableColors { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 68 | const fn new(color: &tailwind::Palette) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionsTable` is never constructed [INFO] [stdout] --> src/connections_table.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct ConnectionsTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/connections_table.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 117 | impl ConnectionsTable { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 118 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn next_row(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn previous_row(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn run(mut self, frame: &mut Frame, rect: Rect) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | fn draw(&mut self, frame: &mut Frame, rect: Rect) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | fn render_table(&mut self, frame: &mut Frame, area: Rect) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | fn get_style_by_state(&self, state: String) -> Style { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | fn get_font_style_by_state(&self, state: String) -> Style { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ipAddresses` should have a snake case name [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let ipAddresses = getMyIps().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `ip_addresses` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ipAddressesStr` should have a snake case name [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ipAddressesStr = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ip_addresses_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ipAddrsLines` should have a snake case name [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut ipAddrsLines = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `ip_addrs_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ipAddress` should have a snake case name [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | for ipAddress in ipAddresses { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ip_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ipAddresses` should have a snake case name [INFO] [stdout] --> src/main.rs:83:39 [INFO] [stdout] | [INFO] [stdout] 83 | fn run(mut terminal: DefaultTerminal, ipAddresses: Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `ip_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `connTableState` should have a snake case name [INFO] [stdout] --> src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut connTableState: TableState = TableState::default().with_selected(0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `conn_table_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `connTableScrollbarState` should have a snake case name [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut connTableScrollbarState: ScrollbarState = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `conn_table_scrollbar_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allConnections` should have a snake case name [INFO] [stdout] --> src/main.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let allConnections = get_all_connections(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_connections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `ScrollbarState::position` that must be used [INFO] [stdout] --> src/main.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | scroll_state.position(i * 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: method moves the value of self and returns the modified value [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 348 | let _ = scroll_state.position(i * 1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `ScrollbarState::position` that must be used [INFO] [stdout] --> src/main.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | scroll_state.position(i * 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: method moves the value of self and returns the modified value [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 363 | let _ = scroll_state.position(i * 1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allConnections` should have a snake case name [INFO] [stdout] --> src/main.rs:366:48 [INFO] [stdout] | [INFO] [stdout] 366 | fn render_table(frame: &mut Frame, area: Rect, allConnections: &Vec, state: &mut TableState, scroll_state: &mut ScrollbarState) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_connections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getPublicIp` should have a snake case name [INFO] [stdout] --> src/my_ips.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | async fn getPublicIp() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_public_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getMyIps` should have a snake case name [INFO] [stdout] --> src/my_ips.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn getMyIps() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_my_ips` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ipAddresses` should have a snake case name [INFO] [stdout] --> src/my_ips.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ipAddresses = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `ip_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `externamIpAddress` should have a snake case name [INFO] [stdout] --> src/my_ips.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let externamIpAddress = getPublicIp().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `externam_ip_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allProcesses` should have a snake case name [INFO] [stdout] --> src/netstat.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | let allProcesses = get_all_processes(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `all_processes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `netStats` should have a snake case name [INFO] [stdout] --> src/netstat.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | let mut netStats = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `net_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ipStr` should have a snake case name [INFO] [stdout] --> src/netstat.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn get_dns(ipStr: String) -> String { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `ip_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "228c186df059b8f28ce983606054ed93815ee6fc182b2516d947bd14d1a9db09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "228c186df059b8f28ce983606054ed93815ee6fc182b2516d947bd14d1a9db09", kill_on_drop: false }` [INFO] [stdout] 228c186df059b8f28ce983606054ed93815ee6fc182b2516d947bd14d1a9db09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 605f6ecd9d9ab38009a9e6ad050039e481cf7558065795cd71a8c3af9dc2c45f [INFO] running `Command { std: "docker" "start" "-a" "605f6ecd9d9ab38009a9e6ad050039e481cf7558065795cd71a8c3af9dc2c45f", kill_on_drop: false }` [INFO] [stderr] Compiling net-stats v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `KeyEventKind` and `KeyModifiers` [INFO] [stdout] --> src/main.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use crossterm::event::{Event, KeyCode, KeyEventKind, KeyModifiers}; [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: `futures::SinkExt` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Alignment` [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use ratatui::layout::{Alignment, Constraint, Layout, Margin, Rect}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Masked` [INFO] [stdout] --> src/main.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use ratatui::text::{Line, Masked, Span}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IP_Address` [INFO] [stdout] --> src/main.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::my_ips::{getMyIps, IP_Address}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_dns` [INFO] [stdout] --> src/main.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::netstat::{get_all_connections, get_dns, Netstat}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IP_Address` should have an upper camel case name [INFO] [stdout] --> src/my_ips.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IP_Address { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `IpAddress` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/netstat.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dns_lookup::lookup_addr` [INFO] [stdout] --> src/netstat.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use dns_lookup::lookup_addr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Process` [INFO] [stdout] --> src/netstat.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use sysinfo::{Process, System}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SocketAddr` and `ToSocketAddrs` [INFO] [stdout] --> src/netstat.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::net::{SocketAddr, ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/netstat.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::iproduct` [INFO] [stdout] --> src/netstat.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use itertools::iproduct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/connections_table.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::event::KeyModifiers` [INFO] [stdout] --> src/connections_table.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crossterm::event::KeyModifiers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `BorderType`, `DefaultTerminal`, `Event`, `KeyCode`, `KeyEventKind`, `Layout`, `Modifier`, `Paragraph`, and `self` [INFO] [stdout] --> src/connections_table.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | crossterm::event::{self, Event, KeyCode, KeyEventKind}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 22 | layout::{Constraint, Layout, Margin, Rect}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | style::{self, Color, Modifier, Style, Stylize}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | Block, BorderType, Cell, HighlightSpacing, Paragraph, Row, Scrollbar, ScrollbarOrientation, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | DefaultTerminal, Frame, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicode_width::UnicodeWidthStr` [INFO] [stdout] --> src/connections_table.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use unicode_width::UnicodeWidthStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/connections_table.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | if (state == "ESTABLISHED") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - if (state == "ESTABLISHED") { [INFO] [stdout] 335 + if state == "ESTABLISHED" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/connections_table.rs:337:15 [INFO] [stdout] | [INFO] [stdout] 337 | } else if (state == "LISTEN") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 337 - } else if (state == "LISTEN") { [INFO] [stdout] 337 + } else if state == "LISTEN" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/connections_table.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | if (state == "ESTABLISHED") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 345 - if (state == "ESTABLISHED") { [INFO] [stdout] 345 + if state == "ESTABLISHED" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 457 | if (state == "ESTABLISHED") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 457 - if (state == "ESTABLISHED") { [INFO] [stdout] 457 + if state == "ESTABLISHED" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:459:15 [INFO] [stdout] | [INFO] [stdout] 459 | } else if (state == "LISTEN") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 459 - } else if (state == "LISTEN") { [INFO] [stdout] 459 + } else if state == "LISTEN" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:467:8 [INFO] [stdout] | [INFO] [stdout] 467 | if (state == "ESTABLISHED") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 467 - if (state == "ESTABLISHED") { [INFO] [stdout] 467 + if state == "ESTABLISHED" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/my_ips.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if let ip = iface.ip() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/my_ips.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | if let addr = externamIpAddress.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/netstat.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 126 | return "?".to_string(); [INFO] [stdout] | ---------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 131 | return stdout.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::owo_colors::OwoColorize` [INFO] [stdout] --> src/connections_table.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use color_eyre::owo_colors::OwoColorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/connections_table.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ipAddressesStr` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ipAddressesStr = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ipAddressesStr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ipAddressesStr = String::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertical_scroll` [INFO] [stdout] --> src/main.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut vertical_scroll = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertical_scroll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertical_scroll_state` [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut vertical_scroll_state: ScrollbarState = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertical_scroll_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_tick` is never read [INFO] [stdout] --> src/main.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | last_tick = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut vertical_scroll = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut vertical_scroll_state: ScrollbarState = Default::default(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scroll_state` [INFO] [stdout] --> src/main.rs:366:103 [INFO] [stdout] | [INFO] [stdout] 366 | fn render_table(frame: &mut Frame, area: Rect, allConnections: &Vec, state: &mut TableState, scroll_state: &mut ScrollbarState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEM_HEIGHT` is never used [INFO] [stdout] --> src/connections_table.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const ITEM_HEIGHT: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableColors` is never constructed [INFO] [stdout] --> src/connections_table.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct TableColors { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/connections_table.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl TableColors { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 68 | const fn new(color: &tailwind::Palette) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionsTable` is never constructed [INFO] [stdout] --> src/connections_table.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct ConnectionsTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/connections_table.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 117 | impl ConnectionsTable { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 118 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn next_row(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn previous_row(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn run(mut self, frame: &mut Frame, rect: Rect) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | fn draw(&mut self, frame: &mut Frame, rect: Rect) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | fn render_table(&mut self, frame: &mut Frame, area: Rect) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | fn get_style_by_state(&self, state: String) -> Style { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | fn get_font_style_by_state(&self, state: String) -> Style { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ipAddresses` should have a snake case name [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let ipAddresses = getMyIps().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `ip_addresses` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ipAddressesStr` should have a snake case name [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ipAddressesStr = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ip_addresses_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ipAddrsLines` should have a snake case name [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut ipAddrsLines = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `ip_addrs_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ipAddress` should have a snake case name [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | for ipAddress in ipAddresses { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ip_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ipAddresses` should have a snake case name [INFO] [stdout] --> src/main.rs:83:39 [INFO] [stdout] | [INFO] [stdout] 83 | fn run(mut terminal: DefaultTerminal, ipAddresses: Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `ip_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `connTableState` should have a snake case name [INFO] [stdout] --> src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut connTableState: TableState = TableState::default().with_selected(0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `conn_table_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `connTableScrollbarState` should have a snake case name [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut connTableScrollbarState: ScrollbarState = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `conn_table_scrollbar_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allConnections` should have a snake case name [INFO] [stdout] --> src/main.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let allConnections = get_all_connections(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_connections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `ScrollbarState::position` that must be used [INFO] [stdout] --> src/main.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | scroll_state.position(i * 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: method moves the value of self and returns the modified value [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 348 | let _ = scroll_state.position(i * 1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `ScrollbarState::position` that must be used [INFO] [stdout] --> src/main.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | scroll_state.position(i * 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: method moves the value of self and returns the modified value [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 363 | let _ = scroll_state.position(i * 1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allConnections` should have a snake case name [INFO] [stdout] --> src/main.rs:366:48 [INFO] [stdout] | [INFO] [stdout] 366 | fn render_table(frame: &mut Frame, area: Rect, allConnections: &Vec, state: &mut TableState, scroll_state: &mut ScrollbarState) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_connections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getPublicIp` should have a snake case name [INFO] [stdout] --> src/my_ips.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | async fn getPublicIp() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_public_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getMyIps` should have a snake case name [INFO] [stdout] --> src/my_ips.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn getMyIps() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_my_ips` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ipAddresses` should have a snake case name [INFO] [stdout] --> src/my_ips.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ipAddresses = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `ip_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `externamIpAddress` should have a snake case name [INFO] [stdout] --> src/my_ips.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let externamIpAddress = getPublicIp().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `externam_ip_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allProcesses` should have a snake case name [INFO] [stdout] --> src/netstat.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | let allProcesses = get_all_processes(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `all_processes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `netStats` should have a snake case name [INFO] [stdout] --> src/netstat.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | let mut netStats = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `net_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ipStr` should have a snake case name [INFO] [stdout] --> src/netstat.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn get_dns(ipStr: String) -> String { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `ip_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `Command { std: "docker" "inspect" "605f6ecd9d9ab38009a9e6ad050039e481cf7558065795cd71a8c3af9dc2c45f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "605f6ecd9d9ab38009a9e6ad050039e481cf7558065795cd71a8c3af9dc2c45f", kill_on_drop: false }` [INFO] [stdout] 605f6ecd9d9ab38009a9e6ad050039e481cf7558065795cd71a8c3af9dc2c45f