[INFO] cloning repository https://github.com/torbencarstens/ufw-parser
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/torbencarstens/ufw-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorbencarstens%2Fufw-parser", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorbencarstens%2Fufw-parser'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a500831a515228ea4ccc7e834f0f7fac51829c10
[INFO] checking torbencarstens/ufw-parser against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorbencarstens%2Fufw-parser" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/torbencarstens/ufw-parser
[INFO] finished tweaking git repo https://github.com/torbencarstens/ufw-parser
[INFO] tweaked toml for git repo https://github.com/torbencarstens/ufw-parser written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/torbencarstens/ufw-parser on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/torbencarstens/ufw-parser 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ini v1.3.0
[INFO] [stderr]   Downloaded configparser v1.0.0
[INFO] [stderr]   Downloaded bitstring v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0211547e80baf3750aca61facd533d78e5a45fe55ab532b7bc127c44776d2eca
[INFO] running `Command { std: "docker" "start" "-a" "0211547e80baf3750aca61facd533d78e5a45fe55ab532b7bc127c44776d2eca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0211547e80baf3750aca61facd533d78e5a45fe55ab532b7bc127c44776d2eca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0211547e80baf3750aca61facd533d78e5a45fe55ab532b7bc127c44776d2eca", kill_on_drop: false }`
[INFO] [stdout] 0211547e80baf3750aca61facd533d78e5a45fe55ab532b7bc127c44776d2eca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a9054698907d721e9465706413a6e3a81e14c1c562f2eeb711fa2a99be626bf
[INFO] running `Command { std: "docker" "start" "-a" "2a9054698907d721e9465706413a6e3a81e14c1c562f2eeb711fa2a99be626bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]     Checking configparser v1.0.0
[INFO] [stderr]     Checking bitstring v0.1.1
[INFO] [stderr]     Checking ini v1.3.0
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.22
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]     Checking thiserror v1.0.22
[INFO] [stderr]     Checking toml v0.5.7
[INFO] [stderr]     Checking ufw_auto_block v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::num::ParseIntError`
[INFO] [stdout]  --> src/ufw.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::num::ParseIntError;
[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 imports: `Context` and `Error`
[INFO] [stdout]   --> src/ufw.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use anyhow::{Context, Error, Result};
[INFO] [stdout]    |              ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::ParseIntError`
[INFO] [stdout]  --> src/ufw.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::num::ParseIntError;
[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: `Captures`
[INFO] [stdout]   --> src/ufw.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use regex::{Captures, Regex};
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Error`
[INFO] [stdout]   --> src/ufw.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use anyhow::{Context, Error, Result};
[INFO] [stdout]    |              ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Captures`
[INFO] [stdout]   --> src/ufw.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use regex::{Captures, Regex};
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `str_split_once` has been stable since 1.52.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(str_split_once)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `str_split_once` has been stable since 1.52.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(str_split_once)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error_message`
[INFO] [stdout]    --> src/ufw.rs:388:25
[INFO] [stdout]     |
[INFO] [stdout] 388 |                     let error_message = format!("Couldn't find a valid logging level {}", text);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_message`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error_message`
[INFO] [stdout]    --> src/ufw.rs:388:25
[INFO] [stdout]     |
[INFO] [stdout] 388 |                     let error_message = format!("Couldn't find a valid logging level {}", text);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_message`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `block_after_times` is never read
[INFO] [stdout]  --> src/config.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Config {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 9 |     block_after_times: i32,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `AH`, `ESP`, `GRE`, `IPV6`, `IGMP`, and `ANY` are never constructed
[INFO] [stdout]   --> src/ufw.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum Protocol {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 20 |     AH,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 21 |     ESP,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 22 |     GRE,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 23 |     IPV6,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 24 |     IGMP,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 25 |     ANY,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Protocol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IpVersion` is never used
[INFO] [stdout]   --> src/ufw.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub enum IpVersion {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UfwAction` is never constructed
[INFO] [stdout]   --> src/ufw.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct UfwAction {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Address` is never constructed
[INFO] [stdout]   --> src/ufw.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Address {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RuleEntry` is never constructed
[INFO] [stdout]   --> src/ufw.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct RuleEntry {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `source_address_string` is never used
[INFO] [stdout]    --> src/ufw.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl RuleEntry {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 107 |     fn source_address_string(&self) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RuleDirection` is never used
[INFO] [stdout]    --> src/ufw.rs:126:10
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub enum RuleDirection {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ReportFormats` is never used
[INFO] [stdout]    --> src/ufw.rs:188:10
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub enum ReportFormats {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ufw` is never constructed
[INFO] [stdout]    --> src/ufw.rs:233:12
[INFO] [stdout]     |
[INFO] [stdout] 233 | pub struct Ufw {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_rule`, `delete_rule`, and `submit` are never used
[INFO] [stdout]    --> src/ufw.rs:241:12
[INFO] [stdout]     |
[INFO] [stdout] 240 | impl Ufw {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] 241 |     pub fn add_rule(&mut self, entry: RuleEntry) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 245 |     pub fn delete_rule(&mut self, entry_index: u16) -> Option<(RuleEntry, bool)> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn submit(self) -> io::Result<Vec<Output>> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `number`, `end_number`, and `protocols` are never read
[INFO] [stdout]    --> src/ufw.rs:269:16
[INFO] [stdout]     |
[INFO] [stdout] 268 | pub(crate) struct UfwPort {
[INFO] [stdout]     |                   ------- fields in this struct
[INFO] [stdout] 269 |     pub(crate) number: u16,
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] 270 |     pub(crate) end_number: Option<u16>,
[INFO] [stdout]     |                ^^^^^^^^^^
[INFO] [stdout] 271 |     pub(crate) protocols: Vec<ParseResult<Protocol>>,
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UfwPort` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LineNumberRuleEntry` is never constructed
[INFO] [stdout]    --> src/ufw.rs:280:8
[INFO] [stdout]     |
[INFO] [stdout] 280 | struct LineNumberRuleEntry {}
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LineNumberField` is never constructed
[INFO] [stdout]    --> src/ufw.rs:282:8
[INFO] [stdout]     |
[INFO] [stdout] 282 | struct LineNumberField {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse_action` is never used
[INFO] [stdout]    --> src/ufw.rs:300:8
[INFO] [stdout]     |
[INFO] [stdout] 287 | impl UfwCommand {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 300 |     fn parse_action(arguments: Vec<&str>) -> ParseResult<UfwAction> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `title`, `description`, and `ports` are never read
[INFO] [stdout]   --> src/application.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ApplicationEntry {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 13 |     pub(crate) name: String,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 14 |     pub(crate) title: String,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 15 |     pub(crate) description: String,
[INFO] [stdout]    |                ^^^^^^^^^^^
[INFO] [stdout] 16 |     pub(crate) ports: Vec<ParseResult<UfwPort>>,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApplicationEntry` 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 `filepath` and `entries` are never read
[INFO] [stdout]    --> src/application.rs:114:16
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub struct Application {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 114 |     pub(crate) filepath: PathBuf,
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 115 |     pub(crate) entries: Vec<ParseResult<ApplicationEntry>>,
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Application` 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 `addr`, `cidr`, `port`, and `protocol` are never read
[INFO] [stdout]   --> src/numbered.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct Address {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 93 |     addr: Option<IpAddr>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 94 |     cidr: Option<u8>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 95 |     port: Option<u16>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 96 |     protocol: Protocol,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Address` 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 `index`, `to`, `v6`, `action`, `device`, and `from` are never read
[INFO] [stdout]    --> src/numbered.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub struct Line {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 146 |     index: u16,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 147 |     to: Address,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 148 |     v6: bool,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 149 |     action: Element,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 150 |     device: Option<String>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 151 |     from: Address,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `block_after_times` is never read
[INFO] [stdout]  --> src/config.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Config {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 9 |     block_after_times: i32,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `AH`, `ESP`, `GRE`, `IPV6`, `IGMP`, and `ANY` are never constructed
[INFO] [stdout]   --> src/ufw.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum Protocol {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 20 |     AH,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 21 |     ESP,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 22 |     GRE,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 23 |     IPV6,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 24 |     IGMP,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 25 |     ANY,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Protocol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IpVersion` is never used
[INFO] [stdout]   --> src/ufw.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub enum IpVersion {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UfwAction` is never constructed
[INFO] [stdout]   --> src/ufw.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct UfwAction {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Address` is never constructed
[INFO] [stdout]   --> src/ufw.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Address {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RuleEntry` is never constructed
[INFO] [stdout]   --> src/ufw.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct RuleEntry {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `source_address_string` is never used
[INFO] [stdout]    --> src/ufw.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl RuleEntry {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 107 |     fn source_address_string(&self) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RuleDirection` is never used
[INFO] [stdout]    --> src/ufw.rs:126:10
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub enum RuleDirection {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ReportFormats` is never used
[INFO] [stdout]    --> src/ufw.rs:188:10
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub enum ReportFormats {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ufw` is never constructed
[INFO] [stdout]    --> src/ufw.rs:233:12
[INFO] [stdout]     |
[INFO] [stdout] 233 | pub struct Ufw {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_rule`, `delete_rule`, and `submit` are never used
[INFO] [stdout]    --> src/ufw.rs:241:12
[INFO] [stdout]     |
[INFO] [stdout] 240 | impl Ufw {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] 241 |     pub fn add_rule(&mut self, entry: RuleEntry) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 245 |     pub fn delete_rule(&mut self, entry_index: u16) -> Option<(RuleEntry, bool)> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn submit(self) -> io::Result<Vec<Output>> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `number`, `end_number`, and `protocols` are never read
[INFO] [stdout]    --> src/ufw.rs:269:16
[INFO] [stdout]     |
[INFO] [stdout] 268 | pub(crate) struct UfwPort {
[INFO] [stdout]     |                   ------- fields in this struct
[INFO] [stdout] 269 |     pub(crate) number: u16,
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] 270 |     pub(crate) end_number: Option<u16>,
[INFO] [stdout]     |                ^^^^^^^^^^
[INFO] [stdout] 271 |     pub(crate) protocols: Vec<ParseResult<Protocol>>,
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UfwPort` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LineNumberRuleEntry` is never constructed
[INFO] [stdout]    --> src/ufw.rs:280:8
[INFO] [stdout]     |
[INFO] [stdout] 280 | struct LineNumberRuleEntry {}
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LineNumberField` is never constructed
[INFO] [stdout]    --> src/ufw.rs:282:8
[INFO] [stdout]     |
[INFO] [stdout] 282 | struct LineNumberField {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse_action` is never used
[INFO] [stdout]    --> src/ufw.rs:300:8
[INFO] [stdout]     |
[INFO] [stdout] 287 | impl UfwCommand {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 300 |     fn parse_action(arguments: Vec<&str>) -> ParseResult<UfwAction> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `title`, `description`, and `ports` are never read
[INFO] [stdout]   --> src/application.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ApplicationEntry {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 13 |     pub(crate) name: String,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 14 |     pub(crate) title: String,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 15 |     pub(crate) description: String,
[INFO] [stdout]    |                ^^^^^^^^^^^
[INFO] [stdout] 16 |     pub(crate) ports: Vec<ParseResult<UfwPort>>,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApplicationEntry` 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 `filepath` and `entries` are never read
[INFO] [stdout]    --> src/application.rs:114:16
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub struct Application {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 114 |     pub(crate) filepath: PathBuf,
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 115 |     pub(crate) entries: Vec<ParseResult<ApplicationEntry>>,
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Application` 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 `addr`, `cidr`, `port`, and `protocol` are never read
[INFO] [stdout]   --> src/numbered.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct Address {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 93 |     addr: Option<IpAddr>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 94 |     cidr: Option<u8>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 95 |     port: Option<u16>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 96 |     protocol: Protocol,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Address` 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 `index`, `to`, `v6`, `action`, `device`, and `from` are never read
[INFO] [stdout]    --> src/numbered.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub struct Line {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 146 |     index: u16,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 147 |     to: Address,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 148 |     v6: bool,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 149 |     action: Element,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 150 |     device: Option<String>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 151 |     from: Address,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Line` 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 import: `parse`
[INFO] [stdout]  --> src/main.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ufw_auto_block::{parse, ParseResult};
[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 variable: `regex`
[INFO] [stdout]   --> src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let regex = Regex::new(r"\[\s*(\d+)](.*)").unwrap();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_regex`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parse`
[INFO] [stdout]  --> src/main.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ufw_auto_block::{parse, ParseResult};
[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 variable: `regex`
[INFO] [stdout]   --> src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let regex = Regex::new(r"\[\s*(\d+)](.*)").unwrap();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_regex`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.50s
[INFO] running `Command { std: "docker" "inspect" "2a9054698907d721e9465706413a6e3a81e14c1c562f2eeb711fa2a99be626bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a9054698907d721e9465706413a6e3a81e14c1c562f2eeb711fa2a99be626bf", kill_on_drop: false }`
[INFO] [stdout] 2a9054698907d721e9465706413a6e3a81e14c1c562f2eeb711fa2a99be626bf
