[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 master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 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-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kubewarden/env-variable-secrets-scanner-policy on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "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]     Updating git repository `https://github.com/newrelic/rusty-hog/`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded simple_logger v4.3.3
[INFO] [stderr]   Downloaded quote v1.0.43
[INFO] [stderr]   Downloaded num-conv v0.1.0
[INFO] [stderr]   Downloaded time-macros v0.2.24
[INFO] [stderr]   Downloaded getset v0.1.6
[INFO] [stderr]   Downloaded wapc-guest v1.2.0
[INFO] [stderr]   Downloaded encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]   Downloaded const_format_proc_macros v0.2.34
[INFO] [stderr]   Downloaded num v0.4.3
[INFO] [stderr]   Downloaded erased-serde v0.3.31
[INFO] [stderr]   Downloaded kubewarden-policy-sdk v0.15.0
[INFO] [stderr]   Downloaded simple-error v0.3.2
[INFO] [stderr]   Downloaded slog v2.8.2
[INFO] [stderr]   Downloaded oci-spec v0.8.4
[INFO] [stderr]   Downloaded encoding_index_tests v0.1.4
[INFO] [stderr]   Downloaded encoding-index-korean v1.20141219.5
[INFO] [stderr]   Downloaded encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]   Downloaded clap_builder v4.5.54
[INFO] [stderr]   Downloaded const_format v0.2.35
[INFO] [stderr]   Downloaded clap v4.5.54
[INFO] [stderr]   Downloaded encoding-index-japanese v1.20141219.5
[INFO] [stderr]   Downloaded time-core v0.1.6
[INFO] [stderr]   Downloaded k8s-openapi v0.26.1
[INFO] [stderr]   Downloaded time v0.3.44
[INFO] [stderr]   Downloaded encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]   Downloaded zmij v1.0.13
[INFO] [stderr]   Downloaded proc-macro2 v1.0.105
[INFO] [stderr]   Downloaded encoding v0.2.33
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b6eec7ec111b328224fee3d10a487e885b9296fb9e675785ec652537a0f25751
[INFO] running `Command { std: "docker" "start" "-a" "b6eec7ec111b328224fee3d10a487e885b9296fb9e675785ec652537a0f25751", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b6eec7ec111b328224fee3d10a487e885b9296fb9e675785ec652537a0f25751", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6eec7ec111b328224fee3d10a487e885b9296fb9e675785ec652537a0f25751", kill_on_drop: false }`
[INFO] [stdout] b6eec7ec111b328224fee3d10a487e885b9296fb9e675785ec652537a0f25751
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91a928e31f611d2a3ecfa88a9b586b7f3e0f27cd02d51074d075167f2fdbdc77
[INFO] running `Command { std: "docker" "start" "-a" "91a928e31f611d2a3ecfa88a9b586b7f3e0f27cd02d51074d075167f2fdbdc77", 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 fnv v1.0.7
[INFO] [stderr]    Compiling memchr v2.7.6
[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 time-core v0.1.6
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling slog v2.8.2
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling k8s-openapi v0.26.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling strum v0.27.2
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling clap_builder v4.5.54
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling simple-error v0.3.2
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[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 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 const_format v0.2.35
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling simple_logger v4.3.3
[INFO] [stderr]    Compiling clap v4.5.54
[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 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 getset v0.1.6
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[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_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling erased-serde v0.3.31
[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 idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[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 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 51.62s
[INFO] running `Command { std: "docker" "inspect" "91a928e31f611d2a3ecfa88a9b586b7f3e0f27cd02d51074d075167f2fdbdc77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91a928e31f611d2a3ecfa88a9b586b7f3e0f27cd02d51074d075167f2fdbdc77", kill_on_drop: false }`
[INFO] [stdout] 91a928e31f611d2a3ecfa88a9b586b7f3e0f27cd02d51074d075167f2fdbdc77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d143818f5cf534066443a1cc8c8e77a8a92936f7cf89a5616378f6650b7de377
[INFO] running `Command { std: "docker" "start" "-a" "d143818f5cf534066443a1cc8c8e77a8a92936f7cf89a5616378f6650b7de377", 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 3.81s
[INFO] running `Command { std: "docker" "inspect" "d143818f5cf534066443a1cc8c8e77a8a92936f7cf89a5616378f6650b7de377", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d143818f5cf534066443a1cc8c8e77a8a92936f7cf89a5616378f6650b7de377", kill_on_drop: false }`
[INFO] [stdout] d143818f5cf534066443a1cc8c8e77a8a92936f7cf89a5616378f6650b7de377
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 06c9c0b4b0cb438a4f824a5f46d6fadef000567d010e7b6afa11b099ef98bdd4
[INFO] running `Command { std: "docker" "start" "-a" "06c9c0b4b0cb438a4f824a5f46d6fadef000567d010e7b6afa11b099ef98bdd4", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[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_init_and_ephemeral_containers ... ok
[INFO] [stdout] test tests::reject_pod_with_secrets_base64 ... ok
[INFO] [stdout] test tests::accept_pod_creation_without_secrets ... ok
[INFO] [stdout] test tests::reject_pod_with_secrets ... 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" "06c9c0b4b0cb438a4f824a5f46d6fadef000567d010e7b6afa11b099ef98bdd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06c9c0b4b0cb438a4f824a5f46d6fadef000567d010e7b6afa11b099ef98bdd4", kill_on_drop: false }`
[INFO] [stdout] 06c9c0b4b0cb438a4f824a5f46d6fadef000567d010e7b6afa11b099ef98bdd4
