[INFO] cloning repository https://github.com/mahmudsudo/WebGuard
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahmudsudo/WebGuard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahmudsudo%2FWebGuard", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahmudsudo%2FWebGuard'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 646ad26fc8ed551bc6ad58a0e7053d312eb260ac
[INFO] checking mahmudsudo/WebGuard against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahmudsudo%2FWebGuard" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mahmudsudo/WebGuard
[INFO] finished tweaking git repo https://github.com/mahmudsudo/WebGuard
[INFO] tweaked toml for git repo https://github.com/mahmudsudo/WebGuard written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mahmudsudo/WebGuard on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mahmudsudo/WebGuard 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde v1.0.175
[INFO] [stderr]   Downloaded os_str_bytes v6.5.1
[INFO] [stderr]   Downloaded serde_derive v1.0.175
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e3b357f2a460136c28af926b357a674cacae2cbe770a89ab4a195e3dccc6abcc
[INFO] running `Command { std: "docker" "start" "-a" "e3b357f2a460136c28af926b357a674cacae2cbe770a89ab4a195e3dccc6abcc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e3b357f2a460136c28af926b357a674cacae2cbe770a89ab4a195e3dccc6abcc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3b357f2a460136c28af926b357a674cacae2cbe770a89ab4a195e3dccc6abcc", kill_on_drop: false }`
[INFO] [stdout] e3b357f2a460136c28af926b357a674cacae2cbe770a89ab4a195e3dccc6abcc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d4a5c0e54b86118971e968e59796649e4a1d1eb0bb170a12b5dc0157ba9dbe57
[INFO] running `Command { std: "docker" "start" "-a" "d4a5c0e54b86118971e968e59796649e4a1d1eb0bb170a12b5dc0157ba9dbe57", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.29.1
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking parking_lot_core v0.9.8
[INFO] [stderr]    Compiling syn v2.0.27
[INFO] [stderr]    Compiling rustls v0.21.5
[INFO] [stderr]    Compiling serde v1.0.175
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling serde_derive v1.0.175
[INFO] [stderr]    Compiling async-trait v0.1.72
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking url v2.4.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking aho-corasick v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.103
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]     Checking ipnet v2.8.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking data-encoding v2.4.0
[INFO] [stderr]     Checking regex-automata v0.3.4
[INFO] [stderr]     Checking os_str_bytes v6.5.1
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking resolv-conf v0.7.0
[INFO] [stderr]     Checking encoding_rs v0.8.32
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking textwrap v0.16.0
[INFO] [stderr]     Checking anyhow v1.0.72
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]    Compiling enum-as-inner v0.4.0
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]     Checking rustls-webpki v0.101.1
[INFO] [stderr]     Checking webpki v0.22.0
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling thiserror-impl v1.0.44
[INFO] [stderr]     Checking regex v1.9.1
[INFO] [stderr]     Checking webpki-roots v0.22.6
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking env_logger v0.9.3
[INFO] [stderr]     Checking futures-util v0.3.28
[INFO] [stderr]     Checking thiserror v1.0.44
[INFO] [stderr]     Checking futures-executor v0.3.28
[INFO] [stderr]     Checking futures v0.3.28
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking trust-dns-proto v0.21.2
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking h2 v0.3.20
[INFO] [stderr]     Checking trust-dns-resolver v0.21.2
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking hyper-rustls v0.24.1
[INFO] [stderr]     Checking reqwest v0.11.18
[INFO] [stderr]     Checking BHS v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `findings` is never read
[INFO] [stdout]   --> src/modules/mod.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Port {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub findings: Vec<HttpFinding>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Port` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 |     DsStoreFileDisclosure(String),
[INFO] [stdout]    |     --------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 76 -     DsStoreFileDisclosure(String),
[INFO] [stdout] 76 +     DsStoreFileDisclosure(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:77:26
[INFO] [stdout]    |
[INFO] [stdout] 77 |     DotEnvFileDisclosure(String),
[INFO] [stdout]    |     -------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 77 -     DotEnvFileDisclosure(String),
[INFO] [stdout] 77 +     DotEnvFileDisclosure(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:78:32
[INFO] [stdout]    |
[INFO] [stdout] 78 |     DirectoryListingDisclosure(String),
[INFO] [stdout]    |     -------------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 78 -     DirectoryListingDisclosure(String),
[INFO] [stdout] 78 +     DirectoryListingDisclosure(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:79:43
[INFO] [stdout]    |
[INFO] [stdout] 79 |     TraefikDashboardUnauthenticatedAccess(String),
[INFO] [stdout]    |     ------------------------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 79 -     TraefikDashboardUnauthenticatedAccess(String),
[INFO] [stdout] 79 +     TraefikDashboardUnauthenticatedAccess(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:80:46
[INFO] [stdout]    |
[INFO] [stdout] 80 |     PrometheusDashboardUnauthenticatedAccess(String),
[INFO] [stdout]    |     ---------------------------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 80 -     PrometheusDashboardUnauthenticatedAccess(String),
[INFO] [stdout] 80 +     PrometheusDashboardUnauthenticatedAccess(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:81:33
[INFO] [stdout]    |
[INFO] [stdout] 81 |     KibanaUnauthenticatedAccess(String),
[INFO] [stdout]    |     --------------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 81 -     KibanaUnauthenticatedAccess(String),
[INFO] [stdout] 81 +     KibanaUnauthenticatedAccess(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 82 |     GitlabOpenRegistrations(String),
[INFO] [stdout]    |     ----------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 82 -     GitlabOpenRegistrations(String),
[INFO] [stdout] 82 +     GitlabOpenRegistrations(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:83:23
[INFO] [stdout]    |
[INFO] [stdout] 83 |     GitHeadDisclosure(String),
[INFO] [stdout]    |     ----------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 83 -     GitHeadDisclosure(String),
[INFO] [stdout] 83 +     GitHeadDisclosure(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:84:28
[INFO] [stdout]    |
[INFO] [stdout] 84 |     GitDirectoryDisclosure(String),
[INFO] [stdout]    |     ---------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 84 -     GitDirectoryDisclosure(String),
[INFO] [stdout] 84 +     GitDirectoryDisclosure(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:85:25
[INFO] [stdout]    |
[INFO] [stdout] 85 |     GitConfigDisclosure(String),
[INFO] [stdout]    |     ------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 85 -     GitConfigDisclosure(String),
[INFO] [stdout] 85 +     GitConfigDisclosure(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:86:31
[INFO] [stdout]    |
[INFO] [stdout] 86 |     EtcdUnauthenticatedAccess(String),
[INFO] [stdout]    |     ------------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 86 -     EtcdUnauthenticatedAccess(String),
[INFO] [stdout] 86 +     EtcdUnauthenticatedAccess(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout] 87 |     Cve2017_9506(String),
[INFO] [stdout]    |     ------------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 87 -     Cve2017_9506(String),
[INFO] [stdout] 87 +     Cve2017_9506(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:88:18
[INFO] [stdout]    |
[INFO] [stdout] 88 |     Cve2018_7600(String),
[INFO] [stdout]    |     ------------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 88 -     Cve2018_7600(String),
[INFO] [stdout] 88 +     Cve2018_7600(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:89:40
[INFO] [stdout]    |
[INFO] [stdout] 89 |     ElasticsearchUnauthenticatedAccess(String),
[INFO] [stdout]    |     ---------------------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 89 -     ElasticsearchUnauthenticatedAccess(String),
[INFO] [stdout] 89 +     ElasticsearchUnauthenticatedAccess(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/cli.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 | ...                   file.write_all(b"finding");
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 133 |                             let _ = file.write_all(b"finding");
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/modules/http/cve_2018_7600.rs:49:39
[INFO] [stdout]    |
[INFO] [stdout] 49 |             ("name[#markup]", &(*token.clone())),
[INFO] [stdout]    |                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `findings` is never read
[INFO] [stdout]   --> src/modules/mod.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Port {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub findings: Vec<HttpFinding>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Port` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 |     DsStoreFileDisclosure(String),
[INFO] [stdout]    |     --------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 76 -     DsStoreFileDisclosure(String),
[INFO] [stdout] 76 +     DsStoreFileDisclosure(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:77:26
[INFO] [stdout]    |
[INFO] [stdout] 77 |     DotEnvFileDisclosure(String),
[INFO] [stdout]    |     -------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 77 -     DotEnvFileDisclosure(String),
[INFO] [stdout] 77 +     DotEnvFileDisclosure(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:78:32
[INFO] [stdout]    |
[INFO] [stdout] 78 |     DirectoryListingDisclosure(String),
[INFO] [stdout]    |     -------------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 78 -     DirectoryListingDisclosure(String),
[INFO] [stdout] 78 +     DirectoryListingDisclosure(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:79:43
[INFO] [stdout]    |
[INFO] [stdout] 79 |     TraefikDashboardUnauthenticatedAccess(String),
[INFO] [stdout]    |     ------------------------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 79 -     TraefikDashboardUnauthenticatedAccess(String),
[INFO] [stdout] 79 +     TraefikDashboardUnauthenticatedAccess(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:80:46
[INFO] [stdout]    |
[INFO] [stdout] 80 |     PrometheusDashboardUnauthenticatedAccess(String),
[INFO] [stdout]    |     ---------------------------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 80 -     PrometheusDashboardUnauthenticatedAccess(String),
[INFO] [stdout] 80 +     PrometheusDashboardUnauthenticatedAccess(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:81:33
[INFO] [stdout]    |
[INFO] [stdout] 81 |     KibanaUnauthenticatedAccess(String),
[INFO] [stdout]    |     --------------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 81 -     KibanaUnauthenticatedAccess(String),
[INFO] [stdout] 81 +     KibanaUnauthenticatedAccess(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 82 |     GitlabOpenRegistrations(String),
[INFO] [stdout]    |     ----------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 82 -     GitlabOpenRegistrations(String),
[INFO] [stdout] 82 +     GitlabOpenRegistrations(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:83:23
[INFO] [stdout]    |
[INFO] [stdout] 83 |     GitHeadDisclosure(String),
[INFO] [stdout]    |     ----------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 83 -     GitHeadDisclosure(String),
[INFO] [stdout] 83 +     GitHeadDisclosure(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:84:28
[INFO] [stdout]    |
[INFO] [stdout] 84 |     GitDirectoryDisclosure(String),
[INFO] [stdout]    |     ---------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 84 -     GitDirectoryDisclosure(String),
[INFO] [stdout] 84 +     GitDirectoryDisclosure(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:85:25
[INFO] [stdout]    |
[INFO] [stdout] 85 |     GitConfigDisclosure(String),
[INFO] [stdout]    |     ------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 85 -     GitConfigDisclosure(String),
[INFO] [stdout] 85 +     GitConfigDisclosure(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:86:31
[INFO] [stdout]    |
[INFO] [stdout] 86 |     EtcdUnauthenticatedAccess(String),
[INFO] [stdout]    |     ------------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 86 -     EtcdUnauthenticatedAccess(String),
[INFO] [stdout] 86 +     EtcdUnauthenticatedAccess(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout] 87 |     Cve2017_9506(String),
[INFO] [stdout]    |     ------------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 87 -     Cve2017_9506(String),
[INFO] [stdout] 87 +     Cve2017_9506(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:88:18
[INFO] [stdout]    |
[INFO] [stdout] 88 |     Cve2018_7600(String),
[INFO] [stdout]    |     ------------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 88 -     Cve2018_7600(String),
[INFO] [stdout] 88 +     Cve2018_7600(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/modules/mod.rs:89:40
[INFO] [stdout]    |
[INFO] [stdout] 89 |     ElasticsearchUnauthenticatedAccess(String),
[INFO] [stdout]    |     ---------------------------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpFinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 89 -     ElasticsearchUnauthenticatedAccess(String),
[INFO] [stdout] 89 +     ElasticsearchUnauthenticatedAccess(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/cli.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 | ...                   file.write_all(b"finding");
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 133 |                             let _ = file.write_all(b"finding");
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/modules/http/cve_2018_7600.rs:49:39
[INFO] [stdout]    |
[INFO] [stdout] 49 |             ("name[#markup]", &(*token.clone())),
[INFO] [stdout]    |                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.48s
[INFO] running `Command { std: "docker" "inspect" "d4a5c0e54b86118971e968e59796649e4a1d1eb0bb170a12b5dc0157ba9dbe57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4a5c0e54b86118971e968e59796649e4a1d1eb0bb170a12b5dc0157ba9dbe57", kill_on_drop: false }`
[INFO] [stdout] d4a5c0e54b86118971e968e59796649e4a1d1eb0bb170a12b5dc0157ba9dbe57
