[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] checking BuggyCorp/redflag against master#19f42cb9bb65555e7d95dab7d17573ae6c5d634c for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBuggyCorp%2Fredflag" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BuggyCorp/redflag on toolchain 19f42cb9bb65555e7d95dab7d17573ae6c5d634c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "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] Downloading crates ... [INFO] [stderr] Downloaded typed-builder v0.20.0 [INFO] [stderr] Downloaded schemafy_core v0.6.0 [INFO] [stderr] Downloaded typed-builder-macro v0.20.0 [INFO] [stderr] Downloaded clap v4.5.27 [INFO] [stderr] Downloaded schemafy_lib v0.6.0 [INFO] [stderr] Downloaded clap_builder v4.5.27 [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e75e1bf7a72427a802ecd227a0a97e55eb679e952cfa75e8b9bee9189eb41d1 [INFO] running `Command { std: "docker" "start" "-a" "9e75e1bf7a72427a802ecd227a0a97e55eb679e952cfa75e8b9bee9189eb41d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e75e1bf7a72427a802ecd227a0a97e55eb679e952cfa75e8b9bee9189eb41d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e75e1bf7a72427a802ecd227a0a97e55eb679e952cfa75e8b9bee9189eb41d1", kill_on_drop: false }` [INFO] [stdout] 9e75e1bf7a72427a802ecd227a0a97e55eb679e952cfa75e8b9bee9189eb41d1 [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 187b246c27c605f57992ad492f7e25df04b6aabf8b6db56cfcc3ac6f3d7f5397 [INFO] running `Command { std: "docker" "start" "-a" "187b246c27c605f57992ad492f7e25df04b6aabf8b6db56cfcc3ac6f3d7f5397", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking console v0.15.10 [INFO] [stderr] Checking clap_builder v4.5.27 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking either v1.14.0 [INFO] [stderr] Compiling openssl-src v300.4.1+3.4.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.2 [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] Checking regex v1.11.1 [INFO] [stderr] Checking bstr v1.11.3 [INFO] [stderr] Checking tempfile v3.15.0 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking typed-builder v0.20.0 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking clap v4.5.27 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling schemafy_core v0.6.0 [INFO] [stderr] Compiling schemafy_lib v0.6.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Compiling serde-sarif v0.7.0 (https://github.com/psastras/sarif-rs#3be55d09) [INFO] [stderr] Checking git2 v0.20.0 [INFO] [stderr] Checking 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)]` 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: 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)]` 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 `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)]` 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] [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)]` 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 12s [INFO] running `Command { std: "docker" "inspect" "187b246c27c605f57992ad492f7e25df04b6aabf8b6db56cfcc3ac6f3d7f5397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "187b246c27c605f57992ad492f7e25df04b6aabf8b6db56cfcc3ac6f3d7f5397", kill_on_drop: false }` [INFO] [stdout] 187b246c27c605f57992ad492f7e25df04b6aabf8b6db56cfcc3ac6f3d7f5397