[INFO] cloning repository https://github.com/solhosty/secretfence
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/solhosty/secretfence" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolhosty%2Fsecretfence", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolhosty%2Fsecretfence'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e6fd7ff5402cf6533d86b9e1b768519644f8487
[INFO] checking solhosty/secretfence against be3da1e8c043bb6f1f335463d3b1335cdf50b03c for pr-162597
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolhosty%2Fsecretfence" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/solhosty/secretfence
[INFO] finished tweaking git repo https://github.com/solhosty/secretfence
[INFO] tweaked toml for git repo https://github.com/solhosty/secretfence written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/solhosty/secretfence on toolchain be3da1e8c043bb6f1f335463d3b1335cdf50b03c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+be3da1e8c043bb6f1f335463d3b1335cdf50b03c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/solhosty/secretfence 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" "+be3da1e8c043bb6f1f335463d3b1335cdf50b03c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustls-webpki v0.103.12
[INFO] [stderr]   Downloaded rustls v0.23.38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0f65149d888668398570994bc756b4149d42f3fa32637f49c26a9316a0b6cc77
[INFO] running `Command { std: "docker" "start" "0f65149d888668398570994bc756b4149d42f3fa32637f49c26a9316a0b6cc77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f65149d888668398570994bc756b4149d42f3fa32637f49c26a9316a0b6cc77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0f65149d888668398570994bc756b4149d42f3fa32637f49c26a9316a0b6cc77" "/opt/rustwide/cargo-home/bin/cargo" "+be3da1e8c043bb6f1f335463d3b1335cdf50b03c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f65149d888668398570994bc756b4149d42f3fa32637f49c26a9316a0b6cc77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0f65149d888668398570994bc756b4149d42f3fa32637f49c26a9316a0b6cc77" "/opt/rustwide/cargo-home/bin/cargo" "+be3da1e8c043bb6f1f335463d3b1335cdf50b03c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking simd-adler32 v0.3.9
[INFO] [stderr]    Compiling rustls v0.23.38
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]    Compiling assert_cmd v2.2.1
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking glob v0.3.3
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking webpki-roots v1.0.7
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking ureq-proto v0.6.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking bstr v1.12.1
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking predicates v3.1.4
[INFO] [stderr]     Checking rustls-webpki v0.103.12
[INFO] [stderr]     Checking globset v0.4.18
[INFO] [stderr]     Checking ignore v0.4.25
[INFO] [stderr]     Checking ureq v3.3.0
[INFO] [stderr]     Checking secretfence v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `VerifyResult` and `VerifyStatus`
[INFO] [stdout]  --> src/verify/mod.rs:5:40
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use validators::{validate_secrets, VerifyResult, VerifyStatus};
[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: `VerifyResult` and `VerifyStatus`
[INFO] [stdout]  --> src/verify/mod.rs:5:40
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use validators::{validate_secrets, VerifyResult, VerifyStatus};
[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: `deny_paths`
[INFO] [stdout]  --> src/sandbox/linux.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     deny_paths: &[String],
[INFO] [stdout]   |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deny_paths`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deny_paths`
[INFO] [stdout]  --> src/sandbox/linux.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     deny_paths: &[String],
[INFO] [stdout]   |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deny_paths`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `allow` and `custom` are never read
[INFO] [stdout]   --> src/config.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct RulesConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub allow: Option<AllowConfig>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 23 |     #[serde(default)]
[INFO] [stdout] 24 |     pub custom: Vec<CustomRule>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RulesConfig` 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: field `paths` is never read
[INFO] [stdout]   --> src/config.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct AllowConfig {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 29 |     #[serde(default)]
[INFO] [stdout] 30 |     pub paths: Vec<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AllowConfig` 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 `id`, `description`, and `regex` are never read
[INFO] [stdout]   --> src/config.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct CustomRule {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 35 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 36 |     pub description: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 37 |     pub regex: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CustomRule` 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 `matched_text` is never read
[INFO] [stdout]   --> src/rules/engine.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct ContentMatch {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub matched_text: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContentMatch` 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: methods `path_rules` and `content_rules` are never used
[INFO] [stdout]    --> src/rules/engine.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout]  86 | impl RuleEngine {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn path_rules(&self) -> &[CompiledPathRule] {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 |     pub fn content_rules(&self) -> &[CompiledContentRule] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_installed` is never used
[INFO] [stdout]   --> src/scan/generators/mod.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait IgnoreGenerator {
[INFO] [stdout]    |           --------------- method in this trait
[INFO] [stdout] 12 |     fn tool_name(&self) -> &str;
[INFO] [stdout] 13 |     fn is_installed(&self, project_dir: &Path) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tool_name` is never read
[INFO] [stdout]   --> src/scan/generators/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct GenerateResult {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 18 |     pub tool_name: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `allow` and `custom` are never read
[INFO] [stdout]   --> src/config.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct RulesConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub allow: Option<AllowConfig>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 23 |     #[serde(default)]
[INFO] [stdout] 24 |     pub custom: Vec<CustomRule>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RulesConfig` 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: field `paths` is never read
[INFO] [stdout]   --> src/config.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct AllowConfig {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 29 |     #[serde(default)]
[INFO] [stdout] 30 |     pub paths: Vec<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AllowConfig` 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 `id`, `description`, and `regex` are never read
[INFO] [stdout]   --> src/config.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct CustomRule {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 35 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 36 |     pub description: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 37 |     pub regex: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CustomRule` 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 `matched_text` is never read
[INFO] [stdout]   --> src/rules/engine.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct ContentMatch {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub matched_text: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContentMatch` 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: methods `path_rules` and `content_rules` are never used
[INFO] [stdout]    --> src/rules/engine.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout]  86 | impl RuleEngine {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn path_rules(&self) -> &[CompiledPathRule] {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 |     pub fn content_rules(&self) -> &[CompiledContentRule] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_installed` is never used
[INFO] [stdout]   --> src/scan/generators/mod.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait IgnoreGenerator {
[INFO] [stdout]    |           --------------- method in this trait
[INFO] [stdout] 12 |     fn tool_name(&self) -> &str;
[INFO] [stdout] 13 |     fn is_installed(&self, project_dir: &Path) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tool_name` is never read
[INFO] [stdout]   --> src/scan/generators/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct GenerateResult {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 18 |     pub tool_name: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.36s
[INFO] running `Command { std: "docker" "inspect" "0f65149d888668398570994bc756b4149d42f3fa32637f49c26a9316a0b6cc77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f65149d888668398570994bc756b4149d42f3fa32637f49c26a9316a0b6cc77", kill_on_drop: false }`
[INFO] [stdout] 0f65149d888668398570994bc756b4149d42f3fa32637f49c26a9316a0b6cc77
