[INFO] fetching crate mockall_derive 0.13.0... [INFO] checking mockall_derive-0.13.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate mockall_derive 0.13.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate mockall_derive 0.13.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mockall_derive 0.13.0 [INFO] finished tweaking crates.io crate mockall_derive 0.13.0 [INFO] tweaked toml for crates.io crate mockall_derive 0.13.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94c73f9df93de827a5ab0ccdaa4fdb744240b231f47af1964b5e133925c16a9a [INFO] running `Command { std: "docker" "start" "-a" "94c73f9df93de827a5ab0ccdaa4fdb744240b231f47af1964b5e133925c16a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94c73f9df93de827a5ab0ccdaa4fdb744240b231f47af1964b5e133925c16a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94c73f9df93de827a5ab0ccdaa4fdb744240b231f47af1964b5e133925c16a9a", kill_on_drop: false }` [INFO] [stdout] 94c73f9df93de827a5ab0ccdaa4fdb744240b231f47af1964b5e133925c16a9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cd57cac6f163eaf65a0521622b74d227ee331c714228bb4d842709f0fee614d [INFO] running `Command { std: "docker" "start" "-a" "1cd57cac6f163eaf65a0521622b74d227ee331c714228bb4d842709f0fee614d", kill_on_drop: false }` [INFO] [stderr] Compiling mockall_derive v0.13.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stdout] error: this value of type `syn::Path` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_function.rs:539:17 [INFO] [stdout] | [INFO] [stdout] 474 | let attrs = AttrFormatter::new(&self.attrs) [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 485 | let desc = self.desc(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 486 | let no_match_msg = quote!(std::format!( [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 489 | let (vis, dead_code) = if self.trait_.is_some() { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 505 | let no_mangle = if let Some(ref abi) = self.sig.abi { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 519 | let substruct_obj: TokenStream = if let Some(trait_) = &self.trait_ { [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 525 | let call = if self.return_refmut { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 530 | let mut deref = quote!(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 539 | let outer_mod_path = self.outer_mod_path(modname); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 540 | / quote!( [INFO] [stdout] 541 | | // Don't add a doc string. The original is included in #attrs [INFO] [stdout] 542 | | #(#attrs)* [INFO] [stdout] 543 | | #dead_code [INFO] [stdout] ... | [INFO] [stdout] 560 | | } [INFO] [stdout] 561 | | ) [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] 562 | } else { [INFO] [stdout] 563 | / quote!( [INFO] [stdout] 564 | | // Don't add a doc string. The original is included in #attrs [INFO] [stdout] 565 | | #(#attrs)* [INFO] [stdout] 566 | | #dead_code [INFO] [stdout] ... | [INFO] [stdout] 574 | | [INFO] [stdout] 575 | | ) [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] = 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 `syn::AngleBracketedGenericArguments` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_function.rs:715:17 [INFO] [stdout] | [INFO] [stdout] 710 | let inner_mod_ident = self.inner_mod_ident(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 715 | let mut abga2 = abga.clone(); [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: this value of type `syn::Path` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_function.rs:539:17 [INFO] [stdout] | [INFO] [stdout] 474 | let attrs = AttrFormatter::new(&self.attrs) [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 485 | let desc = self.desc(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 486 | let no_match_msg = quote!(std::format!( [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 489 | let (vis, dead_code) = if self.trait_.is_some() { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 505 | let no_mangle = if let Some(ref abi) = self.sig.abi { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 519 | let substruct_obj: TokenStream = if let Some(trait_) = &self.trait_ { [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 525 | let call = if self.return_refmut { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 530 | let mut deref = quote!(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 539 | let outer_mod_path = self.outer_mod_path(modname); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 540 | / quote!( [INFO] [stdout] 541 | | // Don't add a doc string. The original is included in #attrs [INFO] [stdout] 542 | | #(#attrs)* [INFO] [stdout] 543 | | #dead_code [INFO] [stdout] ... | [INFO] [stdout] 560 | | } [INFO] [stdout] 561 | | ) [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] 562 | } else { [INFO] [stdout] 563 | / quote!( [INFO] [stdout] 564 | | // Don't add a doc string. The original is included in #attrs [INFO] [stdout] 565 | | #(#attrs)* [INFO] [stdout] 566 | | #dead_code [INFO] [stdout] ... | [INFO] [stdout] 574 | | [INFO] [stdout] 575 | | ) [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] = 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 `syn::AngleBracketedGenericArguments` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_function.rs:715:17 [INFO] [stdout] | [INFO] [stdout] 710 | let inner_mod_ident = self.inner_mod_ident(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 715 | let mut abga2 = abga.clone(); [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: this value of type `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_function.rs:326:47 [INFO] [stdout] | [INFO] [stdout] 207 | let (mut declosured_generics, declosured_inputs, call_exprs, sig) = [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 284 | let (type_generics, salifetimes, srlifetimes) = split_lifetimes( [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 290 | let srltg = lifetimes_to_generics(&srlifetimes); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | let (call_generics, malifetimes, mrlifetimes) = split_lifetimes( [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 297 | let mrltg = lifetimes_to_generics(&mrlifetimes); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | mod_ident: self.parent.unwrap_or(&Ident::new("FIXME", Span::call_site())).clone(), [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: this value of type `syn::Generics` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_function.rs:756:17 [INFO] [stdout] | [INFO] [stdout] 746 | let attrs = AttrFormatter::new(&self.attrs) [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 749 | let expectations_obj = &self.expectations_obj(); [INFO] [stdout] | ----------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 750 | if self.is_method_generic() { [INFO] [stdout] 751 | quote!(#(#attrs)* #name: #modname::#expectations_obj) [INFO] [stdout] | ----------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 756 | let segenerics = staticize(&self.egenerics); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 757 | let (_, tg, _) = segenerics.split_for_impl(); [INFO] [stdout] 758 | quote!(#(#attrs)* #name: #modname::#expectations_obj #tg) [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 `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_function.rs:326:47 [INFO] [stdout] | [INFO] [stdout] 207 | let (mut declosured_generics, declosured_inputs, call_exprs, sig) = [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 284 | let (type_generics, salifetimes, srlifetimes) = split_lifetimes( [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 290 | let srltg = lifetimes_to_generics(&srlifetimes); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | let (call_generics, malifetimes, mrlifetimes) = split_lifetimes( [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 297 | let mrltg = lifetimes_to_generics(&mrlifetimes); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | mod_ident: self.parent.unwrap_or(&Ident::new("FIXME", Span::call_site())).clone(), [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: this value of type `syn::Generics` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_function.rs:756:17 [INFO] [stdout] | [INFO] [stdout] 746 | let attrs = AttrFormatter::new(&self.attrs) [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 749 | let expectations_obj = &self.expectations_obj(); [INFO] [stdout] | ----------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 750 | if self.is_method_generic() { [INFO] [stdout] 751 | quote!(#(#attrs)* #name: #modname::#expectations_obj) [INFO] [stdout] | ----------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 756 | let segenerics = staticize(&self.egenerics); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 757 | let (_, tg, _) = segenerics.split_for_impl(); [INFO] [stdout] 758 | quote!(#(#attrs)* #name: #modname::#expectations_obj #tg) [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 `mockall_derive` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mockall_derive` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "1cd57cac6f163eaf65a0521622b74d227ee331c714228bb4d842709f0fee614d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd57cac6f163eaf65a0521622b74d227ee331c714228bb4d842709f0fee614d", kill_on_drop: false }` [INFO] [stdout] 1cd57cac6f163eaf65a0521622b74d227ee331c714228bb4d842709f0fee614d