[INFO] fetching crate nestify 0.3.3... [INFO] checking nestify-0.3.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate nestify 0.3.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate nestify 0.3.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 nestify 0.3.3 [INFO] finished tweaking crates.io crate nestify 0.3.3 [INFO] tweaked toml for crates.io crate nestify 0.3.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [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] [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03d8ad9969db096724b1cc9efb4d48036c518942002ac2d5e7d4134d0cbd199a [INFO] running `Command { std: "docker" "start" "-a" "03d8ad9969db096724b1cc9efb4d48036c518942002ac2d5e7d4134d0cbd199a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03d8ad9969db096724b1cc9efb4d48036c518942002ac2d5e7d4134d0cbd199a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03d8ad9969db096724b1cc9efb4d48036c518942002ac2d5e7d4134d0cbd199a", kill_on_drop: false }` [INFO] [stdout] 03d8ad9969db096724b1cc9efb4d48036c518942002ac2d5e7d4134d0cbd199a [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72506dac690ad5ce079259acbb15406a4a97c15488e8fbd62e9a49277e3ef53d [INFO] running `Command { std: "docker" "start" "-a" "72506dac690ad5ce079259acbb15406a4a97c15488e8fbd62e9a49277e3ef53d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.79 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking nestify v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `full` [INFO] [stdout] --> src/ty.rs:248:25 [INFO] [stdout] | [INFO] [stdout] 248 | || cfg!(feature = "full") && input.peek(Token![try]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `full` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `full` [INFO] [stdout] --> src/ty.rs:248:25 [INFO] [stdout] | [INFO] [stdout] 248 | || cfg!(feature = "full") && input.peek(Token![try]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `full` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `BodyStruct` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/unpack.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn unpack(self, mut unpack_context: UnpackContext, next: Vec, override_public: Option, _enum_context:... [INFO] [stdout] | ---- ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let attrs = unpack_context.modify_composite(attrs); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | [INFO] [stdout] 59 | let visibility = override_public.unwrap_or_else(|| self.vis); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let ident = self.ident; // the definition name/type [INFO] [stdout] 61 | let generics = self.generics; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | Body::Struct(body_struct) => match body_struct.fields { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | / quote!( [INFO] [stdout] 75 | | #(#attrs)* [INFO] [stdout] 76 | | #visibility struct #ident #generics #where_clause #body [INFO] [stdout] ... | [INFO] [stdout] 79 | | ) [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | / quote!( [INFO] [stdout] 86 | | #(#attrs)* [INFO] [stdout] 87 | | #visibility struct #ident #generics #body #where_clause; [INFO] [stdout] ... | [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | / quote!( [INFO] [stdout] 97 | | #(#attrs)* [INFO] [stdout] 98 | | #visibility struct #ident #generics; [INFO] [stdout] 99 | | ) [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let variant = quote!( [INFO] [stdout] | ___________________________________- [INFO] [stdout] 116 | | #(#attrs)* [INFO] [stdout] 117 | | #ident #field_body [INFO] [stdout] 118 | | #discriminant [INFO] [stdout] 119 | | ); [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | / quote!( [INFO] [stdout] 124 | | #(#attrs)* [INFO] [stdout] 125 | | #visibility enum #ident #generics #where_clause { [INFO] [stdout] 126 | | #( #variants ),* [INFO] [stdout] ... | [INFO] [stdout] 129 | | #(#accumulated_definitions)* [INFO] [stdout] 130 | | ) [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] | [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: this value of type `BodyStruct` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/unpack.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn unpack(self, mut unpack_context: UnpackContext, next: Vec, override_public: Option, _enum_context:... [INFO] [stdout] | ---- ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let attrs = unpack_context.modify_composite(attrs); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | [INFO] [stdout] 59 | let visibility = override_public.unwrap_or_else(|| self.vis); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let ident = self.ident; // the definition name/type [INFO] [stdout] 61 | let generics = self.generics; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | Body::Struct(body_struct) => match body_struct.fields { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | / quote!( [INFO] [stdout] 75 | | #(#attrs)* [INFO] [stdout] 76 | | #visibility struct #ident #generics #where_clause #body [INFO] [stdout] ... | [INFO] [stdout] 79 | | ) [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | / quote!( [INFO] [stdout] 86 | | #(#attrs)* [INFO] [stdout] 87 | | #visibility struct #ident #generics #body #where_clause; [INFO] [stdout] ... | [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | / quote!( [INFO] [stdout] 97 | | #(#attrs)* [INFO] [stdout] 98 | | #visibility struct #ident #generics; [INFO] [stdout] 99 | | ) [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let variant = quote!( [INFO] [stdout] | ___________________________________- [INFO] [stdout] 116 | | #(#attrs)* [INFO] [stdout] 117 | | #ident #field_body [INFO] [stdout] 118 | | #discriminant [INFO] [stdout] 119 | | ); [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | / quote!( [INFO] [stdout] 124 | | #(#attrs)* [INFO] [stdout] 125 | | #visibility enum #ident #generics #where_clause { [INFO] [stdout] 126 | | #( #variants ),* [INFO] [stdout] ... | [INFO] [stdout] 129 | | #(#accumulated_definitions)* [INFO] [stdout] 130 | | ) [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] | [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: field `ident_token` is never read [INFO] [stdout] --> src/attributes.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct NestedAttribute { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 35 | pub pound_token: Token![#], [INFO] [stdout] 36 | pub ident_token: Token![>], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/attributes.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | Star(Token![*]), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeModifier` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 | Star(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/attributes.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | Slash(Token![/]), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeModifier` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 53 | Slash(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/attributes.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | Minus(Token![-]), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeModifier` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 | Minus(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `struct_token` and `semi_token` are never read [INFO] [stdout] --> src/special_data.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct BodyStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 35 | struct_token: Token![struct], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | pub fields: SpecialFields, [INFO] [stdout] 37 | semi_token: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enum_token` and `brace_token` are never read [INFO] [stdout] --> src/special_data.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct BodyEnum { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 42 | enum_token: Token![enum], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 43 | brace_token: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `brace_token` is never read [INFO] [stdout] --> src/special_data.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct FieldsNamed { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 94 | pub brace_token: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paren_token` is never read [INFO] [stdout] --> src/special_data.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct FieldsUnnamed { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 100 | pub paren_token: token::Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `colon_token` is never read [INFO] [stdout] --> src/special_data.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct SpecialField { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | pub colon_token: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ident_token` is never read [INFO] [stdout] --> src/attributes.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct NestedAttribute { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 35 | pub pound_token: Token![#], [INFO] [stdout] 36 | pub ident_token: Token![>], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/attributes.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | Star(Token![*]), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeModifier` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 | Star(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/attributes.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | Slash(Token![/]), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeModifier` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 53 | Slash(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/attributes.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | Minus(Token![-]), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeModifier` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 | Minus(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `struct_token` and `semi_token` are never read [INFO] [stdout] --> src/special_data.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct BodyStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 35 | struct_token: Token![struct], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | pub fields: SpecialFields, [INFO] [stdout] 37 | semi_token: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enum_token` and `brace_token` are never read [INFO] [stdout] --> src/special_data.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct BodyEnum { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 42 | enum_token: Token![enum], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 43 | brace_token: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `brace_token` is never read [INFO] [stdout] --> src/special_data.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct FieldsNamed { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 94 | pub brace_token: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paren_token` is never read [INFO] [stdout] --> src/special_data.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct FieldsUnnamed { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 100 | pub paren_token: token::Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `colon_token` is never read [INFO] [stdout] --> src/special_data.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct SpecialField { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | pub colon_token: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nestify` (lib) due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nestify` (lib test) due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "72506dac690ad5ce079259acbb15406a4a97c15488e8fbd62e9a49277e3ef53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72506dac690ad5ce079259acbb15406a4a97c15488e8fbd62e9a49277e3ef53d", kill_on_drop: false }` [INFO] [stdout] 72506dac690ad5ce079259acbb15406a4a97c15488e8fbd62e9a49277e3ef53d