[INFO] fetching crate snec_macros 1.0.0... [INFO] checking snec_macros-1.0.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate snec_macros 1.0.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate snec_macros 1.0.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 snec_macros 1.0.0 [INFO] finished tweaking crates.io crate snec_macros 1.0.0 [INFO] tweaked toml for crates.io crate snec_macros 1.0.0 written to /workspace/builds/worker-1-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 5 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 51d20fe34356591d4ca9d6118b9402e8ab43627d3345fc4747802d89172c80a6 [INFO] running `Command { std: "docker" "start" "-a" "51d20fe34356591d4ca9d6118b9402e8ab43627d3345fc4747802d89172c80a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51d20fe34356591d4ca9d6118b9402e8ab43627d3345fc4747802d89172c80a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51d20fe34356591d4ca9d6118b9402e8ab43627d3345fc4747802d89172c80a6", kill_on_drop: false }` [INFO] [stdout] 51d20fe34356591d4ca9d6118b9402e8ab43627d3345fc4747802d89172c80a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e62bac3394a33ea70fe47066dc5b1e86be40512ec0a6a7714c3322047079076d [INFO] running `Command { std: "docker" "start" "-a" "e62bac3394a33ea70fe47066dc5b1e86be40512ec0a6a7714c3322047079076d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking snec_macros v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `pound`, `brackets`, and `parentheses` are never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct SnecAttribute { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 20 | pub pound: Token![#], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub brackets: token::Bracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub path_span: Span, [INFO] [stdout] 23 | pub parentheses: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parentheses` is never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 126 | Entry { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] 127 | name: custom_token::Entry, [INFO] [stdout] 128 | parentheses: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parentheses` is never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 138 | UseEntry { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 139 | name: custom_token::UseEntry, [INFO] [stdout] 140 | parentheses: token::Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parentheses` is never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 150 | EntryModule { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 151 | name: custom_token::EntryModule, [INFO] [stdout] 152 | parentheses: token::Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parentheses` is never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 161 | EntryModuleVisibility { [INFO] [stdout] | --------------------- field in this variant [INFO] [stdout] 162 | name: custom_token::EntryModuleVisibility, [INFO] [stdout] 163 | parentheses: token::Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parentheses` is never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 175 | EntryModuleAttributes { [INFO] [stdout] | --------------------- field in this variant [INFO] [stdout] 176 | name: custom_token::EntryModuleAttributes, [INFO] [stdout] 177 | parentheses: token::Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `parentheses`, `braces`, and `colon` are never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 186 | Receiver { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 187 | name: custom_token::Receiver, [INFO] [stdout] | ^^^^ [INFO] [stdout] 188 | parentheses: token::Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 189 | braces: token::Brace, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | colon: Token![:], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:379:31 [INFO] [stdout] | [INFO] [stdout] 379 | pub struct $name (pub Span); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | / custom_tokens! { [INFO] [stdout] 402 | | // Root attribute name [INFO] [stdout] 403 | | (Snec, "snec"), [INFO] [stdout] | | ---- field in this struct [INFO] [stdout] ... | [INFO] [stdout] 411 | | (EntryModuleAttributes, "entry_module_attributes"), [INFO] [stdout] 412 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: this warning originates in the macro `custom_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:379:31 [INFO] [stdout] | [INFO] [stdout] 379 | pub struct $name (pub Span); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | / custom_tokens! { [INFO] [stdout] 402 | | // Root attribute name [INFO] [stdout] 403 | | (Snec, "snec"), [INFO] [stdout] ... | [INFO] [stdout] 407 | | (Receiver, "receiver"), [INFO] [stdout] | | -------- field in this struct [INFO] [stdout] ... | [INFO] [stdout] 411 | | (EntryModuleAttributes, "entry_module_attributes"), [INFO] [stdout] 412 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: this warning originates in the macro `custom_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `visibility`, `struct_token`, `generics`, and `braces` are never read [INFO] [stdout] --> src/drv_config_table/ast/struct_input.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ConfigTableStruct { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 15 | pub attrs: Vec, [INFO] [stdout] 16 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub struct_token: Token![struct], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | pub ident: Ident, [INFO] [stdout] 19 | pub generics: Generics, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub braces: token::Brace, [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] 54 | pub fn derive_config_table(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | / derive_config_table_expand(input.into()) [INFO] [stdout] 56 | | .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/drv_config_table/mod.rs:173:47 [INFO] [stdout] | [INFO] [stdout] 173 | ... || snake_to_camel(field_ident.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/drv_config_table/mod.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | ... entry_module.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/drv_config_table/mod.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | ... snake_to_camel(field_ident.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/drv_config_table/ast/snec_attribute.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 29 | fn try_from(value: syn::Attribute) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let (parentheses, body) = if !value.tokens.is_empty() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let body_in_parentheses = syn::parse2::(value.tokens)?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Self {pound, brackets, path_span, parentheses, body} [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/drv_config_table/ast/snec_attribute.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 59 | let inside_brackets; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let brackets = bracketed!(inside_brackets in input); [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let path_span = { [INFO] [stdout] 62 | let ident = inside_brackets.parse::()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let (parentheses, body) = if input.peek(token::Paren) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let body_in_parentheses = input.parse::()?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | Self {pound, brackets, path_span, parentheses, body} [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] | [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/drv_config_table/ast/snec_attribute.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 94 | let inside_parentheses; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let parentheses = parenthesized!(inside_parentheses in input); [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | let body = inside_parentheses.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | Ok( [INFO] [stdout] 98 | Self {parentheses, body} [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/drv_config_table/ast/snec_attribute.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 365 | fn from(op: AttributeCommand) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 366 | Self::Single(Some(op)) [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/drv_config_table/ast/struct_input.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 26 | let attrs = input.call(Attribute::parse_outer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let visibility = input.parse()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let struct_token = input.parse()?; [INFO] [stdout] 29 | let ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let generics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let inside_braces; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let braces = braced!(inside_braces in input); [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let fields = inside_braces.call( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | Self {attrs, visibility, struct_token, ident, generics, braces, fields} [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] | 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] = 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/drv_config_table/misc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | attributes: impl IntoIterator, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | ) -> impl Iterator { [INFO] [stdout] 9 | attributes.into_iter().filter_map(|attr| { [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/drv_config_table/misc.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | attributes.into_iter().filter_map(|attr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | SnecAttribute::try_from(attr).ok() [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/drv_config_table/misc.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 35 | let expr = ExprPath { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | Expr::Path(expr).into_token_stream() [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/drv_config_table/misc.rs:57:66 [INFO] [stdout] | [INFO] [stdout] 57 | let to_path_segment = |ident| PathSegment {ident, arguments: PathArguments::None}; [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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: aborting due to 13 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snec_macros` (lib) due to 14 previous errors; 10 warnings emitted [INFO] [stdout] warning: fields `pound`, `brackets`, and `parentheses` are never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct SnecAttribute { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 20 | pub pound: Token![#], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub brackets: token::Bracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub path_span: Span, [INFO] [stdout] 23 | pub parentheses: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `parentheses` is never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 126 | Entry { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] 127 | name: custom_token::Entry, [INFO] [stdout] 128 | parentheses: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parentheses` is never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 138 | UseEntry { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 139 | name: custom_token::UseEntry, [INFO] [stdout] 140 | parentheses: token::Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parentheses` is never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 150 | EntryModule { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 151 | name: custom_token::EntryModule, [INFO] [stdout] 152 | parentheses: token::Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parentheses` is never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 161 | EntryModuleVisibility { [INFO] [stdout] | --------------------- field in this variant [INFO] [stdout] 162 | name: custom_token::EntryModuleVisibility, [INFO] [stdout] 163 | parentheses: token::Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parentheses` is never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 175 | EntryModuleAttributes { [INFO] [stdout] | --------------------- field in this variant [INFO] [stdout] 176 | name: custom_token::EntryModuleAttributes, [INFO] [stdout] 177 | parentheses: token::Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `parentheses`, `braces`, and `colon` are never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 186 | Receiver { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 187 | name: custom_token::Receiver, [INFO] [stdout] | ^^^^ [INFO] [stdout] 188 | parentheses: token::Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 189 | braces: token::Brace, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | colon: Token![:], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:379:31 [INFO] [stdout] | [INFO] [stdout] 379 | pub struct $name (pub Span); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | / custom_tokens! { [INFO] [stdout] 402 | | // Root attribute name [INFO] [stdout] 403 | | (Snec, "snec"), [INFO] [stdout] | | ---- field in this struct [INFO] [stdout] ... | [INFO] [stdout] 411 | | (EntryModuleAttributes, "entry_module_attributes"), [INFO] [stdout] 412 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: this warning originates in the macro `custom_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/drv_config_table/ast/snec_attribute.rs:379:31 [INFO] [stdout] | [INFO] [stdout] 379 | pub struct $name (pub Span); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | / custom_tokens! { [INFO] [stdout] 402 | | // Root attribute name [INFO] [stdout] 403 | | (Snec, "snec"), [INFO] [stdout] ... | [INFO] [stdout] 407 | | (Receiver, "receiver"), [INFO] [stdout] | | -------- field in this struct [INFO] [stdout] ... | [INFO] [stdout] 411 | | (EntryModuleAttributes, "entry_module_attributes"), [INFO] [stdout] 412 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: this warning originates in the macro `custom_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `visibility`, `struct_token`, `generics`, and `braces` are never read [INFO] [stdout] --> src/drv_config_table/ast/struct_input.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ConfigTableStruct { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 15 | pub attrs: Vec, [INFO] [stdout] 16 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub struct_token: Token![struct], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | pub ident: Ident, [INFO] [stdout] 19 | pub generics: Generics, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub braces: token::Brace, [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] 54 | pub fn derive_config_table(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | / derive_config_table_expand(input.into()) [INFO] [stdout] 56 | | .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/drv_config_table/mod.rs:173:47 [INFO] [stdout] | [INFO] [stdout] 173 | ... || snake_to_camel(field_ident.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/drv_config_table/mod.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | ... entry_module.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/drv_config_table/mod.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | ... snake_to_camel(field_ident.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/drv_config_table/ast/snec_attribute.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 29 | fn try_from(value: syn::Attribute) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let (parentheses, body) = if !value.tokens.is_empty() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let body_in_parentheses = syn::parse2::(value.tokens)?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Self {pound, brackets, path_span, parentheses, body} [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/drv_config_table/ast/snec_attribute.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 59 | let inside_brackets; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let brackets = bracketed!(inside_brackets in input); [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let path_span = { [INFO] [stdout] 62 | let ident = inside_brackets.parse::()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let (parentheses, body) = if input.peek(token::Paren) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let body_in_parentheses = input.parse::()?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | Self {pound, brackets, path_span, parentheses, body} [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] | [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/drv_config_table/ast/snec_attribute.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 94 | let inside_parentheses; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let parentheses = parenthesized!(inside_parentheses in input); [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | let body = inside_parentheses.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | Ok( [INFO] [stdout] 98 | Self {parentheses, body} [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/drv_config_table/ast/snec_attribute.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 365 | fn from(op: AttributeCommand) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 366 | Self::Single(Some(op)) [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/drv_config_table/ast/struct_input.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 26 | let attrs = input.call(Attribute::parse_outer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let visibility = input.parse()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let struct_token = input.parse()?; [INFO] [stdout] 29 | let ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let generics = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let inside_braces; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let braces = braced!(inside_braces in input); [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let fields = inside_braces.call( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | Self {attrs, visibility, struct_token, ident, generics, braces, fields} [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] | 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] = 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/drv_config_table/misc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | attributes: impl IntoIterator, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | ) -> impl Iterator { [INFO] [stdout] 9 | attributes.into_iter().filter_map(|attr| { [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/drv_config_table/misc.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | attributes.into_iter().filter_map(|attr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | SnecAttribute::try_from(attr).ok() [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/drv_config_table/misc.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 35 | let expr = ExprPath { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | Expr::Path(expr).into_token_stream() [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/drv_config_table/misc.rs:57:66 [INFO] [stdout] | [INFO] [stdout] 57 | let to_path_segment = |ident| PathSegment {ident, arguments: PathArguments::None}; [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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: aborting due to 13 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snec_macros` (lib test) due to 14 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e62bac3394a33ea70fe47066dc5b1e86be40512ec0a6a7714c3322047079076d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e62bac3394a33ea70fe47066dc5b1e86be40512ec0a6a7714c3322047079076d", kill_on_drop: false }` [INFO] [stdout] e62bac3394a33ea70fe47066dc5b1e86be40512ec0a6a7714c3322047079076d