[INFO] fetching crate parsegen 0.1.1... [INFO] checking parsegen-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate parsegen 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate parsegen 0.1.1 [INFO] finished tweaking crates.io crate parsegen 0.1.1 [INFO] tweaked toml for crates.io crate parsegen 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate parsegen 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 7 packages to latest compatible versions [INFO] [stderr] Adding lexgen v0.2.2 (available: v0.16.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `parsegen` library target) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lexgen v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca74612f9b0ec81b307177ac376746b34605e8121dc96fc7f86b5f40828473c0 [INFO] running `Command { std: "docker" "start" "-a" "ca74612f9b0ec81b307177ac376746b34605e8121dc96fc7f86b5f40828473c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca74612f9b0ec81b307177ac376746b34605e8121dc96fc7f86b5f40828473c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca74612f9b0ec81b307177ac376746b34605e8121dc96fc7f86b5f40828473c0", kill_on_drop: false }` [INFO] [stdout] ca74612f9b0ec81b307177ac376746b34605e8121dc96fc7f86b5f40828473c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ff60a578f258af37bc8a45a90523f26360a5e1536cb022d82fae98ae44f1665 [INFO] running `Command { std: "docker" "start" "-a" "1ff60a578f258af37bc8a45a90523f26360a5e1536cb022d82fae98ae44f1665", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `parsegen` library target) [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking parsegen v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | TypeSynonym(TypeSynonym), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GrammarItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 15 - TypeSynonym(TypeSynonym), [INFO] [stdout] 15 + TypeSynonym(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ty` are never read [INFO] [stdout] --> src/ast.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct TypeSynonym { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 41 | pub name: syn::Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | pub ty: syn::Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeSynonym` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | Repeat(Box), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has a derived impl for the trait `Debug`, 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] 108 - Repeat(Box), [INFO] [stdout] 108 + Repeat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op` and `symbol` are never read [INFO] [stdout] --> src/ast.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Repeat { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 123 | pub op: RepeatOp, [INFO] [stdout] | ^^ [INFO] [stdout] 124 | pub symbol: Symbol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repeat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | Fallible(syn::Expr), [INFO] [stdout] | -------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, 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] 137 - Fallible(syn::Expr), [INFO] [stdout] 137 + Fallible(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FirstSetDisplay` is never constructed [INFO] [stdout] --> src/first.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct FirstSetDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_production` is never used [INFO] [stdout] --> src/grammar.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl NonTerminal { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn get_production(&self, production_idx: ProductionIdx) -> &Production { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductionIndicesIter` is never constructed [INFO] [stdout] --> src/grammar.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | struct ProductionIndicesIter<'grammar, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolKindDisplay` is never constructed [INFO] [stdout] --> src/grammar.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub struct SymbolKindDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/grammar.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 306 | impl<'a, 'b, A> SymbolKindDisplay<'a, 'b, A> { [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] 307 | pub fn new(symbol: &'a SymbolKind, grammar: &'b Grammar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/grammar.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 317 | impl<'a, 'b, A> ProductionDisplay<'a, 'b, A> { [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] 318 | pub fn new(production: &'a Production, grammar: &'b Grammar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LR1AutomatonDisplay` is never constructed [INFO] [stdout] --> src/lr1.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct LR1AutomatonDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LR1StateDisplay` is never constructed [INFO] [stdout] --> src/lr1.rs:426:8 [INFO] [stdout] | [INFO] [stdout] 426 | struct LR1StateDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LR1ItemDisplay` is never constructed [INFO] [stdout] --> src/lr1.rs:431:8 [INFO] [stdout] | [INFO] [stdout] 431 | struct LR1ItemDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LRTableDisplay` is never constructed [INFO] [stdout] --> src/lr_common.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | pub struct LRTableDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LRActionDisplay` is never constructed [INFO] [stdout] --> src/lr_common.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct LRActionDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lexgen v0.2.2 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | TypeSynonym(TypeSynonym), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GrammarItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 15 - TypeSynonym(TypeSynonym), [INFO] [stdout] 15 + TypeSynonym(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ty` are never read [INFO] [stdout] --> src/ast.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct TypeSynonym { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 41 | pub name: syn::Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | pub ty: syn::Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeSynonym` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | Repeat(Box), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has a derived impl for the trait `Debug`, 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] 108 - Repeat(Box), [INFO] [stdout] 108 + Repeat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op` and `symbol` are never read [INFO] [stdout] --> src/ast.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Repeat { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 123 | pub op: RepeatOp, [INFO] [stdout] | ^^ [INFO] [stdout] 124 | pub symbol: Symbol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repeat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | Fallible(syn::Expr), [INFO] [stdout] | -------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, 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] 137 - Fallible(syn::Expr), [INFO] [stdout] 137 + Fallible(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FirstSetDisplay` is never constructed [INFO] [stdout] --> src/first.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct FirstSetDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_production` is never used [INFO] [stdout] --> src/grammar.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl NonTerminal { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn get_production(&self, production_idx: ProductionIdx) -> &Production { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductionIndicesIter` is never constructed [INFO] [stdout] --> src/grammar.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | struct ProductionIndicesIter<'grammar, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolKindDisplay` is never constructed [INFO] [stdout] --> src/grammar.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub struct SymbolKindDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/grammar.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 306 | impl<'a, 'b, A> SymbolKindDisplay<'a, 'b, A> { [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] 307 | pub fn new(symbol: &'a SymbolKind, grammar: &'b Grammar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/grammar.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 317 | impl<'a, 'b, A> ProductionDisplay<'a, 'b, A> { [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] 318 | pub fn new(production: &'a Production, grammar: &'b Grammar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LR1AutomatonDisplay` is never constructed [INFO] [stdout] --> src/lr1.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct LR1AutomatonDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LR1StateDisplay` is never constructed [INFO] [stdout] --> src/lr1.rs:426:8 [INFO] [stdout] | [INFO] [stdout] 426 | struct LR1StateDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LR1ItemDisplay` is never constructed [INFO] [stdout] --> src/lr1.rs:431:8 [INFO] [stdout] | [INFO] [stdout] 431 | struct LR1ItemDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LRTableDisplay` is never constructed [INFO] [stdout] --> src/lr_common.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | pub struct LRTableDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LRActionDisplay` is never constructed [INFO] [stdout] --> src/lr_common.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct LRActionDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/tests.rs:193:34 [INFO] [stdout] | [INFO] [stdout] 187 | / parser! { [INFO] [stdout] 188 | | enum Token { [INFO] [stdout] 189 | | "(" => Token::LParen, [INFO] [stdout] 190 | | ")" => Token::RParen, [INFO] [stdout] ... | [INFO] [stdout] 193 | | "int" => Token::Int(), [INFO] [stdout] | | ^^^ [INFO] [stdout] ... | [INFO] [stdout] 217 | | }; [INFO] [stdout] 218 | | } [INFO] [stdout] | |_____- field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SemanticActionResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 193 - "int" => Token::Int(), [INFO] [stdout] 193 + "int" => Token::Int(<()>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | TypeSynonym(TypeSynonym), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GrammarItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 15 - TypeSynonym(TypeSynonym), [INFO] [stdout] 15 + TypeSynonym(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ty` are never read [INFO] [stdout] --> src/ast.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct TypeSynonym { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 41 | pub name: syn::Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | pub ty: syn::Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeSynonym` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | Repeat(Box), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has a derived impl for the trait `Debug`, 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] 108 - Repeat(Box), [INFO] [stdout] 108 + Repeat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op` and `symbol` are never read [INFO] [stdout] --> src/ast.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Repeat { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 123 | pub op: RepeatOp, [INFO] [stdout] | ^^ [INFO] [stdout] 124 | pub symbol: Symbol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repeat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | Fallible(syn::Expr), [INFO] [stdout] | -------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, 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] 137 - Fallible(syn::Expr), [INFO] [stdout] 137 + Fallible(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FirstSetDisplay` is never constructed [INFO] [stdout] --> src/first.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct FirstSetDisplay<'a, 'b, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductionIndicesIter` is never constructed [INFO] [stdout] --> src/grammar.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | struct ProductionIndicesIter<'grammar, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.49s [INFO] running `Command { std: "docker" "inspect" "1ff60a578f258af37bc8a45a90523f26360a5e1536cb022d82fae98ae44f1665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ff60a578f258af37bc8a45a90523f26360a5e1536cb022d82fae98ae44f1665", kill_on_drop: false }` [INFO] [stdout] 1ff60a578f258af37bc8a45a90523f26360a5e1536cb022d82fae98ae44f1665