[INFO] fetching crate fieldx_derive 0.1.3... [INFO] checking fieldx_derive-0.1.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate fieldx_derive 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate fieldx_derive 0.1.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 fieldx_derive 0.1.3 [INFO] finished tweaking crates.io crate fieldx_derive 0.1.3 [INFO] tweaked toml for crates.io crate fieldx_derive 0.1.3 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" "+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 24 packages to latest compatible versions [INFO] [stderr] Adding delegate v0.12.0 (available: v0.13.0) [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] Blocking waiting for file lock on package cache [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3928819dac2f4776d819adb5bb1b80d52ff1ec256b23e89836d7cbe0669ee18d [INFO] running `Command { std: "docker" "start" "-a" "3928819dac2f4776d819adb5bb1b80d52ff1ec256b23e89836d7cbe0669ee18d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3928819dac2f4776d819adb5bb1b80d52ff1ec256b23e89836d7cbe0669ee18d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3928819dac2f4776d819adb5bb1b80d52ff1ec256b23e89836d7cbe0669ee18d", kill_on_drop: false }` [INFO] [stdout] 3928819dac2f4776d819adb5bb1b80d52ff1ec256b23e89836d7cbe0669ee18d [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66019fc5c32b5d20a8e79bcf04b12aaff3082ae005b7820353c20c3bca62cecb [INFO] running `Command { std: "docker" "start" "-a" "66019fc5c32b5d20a8e79bcf04b12aaff3082ae005b7820353c20c3bca62cecb", kill_on_drop: false }` [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking ident_case v1.0.1 [INFO] [stderr] Checking rust-format v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking syn v2.0.79 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling delegate v0.12.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling getset v0.1.3 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling fieldx_derive_support v0.1.3 [INFO] [stderr] Checking fieldx_aux v0.1.3 [INFO] [stderr] Checking fieldx_derive v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen/nonsync.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 53 | impl<'f> FXCGenContextual<'f> for FXCodeGen<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 65 | fn field_ctx_table(&'f self) -> Ref>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen/nonsync.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 53 | impl<'f> FXCGenContextual<'f> for FXCodeGen<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 70 | fn field_ctx_table_mut(&'f self) -> RefMut>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen/sync.rs:129:40 [INFO] [stdout] | [INFO] [stdout] 117 | impl<'f> FXCGenContextual<'f> for FXCodeGen<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 129 | fn field_ctx_table(&'f self) -> Ref>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen/sync.rs:134:47 [INFO] [stdout] | [INFO] [stdout] 117 | impl<'f> FXCGenContextual<'f> for FXCodeGen<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 134 | fn field_ctx_table_mut(&'f self) -> RefMut>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) trait FXCGenContextual<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 109 | fn field_ctx_table(&'f self) -> Ref>>; [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) trait FXCGenContextual<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 110 | fn field_ctx_table_mut(&'f self) -> RefMut>>; [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen.rs:201:82 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) trait FXCGenContextual<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 201 | fn ident_field_ctx(&'f self, field_ident: &syn::Ident) -> darling::Result>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen.rs:207:70 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) trait FXCGenContextual<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 207 | fn field_ctx(&'f self, field: &'f FXField) -> darling::Result>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen.rs:554:63 [INFO] [stdout] | [INFO] [stdout] 361 | pub(crate) trait FXCGen<'f>: FXCGenContextual<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 554 | fn builder_field_ctxs(&'f self) -> Vec>>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen/nonsync.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 53 | impl<'f> FXCGenContextual<'f> for FXCodeGen<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 65 | fn field_ctx_table(&'f self) -> Ref>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen/nonsync.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 53 | impl<'f> FXCGenContextual<'f> for FXCodeGen<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 70 | fn field_ctx_table_mut(&'f self) -> RefMut>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen/sync.rs:129:40 [INFO] [stdout] | [INFO] [stdout] 117 | impl<'f> FXCGenContextual<'f> for FXCodeGen<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 129 | fn field_ctx_table(&'f self) -> Ref>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen/sync.rs:134:47 [INFO] [stdout] | [INFO] [stdout] 117 | impl<'f> FXCGenContextual<'f> for FXCodeGen<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 134 | fn field_ctx_table_mut(&'f self) -> RefMut>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) trait FXCGenContextual<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 109 | fn field_ctx_table(&'f self) -> Ref>>; [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) trait FXCGenContextual<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 110 | fn field_ctx_table_mut(&'f self) -> RefMut>>; [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen.rs:201:82 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) trait FXCGenContextual<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 201 | fn ident_field_ctx(&'f self, field_ident: &syn::Ident) -> darling::Result>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen.rs:207:70 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) trait FXCGenContextual<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 207 | fn field_ctx(&'f self, field: &'f FXField) -> darling::Result>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/codegen.rs:554:63 [INFO] [stdout] | [INFO] [stdout] 361 | pub(crate) trait FXCGen<'f>: FXCGenContextual<'f> { [INFO] [stdout] | -- lifetime `'f` declared here [INFO] [stdout] ... [INFO] [stdout] 554 | fn builder_field_ctxs(&'f self) -> Vec>>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `RefMut<'_, OnceCell>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/context.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut errors = self.errors.borrow_mut(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | self.tokens.borrow_mut().take().unwrap_or_else(|| TokenStream::new()) [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 `RefMut<'_, OnceCell>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/context.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut errors = self.errors.borrow_mut(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | self.tokens.borrow_mut().take().unwrap_or_else(|| TokenStream::new()) [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 `FXRewriter<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 34 | let attr_args = match ast::NestedMeta::parse_meta_list(args.into()) { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | let input_ast = parse_macro_input!(input as DeriveInput); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | codegen::FXRewriter::new(fx, args).rewrite().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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fieldx_derive` (lib) due to 3 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `FXRewriter<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 34 | let attr_args = match ast::NestedMeta::parse_meta_list(args.into()) { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | let input_ast = parse_macro_input!(input as DeriveInput); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | codegen::FXRewriter::new(fx, args).rewrite().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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fieldx_derive` (lib test) due to 3 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "66019fc5c32b5d20a8e79bcf04b12aaff3082ae005b7820353c20c3bca62cecb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66019fc5c32b5d20a8e79bcf04b12aaff3082ae005b7820353c20c3bca62cecb", kill_on_drop: false }` [INFO] [stdout] 66019fc5c32b5d20a8e79bcf04b12aaff3082ae005b7820353c20c3bca62cecb