[INFO] fetching crate godot-codegen 0.1.3... [INFO] checking godot-codegen-0.1.3 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate godot-codegen 0.1.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate godot-codegen 0.1.3 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 crates.io crate godot-codegen 0.1.3 [INFO] finished tweaking crates.io crate godot-codegen 0.1.3 [INFO] tweaked toml for crates.io crate godot-codegen 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.68.1 (available: v0.70.1) [INFO] [stderr] Adding gdextension-api v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding peeking_take_while v0.1.2 (available: v1.0.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding winsafe v0.0.19 (available: v0.0.22) [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] 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] 18e0666ba7b63c9bbaddd9bb39ac693a9609ea02cfd4d5f5611eac57cf36ab67 [INFO] running `Command { std: "docker" "start" "-a" "18e0666ba7b63c9bbaddd9bb39ac693a9609ea02cfd4d5f5611eac57cf36ab67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18e0666ba7b63c9bbaddd9bb39ac693a9609ea02cfd4d5f5611eac57cf36ab67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18e0666ba7b63c9bbaddd9bb39ac693a9609ea02cfd4d5f5611eac57cf36ab67", kill_on_drop: false }` [INFO] [stdout] 18e0666ba7b63c9bbaddd9bb39ac693a9609ea02cfd4d5f5611eac57cf36ab67 [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] bbd276d99b7708683b495ef72f907b62534813f0b7cfd87a7549cba6f1b46342 [INFO] running `Command { std: "docker" "start" "-a" "bbd276d99b7708683b495ef72f907b62534813f0b7cfd87a7549cba6f1b46342", kill_on_drop: false }` [INFO] [stderr] Compiling gdextension-api v0.1.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling nanoserde-derive v0.1.22 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking nanoserde v0.1.37 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling godot-bindings v0.1.3 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling godot-codegen v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/context.rs:257:76 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> Context<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn notification_constants(&'a self, class_name: &TyName) -> Option<&Vec<(Ident, i32)>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/context.rs:257:76 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> Context<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn notification_constants(&'a self, class_name: &TyName) -> Option<&Vec<(Ident, i32)>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::array::IntoIter<(&str, Option<&RustTy>, TokenStream), 40>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conv/type_conversions.rs:550:33 [INFO] [stdout] | [INFO] [stdout] 420 | let ty_int = RustTy::BuiltinIdent(ident("i64")); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 423 | let ty_int_u16 = RustTy::BuiltinIdent(ident("u16")); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 426 | let ty_float = RustTy::BuiltinIdent(ident("f64")); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 429 | let ty_float_f32 = RustTy::BuiltinIdent(ident("f32")); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 432 | let ty_enum = RustTy::EngineEnum { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 438 | let ty_bitfield = RustTy::EngineBitfield { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 444 | let ty_variant = RustTy::BuiltinIdent(ident("Variant")); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 453 | let ty_string = RustTy::BuiltinIdent(ident("GString")); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 456 | let ty_stringname = RustTy::BuiltinIdent(ident("StringName")); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 459 | let ty_nodepath = RustTy::BuiltinIdent(ident("NodePath")); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 550 | for (gdscript, ty, rust) in table { [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: this value of type `FnCode` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generator/builtins.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 194 | let fptr_access = if cfg!(feature = "codegen-lazy-fptrs") { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | &FnCode { [INFO] [stdout] | __________^ [INFO] [stdout] 243 | | receiver, [INFO] [stdout] 244 | | varcall_invocation, [INFO] [stdout] 245 | | ptrcall_invocation, [INFO] [stdout] 246 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `FnCode` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generator/classes.rs:520:10 [INFO] [stdout] | [INFO] [stdout] 471 | let maybe_instance_id = if method.qualifier() == FnQualifier::Static { [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 477 | let fptr_access = if cfg!(feature = "codegen-lazy-fptrs") { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 520 | &FnCode { [INFO] [stdout] | __________^ [INFO] [stdout] 521 | | receiver, [INFO] [stdout] 522 | | varcall_invocation, [INFO] [stdout] 523 | | ptrcall_invocation, [INFO] [stdout] 524 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `FnCode` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generator/builtins.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 194 | let fptr_access = if cfg!(feature = "codegen-lazy-fptrs") { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | &FnCode { [INFO] [stdout] | __________^ [INFO] [stdout] 243 | | receiver, [INFO] [stdout] 244 | | varcall_invocation, [INFO] [stdout] 245 | | ptrcall_invocation, [INFO] [stdout] 246 | | }, [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: this value of type `FnCode` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generator/classes.rs:520:10 [INFO] [stdout] | [INFO] [stdout] 471 | let maybe_instance_id = if method.qualifier() == FnQualifier::Static { [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 477 | let fptr_access = if cfg!(feature = "codegen-lazy-fptrs") { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 520 | &FnCode { [INFO] [stdout] | __________^ [INFO] [stdout] 521 | | receiver, [INFO] [stdout] 522 | | varcall_invocation, [INFO] [stdout] 523 | | ptrcall_invocation, [INFO] [stdout] 524 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `godot-codegen` (lib test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `godot-codegen` (lib) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "bbd276d99b7708683b495ef72f907b62534813f0b7cfd87a7549cba6f1b46342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbd276d99b7708683b495ef72f907b62534813f0b7cfd87a7549cba6f1b46342", kill_on_drop: false }` [INFO] [stdout] bbd276d99b7708683b495ef72f907b62534813f0b7cfd87a7549cba6f1b46342