[INFO] cloning repository https://github.com/JustinChungCYT/reject-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/JustinChungCYT/reject-ns-policy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustinChungCYT%2Freject-ns-policy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustinChungCYT%2Freject-ns-policy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b9c68ab98e6316b0183ba65fa33dbddf2bd4410 [INFO] checking JustinChungCYT/reject-ns-policy/8b9c68ab98e6316b0183ba65fa33dbddf2bd4410 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustinChungCYT%2Freject-ns-policy" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JustinChungCYT/reject-ns-policy on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JustinChungCYT/reject-ns-policy [INFO] finished tweaking git repo https://github.com/JustinChungCYT/reject-ns-policy [INFO] tweaked toml for git repo https://github.com/JustinChungCYT/reject-ns-policy written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JustinChungCYT/reject-ns-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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 518615b864d5e2a5ab44ca0a72059d22242be318d581343bb72fbd9c1204187d [INFO] running `Command { std: "docker" "start" "-a" "518615b864d5e2a5ab44ca0a72059d22242be318d581343bb72fbd9c1204187d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "518615b864d5e2a5ab44ca0a72059d22242be318d581343bb72fbd9c1204187d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "518615b864d5e2a5ab44ca0a72059d22242be318d581343bb72fbd9c1204187d", kill_on_drop: false }` [INFO] [stdout] 518615b864d5e2a5ab44ca0a72059d22242be318d581343bb72fbd9c1204187d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b23a04905943cffd454c0afc67fa5afb24eb84cc557ca3c3db2a2143ac02c8f5 [INFO] running `Command { std: "docker" "start" "-a" "b23a04905943cffd454c0afc67fa5afb24eb84cc557ca3c3db2a2143ac02c8f5", 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 num-traits v0.2.16 [INFO] [stderr] Compiling serde v1.0.175 [INFO] [stderr] Compiling serde_derive v1.0.175 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling k8s-openapi v0.17.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking wapc-guest v1.1.0 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking kubewarden-policy-sdk v0.8.7 [INFO] [stderr] Checking demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::LOG_DRAIN` [INFO] [stdout] --> src/settings.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::LOG_DRAIN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slog::info` [INFO] [stdout] --> src/settings.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use slog::info; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | if(validation_request.request.kind.kind != String::from("Pod")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - if(validation_request.request.kind.kind != String::from("Pod")) { [INFO] [stdout] 35 + if validation_request.request.kind.kind != String::from("Pod") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::LOG_DRAIN` [INFO] [stdout] --> src/settings.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::LOG_DRAIN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slog::info` [INFO] [stdout] --> src/settings.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use slog::info; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | if(validation_request.request.kind.kind != String::from("Pod")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - if(validation_request.request.kind.kind != String::from("Pod")) { [INFO] [stdout] 35 + if validation_request.request.kind.kind != String::from("Pod") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 32 | let validation_request: ValidationRequest = ValidationRequest::new(payload)?; [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | match serde_json::from_value::(validation_request.request.object) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 32 | let validation_request: ValidationRequest = ValidationRequest::new(payload)?; [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | match serde_json::from_value::(validation_request.request.object) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [stderr] error: could not compile `demo` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `demo` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b23a04905943cffd454c0afc67fa5afb24eb84cc557ca3c3db2a2143ac02c8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b23a04905943cffd454c0afc67fa5afb24eb84cc557ca3c3db2a2143ac02c8f5", kill_on_drop: false }` [INFO] [stdout] b23a04905943cffd454c0afc67fa5afb24eb84cc557ca3c3db2a2143ac02c8f5