[INFO] fetching crate tlua-derive 0.2.1... [INFO] checking tlua-derive-0.2.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate tlua-derive 0.2.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate tlua-derive 0.2.1 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 tlua-derive 0.2.1 [INFO] finished tweaking crates.io crate tlua-derive 0.2.1 [INFO] tweaked toml for crates.io crate tlua-derive 0.2.1 written to /workspace/builds/worker-5-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6d08f18664fbc9d4f641cce991f738f822f75319e768f5caa5aed5681725a8e [INFO] running `Command { std: "docker" "start" "-a" "b6d08f18664fbc9d4f641cce991f738f822f75319e768f5caa5aed5681725a8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6d08f18664fbc9d4f641cce991f738f822f75319e768f5caa5aed5681725a8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6d08f18664fbc9d4f641cce991f738f822f75319e768f5caa5aed5681725a8e", kill_on_drop: false }` [INFO] [stdout] b6d08f18664fbc9d4f641cce991f738f822f75319e768f5caa5aed5681725a8e [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10e717cd44a7ff28190c333b80c2db2c6ea8a9e4784e9fbe9aaab8db85c256c3 [INFO] running `Command { std: "docker" "start" "-a" "10e717cd44a7ff28190c333b80c2db2c6ea8a9e4784e9fbe9aaab8db85c256c3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tlua-derive v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | let push_variants = v.variants.iter().map(VariantInfo::push).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 185 | / quote! { [INFO] [stdout] 186 | | match self { [INFO] [stdout] 187 | | #( #push_variants )* [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | } [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] = 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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | let mut n_vals = vec![]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | / quote! { [INFO] [stdout] 248 | | let mut errors: ::std::collections::LinkedList = Default::default(); [INFO] [stdout] 249 | | #( [INFO] [stdout] 250 | | let n_vals = #n_vals; [INFO] [stdout] ... | [INFO] [stdout] 257 | | Err((__lua, e)) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_________________- these local bindings with significant drop implementation may 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] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | let mut n_vals = vec![]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | / quote! { [INFO] [stdout] 322 | | fn lua_read(__lua: #l) -> tlua::ReadResult { [INFO] [stdout] 323 | | let top = unsafe { tlua::ffi::lua_gettop(__lua.as_lua()) }; [INFO] [stdout] 324 | | let mut errors: ::std::collections::LinkedList = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 339 | | } [INFO] [stdout] 340 | | } [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] = 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 `TokenStream2` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 458 | let name = name.unwrap_or_else(|| quote! { Self }); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 466 | let expected = if is_variant { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | / quote! { [INFO] [stdout] 482 | | let t: tlua::LuaTable<_> = tlua::AsLua::read_at(__lua, __index) [INFO] [stdout] 483 | | .map_err(|(lua, err)| { [INFO] [stdout] 484 | | let err = err.when("converting Lua value to struct") [INFO] [stdout] ... | [INFO] [stdout] 518 | | ) [INFO] [stdout] 519 | | } [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] 522 | / quote! { [INFO] [stdout] 523 | | let (#(#field_idents,)*) = tlua::AsLua::read_at(__lua, __index)?; [INFO] [stdout] 524 | | Ok( [INFO] [stdout] 525 | | #name(#(#field_idents,)*) [INFO] [stdout] 526 | | ) [INFO] [stdout] 527 | | } [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] | these local bindings with significant drop implementation may 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] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | let push_variants = v.variants.iter().map(VariantInfo::push).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 185 | / quote! { [INFO] [stdout] 186 | | match self { [INFO] [stdout] 187 | | #( #push_variants )* [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | } [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] = 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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | let mut n_vals = vec![]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | / quote! { [INFO] [stdout] 248 | | let mut errors: ::std::collections::LinkedList = Default::default(); [INFO] [stdout] 249 | | #( [INFO] [stdout] 250 | | let n_vals = #n_vals; [INFO] [stdout] ... | [INFO] [stdout] 257 | | Err((__lua, e)) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_________________- these local bindings with significant drop implementation may 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] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | let mut n_vals = vec![]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | / quote! { [INFO] [stdout] 322 | | fn lua_read(__lua: #l) -> tlua::ReadResult { [INFO] [stdout] 323 | | let top = unsafe { tlua::ffi::lua_gettop(__lua.as_lua()) }; [INFO] [stdout] 324 | | let mut errors: ::std::collections::LinkedList = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 339 | | } [INFO] [stdout] 340 | | } [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] = 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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tlua-derive` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `TokenStream2` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 458 | let name = name.unwrap_or_else(|| quote! { Self }); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 466 | let expected = if is_variant { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | / quote! { [INFO] [stdout] 482 | | let t: tlua::LuaTable<_> = tlua::AsLua::read_at(__lua, __index) [INFO] [stdout] 483 | | .map_err(|(lua, err)| { [INFO] [stdout] 484 | | let err = err.when("converting Lua value to struct") [INFO] [stdout] ... | [INFO] [stdout] 518 | | ) [INFO] [stdout] 519 | | } [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] 522 | / quote! { [INFO] [stdout] 523 | | let (#(#field_idents,)*) = tlua::AsLua::read_at(__lua, __index)?; [INFO] [stdout] 524 | | Ok( [INFO] [stdout] 525 | | #name(#(#field_idents,)*) [INFO] [stdout] 526 | | ) [INFO] [stdout] 527 | | } [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] | these local bindings with significant drop implementation may 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tlua-derive` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "10e717cd44a7ff28190c333b80c2db2c6ea8a9e4784e9fbe9aaab8db85c256c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10e717cd44a7ff28190c333b80c2db2c6ea8a9e4784e9fbe9aaab8db85c256c3", kill_on_drop: false }` [INFO] [stdout] 10e717cd44a7ff28190c333b80c2db2c6ea8a9e4784e9fbe9aaab8db85c256c3