[INFO] fetching crate secretscan 0.2.2... [INFO] testing secretscan-0.2.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate secretscan 0.2.2 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate secretscan 0.2.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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 clap v4.5.42 [INFO] [stderr] Downloaded libredox v0.1.8 [INFO] [stderr] Downloaded range-collections v0.2.4 [INFO] [stderr] Downloaded lzxd v0.1.4 [INFO] [stderr] Downloaded cab v0.4.1 [INFO] [stderr] Downloaded elsa v1.11.2 [INFO] [stderr] Downloaded blondie v0.5.2 [INFO] [stderr] Downloaded pdb-addr2line v0.10.4 [INFO] [stderr] Downloaded symsrv v0.2.0 [INFO] [stderr] Downloaded clap_complete v4.5.55 [INFO] [stderr] Downloaded dbus v0.9.7 [INFO] [stderr] Downloaded inferno v0.12.3 [INFO] [stderr] Downloaded pdb v0.8.0 [INFO] [stderr] Downloaded str_stack v0.1.0 [INFO] [stderr] Downloaded rgb v0.8.52 [INFO] [stderr] Downloaded flamegraph v0.6.8 [INFO] [stderr] Downloaded tokio v1.47.0 [INFO] [stderr] Downloaded libdbus-sys v0.2.5 [INFO] [stderr] Downloaded clap_builder v4.5.42 [INFO] [stderr] Downloaded windows v0.44.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2e628b5c67ba17b4a63eebca810cd88e11f0596bf39f499102f5e8fd1ea7b78 [INFO] running `Command { std: "docker" "start" "-a" "e2e628b5c67ba17b4a63eebca810cd88e11f0596bf39f499102f5e8fd1ea7b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2e628b5c67ba17b4a63eebca810cd88e11f0596bf39f499102f5e8fd1ea7b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2e628b5c67ba17b4a63eebca810cd88e11f0596bf39f499102f5e8fd1ea7b78", kill_on_drop: false }` [INFO] [stdout] e2e628b5c67ba17b4a63eebca810cd88e11f0596bf39f499102f5e8fd1ea7b78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ade2015d5934d0c49683dec29da1242274a8a2e55a50ede9dd163d7fe04c88fc [INFO] running `Command { std: "docker" "start" "-a" "ade2015d5934d0c49683dec29da1242274a8a2e55a50ede9dd163d7fe04c88fc", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling regex v1.11.1 [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 ignore v0.4.23 [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 clap v4.5.42 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [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.58s [INFO] running `Command { std: "docker" "inspect" "ade2015d5934d0c49683dec29da1242274a8a2e55a50ede9dd163d7fe04c88fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ade2015d5934d0c49683dec29da1242274a8a2e55a50ede9dd163d7fe04c88fc", kill_on_drop: false }` [INFO] [stdout] ade2015d5934d0c49683dec29da1242274a8a2e55a50ede9dd163d7fe04c88fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98748291dcea38c6e8adab1f7550439f6dc5df549383c6037972b40cb29ab6f3 [INFO] running `Command { std: "docker" "start" "-a" "98748291dcea38c6e8adab1f7550439f6dc5df549383c6037972b40cb29ab6f3", 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 getrandom v0.3.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling str_stack v0.1.0 [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 shlex v1.3.0 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling inferno v0.12.3 [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-platform v0.1.9 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling secretscan v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling flamegraph v0.6.8 [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] 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] 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] 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] 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: 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] [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] running `Command { std: "docker" "inspect" "98748291dcea38c6e8adab1f7550439f6dc5df549383c6037972b40cb29ab6f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98748291dcea38c6e8adab1f7550439f6dc5df549383c6037972b40cb29ab6f3", kill_on_drop: false }` [INFO] [stdout] 98748291dcea38c6e8adab1f7550439f6dc5df549383c6037972b40cb29ab6f3