[INFO] cloning repository https://github.com/steelswords/rustblock [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/steelswords/rustblock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteelswords%2Frustblock", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteelswords%2Frustblock'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91c296020f110d8c742bfd0aa790be55c767d1ce [INFO] checking steelswords/rustblock against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteelswords%2Frustblock" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/steelswords/rustblock on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/steelswords/rustblock [INFO] finished tweaking git repo https://github.com/steelswords/rustblock [INFO] tweaked toml for git repo https://github.com/steelswords/rustblock written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/steelswords/rustblock 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/steelswords/rust-iptables.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ac0b79066a7465e1590ba81d8aafdea6b2470349a685c8ca3d6c6f17a599e8b [INFO] running `Command { std: "docker" "start" "-a" "6ac0b79066a7465e1590ba81d8aafdea6b2470349a685c8ca3d6c6f17a599e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ac0b79066a7465e1590ba81d8aafdea6b2470349a685c8ca3d6c6f17a599e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ac0b79066a7465e1590ba81d8aafdea6b2470349a685c8ca3d6c6f17a599e8b", kill_on_drop: false }` [INFO] [stdout] 6ac0b79066a7465e1590ba81d8aafdea6b2470349a685c8ca3d6c6f17a599e8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e60cfeb7d6b06abc276ee233fa84ce316346882465b1686b1270844b2be6455 [INFO] running `Command { std: "docker" "start" "-a" "8e60cfeb7d6b06abc276ee233fa84ce316346882465b1686b1270844b2be6455", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking winnow v0.6.24 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking clap_builder v4.5.27 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking dns-lookup v2.0.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking iptables v0.5.1 (https://github.com/steelswords/rust-iptables.git#9c932deb) [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Checking clap v4.5.27 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking rustblock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Ipv4Addr` and `fs::read_to_string` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::read_to_string, net::{IpAddr, Ipv4Addr}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebsiteAddressTable` [INFO] [stdout] --> src/main.rs:3:65 [INFO] [stdout] | [INFO] [stdout] 3 | use config::{get_config_file_name, BlockProfile, ConfigOptions, WebsiteAddressTable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::IpAddr` [INFO] [stdout] --> src/config.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, net::IpAddr}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::IpAddr` [INFO] [stdout] --> src/config.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, net::IpAddr}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/main.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::read_to_string, net::{IpAddr, Ipv4Addr}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebsiteAddressTable` [INFO] [stdout] --> src/main.rs:3:65 [INFO] [stdout] | [INFO] [stdout] 3 | use config::{get_config_file_name, BlockProfile, ConfigOptions, WebsiteAddressTable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::IpAddr` [INFO] [stdout] --> src/config.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, net::IpAddr}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::IpAddr` [INFO] [stdout] --> src/config.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, net::IpAddr}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `minutes_on`, and `day_total` are never read [INFO] [stdout] --> src/config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IntermittentBlockDefinition { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 14 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | //pub length: TimeInterval, [INFO] [stdout] 16 | pub minutes_on: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | // TODO later: pub minutes_off: i32, [INFO] [stdout] 18 | pub day_total: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntermittentBlockDefinition` has a derived impl for the trait `Debug`, 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`, `start`, `end`, and `exceptions` are never read [INFO] [stdout] --> src/config.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct BlackoutTime { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 23 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | start: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | end: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | exceptions: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlackoutTime` 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 `user_device_hosts`, `always_block`, `intermittent_block`, `blackout_times`, `user_device_ip_addresses`, and `name` are never read [INFO] [stdout] --> src/config.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct BlockProfile { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 31 | pub user_device_hosts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub always_block: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | pub intermittent_block: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub blackout_times: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub user_device_ip_addresses: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_block_profile_name` is never used [INFO] [stdout] --> src/config.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_default_block_profile_name() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `blockprofiles`, `websites_toml`, and `websites` are never read [INFO] [stdout] --> src/config.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ConfigOptions { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 49 | pub blockprofiles: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub websites_toml: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub websites: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_config_file_name` is never used [INFO] [stdout] --> src/config.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_config_file_name() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl ConfigOptions { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 84 | pub fn new(config_file_name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | _ => panic!("Not supported"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 51 | CliCommands::Enable(profile) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 60 | CliCommands::Disable(profile) => { [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 64 | CliCommands::List {} => { list_profiles(&config_options); }, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 65 | [INFO] [stdout] 66 | _ => panic!("Not supported"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `minutes_on`, and `day_total` are never read [INFO] [stdout] --> src/config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IntermittentBlockDefinition { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 14 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | //pub length: TimeInterval, [INFO] [stdout] 16 | pub minutes_on: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | // TODO later: pub minutes_off: i32, [INFO] [stdout] 18 | pub day_total: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntermittentBlockDefinition` has a derived impl for the trait `Debug`, 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`, `start`, `end`, and `exceptions` are never read [INFO] [stdout] --> src/config.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct BlackoutTime { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 23 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | start: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | end: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | exceptions: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlackoutTime` 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 `intermittent_block`, `blackout_times`, and `user_device_ip_addresses` are never read [INFO] [stdout] --> src/config.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct BlockProfile { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub intermittent_block: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub blackout_times: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub user_device_ip_addresses: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_block_profile_name` is never used [INFO] [stdout] --> src/config.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_default_block_profile_name() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `minutes_on`, and `day_total` are never read [INFO] [stdout] --> src/config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IntermittentBlockDefinition { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 14 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | //pub length: TimeInterval, [INFO] [stdout] 16 | pub minutes_on: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | // TODO later: pub minutes_off: i32, [INFO] [stdout] 18 | pub day_total: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntermittentBlockDefinition` has a derived impl for the trait `Debug`, 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`, `start`, `end`, and `exceptions` are never read [INFO] [stdout] --> src/config.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct BlackoutTime { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 23 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | start: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | end: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | exceptions: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlackoutTime` 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 `user_device_hosts`, `always_block`, `intermittent_block`, `blackout_times`, `user_device_ip_addresses`, and `name` are never read [INFO] [stdout] --> src/config.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct BlockProfile { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 31 | pub user_device_hosts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub always_block: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | pub intermittent_block: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub blackout_times: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub user_device_ip_addresses: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_block_profile_name` is never used [INFO] [stdout] --> src/config.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_default_block_profile_name() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `blockprofiles`, `websites_toml`, and `websites` are never read [INFO] [stdout] --> src/config.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ConfigOptions { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 49 | pub blockprofiles: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub websites_toml: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub websites: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_config_file_name` is never used [INFO] [stdout] --> src/config.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_config_file_name() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl ConfigOptions { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 84 | pub fn new(config_file_name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | _ => panic!("Not supported"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 51 | CliCommands::Enable(profile) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 60 | CliCommands::Disable(profile) => { [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 64 | CliCommands::List {} => { list_profiles(&config_options); }, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 65 | [INFO] [stdout] 66 | _ => panic!("Not supported"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `minutes_on`, and `day_total` are never read [INFO] [stdout] --> src/config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IntermittentBlockDefinition { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 14 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | //pub length: TimeInterval, [INFO] [stdout] 16 | pub minutes_on: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | // TODO later: pub minutes_off: i32, [INFO] [stdout] 18 | pub day_total: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntermittentBlockDefinition` has a derived impl for the trait `Debug`, 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`, `start`, `end`, and `exceptions` are never read [INFO] [stdout] --> src/config.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct BlackoutTime { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 23 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | start: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | end: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | exceptions: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlackoutTime` 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 `intermittent_block`, `blackout_times`, and `user_device_ip_addresses` are never read [INFO] [stdout] --> src/config.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct BlockProfile { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub intermittent_block: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub blackout_times: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub user_device_ip_addresses: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_block_profile_name` is never used [INFO] [stdout] --> src/config.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_default_block_profile_name() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.89s [INFO] running `Command { std: "docker" "inspect" "8e60cfeb7d6b06abc276ee233fa84ce316346882465b1686b1270844b2be6455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e60cfeb7d6b06abc276ee233fa84ce316346882465b1686b1270844b2be6455", kill_on_drop: false }` [INFO] [stdout] 8e60cfeb7d6b06abc276ee233fa84ce316346882465b1686b1270844b2be6455