[INFO] cloning repository https://github.com/BuggyCorp/redflag
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BuggyCorp/redflag" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBuggyCorp%2Fredflag", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBuggyCorp%2Fredflag'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1891eaec4e52835283dc12ddaadc94b5d9cac138
[INFO] testing BuggyCorp/redflag against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBuggyCorp%2Fredflag" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/BuggyCorp/redflag
[INFO] finished tweaking git repo https://github.com/BuggyCorp/redflag
[INFO] tweaked toml for git repo https://github.com/BuggyCorp/redflag written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BuggyCorp/redflag on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BuggyCorp/redflag 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/psastras/sarif-rs`
[INFO] [stderr]     Updating git submodule `https://github.com/aaranxu/adidoks.git`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded schemafy_core v0.6.0
[INFO] [stderr]   Downloaded typed-builder v0.20.0
[INFO] [stderr]   Downloaded unicode-ident v1.0.15
[INFO] [stderr]   Downloaded schemafy_lib v0.6.0
[INFO] [stderr]   Downloaded typed-builder-macro v0.20.0
[INFO] [stderr]   Downloaded git2 v0.20.0
[INFO] [stderr]   Downloaded libssh2-sys v0.3.0
[INFO] [stderr]   Downloaded libz-sys v1.1.21
[INFO] [stderr]   Downloaded libgit2-sys v0.18.0+1.9.0
[INFO] [stderr]   Downloaded openssl-src v300.4.1+3.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f8994d6592e1fa3dae7e94f76d3f1121f76b939c74407b3087204516a286c33d
[INFO] running `Command { std: "docker" "start" "-a" "f8994d6592e1fa3dae7e94f76d3f1121f76b939c74407b3087204516a286c33d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8994d6592e1fa3dae7e94f76d3f1121f76b939c74407b3087204516a286c33d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8994d6592e1fa3dae7e94f76d3f1121f76b939c74407b3087204516a286c33d", kill_on_drop: false }`
[INFO] [stdout] f8994d6592e1fa3dae7e94f76d3f1121f76b939c74407b3087204516a286c33d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 679c1f695fddb22671115be34f1ebed79a5bc535ec951447d3959e2d73fd7434
[INFO] running `Command { std: "docker" "start" "-a" "679c1f695fddb22671115be34f1ebed79a5bc535ec951447d3959e2d73fd7434", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.15
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling serde_json v1.0.137
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling prettyplease v0.2.29
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]    Compiling log v0.4.25
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling uriparse v0.6.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling cc v1.2.10
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]    Compiling portable-atomic v1.11.0
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling clap_builder v4.5.27
[INFO] [stderr]    Compiling console v0.15.10
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling either v1.14.0
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling openssl-src v300.4.1+3.4.0
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling libz-sys v1.1.21
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling libgit2-sys v0.18.0+1.9.0
[INFO] [stderr]    Compiling tempfile v3.15.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling bstr v1.11.3
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling globset v0.4.15
[INFO] [stderr]    Compiling env_logger v0.11.6
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling ignore v0.4.23
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]    Compiling typed-builder-macro v0.20.0
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling clap_derive v4.5.24
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling typed-builder v0.20.0
[INFO] [stderr]    Compiling clap v4.5.27
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling schemafy_core v0.6.0
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling schemafy_lib v0.6.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling toml v0.7.8
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde-sarif v0.7.0 (https://github.com/psastras/sarif-rs#3be55d09)
[INFO] [stderr]    Compiling git2 v0.20.0
[INFO] [stderr]    Compiling redflag v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `SecretPattern`
[INFO] [stdout]  --> src/scanner.rs:2:64
[INFO] [stdout]   |
[INFO] [stdout] 2 |     config::{Config, EntropyConfig, ExclusionPolicy, Severity, SecretPattern},
[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: `ignore::overrides::OverrideBuilder`
[INFO] [stdout]  --> src/scanner.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ignore::overrides::OverrideBuilder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ignore::WalkBuilder`
[INFO] [stdout]  --> src/scanner.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ignore::WalkBuilder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EntropyConfig`, `GitConfig`, and `SecretPattern`
[INFO] [stdout]  --> src/git_scanner.rs:3:32
[INFO] [stdout]   |
[INFO] [stdout] 3 |     config::{Config, Severity, SecretPattern, GitConfig, EntropyConfig},
[INFO] [stdout]   |                                ^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `format_finding` is never used
[INFO] [stdout]   --> src/output.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl OutputHandler {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn format_finding(&self, finding: &Finding) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `should_scan_file` is never used
[INFO] [stdout]    --> src/scanner.rs:197:8
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl Scanner {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn should_scan_file(&self, path: &Path) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 41s
[INFO] running `Command { std: "docker" "inspect" "679c1f695fddb22671115be34f1ebed79a5bc535ec951447d3959e2d73fd7434", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "679c1f695fddb22671115be34f1ebed79a5bc535ec951447d3959e2d73fd7434", kill_on_drop: false }`
[INFO] [stdout] 679c1f695fddb22671115be34f1ebed79a5bc535ec951447d3959e2d73fd7434
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e4c7d92a58268cf357c099626a81b83367a95889775a0aa10d018deec8796eaf
[INFO] running `Command { std: "docker" "start" "-a" "e4c7d92a58268cf357c099626a81b83367a95889775a0aa10d018deec8796eaf", kill_on_drop: false }`
[INFO] [stderr]    Compiling redflag v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ignore::overrides::OverrideBuilder`
[INFO] [stdout]  --> src/scanner.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ignore::overrides::OverrideBuilder;
[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: `ignore::WalkBuilder`
[INFO] [stdout]  --> src/scanner.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ignore::WalkBuilder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_findings_summary` is never used
[INFO] [stdout]    --> src/output.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl OutputHandler {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn get_findings_summary(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `should_scan_file` is never used
[INFO] [stdout]    --> src/scanner.rs:197:8
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl Scanner {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn should_scan_file(&self, path: &Path) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.56s
[INFO] running `Command { std: "docker" "inspect" "e4c7d92a58268cf357c099626a81b83367a95889775a0aa10d018deec8796eaf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4c7d92a58268cf357c099626a81b83367a95889775a0aa10d018deec8796eaf", kill_on_drop: false }`
[INFO] [stdout] e4c7d92a58268cf357c099626a81b83367a95889775a0aa10d018deec8796eaf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ae4d09b9c585e66eb663889a3389b73b30b2982b9156eaea168d1d1839248501
[INFO] running `Command { std: "docker" "start" "-a" "ae4d09b9c585e66eb663889a3389b73b30b2982b9156eaea168d1d1839248501", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `ignore::overrides::OverrideBuilder`
[INFO] [stderr]  --> src/scanner.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use ignore::overrides::OverrideBuilder;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ignore::WalkBuilder`
[INFO] [stderr]  --> src/scanner.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use ignore::WalkBuilder;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_findings_summary` is never used
[INFO] [stderr]    --> src/output.rs:120:12
[INFO] [stderr]     |
[INFO] [stderr]  22 | impl OutputHandler {
[INFO] [stderr]     | ------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 120 |     pub fn get_findings_summary(&self) -> String {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `should_scan_file` is never used
[INFO] [stderr]    --> src/scanner.rs:197:8
[INFO] [stderr]     |
[INFO] [stderr]  56 | impl Scanner {
[INFO] [stderr]     | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 197 |     fn should_scan_file(&self, path: &Path) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `redflag` (bin "redflag" test) generated 4 warnings (run `cargo fix --bin "redflag" -p redflag --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/redflag-1fca326ba9e5277d)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] [CRITICAL] test.rs:42 - test-pattern - Test description
[INFO] [stdout] Snippet: test snippet
[INFO] [stdout] 
[INFO] [stdout] [CRITICAL] test.rs:42 - test-pattern - Test description
[INFO] [stdout] Snippet: test snippet
[INFO] [stdout] 
[INFO] [stdout] [HIGH    ] test.rs:42 - test-pattern - Test description
[INFO] [stdout] Snippet: test snippet
[INFO] [stdout] 
[INFO] [stdout] [MEDIUM  ] test.rs:42 - test-pattern - Test description
[INFO] [stdout] Snippet: test snippet
[INFO] [stdout] 
[INFO] [stdout] [LOW     ] test.rs:42 - test-pattern - Test description
[INFO] [stdout] Snippet: test snippet
[INFO] [stdout] 
[INFO] [stdout] test output::tests::test_findings_summary ... ok
[INFO] [stdout] test output::tests::test_json_output_format ... ok
[INFO] [stdout] test output::tests::test_severity_colors ... ok
[INFO] [stdout] test output::tests::test_severity_formatting ... ok
[INFO] [stdout] test output::tests::test_text_output_format ... ok
[INFO] [stdout] test scanner::tests::test_regex_pattern ... ok
[INFO] [stdout] test scanner::tests::test_file_scanning ... ok
[INFO] [stdout] test scanner::tests::test_entropy_calculation ... ok
[INFO] [stdout] test git_scanner::tests::test_find_secrets_in_history ... ok
[INFO] [stdout] test git_scanner::tests::test_date_filtering ... ok
[INFO] [stdout] test git_scanner::tests::test_cache_management ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- git_scanner::tests::test_cache_management stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'git_scanner::tests::test_cache_management' (18) panicked at src/git_scanner.rs:525:9:
[INFO] [stdout] assertion `left == right` failed: Cache should provide consistent results
[INFO] [stdout]   left: 2
[INFO] [stdout]  right: 3
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x618ef1b9fc4a - std[29689e6404d28ef9]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x618ef1b9fc4a - std[29689e6404d28ef9]::backtrace_rs::backtrace::trace_unsynchronized::<std[29689e6404d28ef9]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x618ef1b9fc4a - std[29689e6404d28ef9]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x618ef1b9fc4a - <<std[29689e6404d28ef9]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[e929cb53b82a81ca]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x618ef1bb7d8a - <core[e929cb53b82a81ca]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x618ef1bb7d8a - core[e929cb53b82a81ca]::fmt::write
[INFO] [stdout]    6:     0x618ef1ba57c2 - std[29689e6404d28ef9]::io::default_write_fmt::<alloc[9d7caffeb3b5d2c6]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x618ef1ba57c2 - <alloc[9d7caffeb3b5d2c6]::vec::Vec<u8> as std[29689e6404d28ef9]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x618ef1b7c30f - <std[29689e6404d28ef9]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x618ef1b7c30f - std[29689e6404d28ef9]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x618ef1b96df9 - std[29689e6404d28ef9]::panicking::default_hook
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x618ef142aabc - <alloc[9d7caffeb3b5d2c6]::boxed::Box<dyn for<'a, 'b> core[e929cb53b82a81ca]::ops::function::Fn<(&'a std[29689e6404d28ef9]::panic::PanicHookInfo<'b>,), Output = ()> + core[e929cb53b82a81ca]::marker::Send + core[e929cb53b82a81ca]::marker::Sync> as core[e929cb53b82a81ca]::ops::function::Fn<(&std[29689e6404d28ef9]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x618ef142aabc - test[a24b3028667022f7]::test_main_inner::<test[a24b3028667022f7]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x618ef1b97072 - <alloc[9d7caffeb3b5d2c6]::boxed::Box<dyn for<'a, 'b> core[e929cb53b82a81ca]::ops::function::Fn<(&'a std[29689e6404d28ef9]::panic::PanicHookInfo<'b>,), Output = ()> + core[e929cb53b82a81ca]::marker::Send + core[e929cb53b82a81ca]::marker::Sync> as core[e929cb53b82a81ca]::ops::function::Fn<(&std[29689e6404d28ef9]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x618ef1b97072 - std[29689e6404d28ef9]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x618ef1b7c3c8 - std[29689e6404d28ef9]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x618ef1b711e9 - std[29689e6404d28ef9]::sys::backtrace::__rust_end_short_backtrace::<std[29689e6404d28ef9]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x618ef1b7d17d - __rustc[3aed6af316653e63]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x618ef1bb85cc - core[e929cb53b82a81ca]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x618ef1bb84e3 - core[e929cb53b82a81ca]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panicking.rs:434:23
[INFO] [stdout]   20:     0x618ef1bb330d - core[e929cb53b82a81ca]::panicking::assert_failed::<usize, usize>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x618ef13b25be - redflag[2278ec0dffeb1c5c]::git_scanner::tests::test_cache_management
[INFO] [stdout]                                at /opt/rustwide/workdir/src/git_scanner.rs:525:9
[INFO] [stdout]   22:     0x618ef13a9287 - redflag[2278ec0dffeb1c5c]::git_scanner::tests::test_cache_management::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/git_scanner.rs:500:31
[INFO] [stdout]   23:     0x618ef13ea546 - <redflag[2278ec0dffeb1c5c]::git_scanner::tests::test_cache_management::{closure#0} as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x618ef141dd9b - <fn() -> core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x618ef141dd9b - test[a24b3028667022f7]::__rust_begin_short_backtrace::<core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>, fn() -> core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:724:18
[INFO] [stdout]   26:     0x618ef142b58b - test[a24b3028667022f7]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:747:74
[INFO] [stdout]   27:     0x618ef142b58b - <core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x618ef142b58b - std[29689e6404d28ef9]::panicking::catch_unwind::do_call::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}>, core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x618ef142b58b - std[29689e6404d28ef9]::panicking::catch_unwind::<core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>, core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x618ef142b58b - std[29689e6404d28ef9]::panic::catch_unwind::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}>, core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x618ef142b58b - test[a24b3028667022f7]::run_test_in_process
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:747:27
[INFO] [stdout]   32:     0x618ef142b58b - test[a24b3028667022f7]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:668:43
[INFO] [stdout]   33:     0x618ef1424ca4 - test[a24b3028667022f7]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:698:41
[INFO] [stdout]   34:     0x618ef1424ca4 - std[29689e6404d28ef9]::sys::backtrace::__rust_begin_short_backtrace::<test[a24b3028667022f7]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x618ef142e192 - std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked::<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   36:     0x618ef142e192 - <core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x618ef142e192 - std[29689e6404d28ef9]::panicking::catch_unwind::do_call::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x618ef142e192 - std[29689e6404d28ef9]::panicking::catch_unwind::<(), core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x618ef142e192 - std[29689e6404d28ef9]::panic::catch_unwind::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x618ef142e192 - std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked::<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   41:     0x618ef142e192 - <std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1} as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x618ef1b9efff - <alloc[9d7caffeb3b5d2c6]::boxed::Box<dyn core[e929cb53b82a81ca]::ops::function::FnOnce<(), Output = ()> + core[e929cb53b82a81ca]::marker::Send> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   43:     0x618ef1b9efff - <std[29689e6404d28ef9]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7f252d9e7aa4 - <unknown>
[INFO] [stdout]   45:     0x7f252da74a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     git_scanner::tests::test_cache_management
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 10 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.84s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin redflag`
[INFO] running `Command { std: "docker" "inspect" "ae4d09b9c585e66eb663889a3389b73b30b2982b9156eaea168d1d1839248501", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae4d09b9c585e66eb663889a3389b73b30b2982b9156eaea168d1d1839248501", kill_on_drop: false }`
[INFO] [stdout] ae4d09b9c585e66eb663889a3389b73b30b2982b9156eaea168d1d1839248501
