[INFO] cloning repository https://github.com/kubewarden/volumeMounts-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/volumeMounts-policy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkubewarden%2FvolumeMounts-policy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkubewarden%2FvolumeMounts-policy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a99b11534eee2f9c04981033a8a49829c9f6577 [INFO] testing kubewarden/volumeMounts-policy against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkubewarden%2FvolumeMounts-policy" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kubewarden/volumeMounts-policy [INFO] finished tweaking git repo https://github.com/kubewarden/volumeMounts-policy [INFO] tweaked toml for git repo https://github.com/kubewarden/volumeMounts-policy written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kubewarden/volumeMounts-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/volumeMounts-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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded erased-serde v0.3.31 [INFO] [stderr] Downloaded slog v2.8.2 [INFO] [stderr] Downloaded kubewarden-policy-sdk v0.15.0 [INFO] [stderr] Downloaded wapc-guest v1.2.0 [INFO] [stderr] Downloaded getset v0.1.6 [INFO] [stderr] Downloaded derive_builder_macro v0.20.2 [INFO] [stderr] Downloaded num v0.4.3 [INFO] [stderr] Downloaded strum_macros v0.27.2 [INFO] [stderr] Downloaded const_format v0.2.35 [INFO] [stderr] Downloaded oci-spec v0.8.3 [INFO] [stderr] Downloaded derive_builder v0.20.2 [INFO] [stderr] Downloaded const_format_proc_macros v0.2.34 [INFO] [stderr] Downloaded k8s-openapi v0.26.0 [INFO] [stderr] Downloaded derive_builder_core v0.20.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e3108a954facd6ef193ccd57467ac1bc09dba4e9df66861b6dafd5f78d3b141f [INFO] running `Command { std: "docker" "start" "-a" "e3108a954facd6ef193ccd57467ac1bc09dba4e9df66861b6dafd5f78d3b141f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3108a954facd6ef193ccd57467ac1bc09dba4e9df66861b6dafd5f78d3b141f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3108a954facd6ef193ccd57467ac1bc09dba4e9df66861b6dafd5f78d3b141f", kill_on_drop: false }` [INFO] [stdout] e3108a954facd6ef193ccd57467ac1bc09dba4e9df66861b6dafd5f78d3b141f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0a1fe4c98cef23e071746c51e932f2e23a2841aad17e0a05830c40fe12cfbcc8 [INFO] running `Command { std: "docker" "start" "-a" "0a1fe4c98cef23e071746c51e932f2e23a2841aad17e0a05830c40fe12cfbcc8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling k8s-openapi v0.26.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling slog v2.8.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling wapc-guest v1.2.0 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling regex-automata v0.4.13 [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 darling_macro v0.20.11 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [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 icu_properties v2.1.1 [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 erased-serde v0.3.31 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling oci-spec v0.8.3 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling kubewarden-policy-sdk v0.15.0 [INFO] [stderr] Compiling volumemounts-policy v1.0.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "0a1fe4c98cef23e071746c51e932f2e23a2841aad17e0a05830c40fe12cfbcc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a1fe4c98cef23e071746c51e932f2e23a2841aad17e0a05830c40fe12cfbcc8", kill_on_drop: false }` [INFO] [stdout] 0a1fe4c98cef23e071746c51e932f2e23a2841aad17e0a05830c40fe12cfbcc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 1d8f8484faa842f9fb3e19afe5e300f2dbe64cf347cd0079614c70071be0dbde [INFO] running `Command { std: "docker" "start" "-a" "1d8f8484faa842f9fb3e19afe5e300f2dbe64cf347cd0079614c70071be0dbde", kill_on_drop: false }` [INFO] [stderr] Compiling volumemounts-policy v1.0.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.53s [INFO] running `Command { std: "docker" "inspect" "1d8f8484faa842f9fb3e19afe5e300f2dbe64cf347cd0079614c70071be0dbde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d8f8484faa842f9fb3e19afe5e300f2dbe64cf347cd0079614c70071be0dbde", kill_on_drop: false }` [INFO] [stdout] 1d8f8484faa842f9fb3e19afe5e300f2dbe64cf347cd0079614c70071be0dbde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e0810a96ff8d21f9af28b96c45593534957fffd07a77f38caa33cfecfb6b6644 [INFO] running `Command { std: "docker" "start" "-a" "e0810a96ff8d21f9af28b96c45593534957fffd07a77f38caa33cfecfb6b6644", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/volumemounts_policy-ce379a6820c623d0) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test settings::tests::test_policy_with_no_settings ... ok [INFO] [stdout] test settings::tests::test_policy_with_settings ... ok [INFO] [stdout] test tests::accept_pod_no_volume_mounts_default_settings ... ok [INFO] [stdout] test tests::accept_pod_with_all_are_used ... ok [INFO] [stdout] test tests::accept_pod_with_no_volume_mounts_denylist ... ok [INFO] [stdout] test tests::reject_pod_with_denylist ... ok [INFO] [stdout] test tests::reject_pod_with_not_all_are_used ... ok [INFO] [stdout] test tests::reject_pod_with_all_are_used ... ok [INFO] [stdout] test tests::accept_pod_with_allowlist ... ok [INFO] [stdout] test tests::reject_pod_with_allowlist ... ok [INFO] [stdout] test tests::accept_pod_with_not_all_are_used ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e0810a96ff8d21f9af28b96c45593534957fffd07a77f38caa33cfecfb6b6644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0810a96ff8d21f9af28b96c45593534957fffd07a77f38caa33cfecfb6b6644", kill_on_drop: false }` [INFO] [stdout] e0810a96ff8d21f9af28b96c45593534957fffd07a77f38caa33cfecfb6b6644