[INFO] fetching crate parsegen 0.1.1...
[INFO] building parsegen-0.1.1 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2
[INFO] extracting crate parsegen 0.1.1 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate parsegen 0.1.1 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 392ca9786265dc208d34f179a8bedbe8a9c2f95ae090702b43d1ef440faed8e8
[INFO] running `Command { std: "docker" "start" "-a" "392ca9786265dc208d34f179a8bedbe8a9c2f95ae090702b43d1ef440faed8e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "392ca9786265dc208d34f179a8bedbe8a9c2f95ae090702b43d1ef440faed8e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "392ca9786265dc208d34f179a8bedbe8a9c2f95ae090702b43d1ef440faed8e8", kill_on_drop: false }`
[INFO] [stdout] 392ca9786265dc208d34f179a8bedbe8a9c2f95ae090702b43d1ef440faed8e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7283e946e3f3a52a3625e2ccb493c7d63da1124893736f997401551683c4fb91
[INFO] running `Command { std: "docker" "start" "-a" "7283e946e3f3a52a3625e2ccb493c7d63da1124893736f997401551683c4fb91", 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 byteorder v1.5.0
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Compiling fxhash v0.2.1
[INFO] [stderr] Compiling parsegen v0.1.1 (/opt/rustwide/workdir)
[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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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: 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: 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] 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 `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.06s
[INFO] running `Command { std: "docker" "inspect" "7283e946e3f3a52a3625e2ccb493c7d63da1124893736f997401551683c4fb91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7283e946e3f3a52a3625e2ccb493c7d63da1124893736f997401551683c4fb91", kill_on_drop: false }`
[INFO] [stdout] 7283e946e3f3a52a3625e2ccb493c7d63da1124893736f997401551683c4fb91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2077758ce301dd6cf0f557fc5859b8a076d13fe8c2ee0c8359c0798d18752d61
[INFO] running `Command { std: "docker" "start" "-a" "2077758ce301dd6cf0f557fc5859b8a076d13fe8c2ee0c8359c0798d18752d61", 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 syn v1.0.109
[INFO] [stderr] Compiling lexgen v0.2.2
[INFO] [stderr] Compiling parsegen v0.1.1 (/opt/rustwide/workdir)
[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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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: 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: 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] 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 `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: 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 `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: 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)]` (part of `#[warn(unused)]`) 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: 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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] 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.94s
[INFO] running `Command { std: "docker" "inspect" "2077758ce301dd6cf0f557fc5859b8a076d13fe8c2ee0c8359c0798d18752d61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2077758ce301dd6cf0f557fc5859b8a076d13fe8c2ee0c8359c0798d18752d61", kill_on_drop: false }`
[INFO] [stdout] 2077758ce301dd6cf0f557fc5859b8a076d13fe8c2ee0c8359c0798d18752d61