[INFO] cloning repository https://github.com/Dragoteryx/flatgrass [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dragoteryx/flatgrass" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDragoteryx%2Fflatgrass", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDragoteryx%2Fflatgrass'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 001aabdf58b8eaae22c88ec04254b9ec9e7c8acb [INFO] checking Dragoteryx/flatgrass/001aabdf58b8eaae22c88ec04254b9ec9e7c8acb against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDragoteryx%2Fflatgrass" "/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/Dragoteryx/flatgrass 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] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Dragoteryx/flatgrass [INFO] finished tweaking git repo https://github.com/Dragoteryx/flatgrass [INFO] tweaked toml for git repo https://github.com/Dragoteryx/flatgrass written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Dragoteryx/flatgrass 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb8620aa99195dab37f715c9789dd584d1f427658c0bae6897f91c932f34e362 [INFO] running `Command { std: "docker" "start" "-a" "cb8620aa99195dab37f715c9789dd584d1f427658c0bae6897f91c932f34e362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb8620aa99195dab37f715c9789dd584d1f427658c0bae6897f91c932f34e362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb8620aa99195dab37f715c9789dd584d1f427658c0bae6897f91c932f34e362", kill_on_drop: false }` [INFO] [stdout] cb8620aa99195dab37f715c9789dd584d1f427658c0bae6897f91c932f34e362 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8af7e69142dfdfaedd3384a3c6e433676e4efda37d9f023d173897700081b8bb [INFO] running `Command { std: "docker" "start" "-a" "8af7e69142dfdfaedd3384a3c6e433676e4efda37d9f023d173897700081b8bb", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Checking flatgrass-macros v0.1.0 (/opt/rustwide/workdir/flatgrass-macros) [INFO] [stdout] error: this value of type `proc_macro2::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> flatgrass-macros/src/util.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn gen_function(lua_ident: syn::Ident, func: syn::ItemFn) -> TokenStream2 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let ret = spanned!(typ, LuaReturn::push_return(state, ret).map_err(|err| format!("{}", err))); [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | [INFO] [stdout] 59 | / quote::quote!( [INFO] [stdout] 60 | | #func [INFO] [stdout] 61 | | [INFO] [stdout] 62 | | #[no_mangle] [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | ) [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] | |_______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] 85 | } [INFO] [stdout] 86 | _ => quote::quote!( [INFO] [stdout] | __________- [INFO] [stdout] | |__________| [INFO] [stdout] | |__________| [INFO] [stdout] | |__________| [INFO] [stdout] | |__________| [INFO] [stdout] | |__________| [INFO] [stdout] | |__________| [INFO] [stdout] | |__________| [INFO] [stdout] 87 | | #func [INFO] [stdout] 88 | | [INFO] [stdout] 89 | | #[no_mangle] [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | ) [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] | |_____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] = 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flatgrass-macros` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `proc_macro2::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> flatgrass-macros/src/util.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn gen_function(lua_ident: syn::Ident, func: syn::ItemFn) -> TokenStream2 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let ret = spanned!(typ, LuaReturn::push_return(state, ret).map_err(|err| format!("{}", err))); [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | [INFO] [stdout] 59 | / quote::quote!( [INFO] [stdout] 60 | | #func [INFO] [stdout] 61 | | [INFO] [stdout] 62 | | #[no_mangle] [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | ) [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] | |_______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] 85 | } [INFO] [stdout] 86 | _ => quote::quote!( [INFO] [stdout] | __________- [INFO] [stdout] | |__________| [INFO] [stdout] | |__________| [INFO] [stdout] | |__________| [INFO] [stdout] | |__________| [INFO] [stdout] | |__________| [INFO] [stdout] | |__________| [INFO] [stdout] | |__________| [INFO] [stdout] 87 | | #func [INFO] [stdout] 88 | | [INFO] [stdout] 89 | | #[no_mangle] [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | ) [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] | |_____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] = 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flatgrass-macros` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "8af7e69142dfdfaedd3384a3c6e433676e4efda37d9f023d173897700081b8bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af7e69142dfdfaedd3384a3c6e433676e4efda37d9f023d173897700081b8bb", kill_on_drop: false }` [INFO] [stdout] 8af7e69142dfdfaedd3384a3c6e433676e4efda37d9f023d173897700081b8bb