[INFO] cloning repository https://github.com/atanasdinov/disallow-default-namespace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atanasdinov/disallow-default-namespace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatanasdinov%2Fdisallow-default-namespace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatanasdinov%2Fdisallow-default-namespace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a213d5ff6a61466d8f80c47d7aa3f41b7ad73dc [INFO] testing atanasdinov/disallow-default-namespace against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatanasdinov%2Fdisallow-default-namespace" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atanasdinov/disallow-default-namespace on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/atanasdinov/disallow-default-namespace [INFO] finished tweaking git repo https://github.com/atanasdinov/disallow-default-namespace [INFO] tweaked toml for git repo https://github.com/atanasdinov/disallow-default-namespace written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/atanasdinov/disallow-default-namespace 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `k8s-openapi` dependency) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kubewarden-policy-sdk v0.9.5 [INFO] [stderr] Downloaded wapc-guest v1.1.0 [INFO] [stderr] Downloaded k8s-openapi v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab8fdc50959cd8e60a5932b22b1ac2e9d6c7ec0c511ba88d65fdcd1c9af5d084 [INFO] running `Command { std: "docker" "start" "-a" "ab8fdc50959cd8e60a5932b22b1ac2e9d6c7ec0c511ba88d65fdcd1c9af5d084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab8fdc50959cd8e60a5932b22b1ac2e9d6c7ec0c511ba88d65fdcd1c9af5d084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab8fdc50959cd8e60a5932b22b1ac2e9d6c7ec0c511ba88d65fdcd1c9af5d084", kill_on_drop: false }` [INFO] [stdout] ab8fdc50959cd8e60a5932b22b1ac2e9d6c7ec0c511ba88d65fdcd1c9af5d084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfb507030aa15789784e93d3e07bceda72ce6e3effb71a89dfd44c3679dd2f80 [INFO] running `Command { std: "docker" "start" "-a" "cfb507030aa15789784e93d3e07bceda72ce6e3effb71a89dfd44c3679dd2f80", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `k8s-openapi` dependency) [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.175 [INFO] [stderr] Compiling serde_derive v1.0.175 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling k8s-openapi v0.18.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling wapc-guest v1.1.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling num-derive v0.4.0 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.9.25 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling kubewarden-policy-sdk v0.9.5 [INFO] [stderr] Compiling disallow-default-namespace v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.30s [INFO] running `Command { std: "docker" "inspect" "cfb507030aa15789784e93d3e07bceda72ce6e3effb71a89dfd44c3679dd2f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfb507030aa15789784e93d3e07bceda72ce6e3effb71a89dfd44c3679dd2f80", kill_on_drop: false }` [INFO] [stdout] cfb507030aa15789784e93d3e07bceda72ce6e3effb71a89dfd44c3679dd2f80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 204ffd74150be38329b0d57dfda5577d3623b458e2d8cc7ac3a15724e742ab73 [INFO] running `Command { std: "docker" "start" "-a" "204ffd74150be38329b0d57dfda5577d3623b458e2d8cc7ac3a15724e742ab73", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `k8s-openapi` dependency) [INFO] [stderr] Compiling disallow-default-namespace v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.93s [INFO] running `Command { std: "docker" "inspect" "204ffd74150be38329b0d57dfda5577d3623b458e2d8cc7ac3a15724e742ab73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "204ffd74150be38329b0d57dfda5577d3623b458e2d8cc7ac3a15724e742ab73", kill_on_drop: false }` [INFO] [stdout] 204ffd74150be38329b0d57dfda5577d3623b458e2d8cc7ac3a15724e742ab73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 05c9348a3768909316168c214667eee19d5d331f5aa930419c80b4f00c73a1dd [INFO] running `Command { std: "docker" "start" "-a" "05c9348a3768909316168c214667eee19d5d331f5aa930419c80b4f00c73a1dd", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `k8s-openapi` dependency) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/disallow_default_namespace-59e73777c488444f) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test tests::accept_daemon_set_with_custom_namespace ... ok [INFO] [stdout] test settings::tests::accept_settings ... ok [INFO] [stdout] test tests::accept_deployment_with_custom_namespace ... ok [INFO] [stdout] test tests::accept_pod_with_custom_namespace ... ok [INFO] [stdout] test tests::accept_job_with_custom_namespace ... ok [INFO] [stdout] test tests::accept_request_with_non_pod_resource ... ok [INFO] [stdout] test tests::accept_stateful_set_with_custom_namespace ... ok [INFO] [stdout] test tests::reject_daemon_set_with_invalid_namespace ... ok [INFO] [stdout] test tests::reject_deployment_with_empty_namespace ... ok [INFO] [stdout] test tests::reject_job_with_invalid_namespace ... ok [INFO] [stdout] test tests::reject_deployment_with_invalid_namespace ... ok [INFO] [stdout] test tests::reject_pod_with_empty_namespace ... ok [INFO] [stdout] test tests::reject_job_with_empty_namespace ... ok [INFO] [stdout] test tests::reject_pod_with_invalid_namespace ... ok [INFO] [stdout] test tests::reject_stateful_set_with_empty_namespace ... ok [INFO] [stdout] test tests::reject_stateful_set_with_invalid_namespace ... ok [INFO] [stdout] test tests::reject_daemon_set_with_empty_namespace ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "05c9348a3768909316168c214667eee19d5d331f5aa930419c80b4f00c73a1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c9348a3768909316168c214667eee19d5d331f5aa930419c80b4f00c73a1dd", kill_on_drop: false }` [INFO] [stdout] 05c9348a3768909316168c214667eee19d5d331f5aa930419c80b4f00c73a1dd