[INFO] cloning repository https://github.com/kubewarden/env-variable-secrets-scanner-policy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kubewarden/env-variable-secrets-scanner-policy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkubewarden%2Fenv-variable-secrets-scanner-policy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkubewarden%2Fenv-variable-secrets-scanner-policy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e02d1fc6c86a2781fd39a9a861dab28466a5dacb [INFO] testing kubewarden/env-variable-secrets-scanner-policy against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkubewarden%2Fenv-variable-secrets-scanner-policy" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kubewarden/env-variable-secrets-scanner-policy [INFO] finished tweaking git repo https://github.com/kubewarden/env-variable-secrets-scanner-policy [INFO] tweaked toml for git repo https://github.com/kubewarden/env-variable-secrets-scanner-policy written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kubewarden/env-variable-secrets-scanner-policy on toolchain 33835004928d3bf65db4d4712e1330766263b0bd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kubewarden/env-variable-secrets-scanner-policy 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1b934b4008a94baca7285aa943aff6d75913018030cacecfe341b190ce4a2da [INFO] running `Command { std: "docker" "start" "-a" "b1b934b4008a94baca7285aa943aff6d75913018030cacecfe341b190ce4a2da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1b934b4008a94baca7285aa943aff6d75913018030cacecfe341b190ce4a2da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1b934b4008a94baca7285aa943aff6d75913018030cacecfe341b190ce4a2da", kill_on_drop: false }` [INFO] [stdout] b1b934b4008a94baca7285aa943aff6d75913018030cacecfe341b190ce4a2da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0190368f0cd9365d05073e9fffaac92235f34170fbc621d26ba3274d0ecac31d [INFO] running `Command { std: "docker" "start" "-a" "0190368f0cd9365d05073e9fffaac92235f34170fbc621d26ba3274d0ecac31d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling zmij v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling slog v2.8.2 [INFO] [stderr] Compiling k8s-openapi v0.26.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling simple-error v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling wapc-guest v1.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling simple_logger v4.3.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling rusty_hog_scanner v0.1.0 (https://github.com/newrelic/rusty-hog/?rev=d65f94bd6b18324b089e9b1dcb63e9a5cc00307e#d65f94bd) [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling oci-spec v0.8.4 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling kubewarden-policy-sdk v0.15.0 [INFO] [stderr] Compiling env-variable-secrets-scanner-policy v1.0.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.88s [INFO] running `Command { std: "docker" "inspect" "0190368f0cd9365d05073e9fffaac92235f34170fbc621d26ba3274d0ecac31d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0190368f0cd9365d05073e9fffaac92235f34170fbc621d26ba3274d0ecac31d", kill_on_drop: false }` [INFO] [stdout] 0190368f0cd9365d05073e9fffaac92235f34170fbc621d26ba3274d0ecac31d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cb6766db52e3876eff2f668397326a4246d25e273cc6f837b85259381339894 [INFO] running `Command { std: "docker" "start" "-a" "3cb6766db52e3876eff2f668397326a4246d25e273cc6f837b85259381339894", kill_on_drop: false }` [INFO] [stderr] Compiling env-variable-secrets-scanner-policy v1.0.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.42s [INFO] running `Command { std: "docker" "inspect" "3cb6766db52e3876eff2f668397326a4246d25e273cc6f837b85259381339894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb6766db52e3876eff2f668397326a4246d25e273cc6f837b85259381339894", kill_on_drop: false }` [INFO] [stdout] 3cb6766db52e3876eff2f668397326a4246d25e273cc6f837b85259381339894 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6eb6fd04ec87d1794827bc7896cdae86ff3d24889683010e08b3d64ed4a48c1f [INFO] running `Command { std: "docker" "start" "-a" "6eb6fd04ec87d1794827bc7896cdae86ff3d24889683010e08b3d64ed4a48c1f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/env_variable_secrets_scanner_policy-66bf51933814f283) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test settings::tests::validate_settings ... ok [INFO] [stdout] test tests::reject_pod_with_secrets ... ok [INFO] [stdout] test tests::accept_pod_creation_without_secrets ... ok [INFO] [stdout] test tests::reject_pod_with_secrets_init_and_ephemeral_containers ... ok [INFO] [stdout] test tests::reject_pod_with_secrets_base64 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6eb6fd04ec87d1794827bc7896cdae86ff3d24889683010e08b3d64ed4a48c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eb6fd04ec87d1794827bc7896cdae86ff3d24889683010e08b3d64ed4a48c1f", kill_on_drop: false }` [INFO] [stdout] 6eb6fd04ec87d1794827bc7896cdae86ff3d24889683010e08b3d64ed4a48c1f