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