[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 try#33835004928d3bf65db4d4712e1330766263b0bd 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kubewarden/volumeMounts-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/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5b2d342bffd099b46172608264acb6d7ec9c3b7417a7519c3fbf75eab58f602c [INFO] running `Command { std: "docker" "start" "-a" "5b2d342bffd099b46172608264acb6d7ec9c3b7417a7519c3fbf75eab58f602c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b2d342bffd099b46172608264acb6d7ec9c3b7417a7519c3fbf75eab58f602c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b2d342bffd099b46172608264acb6d7ec9c3b7417a7519c3fbf75eab58f602c", kill_on_drop: false }` [INFO] [stdout] 5b2d342bffd099b46172608264acb6d7ec9c3b7417a7519c3fbf75eab58f602c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 29e6b282d9618c08be5b1d0f2224df6b51f649b54590ddf627bff85e83818fac [INFO] running `Command { std: "docker" "start" "-a" "29e6b282d9618c08be5b1d0f2224df6b51f649b54590ddf627bff85e83818fac", 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 memchr v2.7.6 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling k8s-openapi v0.26.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling slog v2.8.2 [INFO] [stderr] Compiling indexmap v2.12.1 [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 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 parking_lot_core v0.9.12 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling wapc-guest v1.2.0 [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 darling_macro v0.20.11 [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 v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling oci-spec v0.8.3 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [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 52.32s [INFO] running `Command { std: "docker" "inspect" "29e6b282d9618c08be5b1d0f2224df6b51f649b54590ddf627bff85e83818fac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29e6b282d9618c08be5b1d0f2224df6b51f649b54590ddf627bff85e83818fac", kill_on_drop: false }` [INFO] [stdout] 29e6b282d9618c08be5b1d0f2224df6b51f649b54590ddf627bff85e83818fac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] cb44f830f61bd08f98f14deb83a339b96ef5bc16eea5564eaaeb336b7cecee21 [INFO] running `Command { std: "docker" "start" "-a" "cb44f830f61bd08f98f14deb83a339b96ef5bc16eea5564eaaeb336b7cecee21", 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.61s [INFO] running `Command { std: "docker" "inspect" "cb44f830f61bd08f98f14deb83a339b96ef5bc16eea5564eaaeb336b7cecee21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb44f830f61bd08f98f14deb83a339b96ef5bc16eea5564eaaeb336b7cecee21", kill_on_drop: false }` [INFO] [stdout] cb44f830f61bd08f98f14deb83a339b96ef5bc16eea5564eaaeb336b7cecee21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 922bd8361fe8989aeb4f12c03b53ccb81e0b78058fde06d15c28b36b04b2bac5 [INFO] running `Command { std: "docker" "start" "-a" "922bd8361fe8989aeb4f12c03b53ccb81e0b78058fde06d15c28b36b04b2bac5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [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_with_all_are_used ... ok [INFO] [stdout] test tests::accept_pod_no_volume_mounts_default_settings ... ok [INFO] [stdout] test tests::accept_pod_with_not_all_are_used ... ok [INFO] [stdout] test tests::accept_pod_with_allowlist ... 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::reject_pod_with_allowlist ... 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" "922bd8361fe8989aeb4f12c03b53ccb81e0b78058fde06d15c28b36b04b2bac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "922bd8361fe8989aeb4f12c03b53ccb81e0b78058fde06d15c28b36b04b2bac5", kill_on_drop: false }` [INFO] [stdout] 922bd8361fe8989aeb4f12c03b53ccb81e0b78058fde06d15c28b36b04b2bac5