[INFO] cloning repository https://github.com/Uthpala-r/CLI_Implementation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Uthpala-r/CLI_Implementation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUthpala-r%2FCLI_Implementation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUthpala-r%2FCLI_Implementation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6001cf5e891c4fca0b7bb589fac3d2c964337d8 [INFO] checking Uthpala-r/CLI_Implementation against try#b32fc44666c052e7cf07ab471bfb6f9ec571902f for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUthpala-r%2FCLI_Implementation" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 3% (1586/39764) Updating files: 4% (1591/39764) Updating files: 4% (1735/39764) Updating files: 5% (1989/39764) Updating files: 6% (2386/39764) Updating files: 6% (2676/39764) Updating files: 7% (2784/39764) Updating files: 8% (3182/39764) Updating files: 9% (3579/39764) Updating files: 10% (3977/39764) Updating files: 11% (4375/39764) Updating files: 12% (4772/39764) Updating files: 12% (5169/39764) Updating files: 13% (5170/39764) Updating files: 14% (5567/39764) Updating files: 15% (5965/39764) Updating files: 16% (6363/39764) Updating files: 17% (6760/39764) Updating files: 18% (7158/39764) Updating files: 19% (7556/39764) Updating files: 20% (7953/39764) Updating files: 21% (8351/39764) Updating files: 22% (8749/39764) Updating files: 23% (9146/39764) Updating files: 24% (9544/39764) Updating files: 25% (9941/39764) Updating files: 26% (10339/39764) Updating files: 27% (10737/39764) Updating files: 28% (11134/39764) Updating files: 29% (11532/39764) Updating files: 30% (11930/39764) Updating files: 31% (12327/39764) Updating files: 32% (12725/39764) Updating files: 33% (13123/39764) Updating files: 34% (13520/39764) Updating files: 35% (13918/39764) Updating files: 36% (14316/39764) Updating files: 37% (14713/39764) Updating files: 38% (15111/39764) Updating files: 39% (15508/39764) Updating files: 40% (15906/39764) Updating files: 41% (16304/39764) Updating files: 42% (16701/39764) Updating files: 43% (17099/39764) Updating files: 44% (17497/39764) Updating files: 45% (17894/39764) Updating files: 46% (18292/39764) Updating files: 47% (18690/39764) Updating files: 48% (19087/39764) Updating files: 49% (19485/39764) Updating files: 49% (19524/39764) Updating files: 50% (19882/39764) Updating files: 51% (20280/39764) Updating files: 52% (20678/39764) Updating files: 53% (21075/39764) Updating files: 54% (21473/39764) Updating files: 55% (21871/39764) Updating files: 56% (22268/39764) Updating files: 57% (22666/39764) Updating files: 58% (23064/39764) Updating files: 59% (23461/39764) Updating files: 60% (23859/39764) Updating files: 61% (24257/39764) Updating files: 62% (24654/39764) Updating files: 63% (25052/39764) Updating files: 64% (25449/39764) Updating files: 65% (25847/39764) Updating files: 66% (26245/39764) Updating files: 67% (26642/39764) Updating files: 68% (27040/39764) Updating files: 69% (27438/39764) Updating files: 70% (27835/39764) Updating files: 71% (28233/39764) Updating files: 72% (28631/39764) Updating files: 73% (29028/39764) Updating files: 74% (29426/39764) Updating files: 75% (29823/39764) Updating files: 76% (30221/39764) Updating files: 77% (30619/39764) Updating files: 78% (31016/39764) Updating files: 79% (31414/39764) Updating files: 80% (31812/39764) Updating files: 81% (32209/39764) Updating files: 82% (32607/39764) Updating files: 83% (33005/39764) Updating files: 84% (33402/39764) Updating files: 85% (33800/39764) Updating files: 86% (34198/39764) Updating files: 87% (34595/39764) Updating files: 87% (34647/39764) Updating files: 88% (34993/39764) Updating files: 89% (35390/39764) Updating files: 90% (35788/39764) Updating files: 91% (36186/39764) Updating files: 92% (36583/39764) Updating files: 93% (36981/39764) Updating files: 94% (37379/39764) Updating files: 95% (37776/39764) Updating files: 96% (38174/39764) Updating files: 97% (38572/39764) Updating files: 98% (38969/39764) Updating files: 99% (39367/39764) Updating files: 99% (39614/39764) Updating files: 100% (39764/39764) Updating files: 100% (39764/39764), done. [INFO] validating manifest of git repo https://github.com/Uthpala-r/CLI_Implementation on toolchain b32fc44666c052e7cf07ab471bfb6f9ec571902f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Uthpala-r/CLI_Implementation [INFO] finished tweaking git repo https://github.com/Uthpala-r/CLI_Implementation [INFO] tweaked toml for git repo https://github.com/Uthpala-r/CLI_Implementation written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Uthpala-r/CLI_Implementation 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" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reedline v0.38.0 [INFO] [stderr] Downloaded rustyline v15.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 191b487da783b7d0d0d7c88db8a8b9ab9cca8aa528ce93543bb12843908e8464 [INFO] running `Command { std: "docker" "start" "-a" "191b487da783b7d0d0d7c88db8a8b9ab9cca8aa528ce93543bb12843908e8464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "191b487da783b7d0d0d7c88db8a8b9ab9cca8aa528ce93543bb12843908e8464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191b487da783b7d0d0d7c88db8a8b9ab9cca8aa528ce93543bb12843908e8464", kill_on_drop: false }` [INFO] [stdout] 191b487da783b7d0d0d7c88db8a8b9ab9cca8aa528ce93543bb12843908e8464 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 464575a362aebd57522b87984218a327cfdedd76844dbe78693e86a7414cdb14 [INFO] running `Command { std: "docker" "start" "-a" "464575a362aebd57522b87984218a327cfdedd76844dbe78693e86a7414cdb14", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rtoolbox v0.0.2 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking rpassword v7.3.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking clap v4.5.23 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Checking linux-keyutils v0.2.4 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking rustyline v15.0.0 [INFO] [stderr] Checking reedline v0.38.0 [INFO] [stderr] Checking pnf_cli_mpc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufReader` and `self` [INFO] [stdout] --> src/clicommands.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write, BufRead, BufReader}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Stdio` [INFO] [stdout] --> src/clicommands.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::process::Stdio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handle_show_clock` and `handle_show_uptime` [INFO] [stdout] --> src/clicommands.rs:17:70 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::clock_settings::{handle_clock_set, parse_clock_set_input, handle_show_clock, handle_show_uptime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ROUTE_TABLE` and `format_flags` [INFO] [stdout] --> src/clicommands.rs:18:67 [INFO] [stdout] | [INFO] [stdout] 18 | ...e, format_flags, get_system_interfaces, connect_via_ssh, execute_spawn_process, InterfaceConfig, InterfacesConfig, STATUS_MAP, IP_ADDRESS_STATE, IFCONFIG_STATE, ROUTE_TABLE}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CliConfig` [INFO] [stdout] --> src/run_config.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cliconfig::{CliConfig, CliContext}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `OpenOptions` [INFO] [stdout] --> src/run_config.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/run_config.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/execute.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | /// Check if command exists in current mode [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | let allowed_commands_for_walkup = get_mode_commands(commands, &context.current_mode); [INFO] [stdout] | ------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/network_config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/network_config.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self, Write, BufRead, BufReader}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/passwd.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use linux_keyutils::{KeyRing, Key, KeyRingIdentifier, KeyError}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SigHandler`, `Signal`, and `signal` [INFO] [stdout] --> src/main.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | use nix::sys::signal::{signal, SigHandler, Signal}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `self` [INFO] [stdout] --> src/clicommands.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write, BufRead, BufReader}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Stdio` [INFO] [stdout] --> src/clicommands.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::process::Stdio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handle_show_clock` and `handle_show_uptime` [INFO] [stdout] --> src/clicommands.rs:17:70 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::clock_settings::{handle_clock_set, parse_clock_set_input, handle_show_clock, handle_show_uptime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ROUTE_TABLE` and `format_flags` [INFO] [stdout] --> src/clicommands.rs:18:67 [INFO] [stdout] | [INFO] [stdout] 18 | ...e, format_flags, get_system_interfaces, connect_via_ssh, execute_spawn_process, InterfaceConfig, InterfacesConfig, STATUS_MAP, IP_ADDRESS_STATE, IFCONFIG_STATE, ROUTE_TABLE}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CliConfig` [INFO] [stdout] --> src/run_config.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cliconfig::{CliConfig, CliContext}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `OpenOptions` [INFO] [stdout] --> src/run_config.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/run_config.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/execute.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | /// Check if command exists in current mode [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | let allowed_commands_for_walkup = get_mode_commands(commands, &context.current_mode); [INFO] [stdout] | ------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/network_config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/network_config.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self, Write, BufRead, BufReader}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/passwd.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use linux_keyutils::{KeyRing, Key, KeyRingIdentifier, KeyError}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SigHandler`, `Signal`, and `signal` [INFO] [stdout] --> src/main.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | use nix::sys::signal::{signal, SigHandler, Signal}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/clicommands.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write, BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/clicommands.rs:400:22 [INFO] [stdout] | [INFO] [stdout] 400 | execute: |_, context, _| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/clicommands.rs:428:22 [INFO] [stdout] | [INFO] [stdout] 428 | execute: |_, context, _| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_address` [INFO] [stdout] --> src/clicommands.rs:1156:33 [INFO] [stdout] | [INFO] [stdout] 1156 | ... let ip_address = interface_config.0.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_address` [INFO] [stdout] --> src/clicommands.rs:1201:42 [INFO] [stdout] | [INFO] [stdout] 1201 | ... if let Some((ip_address, broadcast_address)) = network_state.get(interface) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `broadcast_address` [INFO] [stdout] --> src/clicommands.rs:1201:54 [INFO] [stdout] | [INFO] [stdout] 1201 | ... if let Some((ip_address, broadcast_address)) = network_state.get(interface) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_broadcast_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/clicommands.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write, BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/clicommands.rs:1197:33 [INFO] [stdout] | [INFO] [stdout] 1197 | ... let mut network_state = IP_ADDRESS_STATE.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/clicommands.rs:400:22 [INFO] [stdout] | [INFO] [stdout] 400 | execute: |_, context, _| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/clicommands.rs:428:22 [INFO] [stdout] | [INFO] [stdout] 428 | execute: |_, context, _| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_address` [INFO] [stdout] --> src/clicommands.rs:1156:33 [INFO] [stdout] | [INFO] [stdout] 1156 | ... let ip_address = interface_config.0.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available_commands` [INFO] [stdout] --> src/execute.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let available_commands = get_mode_commands(commands, &context.current_mode); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/execute.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | if let Some(cmd) = commands.get(command_name) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `completer` [INFO] [stdout] --> src/execute.rs:26:125 [INFO] [stdout] | [INFO] [stdout] 26 | ...lock: &mut Option, completer: &mut CommandCompleter) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_completer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_address` [INFO] [stdout] --> src/clicommands.rs:1201:42 [INFO] [stdout] | [INFO] [stdout] 1201 | ... if let Some((ip_address, broadcast_address)) = network_state.get(interface) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `broadcast_address` [INFO] [stdout] --> src/clicommands.rs:1201:54 [INFO] [stdout] | [INFO] [stdout] 1201 | ... if let Some((ip_address, broadcast_address)) = network_state.get(interface) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_broadcast_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/clicommands.rs:1197:33 [INFO] [stdout] | [INFO] [stdout] 1197 | ... let mut network_state = IP_ADDRESS_STATE.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interface_name` [INFO] [stdout] --> src/show_c.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | let Some(interface_name) = &context.selected_interface else { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interface_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | if let Err(e) = fs::remove_file("history.txt") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available_commands` [INFO] [stdout] --> src/execute.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let available_commands = get_mode_commands(commands, &context.current_mode); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/execute.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | if let Some(cmd) = commands.get(command_name) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `completer` [INFO] [stdout] --> src/execute.rs:26:125 [INFO] [stdout] | [INFO] [stdout] 26 | ...lock: &mut Option, completer: &mut CommandCompleter) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_completer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `commands` is never read [INFO] [stdout] --> src/commandcompleter.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct CommandCompleter { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 26 | pub commands: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandCompleter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `description` are never read [INFO] [stdout] --> src/execute.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Command { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub description: &'static str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ip_address` is never read [INFO] [stdout] --> src/network_config.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct InterfacesConfig { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 30 | pub ip_address: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/network_config.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct OSPFConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 219 | pub passive_interfaces: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 220 | pub distance: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 221 | pub default_information_originate: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 222 | pub router_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 223 | pub areas: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 224 | pub networks: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 225 | pub neighbors: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 226 | pub process_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OSPFConfig` 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 `authentication`, `stub`, and `default_cost` are never read [INFO] [stdout] --> src/network_config.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 241 | pub struct AreaConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 242 | pub authentication: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 243 | pub stub: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 244 | pub default_cost: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AreaConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/network_config.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct AclEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 296 | pub action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 297 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 298 | pub destination: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 299 | pub protocol: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 300 | pub matches: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 301 | pub source_operator: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 302 | pub source_port: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 303 | pub destination_operator: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 304 | pub destination_port: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AclEntry` 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 `number_or_name` and `entries` are never read [INFO] [stdout] --> src/network_config.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct AccessControlList { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 319 | pub number_or_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 320 | pub entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccessControlList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | rl.add_history_entry(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 189 | let _ = rl.add_history_entry(input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:409:17 [INFO] [stdout] | [INFO] [stdout] 409 | execute_spawn_process("sudo", &["reboot"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 409 | let _ = execute_spawn_process("sudo", &["reboot"]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:436:17 [INFO] [stdout] | [INFO] [stdout] 436 | fs::remove_file("history.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 436 | let _ = fs::remove_file("history.txt"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | execute_spawn_process("sudo", &["shutdown", "now"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 437 | let _ = execute_spawn_process("sudo", &["shutdown", "now"]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:699:29 [INFO] [stdout] | [INFO] [stdout] 699 | ... show_controllers(Some(args[1]), Some(args[2])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 699 | let _ = show_controllers(Some(args[1]), Some(args[2])); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:703:29 [INFO] [stdout] | [INFO] [stdout] 703 | ... show_history(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 703 | let _ = show_history(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:708:29 [INFO] [stdout] | [INFO] [stdout] 708 | ... show_run_conf(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 708 | let _ = show_run_conf(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:713:29 [INFO] [stdout] | [INFO] [stdout] 713 | ... show_start_conf(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 713 | let _ = show_start_conf(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:718:29 [INFO] [stdout] | [INFO] [stdout] 718 | ... show_interfaces(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 718 | let _ = show_interfaces(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:727:45 [INFO] [stdout] | [INFO] [stdout] 727 | ... show_ip_int_br(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 727 | let _ = show_ip_int_br(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:745:37 [INFO] [stdout] | [INFO] [stdout] 745 | ... show_ntp_asso(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 745 | let _ = show_ntp_asso(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:749:37 [INFO] [stdout] | [INFO] [stdout] 749 | ... show_ntp(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 749 | let _ = show_ntp(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:851:33 [INFO] [stdout] | [INFO] [stdout] 851 | ... show_controllers(Some(show_args[1]), Some(show_args[2])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 851 | let _ = show_controllers(Some(show_args[1]), Some(show_args[2])); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:855:33 [INFO] [stdout] | [INFO] [stdout] 855 | ... show_history(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 855 | let _ = show_history(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:859:33 [INFO] [stdout] | [INFO] [stdout] 859 | ... show_run_conf(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 859 | let _ = show_run_conf(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:863:33 [INFO] [stdout] | [INFO] [stdout] 863 | ... show_start_conf(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 863 | let _ = show_start_conf(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:867:33 [INFO] [stdout] | [INFO] [stdout] 867 | ... show_interfaces(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 867 | let _ = show_interfaces(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:875:49 [INFO] [stdout] | [INFO] [stdout] 875 | ... show_ip_int_br(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 875 | let _ = show_ip_int_br(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:891:41 [INFO] [stdout] | [INFO] [stdout] 891 | ... show_ntp_asso(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 891 | let _ = show_ntp_asso(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:895:41 [INFO] [stdout] | [INFO] [stdout] 895 | ... show_ntp(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 895 | let _ = show_ntp(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:953:25 [INFO] [stdout] | [INFO] [stdout] 953 | save_running_to_startup(context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 953 | let _ = save_running_to_startup(context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:984:21 [INFO] [stdout] | [INFO] [stdout] 984 | save_running_to_startup(context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 984 | let _ = save_running_to_startup(context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:1055:37 [INFO] [stdout] | [INFO] [stdout] 1055 | ... handle_clock_set(time, day, month, year, clock); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1055 | let _ = handle_clock_set(time, day, month, year, clock); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:1518:17 [INFO] [stdout] | [INFO] [stdout] 1518 | execute_spawn_process("ping", &["-c", "4", "-s", "32", &ip]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1518 | let _ = execute_spawn_process("ping", &["-c", "4", "-s", "32", &ip]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:1540:17 [INFO] [stdout] | [INFO] [stdout] 1540 | execute_spawn_process("traceroute", &["-n", "-m", "30", &target]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1540 | let _ = execute_spawn_process("traceroute", &["-n", "-m", "30", &target]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interface_name` [INFO] [stdout] --> src/show_c.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | let Some(interface_name) = &context.selected_interface else { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interface_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | if let Err(e) = fs::remove_file("history.txt") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `commands` is never read [INFO] [stdout] --> src/commandcompleter.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct CommandCompleter { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 26 | pub commands: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandCompleter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `description` are never read [INFO] [stdout] --> src/execute.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Command { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub description: &'static str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ip_address` is never read [INFO] [stdout] --> src/network_config.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct InterfacesConfig { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 30 | pub ip_address: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/network_config.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct OSPFConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 219 | pub passive_interfaces: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 220 | pub distance: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 221 | pub default_information_originate: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 222 | pub router_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 223 | pub areas: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 224 | pub networks: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 225 | pub neighbors: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 226 | pub process_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OSPFConfig` 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 `authentication`, `stub`, and `default_cost` are never read [INFO] [stdout] --> src/network_config.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 241 | pub struct AreaConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 242 | pub authentication: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 243 | pub stub: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 244 | pub default_cost: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AreaConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/network_config.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct AclEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 296 | pub action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 297 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 298 | pub destination: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 299 | pub protocol: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 300 | pub matches: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 301 | pub source_operator: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 302 | pub source_port: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 303 | pub destination_operator: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 304 | pub destination_port: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AclEntry` 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 `number_or_name` and `entries` are never read [INFO] [stdout] --> src/network_config.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct AccessControlList { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 319 | pub number_or_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 320 | pub entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccessControlList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | rl.add_history_entry(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 189 | let _ = rl.add_history_entry(input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:409:17 [INFO] [stdout] | [INFO] [stdout] 409 | execute_spawn_process("sudo", &["reboot"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 409 | let _ = execute_spawn_process("sudo", &["reboot"]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:436:17 [INFO] [stdout] | [INFO] [stdout] 436 | fs::remove_file("history.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 436 | let _ = fs::remove_file("history.txt"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | execute_spawn_process("sudo", &["shutdown", "now"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 437 | let _ = execute_spawn_process("sudo", &["shutdown", "now"]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:699:29 [INFO] [stdout] | [INFO] [stdout] 699 | ... show_controllers(Some(args[1]), Some(args[2])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 699 | let _ = show_controllers(Some(args[1]), Some(args[2])); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:703:29 [INFO] [stdout] | [INFO] [stdout] 703 | ... show_history(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 703 | let _ = show_history(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:708:29 [INFO] [stdout] | [INFO] [stdout] 708 | ... show_run_conf(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 708 | let _ = show_run_conf(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:713:29 [INFO] [stdout] | [INFO] [stdout] 713 | ... show_start_conf(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 713 | let _ = show_start_conf(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:718:29 [INFO] [stdout] | [INFO] [stdout] 718 | ... show_interfaces(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 718 | let _ = show_interfaces(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:727:45 [INFO] [stdout] | [INFO] [stdout] 727 | ... show_ip_int_br(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 727 | let _ = show_ip_int_br(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:745:37 [INFO] [stdout] | [INFO] [stdout] 745 | ... show_ntp_asso(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 745 | let _ = show_ntp_asso(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:749:37 [INFO] [stdout] | [INFO] [stdout] 749 | ... show_ntp(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 749 | let _ = show_ntp(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:851:33 [INFO] [stdout] | [INFO] [stdout] 851 | ... show_controllers(Some(show_args[1]), Some(show_args[2])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 851 | let _ = show_controllers(Some(show_args[1]), Some(show_args[2])); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:855:33 [INFO] [stdout] | [INFO] [stdout] 855 | ... show_history(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 855 | let _ = show_history(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:859:33 [INFO] [stdout] | [INFO] [stdout] 859 | ... show_run_conf(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 859 | let _ = show_run_conf(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:863:33 [INFO] [stdout] | [INFO] [stdout] 863 | ... show_start_conf(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 863 | let _ = show_start_conf(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:867:33 [INFO] [stdout] | [INFO] [stdout] 867 | ... show_interfaces(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 867 | let _ = show_interfaces(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:875:49 [INFO] [stdout] | [INFO] [stdout] 875 | ... show_ip_int_br(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 875 | let _ = show_ip_int_br(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:891:41 [INFO] [stdout] | [INFO] [stdout] 891 | ... show_ntp_asso(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 891 | let _ = show_ntp_asso(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:895:41 [INFO] [stdout] | [INFO] [stdout] 895 | ... show_ntp(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 895 | let _ = show_ntp(&context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:953:25 [INFO] [stdout] | [INFO] [stdout] 953 | save_running_to_startup(context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 953 | let _ = save_running_to_startup(context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:984:21 [INFO] [stdout] | [INFO] [stdout] 984 | save_running_to_startup(context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 984 | let _ = save_running_to_startup(context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:1055:37 [INFO] [stdout] | [INFO] [stdout] 1055 | ... handle_clock_set(time, day, month, year, clock); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1055 | let _ = handle_clock_set(time, day, month, year, clock); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:1518:17 [INFO] [stdout] | [INFO] [stdout] 1518 | execute_spawn_process("ping", &["-c", "4", "-s", "32", &ip]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1518 | let _ = execute_spawn_process("ping", &["-c", "4", "-s", "32", &ip]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/clicommands.rs:1540:17 [INFO] [stdout] | [INFO] [stdout] 1540 | execute_spawn_process("traceroute", &["-n", "-m", "30", &target]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1540 | let _ = execute_spawn_process("traceroute", &["-n", "-m", "30", &target]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.29s [INFO] running `Command { std: "docker" "inspect" "464575a362aebd57522b87984218a327cfdedd76844dbe78693e86a7414cdb14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464575a362aebd57522b87984218a327cfdedd76844dbe78693e86a7414cdb14", kill_on_drop: false }` [INFO] [stdout] 464575a362aebd57522b87984218a327cfdedd76844dbe78693e86a7414cdb14