[INFO] cloning repository https://github.com/CCDemoSetup/environment-variable-policy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CCDemoSetup/environment-variable-policy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCCDemoSetup%2Fenvironment-variable-policy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCCDemoSetup%2Fenvironment-variable-policy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86ec7bfbfbd6a945d520a95d18e19923818b6551 [INFO] checking CCDemoSetup/environment-variable-policy/86ec7bfbfbd6a945d520a95d18e19923818b6551 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCCDemoSetup%2Fenvironment-variable-policy" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CCDemoSetup/environment-variable-policy on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CCDemoSetup/environment-variable-policy [INFO] finished tweaking git repo https://github.com/CCDemoSetup/environment-variable-policy [INFO] tweaked toml for git repo https://github.com/CCDemoSetup/environment-variable-policy written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CCDemoSetup/environment-variable-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d42ee7648e0f5c5df8f68f1c0f2e11c7fcd7de623f63675aa2c345f84e8cd71e [INFO] running `Command { std: "docker" "start" "-a" "d42ee7648e0f5c5df8f68f1c0f2e11c7fcd7de623f63675aa2c345f84e8cd71e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d42ee7648e0f5c5df8f68f1c0f2e11c7fcd7de623f63675aa2c345f84e8cd71e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d42ee7648e0f5c5df8f68f1c0f2e11c7fcd7de623f63675aa2c345f84e8cd71e", kill_on_drop: false }` [INFO] [stdout] d42ee7648e0f5c5df8f68f1c0f2e11c7fcd7de623f63675aa2c345f84e8cd71e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b9d38701a7abd8c4de7d55d981da202f1bd323ba006e956c460981e49c5dd75 [INFO] running `Command { std: "docker" "start" "-a" "2b9d38701a7abd8c4de7d55d981da202f1bd323ba006e956c460981e49c5dd75", 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 proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling k8s-openapi v0.18.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.7 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lock_api v0.4.9 [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] Checking indexmap v2.0.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking wapc-guest v1.1.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling num-derive v0.4.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking chrono v0.4.24 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking kubewarden-policy-sdk v0.9.5 [INFO] [stderr] Checking environment-variable-policy v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 116 | let validation_request: ValidationRequest = [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | ValidationRequest::new(payload)?; [INFO] [stdout] 118 | match validation_request.extract_pod_spec_from_object() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/settings.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Default, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `environment-variable-policy` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 116 | let validation_request: ValidationRequest = [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | ValidationRequest::new(payload)?; [INFO] [stdout] 118 | match validation_request.extract_pod_spec_from_object() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/settings.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Default, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `environment-variable-policy` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "2b9d38701a7abd8c4de7d55d981da202f1bd323ba006e956c460981e49c5dd75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b9d38701a7abd8c4de7d55d981da202f1bd323ba006e956c460981e49c5dd75", kill_on_drop: false }` [INFO] [stdout] 2b9d38701a7abd8c4de7d55d981da202f1bd323ba006e956c460981e49c5dd75