[INFO] fetching crate mockall_derive 0.13.0... [INFO] checking mockall_derive-0.13.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [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 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 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14c37c8ab0e6d023ef808882ff7d03adeb28561ed4166022c49d21302c5817d9 [INFO] running `Command { std: "docker" "start" "-a" "14c37c8ab0e6d023ef808882ff7d03adeb28561ed4166022c49d21302c5817d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14c37c8ab0e6d023ef808882ff7d03adeb28561ed4166022c49d21302c5817d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c37c8ab0e6d023ef808882ff7d03adeb28561ed4166022c49d21302c5817d9", kill_on_drop: false }` [INFO] [stdout] 14c37c8ab0e6d023ef808882ff7d03adeb28561ed4166022c49d21302c5817d9 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc96269dacbb8c648322e3b4618274f867831379536c50821e4ac9f63bcce7b2 [INFO] running `Command { std: "docker" "start" "-a" "cc96269dacbb8c648322e3b4618274f867831379536c50821e4ac9f63bcce7b2", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.13 [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 cfg-if v1.0.0 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.79 [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] 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::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] 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::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 `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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mockall_derive` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mockall_derive` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "cc96269dacbb8c648322e3b4618274f867831379536c50821e4ac9f63bcce7b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc96269dacbb8c648322e3b4618274f867831379536c50821e4ac9f63bcce7b2", kill_on_drop: false }` [INFO] [stdout] cc96269dacbb8c648322e3b4618274f867831379536c50821e4ac9f63bcce7b2