[INFO] fetching crate rspg-macros 0.0.3... [INFO] checking rspg-macros-0.0.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rspg-macros 0.0.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rspg-macros 0.0.3 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 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-0-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.6) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding blake2b_simd v0.5.11 (latest: v1.0.2) [INFO] [stderr] Adding constant_time_eq v0.1.5 (latest: v0.3.1) [INFO] [stderr] Adding dirs v1.0.5 (latest: v5.0.1) [INFO] [stderr] Adding encode_unicode v0.3.6 (latest: v1.0.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding prettytable-rs v0.8.0 (latest: v0.10.0) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.3) [INFO] [stderr] Adding redox_users v0.3.5 (latest: v0.4.6) [INFO] [stderr] Adding ron v0.6.6 (latest: v0.8.1) [INFO] [stderr] Adding rust-argon2 v0.8.3 (latest: v2.1.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding term v0.5.2 (latest: v1.0.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 7777cc3e6c8b400c7c5d154d499b95e1e0af72a8712fe95a70609db5fa605be7 [INFO] running `Command { std: "docker" "start" "-a" "7777cc3e6c8b400c7c5d154d499b95e1e0af72a8712fe95a70609db5fa605be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7777cc3e6c8b400c7c5d154d499b95e1e0af72a8712fe95a70609db5fa605be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7777cc3e6c8b400c7c5d154d499b95e1e0af72a8712fe95a70609db5fa605be7", kill_on_drop: false }` [INFO] [stdout] 7777cc3e6c8b400c7c5d154d499b95e1e0af72a8712fe95a70609db5fa605be7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f9c5f0733bf2762bb23d6cf852ad9958b655db43ff355fb0a265f8423c6ef272 [INFO] running `Command { std: "docker" "start" "-a" "f9c5f0733bf2762bb23d6cf852ad9958b655db43ff355fb0a265f8423c6ef272", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking quote v1.0.37 [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.209 [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] 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: 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:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn rspg(input: 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] 5 | / generate::generate(input.into()) [INFO] [stdout] 6 | | .unwrap_or_else(|err| err.to_compile_error()) [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/generate.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | .map(|n| (n.ident.to_string(), n.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generate.rs:140:34 [INFO] [stdout] | [INFO] [stdout] 140 | .map(|t| (t.lit.value(), t.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generate/data.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 172 | let mut start = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | let mut token = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | let mut error = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | let mut terminals = Vec::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | let mut nonterminals = Vec::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let mut rules = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | Ok(RspgContent { [INFO] [stdout] | ____________^ [INFO] [stdout] 195 | | start: start.ok_or_else(|| input.error("start clause required"))?, [INFO] [stdout] 196 | | token: token.ok_or_else(|| input.error("token clause required"))?, [INFO] [stdout] 197 | | terminals, [INFO] [stdout] ... | [INFO] [stdout] 200 | | rules, [INFO] [stdout] 201 | | }) [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/generate/data.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 316 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | #[allow(clippy::eval_order_dependence)] [INFO] [stdout] 318 | Ok(RspgMod { [INFO] [stdout] | ____________^ [INFO] [stdout] 319 | | outer_attrs: input.call(Attribute::parse_outer)?, [INFO] [stdout] 320 | | visibility: input.parse()?, [INFO] [stdout] 321 | | mod_token: input.parse()?, [INFO] [stdout] ... | [INFO] [stdout] 325 | | content: content.parse()?, [INFO] [stdout] 326 | | }) [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 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rspg-macros` (lib) due to 6 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: 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:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn rspg(input: 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] 5 | / generate::generate(input.into()) [INFO] [stdout] 6 | | .unwrap_or_else(|err| err.to_compile_error()) [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/generate.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | .map(|n| (n.ident.to_string(), n.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generate.rs:140:34 [INFO] [stdout] | [INFO] [stdout] 140 | .map(|t| (t.lit.value(), t.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generate/data.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 172 | let mut start = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | let mut token = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | let mut error = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | let mut terminals = Vec::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | let mut nonterminals = Vec::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let mut rules = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | Ok(RspgContent { [INFO] [stdout] | ____________^ [INFO] [stdout] 195 | | start: start.ok_or_else(|| input.error("start clause required"))?, [INFO] [stdout] 196 | | token: token.ok_or_else(|| input.error("token clause required"))?, [INFO] [stdout] 197 | | terminals, [INFO] [stdout] ... | [INFO] [stdout] 200 | | rules, [INFO] [stdout] 201 | | }) [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/generate/data.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 316 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | #[allow(clippy::eval_order_dependence)] [INFO] [stdout] 318 | Ok(RspgMod { [INFO] [stdout] | ____________^ [INFO] [stdout] 319 | | outer_attrs: input.call(Attribute::parse_outer)?, [INFO] [stdout] 320 | | visibility: input.parse()?, [INFO] [stdout] 321 | | mod_token: input.parse()?, [INFO] [stdout] ... | [INFO] [stdout] 325 | | content: content.parse()?, [INFO] [stdout] 326 | | }) [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 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rspg-macros` (lib test) due to 6 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f9c5f0733bf2762bb23d6cf852ad9958b655db43ff355fb0a265f8423c6ef272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9c5f0733bf2762bb23d6cf852ad9958b655db43ff355fb0a265f8423c6ef272", kill_on_drop: false }` [INFO] [stdout] f9c5f0733bf2762bb23d6cf852ad9958b655db43ff355fb0a265f8423c6ef272