[INFO] fetching crate recode-derive 0.5.0-alpha.1... [INFO] checking recode-derive-0.5.0-alpha.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate recode-derive 0.5.0-alpha.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate recode-derive 0.5.0-alpha.1 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 recode-derive 0.5.0-alpha.1 [INFO] finished tweaking crates.io crate recode-derive 0.5.0-alpha.1 [INFO] tweaked toml for crates.io crate recode-derive 0.5.0-alpha.1 written to /workspace/builds/worker-4-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 16 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c770feeaf47a17f57dad7a00d7742ca9466ba8d502ee8004fb155aad7356e6b5 [INFO] running `Command { std: "docker" "start" "-a" "c770feeaf47a17f57dad7a00d7742ca9466ba8d502ee8004fb155aad7356e6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c770feeaf47a17f57dad7a00d7742ca9466ba8d502ee8004fb155aad7356e6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c770feeaf47a17f57dad7a00d7742ca9466ba8d502ee8004fb155aad7356e6b5", kill_on_drop: false }` [INFO] [stdout] c770feeaf47a17f57dad7a00d7742ca9466ba8d502ee8004fb155aad7356e6b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4233fde71a2075a1a48cceda8fcb3239cf4c584a60fd5f15c308f412f379220d [INFO] running `Command { std: "docker" "start" "-a" "4233fde71a2075a1a48cceda8fcb3239cf4c584a60fd5f15c308f412f379220d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking darling_core v0.20.10 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking darling v0.20.10 [INFO] [stderr] Checking recode-derive v0.5.0-alpha.1 (/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/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | / match <$m>::from_derive_input(&syn::parse_macro_input!($i)) { [INFO] [stdout] 12 | | | Ok(val) => val.into_token_stream(), [INFO] [stdout] 13 | | | Err(err) => err.write_errors(), [INFO] [stdout] 14 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn derive_decoder(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | emit_impl_or_error!(decoder::Decoder[input]).into() [INFO] [stdout] | -------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `emit_impl_or_error` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | / match <$m>::from_derive_input(&syn::parse_macro_input!($i)) { [INFO] [stdout] 12 | | | Ok(val) => val.into_token_stream(), [INFO] [stdout] 13 | | | Err(err) => err.write_errors(), [INFO] [stdout] 14 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn derive_encoder(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | emit_impl_or_error!(encoder::Encoder[input]).into() [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `emit_impl_or_error` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | / match <$m>::from_derive_input(&syn::parse_macro_input!($i)) { [INFO] [stdout] 12 | | | Ok(val) => val.into_token_stream(), [INFO] [stdout] 13 | | | Err(err) => err.write_errors(), [INFO] [stdout] 14 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn derive_recode(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | emit_impl_or_error!(recode::Recode[input]).into() [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `emit_impl_or_error` (in Nightly builds, run with -Z macro-backtrace for more info) [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/encoder.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 144 | let input = map [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | .unwrap_or(quote! (#ident)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | let validate = validate [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | let stmt = 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] 153 | | #validate [INFO] [stdout] 154 | | <#with as recode::Encoder<#ty>>::encode(#input, #buf_ident)?; [INFO] [stdout] 155 | | }; [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] 156 | [INFO] [stdout] 157 | / skip_if [INFO] [stdout] 158 | .as_ref() [INFO] [stdout] 159 | | .map(|s| quote::quote! (if !(#s) { #stmt })) [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/recode.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 80 | .map_struct_fields(|f| decoder::DecoderField { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | decoder: decoder::DecoderFieldOpts { [INFO] [stdout] | __________________________^ [INFO] [stdout] 84 | | skip: if f.skip.is_present() { [INFO] [stdout] 85 | | Flag::present() [INFO] [stdout] 86 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 92 | | ..f.decoder [INFO] [stdout] 93 | | }, [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/recode.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 103 | .map_struct_fields(|f| encoder::EncoderField { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | encoder: encoder::EncoderFieldOpts { [INFO] [stdout] | __________________________^ [INFO] [stdout] 107 | | skip: if f.skip.is_present() { [INFO] [stdout] 108 | | Flag::present() [INFO] [stdout] 109 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 115 | | ..f.encoder [INFO] [stdout] 116 | | }, [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `recode-derive` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | / match <$m>::from_derive_input(&syn::parse_macro_input!($i)) { [INFO] [stdout] 12 | | | Ok(val) => val.into_token_stream(), [INFO] [stdout] 13 | | | Err(err) => err.write_errors(), [INFO] [stdout] 14 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn derive_decoder(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | emit_impl_or_error!(decoder::Decoder[input]).into() [INFO] [stdout] | -------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `emit_impl_or_error` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | / match <$m>::from_derive_input(&syn::parse_macro_input!($i)) { [INFO] [stdout] 12 | | | Ok(val) => val.into_token_stream(), [INFO] [stdout] 13 | | | Err(err) => err.write_errors(), [INFO] [stdout] 14 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn derive_encoder(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | emit_impl_or_error!(encoder::Encoder[input]).into() [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `emit_impl_or_error` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | / match <$m>::from_derive_input(&syn::parse_macro_input!($i)) { [INFO] [stdout] 12 | | | Ok(val) => val.into_token_stream(), [INFO] [stdout] 13 | | | Err(err) => err.write_errors(), [INFO] [stdout] 14 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn derive_recode(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | emit_impl_or_error!(recode::Recode[input]).into() [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `emit_impl_or_error` (in Nightly builds, run with -Z macro-backtrace for more info) [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/encoder.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 144 | let input = map [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | .unwrap_or(quote! (#ident)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | let validate = validate [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | let stmt = 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] 153 | | #validate [INFO] [stdout] 154 | | <#with as recode::Encoder<#ty>>::encode(#input, #buf_ident)?; [INFO] [stdout] 155 | | }; [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] 156 | [INFO] [stdout] 157 | / skip_if [INFO] [stdout] 158 | .as_ref() [INFO] [stdout] 159 | | .map(|s| quote::quote! (if !(#s) { #stmt })) [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/recode.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 80 | .map_struct_fields(|f| decoder::DecoderField { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | decoder: decoder::DecoderFieldOpts { [INFO] [stdout] | __________________________^ [INFO] [stdout] 84 | | skip: if f.skip.is_present() { [INFO] [stdout] 85 | | Flag::present() [INFO] [stdout] 86 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 92 | | ..f.decoder [INFO] [stdout] 93 | | }, [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/recode.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 103 | .map_struct_fields(|f| encoder::EncoderField { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | encoder: encoder::EncoderFieldOpts { [INFO] [stdout] | __________________________^ [INFO] [stdout] 107 | | skip: if f.skip.is_present() { [INFO] [stdout] 108 | | Flag::present() [INFO] [stdout] 109 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 115 | | ..f.encoder [INFO] [stdout] 116 | | }, [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `recode-derive` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "4233fde71a2075a1a48cceda8fcb3239cf4c584a60fd5f15c308f412f379220d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4233fde71a2075a1a48cceda8fcb3239cf4c584a60fd5f15c308f412f379220d", kill_on_drop: false }` [INFO] [stdout] 4233fde71a2075a1a48cceda8fcb3239cf4c584a60fd5f15c308f412f379220d