[INFO] fetching crate neon-macros 1.1.0-alpha.0... [INFO] checking neon-macros-1.1.0-alpha.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate neon-macros 1.1.0-alpha.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate neon-macros 1.1.0-alpha.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate neon-macros 1.1.0-alpha.0 [INFO] finished tweaking crates.io crate neon-macros 1.1.0-alpha.0 [INFO] tweaked toml for crates.io crate neon-macros 1.1.0-alpha.0 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dca1e6cd07e986ac2e2858acef2331f39170181d2c2f213a713c066ba73157bc [INFO] running `Command { std: "docker" "start" "-a" "dca1e6cd07e986ac2e2858acef2331f39170181d2c2f213a713c066ba73157bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dca1e6cd07e986ac2e2858acef2331f39170181d2c2f213a713c066ba73157bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dca1e6cd07e986ac2e2858acef2331f39170181d2c2f213a713c066ba73157bc", kill_on_drop: false }` [INFO] [stdout] dca1e6cd07e986ac2e2858acef2331f39170181d2c2f213a713c066ba73157bc [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 145ff78e1e76c0c58c74c6258dee175f01924d00124d5f41ad6d99d9f863c120 [INFO] running `Command { std: "docker" "start" "-a" "145ff78e1e76c0c58c74c6258dee175f01924d00124d5f41ad6d99d9f863c120", kill_on_drop: false }` [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking neon-macros v1.1.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/export/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn unsupported(item: syn::Item) -> proc_macro::TokenStream { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | err.into_compile_error().into() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/export/function/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | let tuple_fields = args.clone().map(|name| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | / meta.json [INFO] [stdout] 39 | | .then(|| quote::quote!(neon::types::extract::Json(#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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/export/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn unsupported(item: syn::Item) -> proc_macro::TokenStream { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | err.into_compile_error().into() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/export/function/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | let tuple_fields = args.clone().map(|name| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | / meta.json [INFO] [stdout] 39 | | .then(|| quote::quote!(neon::types::extract::Json(#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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/export/global/mod.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) fn export(meta: meta::Meta, name: &syn::Ident, expr: Box) -> Box { [INFO] [stdout] | ---------------- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | // Name for the registered create function [INFO] [stdout] 6 | let create_name = quote::format_ident!("__NEON_EXPORT_CREATE__{name}"); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 9 | let export_name = meta [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | let value = meta [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let create_fn = quote::quote!({ [INFO] [stdout] | _________---------___- [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | | #[doc(hidden)] [INFO] [stdout] 29 | | #[neon::macro_internal::linkme::distributed_slice(neon::macro_internal::EXPORTS)] [INFO] [stdout] 30 | | #[linkme(crate = neon::macro_internal::linkme)] [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | let expr = quote::quote!({ [INFO] [stdout] | _________----___- [INFO] [stdout] | |_________|______| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | | #create_fn [INFO] [stdout] 44 | | #expr [INFO] [stdout] 45 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | | Box::new(syn::Expr::Verbatim(expr)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/export/global/mod.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) fn export(meta: meta::Meta, name: &syn::Ident, expr: Box) -> Box { [INFO] [stdout] | ---------------- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | // Name for the registered create function [INFO] [stdout] 6 | let create_name = quote::format_ident!("__NEON_EXPORT_CREATE__{name}"); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 9 | let export_name = meta [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | let value = meta [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let create_fn = quote::quote!({ [INFO] [stdout] | _________---------___- [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | |_________|___________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | | #[doc(hidden)] [INFO] [stdout] 29 | | #[neon::macro_internal::linkme::distributed_slice(neon::macro_internal::EXPORTS)] [INFO] [stdout] 30 | | #[linkme(crate = neon::macro_internal::linkme)] [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | let expr = quote::quote!({ [INFO] [stdout] | _________----___- [INFO] [stdout] | |_________|______| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | | #create_fn [INFO] [stdout] 44 | | #expr [INFO] [stdout] 45 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | | Box::new(syn::Expr::Verbatim(expr)) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neon-macros` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `neon-macros` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "145ff78e1e76c0c58c74c6258dee175f01924d00124d5f41ad6d99d9f863c120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "145ff78e1e76c0c58c74c6258dee175f01924d00124d5f41ad6d99d9f863c120", kill_on_drop: false }` [INFO] [stdout] 145ff78e1e76c0c58c74c6258dee175f01924d00124d5f41ad6d99d9f863c120