[INFO] fetching crate tstr_proc_macros 0.2.2... [INFO] checking tstr_proc_macros-0.2.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tstr_proc_macros 0.2.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate tstr_proc_macros 0.2.2 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 tstr_proc_macros 0.2.2 [INFO] finished tweaking crates.io crate tstr_proc_macros 0.2.2 [INFO] tweaked toml for crates.io crate tstr_proc_macros 0.2.2 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 4 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] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `syn` dependency) [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] c23b783032a28a63a744e5429a6d74bee8039c1a3942ae6e4f09c13b78c24631 [INFO] running `Command { std: "docker" "start" "-a" "c23b783032a28a63a744e5429a6d74bee8039c1a3942ae6e4f09c13b78c24631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c23b783032a28a63a744e5429a6d74bee8039c1a3942ae6e4f09c13b78c24631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c23b783032a28a63a744e5429a6d74bee8039c1a3942ae6e4f09c13b78c24631", kill_on_drop: false }` [INFO] [stdout] c23b783032a28a63a744e5429a6d74bee8039c1a3942ae6e4f09c13b78c24631 [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] 4d26798810e8bad453780c96a0a51ba6d1e5f5d45afa026eb0d0c7ff6763ab77 [INFO] running `Command { std: "docker" "start" "-a" "4d26798810e8bad453780c96a0a51ba6d1e5f5d45afa026eb0d0c7ff6763ab77", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `syn` dependency) [INFO] [stderr] Checking tstr_proc_macros v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `TokenTreeExt` is never used [INFO] [stdout] --> src/non_syn_parsing.rs:327:7 [INFO] [stdout] | [INFO] [stdout] 327 | trait TokenTreeExt: Sized { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `into_token_stream` and `set_span_recursive` are never used [INFO] [stdout] --> src/non_syn_parsing.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 350 | pub trait TokenStreamExt: Sized { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 351 | fn into_token_stream(self) -> TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 352 | [INFO] [stdout] 353 | fn set_span_recursive(self, span: Span) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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:55:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn __ts_impl(input_tokens: proc_macro::TokenStream) -> 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] 47 | let input_tokens = TokenStream::from(input_tokens); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let parsed = non_syn_parsing::parse_inputs(input_tokens); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | [INFO] [stdout] 55 | / match parsed { [INFO] [stdout] 56 | | Ok(Inputs { [INFO] [stdout] 57 | | crate_path, [INFO] [stdout] 58 | | strings, [INFO] [stdout] ... | [INFO] [stdout] 74 | | Err(e) => e.to_compile_error(), [INFO] [stdout] 75 | | } [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/non_syn_parsing.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn parse_inputs(ts: TokenStream) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | let crate_path = match iter.next() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Some(TokenTree::Group(group)) if group.delimiter() == Delimiter::Parenthesis => { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | Some(x) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | Ok(Inputs { [INFO] [stdout] | ________^ [INFO] [stdout] 38 | | crate_path, [INFO] [stdout] 39 | | strings, [INFO] [stdout] 40 | | }) [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] warning: trait `TokenTreeExt` is never used [INFO] [stdout] --> src/non_syn_parsing.rs:327:7 [INFO] [stdout] | [INFO] [stdout] 327 | trait TokenTreeExt: Sized { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `into_token_stream` and `set_span_recursive` are never used [INFO] [stdout] --> src/non_syn_parsing.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 350 | pub trait TokenStreamExt: Sized { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 351 | fn into_token_stream(self) -> TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 352 | [INFO] [stdout] 353 | fn set_span_recursive(self, span: Span) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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/non_syn_parsing.rs:319:23 [INFO] [stdout] | [INFO] [stdout] 318 | let msg = TokenTree::from(msg); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 319 | ts.extend(once(msg)) [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/non_syn_parsing.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 353 | fn set_span_recursive(self, span: Span) -> TokenStream { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | / self.into_token_stream() [INFO] [stdout] 355 | | .into_iter() [INFO] [stdout] 356 | | .map(|tt| tt.set_span_recursive(span)) [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/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn __ts_impl(input_tokens: proc_macro::TokenStream) -> 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] 47 | let input_tokens = TokenStream::from(input_tokens); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let parsed = non_syn_parsing::parse_inputs(input_tokens); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | [INFO] [stdout] 55 | / match parsed { [INFO] [stdout] 56 | | Ok(Inputs { [INFO] [stdout] 57 | | crate_path, [INFO] [stdout] 58 | | strings, [INFO] [stdout] ... | [INFO] [stdout] 74 | | Err(e) => e.to_compile_error(), [INFO] [stdout] 75 | | } [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: aborting due to 4 previous errors; 2 warnings emitted [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/non_syn_parsing.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn parse_inputs(ts: TokenStream) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | let crate_path = match iter.next() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Some(TokenTree::Group(group)) if group.delimiter() == Delimiter::Parenthesis => { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | Some(x) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | Ok(Inputs { [INFO] [stdout] | ________^ [INFO] [stdout] 38 | | crate_path, [INFO] [stdout] 39 | | strings, [INFO] [stdout] 40 | | }) [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] [stderr] error: could not compile `tstr_proc_macros` (lib) due to 5 previous errors; 2 warnings emitted [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/non_syn_parsing.rs:319:23 [INFO] [stdout] | [INFO] [stdout] 318 | let msg = TokenTree::from(msg); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 319 | ts.extend(once(msg)) [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/non_syn_parsing.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 353 | fn set_span_recursive(self, span: Span) -> TokenStream { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | / self.into_token_stream() [INFO] [stdout] 355 | | .into_iter() [INFO] [stdout] 356 | | .map(|tt| tt.set_span_recursive(span)) [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 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tstr_proc_macros` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4d26798810e8bad453780c96a0a51ba6d1e5f5d45afa026eb0d0c7ff6763ab77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d26798810e8bad453780c96a0a51ba6d1e5f5d45afa026eb0d0c7ff6763ab77", kill_on_drop: false }` [INFO] [stdout] 4d26798810e8bad453780c96a0a51ba6d1e5f5d45afa026eb0d0c7ff6763ab77