[INFO] fetching crate yuxii_macros 0.1.1... [INFO] checking yuxii_macros-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate yuxii_macros 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate yuxii_macros 0.1.1 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 yuxii_macros 0.1.1 [INFO] finished tweaking crates.io crate yuxii_macros 0.1.1 [INFO] tweaked toml for crates.io crate yuxii_macros 0.1.1 written to /workspace/builds/worker-3-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] 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f2a0e534587a1f9275a9964fc1ddbc82c06190fd722394e9f924799a21129f23 [INFO] running `Command { std: "docker" "start" "-a" "f2a0e534587a1f9275a9964fc1ddbc82c06190fd722394e9f924799a21129f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2a0e534587a1f9275a9964fc1ddbc82c06190fd722394e9f924799a21129f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2a0e534587a1f9275a9964fc1ddbc82c06190fd722394e9f924799a21129f23", kill_on_drop: false }` [INFO] [stdout] f2a0e534587a1f9275a9964fc1ddbc82c06190fd722394e9f924799a21129f23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 557bc98221c6b3364a074afcd80f1cf5342f03241e95ef78ab5bf0a00f613414 [INFO] running `Command { std: "docker" "start" "-a" "557bc98221c6b3364a074afcd80f1cf5342f03241e95ef78ab5bf0a00f613414", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking yuxii_macros v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Literal` and `TokenTree` [INFO] [stdout] --> src/lib.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use proc_macro2::{Ident, Span, Literal, Punct, TokenTree}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExprClosure`, `Struct`, and `self` [INFO] [stdout] --> src/lib.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | use syn::{parse_macro_input, DeriveInput, token::{Struct, Semi, Let, self}, ItemFn, AttributeArgs, ExprClosure, Stmt, Token, PatIdent, Pa... [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Literal` and `TokenTree` [INFO] [stdout] --> src/lib.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use proc_macro2::{Ident, Span, Literal, Punct, TokenTree}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExprClosure`, `Struct`, and `self` [INFO] [stdout] --> src/lib.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | use syn::{parse_macro_input, DeriveInput, token::{Struct, Semi, Let, self}, ItemFn, AttributeArgs, ExprClosure, Stmt, Token, PatIdent, Pa... [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | args: TokenStream, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | item: TokenStream, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | args: TokenStream, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | item: TokenStream, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_not` [INFO] [stdout] --> src/lib.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | FTokenInfo::Removed { is_not, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_not: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/lib.rs:134:43 [INFO] [stdout] | [INFO] [stdout] 134 | FTokenInfo::Removed { is_not, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_not` [INFO] [stdout] --> src/lib.rs:135:35 [INFO] [stdout] | [INFO] [stdout] 135 | FTokenInfo::Changed { is_not, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_not: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/lib.rs:135:43 [INFO] [stdout] | [INFO] [stdout] 135 | FTokenInfo::Changed { is_not, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_not` [INFO] [stdout] --> src/lib.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | FTokenInfo::Node { is_not, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_not: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/lib.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | FTokenInfo::Node { is_not, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_not` [INFO] [stdout] --> src/lib.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | FTokenInfo::Name { is_not, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_not: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/lib.rs:137:40 [INFO] [stdout] | [INFO] [stdout] 137 | FTokenInfo::Name { is_not, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/lib.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let ident: Type = input.parse()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut current_scope = &mut info; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | let args = parse_macro_input!(args as AttributeArgs); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `call` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | let mut call = quote!{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_call` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `call` is never read [INFO] [stdout] --> src/lib.rs:249:29 [INFO] [stdout] | [INFO] [stdout] 249 | ... call = quote!{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/lib.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let stmt = Stmt::Local(syn::Local { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | let mut deff = quote!{ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | args: TokenStream, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | item: TokenStream, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | args: TokenStream, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | item: TokenStream, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> src/lib.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let return_value = match generic.to_string().as_str(){ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_not` [INFO] [stdout] --> src/lib.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | FTokenInfo::Removed { is_not, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_not: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/lib.rs:134:43 [INFO] [stdout] | [INFO] [stdout] 134 | FTokenInfo::Removed { is_not, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_not` [INFO] [stdout] --> src/lib.rs:135:35 [INFO] [stdout] | [INFO] [stdout] 135 | FTokenInfo::Changed { is_not, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_not: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/lib.rs:135:43 [INFO] [stdout] | [INFO] [stdout] 135 | FTokenInfo::Changed { is_not, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_not` [INFO] [stdout] --> src/lib.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | FTokenInfo::Node { is_not, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_not: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/lib.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | FTokenInfo::Node { is_not, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_not` [INFO] [stdout] --> src/lib.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | FTokenInfo::Name { is_not, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_not: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/lib.rs:137:40 [INFO] [stdout] | [INFO] [stdout] 137 | FTokenInfo::Name { is_not, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/lib.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let ident: Type = input.parse()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut current_scope = &mut info; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | let args = parse_macro_input!(args as AttributeArgs); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `call` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | let mut call = quote!{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_call` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `call` is never read [INFO] [stdout] --> src/lib.rs:249:29 [INFO] [stdout] | [INFO] [stdout] 249 | ... call = quote!{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/lib.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let stmt = Stmt::Local(syn::Local { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | let mut deff = quote!{ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_tokens` is never used [INFO] [stdout] --> src/lib.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl FilterInfo{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 56 | fn to_tokens(self) -> proc_macro2::TokenStream{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Children`, `Parent`, `Child`, and `Current` are never constructed [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | enum FScopeInfo{ [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 73 | Children(FilterInfo), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 74 | Parent(FilterInfo), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | Child(FilterInfo), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 76 | Current(FilterInfo), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FScopeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_tokens` is never used [INFO] [stdout] --> src/lib.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl FScopeInfo{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 80 | fn to_tokens(self) -> proc_macro2::TokenStream{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_not` and `ty` are never read [INFO] [stdout] --> src/lib.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | Has{ [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 101 | is_not: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | ty: Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTokenInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_not` and `ty` are never read [INFO] [stdout] --> src/lib.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 104 | Added{ [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 105 | is_not: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 106 | ty: Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTokenInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_not` and `ty` are never read [INFO] [stdout] --> src/lib.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | Removed{ [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 109 | is_not: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 110 | ty: Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTokenInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_not` and `ty` are never read [INFO] [stdout] --> src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | Changed{ [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 113 | is_not: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 114 | ty: Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTokenInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Scope`, `Node`, `Name`, and `Or` are never constructed [INFO] [stdout] --> src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | enum FTokenInfo{ [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 98 | Scope(FScopeInfo), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | Node{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | Name{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | Or(Vec, Vec), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTokenInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_tokens` is never used [INFO] [stdout] --> src/lib.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl FTokenInfo{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 128 | fn to_tokens(self) -> proc_macro2::TokenStream{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ftoken` is never used [INFO] [stdout] --> src/lib.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn parse_ftoken(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> src/lib.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let return_value = match generic.to_string().as_str(){ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [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:287:5 [INFO] [stdout] | [INFO] [stdout] 218 | args: TokenStream, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | item: TokenStream, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | let args = parse_macro_input!(args as AttributeArgs); [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] 223 | let mut item = parse_macro_input!(item as ItemFn); [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] 224 | let block = *item.block.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 287 | item.into_token_stream().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: aborting due to 1 previous error; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yuxii_macros` (lib test) due to 2 previous errors; 32 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `to_tokens` is never used [INFO] [stdout] --> src/lib.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl FilterInfo{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 56 | fn to_tokens(self) -> proc_macro2::TokenStream{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Children`, `Parent`, `Child`, and `Current` are never constructed [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | enum FScopeInfo{ [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 73 | Children(FilterInfo), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 74 | Parent(FilterInfo), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | Child(FilterInfo), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 76 | Current(FilterInfo), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FScopeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_tokens` is never used [INFO] [stdout] --> src/lib.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl FScopeInfo{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 80 | fn to_tokens(self) -> proc_macro2::TokenStream{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_not` and `ty` are never read [INFO] [stdout] --> src/lib.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | Has{ [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 101 | is_not: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | ty: Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTokenInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_not` and `ty` are never read [INFO] [stdout] --> src/lib.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 104 | Added{ [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 105 | is_not: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 106 | ty: Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTokenInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_not` and `ty` are never read [INFO] [stdout] --> src/lib.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | Removed{ [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 109 | is_not: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 110 | ty: Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTokenInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_not` and `ty` are never read [INFO] [stdout] --> src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | Changed{ [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 113 | is_not: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 114 | ty: Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTokenInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Scope`, `Node`, `Name`, and `Or` are never constructed [INFO] [stdout] --> src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | enum FTokenInfo{ [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 98 | Scope(FScopeInfo), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | Node{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | Name{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | Or(Vec, Vec), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTokenInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_tokens` is never used [INFO] [stdout] --> src/lib.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl FTokenInfo{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 128 | fn to_tokens(self) -> proc_macro2::TokenStream{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ftoken` is never used [INFO] [stdout] --> src/lib.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn parse_ftoken(){ [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:287:5 [INFO] [stdout] | [INFO] [stdout] 218 | args: TokenStream, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | item: TokenStream, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | let args = parse_macro_input!(args as AttributeArgs); [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] 223 | let mut item = parse_macro_input!(item as ItemFn); [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] 224 | let block = *item.block.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 287 | item.into_token_stream().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: aborting due to 1 previous error; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yuxii_macros` (lib) due to 2 previous errors; 32 warnings emitted [INFO] running `Command { std: "docker" "inspect" "557bc98221c6b3364a074afcd80f1cf5342f03241e95ef78ab5bf0a00f613414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "557bc98221c6b3364a074afcd80f1cf5342f03241e95ef78ab5bf0a00f613414", kill_on_drop: false }` [INFO] [stdout] 557bc98221c6b3364a074afcd80f1cf5342f03241e95ef78ab5bf0a00f613414