[INFO] fetching crate rspg-macros 0.0.3... [INFO] checking rspg-macros-0.0.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rspg-macros 0.0.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rspg-macros 0.0.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 rspg-macros 0.0.3 [INFO] finished tweaking crates.io crate rspg-macros 0.0.3 [INFO] tweaked toml for crates.io crate rspg-macros 0.0.3 written to /workspace/builds/worker-6-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 40 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding blake2b_simd v0.5.11 (available: v1.0.2) [INFO] [stderr] Adding constant_time_eq v0.1.5 (available: v0.3.1) [INFO] [stderr] Adding dirs v1.0.5 (available: v5.0.1) [INFO] [stderr] Adding encode_unicode v0.3.6 (available: v1.0.0) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding prettytable-rs v0.8.0 (available: v0.10.0) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding redox_users v0.3.5 (available: v0.4.6) [INFO] [stderr] Adding ron v0.6.6 (available: v0.8.1) [INFO] [stderr] Adding rust-argon2 v0.8.3 (available: v2.1.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding term v0.5.2 (available: v1.0.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 8240d6c37d45af552cb9fa2734fd06aec1ec520ed494dcec31ea895965f20ed3 [INFO] running `Command { std: "docker" "start" "-a" "8240d6c37d45af552cb9fa2734fd06aec1ec520ed494dcec31ea895965f20ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8240d6c37d45af552cb9fa2734fd06aec1ec520ed494dcec31ea895965f20ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8240d6c37d45af552cb9fa2734fd06aec1ec520ed494dcec31ea895965f20ed3", kill_on_drop: false }` [INFO] [stdout] 8240d6c37d45af552cb9fa2734fd06aec1ec520ed494dcec31ea895965f20ed3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4dc17baf793e0d8e1b8fa9bd97ec4986b1244ac72f81d7e7e20698f91c1305f0 [INFO] running `Command { std: "docker" "start" "-a" "4dc17baf793e0d8e1b8fa9bd97ec4986b1244ac72f81d7e7e20698f91c1305f0", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking ron v0.6.6 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking rspg v0.0.3 [INFO] [stderr] Checking rspg-macros v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generate/data.rs:319:26 [INFO] [stdout] | [INFO] [stdout] 316 | let content; [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | outer_attrs: input.call(Attribute::parse_outer)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | brace: braced!(content in input), [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] | [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] warning: fields `start` and `semicolon` are never read [INFO] [stdout] --> src/generate/data.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Start { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 30 | pub start: keyword::start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub nonterminal: Ident, [INFO] [stdout] 32 | pub semicolon: Token![;], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Start` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error` and `semicolon` are never read [INFO] [stdout] --> src/generate/data.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct ErrorDescription { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 244 | pub error: keyword::error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 245 | pub ty: Type, [INFO] [stdout] 246 | pub semicolon: Token![;], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorDescription` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nonterminal`, `comma`, and `semicolon` are never read [INFO] [stdout] --> src/generate/data.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct NonterminalDescription { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 261 | pub nonterminal: keyword::nonterminal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 262 | pub ident: Ident, [INFO] [stdout] 263 | pub comma: Token![:], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 264 | pub ty: Type, [INFO] [stdout] 265 | pub semicolon: Token![;], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NonterminalDescription` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `terminal`, `double_arrow`, and `semicolon` are never read [INFO] [stdout] --> src/generate/data.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 281 | pub struct TerminalDescription { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 282 | pub terminal: keyword::terminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub double_arrow: Token![=>], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 286 | pub expr: Expr, [INFO] [stdout] 287 | pub semicolon: Token![;], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TerminalDescription` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mod_token` and `brace` are never read [INFO] [stdout] --> src/generate/data.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct RspgMod { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 307 | pub mod_token: Token![mod], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 308 | pub mod_name: Ident, [INFO] [stdout] 309 | pub brace: token::Brace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RspgMod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generate/data.rs:319:26 [INFO] [stdout] | [INFO] [stdout] 316 | let content; [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | outer_attrs: input.call(Attribute::parse_outer)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | brace: braced!(content in input), [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] | [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 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rspg-macros` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `start` and `semicolon` are never read [INFO] [stdout] --> src/generate/data.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Start { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 30 | pub start: keyword::start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub nonterminal: Ident, [INFO] [stdout] 32 | pub semicolon: Token![;], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Start` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error` and `semicolon` are never read [INFO] [stdout] --> src/generate/data.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct ErrorDescription { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 244 | pub error: keyword::error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 245 | pub ty: Type, [INFO] [stdout] 246 | pub semicolon: Token![;], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorDescription` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nonterminal`, `comma`, and `semicolon` are never read [INFO] [stdout] --> src/generate/data.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct NonterminalDescription { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 261 | pub nonterminal: keyword::nonterminal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 262 | pub ident: Ident, [INFO] [stdout] 263 | pub comma: Token![:], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 264 | pub ty: Type, [INFO] [stdout] 265 | pub semicolon: Token![;], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NonterminalDescription` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `terminal`, `double_arrow`, and `semicolon` are never read [INFO] [stdout] --> src/generate/data.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 281 | pub struct TerminalDescription { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 282 | pub terminal: keyword::terminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub double_arrow: Token![=>], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 286 | pub expr: Expr, [INFO] [stdout] 287 | pub semicolon: Token![;], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TerminalDescription` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mod_token` and `brace` are never read [INFO] [stdout] --> src/generate/data.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct RspgMod { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 307 | pub mod_token: Token![mod], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 308 | pub mod_name: Ident, [INFO] [stdout] 309 | pub brace: token::Brace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RspgMod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rspg-macros` (lib) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4dc17baf793e0d8e1b8fa9bd97ec4986b1244ac72f81d7e7e20698f91c1305f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dc17baf793e0d8e1b8fa9bd97ec4986b1244ac72f81d7e7e20698f91c1305f0", kill_on_drop: false }` [INFO] [stdout] 4dc17baf793e0d8e1b8fa9bd97ec4986b1244ac72f81d7e7e20698f91c1305f0