[INFO] cloning repository https://github.com/kubewarden/context-aware-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kubewarden/context-aware-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkubewarden%2Fcontext-aware-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkubewarden%2Fcontext-aware-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0cea522aefac786cfb843c38fd8cfa52ce29e73f [INFO] testing kubewarden/context-aware-demo against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkubewarden%2Fcontext-aware-demo" "/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/context-aware-demo [INFO] finished tweaking git repo https://github.com/kubewarden/context-aware-demo [INFO] tweaked toml for git repo https://github.com/kubewarden/context-aware-demo written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kubewarden/context-aware-demo on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kubewarden/context-aware-demo 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test v3.2.0 [INFO] [stderr] Downloaded mockall_derive v0.13.1 [INFO] [stderr] Downloaded wapc-guest v1.2.0 [INFO] [stderr] Downloaded fragile v2.0.1 [INFO] [stderr] Downloaded mockall v0.13.1 [INFO] [stderr] Downloaded sdd v3.0.10 [INFO] [stderr] Downloaded oci-spec v0.8.2 [INFO] [stderr] Downloaded getset v0.1.6 [INFO] [stderr] Downloaded serial_test_derive v3.2.0 [INFO] [stderr] Downloaded kubewarden-policy-sdk v0.14.6 [INFO] [stderr] Downloaded scc v2.4.0 [INFO] [stderr] Downloaded k8s-openapi v0.26.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9761efe5bfe882a0e5e842570d1f4143d4acb322d8378c5ad5acce10cb964838 [INFO] running `Command { std: "docker" "start" "-a" "9761efe5bfe882a0e5e842570d1f4143d4acb322d8378c5ad5acce10cb964838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9761efe5bfe882a0e5e842570d1f4143d4acb322d8378c5ad5acce10cb964838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9761efe5bfe882a0e5e842570d1f4143d4acb322d8378c5ad5acce10cb964838", kill_on_drop: false }` [INFO] [stdout] 9761efe5bfe882a0e5e842570d1f4143d4acb322d8378c5ad5acce10cb964838 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 125edbb37483fd46bdff780f93659534813c81385e6df0601d8c7d166836eea3 [INFO] running `Command { std: "docker" "start" "-a" "125edbb37483fd46bdff780f93659534813c81385e6df0601d8c7d166836eea3", kill_on_drop: false }` [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling k8s-openapi v0.26.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling wapc-guest v1.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling const_format 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 regex v1.11.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [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.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [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.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [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 tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [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.1.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling oci-spec v0.8.2 [INFO] [stderr] Compiling kubewarden-policy-sdk v0.14.6 [INFO] [stderr] Compiling context-aware-policy-demo v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.42s [INFO] running `Command { std: "docker" "inspect" "125edbb37483fd46bdff780f93659534813c81385e6df0601d8c7d166836eea3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "125edbb37483fd46bdff780f93659534813c81385e6df0601d8c7d166836eea3", kill_on_drop: false }` [INFO] [stdout] 125edbb37483fd46bdff780f93659534813c81385e6df0601d8c7d166836eea3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c6be20214096aa6297c6f1aca366adfde02c17972c452bd59183815a48622c6 [INFO] running `Command { std: "docker" "start" "-a" "3c6be20214096aa6297c6f1aca366adfde02c17972c452bd59183815a48622c6", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling sdd v3.0.10 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling scc v2.4.0 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling mockall v0.13.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling k8s-openapi v0.26.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling oci-spec v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling rstest v0.26.1 [INFO] [stderr] Compiling kubewarden-policy-sdk v0.14.6 [INFO] [stderr] Compiling context-aware-policy-demo v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 40.16s [INFO] running `Command { std: "docker" "inspect" "3c6be20214096aa6297c6f1aca366adfde02c17972c452bd59183815a48622c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c6be20214096aa6297c6f1aca366adfde02c17972c452bd59183815a48622c6", kill_on_drop: false }` [INFO] [stdout] 3c6be20214096aa6297c6f1aca366adfde02c17972c452bd59183815a48622c6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ada7959dbfdd49f142cd449c2c7654942c42170767d0a180034726ff5cd1d962 [INFO] running `Command { std: "docker" "start" "-a" "ada7959dbfdd49f142cd449c2c7654942c42170767d0a180034726ff5cd1d962", 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/context_aware_policy_demo-9a49e239e746b29f) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test settings::tests::validate_settings ... ok [INFO] [stdout] test tests::no_mutation_no_evil::case_1 ... ok [INFO] [stdout] test tests::no_mutation_no_evil::case_4 ... ok [INFO] [stdout] test tests::no_mutation_no_evil::case_5 ... ok [INFO] [stdout] test tests::no_mutation_no_evil::case_6 ... ok [INFO] [stdout] test tests::no_mutation_no_evil::case_3 ... ok [INFO] [stdout] test tests::evil ... ok [INFO] [stdout] test tests::no_mutation_no_evil::case_2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ada7959dbfdd49f142cd449c2c7654942c42170767d0a180034726ff5cd1d962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada7959dbfdd49f142cd449c2c7654942c42170767d0a180034726ff5cd1d962", kill_on_drop: false }` [INFO] [stdout] ada7959dbfdd49f142cd449c2c7654942c42170767d0a180034726ff5cd1d962