[INFO] fetching crate enum-lexer-macro 0.1.0... [INFO] checking enum-lexer-macro-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate enum-lexer-macro 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate enum-lexer-macro 0.1.0 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 enum-lexer-macro 0.1.0 [INFO] finished tweaking crates.io crate enum-lexer-macro 0.1.0 [INFO] tweaked toml for crates.io crate enum-lexer-macro 0.1.0 written to /workspace/builds/worker-5-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.7.1 (latest: v0.11.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding sorted-vec v0.3.7 (latest: v0.8.3) [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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b19f9f19916c66224758bfdb463700ee2e6f38b9327c4c2697fdb0b6177cf581 [INFO] running `Command { std: "docker" "start" "-a" "b19f9f19916c66224758bfdb463700ee2e6f38b9327c4c2697fdb0b6177cf581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b19f9f19916c66224758bfdb463700ee2e6f38b9327c4c2697fdb0b6177cf581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b19f9f19916c66224758bfdb463700ee2e6f38b9327c4c2697fdb0b6177cf581", kill_on_drop: false }` [INFO] [stdout] b19f9f19916c66224758bfdb463700ee2e6f38b9327c4c2697fdb0b6177cf581 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 55b8d6bfb9eb386dbcb611961adc0efbfbd163cdc4bd98f69a3259b48158e75a [INFO] running `Command { std: "docker" "start" "-a" "55b8d6bfb9eb386dbcb611961adc0efbfbd163cdc4bd98f69a3259b48158e75a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking sorted-vec v0.3.7 [INFO] [stderr] Checking dot v0.1.4 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking regex-dfa-gen v0.1.0 [INFO] [stderr] Checking enum-lexer-macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `vis`, `enum_token`, and `brace_token` are never read [INFO] [stdout] --> src/ast.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct EnumLexer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | pub attrs: Vec, [INFO] [stdout] 11 | pub vis: syn::Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub enum_token: token::Enum, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub ident: Ident, [INFO] [stdout] 14 | pub brace_token: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumLexer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `colon` and `comma` are never read [INFO] [stdout] --> src/ast.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | Single{ [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 23 | variant: syn::Variant, [INFO] [stdout] 24 | colon: token::Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | regex: syn::LitStr, [INFO] [stdout] 26 | comma: token::Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerVariant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `colon` and `brace_token` are never read [INFO] [stdout] --> src/ast.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | Multiple{ [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 29 | variant: syn::Variant, [INFO] [stdout] 30 | colon: token::Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | brace_token: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerVariant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fat_arrow_token` and `comma` are never read [INFO] [stdout] --> src/ast.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct LexerEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 37 | pub regex: syn::LitStr, [INFO] [stdout] 38 | pub fat_arrow_token: token::FatArrow, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub body: Option, [INFO] [stdout] 40 | pub comma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerEntry` has a derived impl for the trait `Clone`, but this is 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:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn enum_lexer_optional_bool(input: TokenStream, test: bool) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let lexer = syn::parse_macro_input!(input as EnumLexer); [INFO] [stdout] | ----- ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | / match generate(lexer, test) { [INFO] [stdout] 30 | | Ok(stream) => { [INFO] [stdout] 31 | | // let mut file = std::fs::File::create("gen_lexer.rs").unwrap(); [INFO] [stdout] 32 | | // use std::io::Write; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | }.into() [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/ast.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 45 | let error_type: syn::ItemType; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let attrs = input.call(syn::Attribute::parse_outer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let vis = input.parse::()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let enum_token = input.parse::()?; [INFO] [stdout] 54 | let ident = input.parse::()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | [INFO] [stdout] 56 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let brace_token = syn::braced!(content in input); [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | [INFO] [stdout] 59 | let mut variants = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 65 | | attrs, [INFO] [stdout] 66 | | vis, [INFO] [stdout] 67 | | enum_token, [INFO] [stdout] ... | [INFO] [stdout] 71 | | error_type [INFO] [stdout] 72 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/gen.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_dfa(lexer: ast::EnumLexer, test: bool) -> Result<(Vec, Dfa)> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let vec: Vec<_> = lexer.variants.into_iter().flat_map(|v| v.regex_maps()).collect(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | [INFO] [stdout] 93 | let asts: Result> = vec.iter().map(|m| [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let asts = asts?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok((vec, dfa)) [INFO] [stdout] | ^^^^^^^^^^ these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gen.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | m.regex.value().parse::() [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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `enum-lexer-macro` (lib test) due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `vis`, `enum_token`, and `brace_token` are never read [INFO] [stdout] --> src/ast.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct EnumLexer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | pub attrs: Vec, [INFO] [stdout] 11 | pub vis: syn::Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub enum_token: token::Enum, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub ident: Ident, [INFO] [stdout] 14 | pub brace_token: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumLexer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `colon` and `comma` are never read [INFO] [stdout] --> src/ast.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | Single{ [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 23 | variant: syn::Variant, [INFO] [stdout] 24 | colon: token::Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | regex: syn::LitStr, [INFO] [stdout] 26 | comma: token::Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerVariant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `colon` and `brace_token` are never read [INFO] [stdout] --> src/ast.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | Multiple{ [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 29 | variant: syn::Variant, [INFO] [stdout] 30 | colon: token::Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | brace_token: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerVariant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fat_arrow_token` and `comma` are never read [INFO] [stdout] --> src/ast.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct LexerEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 37 | pub regex: syn::LitStr, [INFO] [stdout] 38 | pub fat_arrow_token: token::FatArrow, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub body: Option, [INFO] [stdout] 40 | pub comma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerEntry` has a derived impl for the trait `Clone`, but this is 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:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn enum_lexer_optional_bool(input: TokenStream, test: bool) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let lexer = syn::parse_macro_input!(input as EnumLexer); [INFO] [stdout] | ----- ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | / match generate(lexer, test) { [INFO] [stdout] 30 | | Ok(stream) => { [INFO] [stdout] 31 | | // let mut file = std::fs::File::create("gen_lexer.rs").unwrap(); [INFO] [stdout] 32 | | // use std::io::Write; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | }.into() [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/ast.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 45 | let error_type: syn::ItemType; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let attrs = input.call(syn::Attribute::parse_outer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let vis = input.parse::()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let enum_token = input.parse::()?; [INFO] [stdout] 54 | let ident = input.parse::()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | [INFO] [stdout] 56 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let brace_token = syn::braced!(content in input); [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | [INFO] [stdout] 59 | let mut variants = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 65 | | attrs, [INFO] [stdout] 66 | | vis, [INFO] [stdout] 67 | | enum_token, [INFO] [stdout] ... | [INFO] [stdout] 71 | | error_type [INFO] [stdout] 72 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/gen.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_dfa(lexer: ast::EnumLexer, test: bool) -> Result<(Vec, Dfa)> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let vec: Vec<_> = lexer.variants.into_iter().flat_map(|v| v.regex_maps()).collect(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | [INFO] [stdout] 93 | let asts: Result> = vec.iter().map(|m| [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let asts = asts?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok((vec, dfa)) [INFO] [stdout] | ^^^^^^^^^^ these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gen.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | m.regex.value().parse::() [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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `enum-lexer-macro` (lib) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "55b8d6bfb9eb386dbcb611961adc0efbfbd163cdc4bd98f69a3259b48158e75a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b8d6bfb9eb386dbcb611961adc0efbfbd163cdc4bd98f69a3259b48158e75a", kill_on_drop: false }` [INFO] [stdout] 55b8d6bfb9eb386dbcb611961adc0efbfbd163cdc4bd98f69a3259b48158e75a