[INFO] fetching crate gdnative-core 0.11.3... [INFO] checking gdnative-core-0.11.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate gdnative-core 0.11.3 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate gdnative-core 0.11.3 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gdnative-core 0.11.3 [INFO] finished tweaking crates.io crate gdnative-core 0.11.3 [INFO] tweaked toml for crates.io crate gdnative-core 0.11.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 73 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.63.0 (available: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding glam v0.22.0 (available: v0.29.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding peeking_take_while v0.1.2 (available: v1.0.0) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.2.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d06d02f6d6a41b58bccda76330e113d35fabc6d41ff05c88e5a73483a41562cd [INFO] running `Command { std: "docker" "start" "-a" "d06d02f6d6a41b58bccda76330e113d35fabc6d41ff05c88e5a73483a41562cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d06d02f6d6a41b58bccda76330e113d35fabc6d41ff05c88e5a73483a41562cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d06d02f6d6a41b58bccda76330e113d35fabc6d41ff05c88e5a73483a41562cd", kill_on_drop: false }` [INFO] [stdout] d06d02f6d6a41b58bccda76330e113d35fabc6d41ff05c88e5a73483a41562cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2eb74bdd9aed082e6c78f91a06f43e2c1c96e9d9b1875bae7a1cff1c077bd7e [INFO] running `Command { std: "docker" "start" "-a" "c2eb74bdd9aed082e6c78f91a06f43e2c1c96e9d9b1875bae7a1cff1c077bd7e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bindgen v0.63.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling mini-internal v0.1.40 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking atomic-take v1.1.0 [INFO] [stderr] Checking glam v0.22.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling miniserde v0.1.40 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling gdnative-impl-proc-macros v0.11.3 [INFO] [stderr] Compiling gdnative-derive v0.11.3 [INFO] [stderr] Compiling gdnative-sys v0.11.3 [INFO] [stderr] Checking gdnative-core v0.11.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/core_types/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use dictionary::*; [INFO] [stdout] | ------------- but the name `Iter` in the type namespace is also re-exported here [INFO] [stdout] ... [INFO] [stdout] 45 | pub use variant_array::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `Iter` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/core_types/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use dictionary::*; [INFO] [stdout] | ------------- but the name `IntoIter` in the type namespace is also re-exported here [INFO] [stdout] ... [INFO] [stdout] 45 | pub use variant_array::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `IntoIter` in the type namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gdnative_derive::godot_wrap_method` [INFO] [stdout] --> src/export/macros.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use gdnative_derive::godot_wrap_method; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/core_types/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use dictionary::*; [INFO] [stdout] | ------------- but the name `Iter` in the type namespace is also re-exported here [INFO] [stdout] ... [INFO] [stdout] 45 | pub use variant_array::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `Iter` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/core_types/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use dictionary::*; [INFO] [stdout] | ------------- but the name `IntoIter` in the type namespace is also re-exported here [INFO] [stdout] ... [INFO] [stdout] 45 | pub use variant_array::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `IntoIter` in the type namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gdnative_derive::godot_wrap_method` [INFO] [stdout] --> src/export/macros.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use gdnative_derive::godot_wrap_method; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core_types::variant::Variant` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core_types/dictionary.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 118 | let key = key.owned_to_variant(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | val.owned_to_variant().sys(), [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 `core_types::variant::Variant` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core_types/dictionary.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 118 | let key = key.owned_to_variant(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | val.owned_to_variant().sys(), [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 `core_types::variant::Variant` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core_types/variant_array.rs:89:60 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn count(&self, val: T) -> i32 { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | unsafe { (get_api().godot_array_count)(self.sys(), val.to_variant().sys()) } [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 `core_types::variant::Variant` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core_types/variant_array.rs:109:59 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn find(&self, what: T, from: i32) -> i32 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | unsafe { (get_api().godot_array_find)(self.sys(), what.to_variant().sys(), from) } [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 `core_types::variant::Variant` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core_types/variant_array.rs:115:58 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn contains(&self, what: T) -> bool { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | unsafe { (get_api().godot_array_has)(self.sys(), what.to_variant().sys()) } [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 `core_types::variant::Variant` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core_types/variant_array.rs:123:60 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn rfind(&self, what: T, from: i32) -> i32 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | unsafe { (get_api().godot_array_rfind)(self.sys(), what.to_variant().sys(), from) } [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 `core_types::variant::Variant` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core_types/variant_array.rs:130:64 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn find_last(&self, what: T) -> i32 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | unsafe { (get_api().godot_array_find_last)(self.sys(), what.to_variant().sys()) } [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 `core_types::variant::Variant` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core_types/variant_array.rs:240:64 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn erase(&self, val: T) { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | unsafe { (get_api().godot_array_erase)(self.sys_mut(), val.to_variant().sys()) } [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 `Result<>::Args, Vec>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/export/method.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 202 | fn call(&self, this: TInstance<'_, C>, mut args: Varargs<'_>) -> Variant { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | match args.read_many::() { [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 `core_types::variant::Variant` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core_types/variant_array.rs:89:60 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn count(&self, val: T) -> i32 { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | unsafe { (get_api().godot_array_count)(self.sys(), val.to_variant().sys()) } [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 `core_types::variant::Variant` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core_types/variant_array.rs:109:59 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn find(&self, what: T, from: i32) -> i32 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | unsafe { (get_api().godot_array_find)(self.sys(), what.to_variant().sys(), from) } [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 `core_types::variant::Variant` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core_types/variant_array.rs:115:58 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn contains(&self, what: T) -> bool { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | unsafe { (get_api().godot_array_has)(self.sys(), what.to_variant().sys()) } [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 `core_types::variant::Variant` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core_types/variant_array.rs:123:60 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn rfind(&self, what: T, from: i32) -> i32 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | unsafe { (get_api().godot_array_rfind)(self.sys(), what.to_variant().sys(), from) } [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 `core_types::variant::Variant` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core_types/variant_array.rs:130:64 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn find_last(&self, what: T) -> i32 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | unsafe { (get_api().godot_array_find_last)(self.sys(), what.to_variant().sys()) } [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 `core_types::variant::Variant` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core_types/variant_array.rs:240:64 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn erase(&self, val: T) { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | unsafe { (get_api().godot_array_erase)(self.sys_mut(), val.to_variant().sys()) } [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 `Result<>::Args, Vec>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/export/method.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 202 | fn call(&self, this: TInstance<'_, C>, mut args: Varargs<'_>) -> Variant { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | match args.read_many::() { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/export/property/accessor.rs:243:23 [INFO] [stdout] | [INFO] [stdout] 239 | let user_data = C::UserData::clone_from_user_data_unchecked(class as *const _); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | match T::from_variant(Variant::cast_ref(val)) { [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 `Result>::Err>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/export/property/accessor.rs:319:23 [INFO] [stdout] | [INFO] [stdout] 315 | let user_data = C::UserData::clone_from_user_data_unchecked(class as *const _); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | match <(SelfArg, RetKind)>::map_get(&user_data, func, owner) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/export/property/accessor.rs:243:23 [INFO] [stdout] | [INFO] [stdout] 239 | let user_data = C::UserData::clone_from_user_data_unchecked(class as *const _); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | match T::from_variant(Variant::cast_ref(val)) { [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 `Result>::Err>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/export/property/accessor.rs:319:23 [INFO] [stdout] | [INFO] [stdout] 315 | let user_data = C::UserData::clone_from_user_data_unchecked(class as *const _); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | match <(SelfArg, RetKind)>::map_get(&user_data, func, owner) { [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 `core_types::string::GodotString` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/instance.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 104 | fn maybe_emplace(script: Option) -> Self [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | let script_class_name = class_registry::class_name::() [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 `core_types::string::GodotString` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/instance.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 104 | fn maybe_emplace(script: Option) -> Self [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | let script_class_name = class_registry::class_name::() [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] warning: field `0` is never read [INFO] [stdout] --> src/core_types/geom/rect2.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct MarginError(i64); [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MarginError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/export/type_tag.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | let tags = TAGS.get_or_insert_with(IndexSet::default); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/export/type_tag.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | let tags = TAGS.as_ref().expect("tag should be created by `create`"); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/export/type_tag.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(tags) = TAGS.take() { [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/private.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | return GODOT_API.as_ref().unwrap_or_else(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/private.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | unsafe { GODOT_API.as_ref() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/private.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe { GODOT_API.is_some() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/private.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | &mut TABLE [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 305 | / make_method_table!(struct ObjectMethodTable for Object { [INFO] [stdout] 306 | | get_class, [INFO] [stdout] 307 | | is_class, [INFO] [stdout] 308 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `make_method_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/private.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | &mut TABLE [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 310 | / make_method_table!(struct ReferenceMethodTable for Reference { [INFO] [stdout] 311 | | reference, [INFO] [stdout] 312 | | unreference, [INFO] [stdout] 313 | | init_ref, [INFO] [stdout] 314 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `make_method_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/private.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | &mut TABLE [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 318 | / make_method_table!(struct NativeScriptMethodTable for NativeScript { [INFO] [stdout] 319 | | set_class_name, [INFO] [stdout] 320 | | set_library, [INFO] [stdout] 321 | | new, [INFO] [stdout] 322 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `make_method_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core_types/geom/rect2.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct MarginError(i64); [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MarginError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gdnative-core` (lib) due to 12 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/export/type_tag.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | let tags = TAGS.get_or_insert_with(IndexSet::default); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/export/type_tag.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | let tags = TAGS.as_ref().expect("tag should be created by `create`"); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/export/type_tag.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(tags) = TAGS.take() { [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/private.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | return GODOT_API.as_ref().expect(ERR_MSG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/private.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | unsafe { GODOT_API.as_ref() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/private.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe { GODOT_API.is_some() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/private.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | &mut TABLE [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 305 | / make_method_table!(struct ObjectMethodTable for Object { [INFO] [stdout] 306 | | get_class, [INFO] [stdout] 307 | | is_class, [INFO] [stdout] 308 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `make_method_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/private.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | &mut TABLE [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 310 | / make_method_table!(struct ReferenceMethodTable for Reference { [INFO] [stdout] 311 | | reference, [INFO] [stdout] 312 | | unreference, [INFO] [stdout] 313 | | init_ref, [INFO] [stdout] 314 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `make_method_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/private.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | &mut TABLE [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 318 | / make_method_table!(struct NativeScriptMethodTable for NativeScript { [INFO] [stdout] 319 | | set_class_name, [INFO] [stdout] 320 | | set_library, [INFO] [stdout] 321 | | new, [INFO] [stdout] 322 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `make_method_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gdnative-core` (lib test) due to 12 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c2eb74bdd9aed082e6c78f91a06f43e2c1c96e9d9b1875bae7a1cff1c077bd7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2eb74bdd9aed082e6c78f91a06f43e2c1c96e9d9b1875bae7a1cff1c077bd7e", kill_on_drop: false }` [INFO] [stdout] c2eb74bdd9aed082e6c78f91a06f43e2c1c96e9d9b1875bae7a1cff1c077bd7e