[INFO] fetching crate secretscan 0.2.2... [INFO] testing secretscan-0.2.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate secretscan 0.2.2 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate secretscan 0.2.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 875a6912225a505d2ced19eaf2aad42118eac564f6f18599f1c6b23d6c1bc320 [INFO] running `Command { std: "docker" "start" "-a" "875a6912225a505d2ced19eaf2aad42118eac564f6f18599f1c6b23d6c1bc320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "875a6912225a505d2ced19eaf2aad42118eac564f6f18599f1c6b23d6c1bc320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "875a6912225a505d2ced19eaf2aad42118eac564f6f18599f1c6b23d6c1bc320", kill_on_drop: false }` [INFO] [stdout] 875a6912225a505d2ced19eaf2aad42118eac564f6f18599f1c6b23d6c1bc320 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 737624dd4a77a54c0515fa2fc7fa694a6e8d940056b8f6b951d64d9549ac2e22 [INFO] running `Command { std: "docker" "start" "-a" "737624dd4a77a54c0515fa2fc7fa694a6e8d940056b8f6b951d64d9549ac2e22", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling console v0.15.11 [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 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-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [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 serde v1.0.219 [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 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 31.41s [INFO] running `Command { std: "docker" "inspect" "737624dd4a77a54c0515fa2fc7fa694a6e8d940056b8f6b951d64d9549ac2e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "737624dd4a77a54c0515fa2fc7fa694a6e8d940056b8f6b951d64d9549ac2e22", kill_on_drop: false }` [INFO] [stdout] 737624dd4a77a54c0515fa2fc7fa694a6e8d940056b8f6b951d64d9549ac2e22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2e87af1a71d5a4a1e69e84e8fb8202142578840e002a0d1275f19b433aad959 [INFO] running `Command { std: "docker" "start" "-a" "f2e87af1a71d5a4a1e69e84e8fb8202142578840e002a0d1275f19b433aad959", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [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 indexmap v2.10.0 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap_complete v4.5.55 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling inferno v0.12.3 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling opener v0.7.2 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [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: `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 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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 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] [stdout] For more information about this error, try `rustc --explain E0425`. [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] [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" "f2e87af1a71d5a4a1e69e84e8fb8202142578840e002a0d1275f19b433aad959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2e87af1a71d5a4a1e69e84e8fb8202142578840e002a0d1275f19b433aad959", kill_on_drop: false }` [INFO] [stdout] f2e87af1a71d5a4a1e69e84e8fb8202142578840e002a0d1275f19b433aad959