[INFO] fetching crate secretscan 0.2.2... [INFO] building secretscan-0.2.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate secretscan 0.2.2 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate secretscan 0.2.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate secretscan 0.2.2 [INFO] tweaked toml for crates.io crate secretscan 0.2.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate secretscan 0.2.2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate secretscan 0.2.2 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded str_stack v0.1.0 [INFO] [stderr] Downloaded normpath v1.3.0 [INFO] [stderr] Downloaded opener v0.7.2 [INFO] [stderr] Downloaded cargo_metadata v0.19.2 [INFO] [stderr] Downloaded clap_complete v4.5.55 [INFO] [stderr] Downloaded elsa v1.11.2 [INFO] [stderr] Downloaded range-collections v0.2.4 [INFO] [stderr] Downloaded dbus v0.9.7 [INFO] [stderr] Downloaded blondie v0.5.2 [INFO] [stderr] Downloaded maybe-owned v0.3.4 [INFO] [stderr] Downloaded pdb-addr2line v0.10.4 [INFO] [stderr] Downloaded inferno v0.12.3 [INFO] [stderr] Downloaded lzxd v0.1.4 [INFO] [stderr] Downloaded libredox v0.1.8 [INFO] [stderr] Downloaded flamegraph v0.6.8 [INFO] [stderr] Downloaded pdb v0.8.0 [INFO] [stderr] Downloaded inplace-vec-builder v0.1.1 [INFO] [stderr] Downloaded cab v0.4.1 [INFO] [stderr] Downloaded binary-merge v0.1.2 [INFO] [stderr] Downloaded symsrv v0.2.0 [INFO] [stderr] Downloaded libdbus-sys v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ec89541bf5b36f325eda538c45a9daa20c24c5f48ac0b6aaf06eaf61695ae1c [INFO] running `Command { std: "docker" "start" "-a" "2ec89541bf5b36f325eda538c45a9daa20c24c5f48ac0b6aaf06eaf61695ae1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ec89541bf5b36f325eda538c45a9daa20c24c5f48ac0b6aaf06eaf61695ae1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec89541bf5b36f325eda538c45a9daa20c24c5f48ac0b6aaf06eaf61695ae1c", kill_on_drop: false }` [INFO] [stdout] 2ec89541bf5b36f325eda538c45a9daa20c24c5f48ac0b6aaf06eaf61695ae1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2db6b7094074a21714f107d50c37f45325f5f4f9b5da587ec26eb550d760709a [INFO] running `Command { std: "docker" "start" "-a" "2db6b7094074a21714f107d50c37f45325f5f4f9b5da587ec26eb550d760709a", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling secretscan v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.73s [INFO] running `Command { std: "docker" "inspect" "2db6b7094074a21714f107d50c37f45325f5f4f9b5da587ec26eb550d760709a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2db6b7094074a21714f107d50c37f45325f5f4f9b5da587ec26eb550d760709a", kill_on_drop: false }` [INFO] [stdout] 2db6b7094074a21714f107d50c37f45325f5f4f9b5da587ec26eb550d760709a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cd50c8dd5b8f832e18b9ddcfbcd438007ed6c4ed6eba792c1d5c53879be6518 [INFO] running `Command { std: "docker" "start" "-a" "6cd50c8dd5b8f832e18b9ddcfbcd438007ed6c4ed6eba792c1d5c53879be6518", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling clap_complete v4.5.55 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling inferno v0.12.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling opener v0.7.2 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling secretscan v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling flamegraph v0.6.8 [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/performance_benchmark_test.rs:253:61 [INFO] [stdout] | [INFO] [stdout] 253 | ("few_secrets", create_file_with_few_secrets as fn(&Path)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_all_patterns` [INFO] [stdout] --> tests/aws_key_validation_test.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use secretscan::{Scanner, get_all_patterns}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/performance_benchmark_test.rs:254:63 [INFO] [stdout] | [INFO] [stdout] 254 | ("many_secrets", create_file_with_many_secrets as fn(&Path)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/performance_benchmark_test.rs:255:59 [INFO] [stdout] | [INFO] [stdout] 255 | ("no_secrets", create_file_with_no_secrets as fn(&Path)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/performance_benchmark_test.rs:256:71 [INFO] [stdout] | [INFO] [stdout] 256 | ("large_no_secrets", create_large_file_with_no_secrets as fn(&Path)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/pattern_consistency_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `secretscan` (test "performance_benchmark_test") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `should_match` [INFO] [stdout] --> tests/aws_key_validation_test.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | for (i, (key, should_match, description)) in test_cases.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_match` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> tests/pattern_consistency_test.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let scanner = Scanner::new().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> tests/pattern_consistency_test.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | drop(result); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Option>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 38 - drop(result); [INFO] [stdout] 38 + let _ = result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6cd50c8dd5b8f832e18b9ddcfbcd438007ed6c4ed6eba792c1d5c53879be6518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cd50c8dd5b8f832e18b9ddcfbcd438007ed6c4ed6eba792c1d5c53879be6518", kill_on_drop: false }` [INFO] [stdout] 6cd50c8dd5b8f832e18b9ddcfbcd438007ed6c4ed6eba792c1d5c53879be6518