[INFO] cloning repository https://github.com/viccuad/print-ns-policy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/viccuad/print-ns-policy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviccuad%2Fprint-ns-policy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviccuad%2Fprint-ns-policy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30f85ef0992f31edf6ce1404aef2741de8bdc42c [INFO] testing viccuad/print-ns-policy against master#23949593103d03a82c7ebc2e84434ce6c6edc561 for pr-115235 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviccuad%2Fprint-ns-policy" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/viccuad/print-ns-policy on toolchain 23949593103d03a82c7ebc2e84434ce6c6edc561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/viccuad/print-ns-policy [INFO] finished tweaking git repo https://github.com/viccuad/print-ns-policy [INFO] tweaked toml for git repo https://github.com/viccuad/print-ns-policy written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wapc-guest v0.4.0 [INFO] [stderr] Downloaded kubewarden-policy-sdk v0.3.2 [INFO] [stderr] Downloaded k8s-openapi v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 810e951c98e6c2f1ec2c29158ea2fae4d46ca69fb71f899cbff55ea4d7b3e624 [INFO] running `Command { std: "docker" "start" "-a" "810e951c98e6c2f1ec2c29158ea2fae4d46ca69fb71f899cbff55ea4d7b3e624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "810e951c98e6c2f1ec2c29158ea2fae4d46ca69fb71f899cbff55ea4d7b3e624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "810e951c98e6c2f1ec2c29158ea2fae4d46ca69fb71f899cbff55ea4d7b3e624", kill_on_drop: false }` [INFO] [stdout] 810e951c98e6c2f1ec2c29158ea2fae4d46ca69fb71f899cbff55ea4d7b3e624 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc0d997fa864599fa42b1fe2ae7943a074734bd8bf81cb931279d7434f7469e2 [INFO] running `Command { std: "docker" "start" "-a" "dc0d997fa864599fa42b1fe2ae7943a074734bd8bf81cb931279d7434f7469e2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling k8s-openapi v0.11.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling wapc-guest v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling kubewarden-policy-sdk v0.3.2 [INFO] [stderr] Compiling print-ns-policy v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.79s [INFO] running `Command { std: "docker" "inspect" "dc0d997fa864599fa42b1fe2ae7943a074734bd8bf81cb931279d7434f7469e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc0d997fa864599fa42b1fe2ae7943a074734bd8bf81cb931279d7434f7469e2", kill_on_drop: false }` [INFO] [stdout] dc0d997fa864599fa42b1fe2ae7943a074734bd8bf81cb931279d7434f7469e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c0b936be0460f1a4dee97214f923be272d9d478661b767f37e0311ea359081f [INFO] running `Command { std: "docker" "start" "-a" "2c0b936be0460f1a4dee97214f923be272d9d478661b767f37e0311ea359081f", kill_on_drop: false }` [INFO] [stderr] Compiling print-ns-policy v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.99s [INFO] running `Command { std: "docker" "inspect" "2c0b936be0460f1a4dee97214f923be272d9d478661b767f37e0311ea359081f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c0b936be0460f1a4dee97214f923be272d9d478661b767f37e0311ea359081f", kill_on_drop: false }` [INFO] [stdout] 2c0b936be0460f1a4dee97214f923be272d9d478661b767f37e0311ea359081f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8ff4f5a2cad0e050e69dde17158d947c726197d5aa645f021471d77711fe1339 [INFO] running `Command { std: "docker" "start" "-a" "8ff4f5a2cad0e050e69dde17158d947c726197d5aa645f021471d77711fe1339", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/print_ns_policy-f612d00e73851665) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test settings::tests::validate_settings ... ok [INFO] [stdout] test tests::accept_pod_with_valid_name ... ok [INFO] [stdout] test tests::accept_request_with_non_pod_resource ... ok [INFO] [stdout] test tests::reject_pod_with_invalid_name ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ff4f5a2cad0e050e69dde17158d947c726197d5aa645f021471d77711fe1339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ff4f5a2cad0e050e69dde17158d947c726197d5aa645f021471d77711fe1339", kill_on_drop: false }` [INFO] [stdout] 8ff4f5a2cad0e050e69dde17158d947c726197d5aa645f021471d77711fe1339