[INFO] cloning repository https://github.com/mhorod/blep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mhorod/blep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhorod%2Fblep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhorod%2Fblep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a4fdb39a21fd9cc9a8d36f250ad82c226219ccb [INFO] checking mhorod/blep against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhorod%2Fblep" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mhorod/blep [INFO] finished tweaking git repo https://github.com/mhorod/blep [INFO] tweaked toml for git repo https://github.com/mhorod/blep written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mhorod/blep on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mhorod/blep already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39d47cbd6e2fe999199612b5a4f534cf2d24766577649b44cac2918d0247396e [INFO] running `Command { std: "docker" "start" "-a" "39d47cbd6e2fe999199612b5a4f534cf2d24766577649b44cac2918d0247396e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39d47cbd6e2fe999199612b5a4f534cf2d24766577649b44cac2918d0247396e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d47cbd6e2fe999199612b5a4f534cf2d24766577649b44cac2918d0247396e", kill_on_drop: false }` [INFO] [stdout] 39d47cbd6e2fe999199612b5a4f534cf2d24766577649b44cac2918d0247396e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15821af8af7c8b6f42115ed9eee3346c0232c3d4a01318cb24ae9fff396ef8fa [INFO] running `Command { std: "docker" "start" "-a" "15821af8af7c8b6f42115ed9eee3346c0232c3d4a01318cb24ae9fff396ef8fa", kill_on_drop: false }` [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking blep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `blep_lexer` and `blep_parser` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use blep::{blep_lexer, blep_parser}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::display::print_ast` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ast::display::print_ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::generate::build_ast` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ast::generate::build_ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `blep_lexer` and `blep_parser` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use blep::{blep_lexer, blep_parser}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::display::print_ast` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ast::display::print_ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::generate::build_ast` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ast::generate::build_ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/ast/display.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | TyKind::Fun(inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `implements_span` [INFO] [stdout] --> src/ast/generate.rs:786:34 [INFO] [stdout] | [INFO] [stdout] 786 | let (implements, implements_span) = [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_implements_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/ast/display.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | TyKind::Fun(inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `implements_span` [INFO] [stdout] --> src/ast/generate.rs:786:34 [INFO] [stdout] | [INFO] [stdout] 786 | let (implements, implements_span) = [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_implements_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_regex_grammar` is never used [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn print_regex_grammar(grammar: &RegexGrammar) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_grammar` is never used [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn print_grammar(grammar: &Grammar) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_parse_tree` is never used [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn print_parse_tree(tree: &ParseTree, indent: String, last: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/pipeline/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl BlepPipeline { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn run(&self, input: &str) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 49 | id: AstNodeId, [INFO] [stdout] 50 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | Interface(Interface), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemKind` has derived impls for the traits `Clone` and `Debug`, but these are 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] 59 - Interface(Interface), [INFO] [stdout] 59 + Interface(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NewType` and `TypeAlias` are never constructed [INFO] [stdout] --> src/ast/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum ItemKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 61 | NewType(NewType), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | TypeAlias(TypeAlias), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 124 | id: AstNodeId, [INFO] [stdout] 125 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `ident`, `generic_params`, and `methods` are never read [INFO] [stdout] --> src/ast/mod.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct Interface { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 132 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 133 | ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 134 | generic_params: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 135 | methods: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interface` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ast/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct InterfaceMethod { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 140 | id: AstNodeId, [INFO] [stdout] | ^^ [INFO] [stdout] 141 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 142 | staticity: Staticity, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 143 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 144 | purity: Purity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 145 | ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 146 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 147 | return_ty: Ty, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/ast/mod.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Struct { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 155 | kind: StructKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Struct` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast/mod.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct StructMethod { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 180 | id: AstNodeId, [INFO] [stdout] 181 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast/mod.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct FunParam { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 204 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunParam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ref`, `Tuple`, and `Fun` are never constructed [INFO] [stdout] --> src/ast/mod.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 230 | pub enum TyKind { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 233 | Ref(Mutability, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 234 | Ptr(Mutability, Box), [INFO] [stdout] 235 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 236 | Fun(FunTy), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TyKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `args` and `result` are never read [INFO] [stdout] --> src/ast/mod.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct FunTy { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 247 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 248 | result: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunTy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast/mod.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct If { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 279 | id: AstNodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `If` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mutability` is never read [INFO] [stdout] --> src/ast/mod.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 294 | pub struct Let { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 295 | span: Span, [INFO] [stdout] 296 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Let` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast/mod.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct Stmt { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 304 | id: AstNodeId, [INFO] [stdout] 305 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast/mod.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct While { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 328 | id: AstNodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `While` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast/mod.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Loop { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 337 | id: AstNodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Loop` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast/mod.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 343 | pub struct RangeExpr { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 344 | id: AstNodeId, [INFO] [stdout] 345 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RangeExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Hiding` is never constructed [INFO] [stdout] --> src/blep/tokens.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub enum KeywordKind { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 211 | Hiding, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeywordKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Production` is never used [INFO] [stdout] --> src/parsing/grammar/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type Production<'a, T> = (&'a T, &'a Dfa); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_start_production` and `get_production` are never used [INFO] [stdout] --> src/parsing/grammar/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Grammar { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_start_production(&self) -> Production { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_production(&self, symbol: &T) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/parsing/parsers/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TokenStream { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing/grammar/mod.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_start_production(&self) -> Production { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_start_production(&self) -> Production<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing/grammar/mod.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_production(&self, symbol: &T) -> Option> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_production(&self, symbol: &T) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_regex_grammar` is never used [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn print_regex_grammar(grammar: &RegexGrammar) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_grammar` is never used [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn print_grammar(grammar: &Grammar) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_parse_tree` is never used [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn print_parse_tree(tree: &ParseTree, indent: String, last: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/pipeline/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl BlepPipeline { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn run(&self, input: &str) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 49 | id: AstNodeId, [INFO] [stdout] 50 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | Interface(Interface), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemKind` has derived impls for the traits `Clone` and `Debug`, but these are 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] 59 - Interface(Interface), [INFO] [stdout] 59 + Interface(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NewType` and `TypeAlias` are never constructed [INFO] [stdout] --> src/ast/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum ItemKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 61 | NewType(NewType), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | TypeAlias(TypeAlias), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 124 | id: AstNodeId, [INFO] [stdout] 125 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `ident`, `generic_params`, and `methods` are never read [INFO] [stdout] --> src/ast/mod.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct Interface { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 132 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 133 | ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 134 | generic_params: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 135 | methods: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interface` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ast/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct InterfaceMethod { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 140 | id: AstNodeId, [INFO] [stdout] | ^^ [INFO] [stdout] 141 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 142 | staticity: Staticity, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 143 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 144 | purity: Purity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 145 | ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 146 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 147 | return_ty: Ty, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/ast/mod.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Struct { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 155 | kind: StructKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Struct` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast/mod.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct StructMethod { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 180 | id: AstNodeId, [INFO] [stdout] 181 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast/mod.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct FunParam { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 204 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunParam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ref`, `Tuple`, and `Fun` are never constructed [INFO] [stdout] --> src/ast/mod.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 230 | pub enum TyKind { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 233 | Ref(Mutability, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 234 | Ptr(Mutability, Box), [INFO] [stdout] 235 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 236 | Fun(FunTy), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TyKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `args` and `result` are never read [INFO] [stdout] --> src/ast/mod.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct FunTy { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 247 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 248 | result: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunTy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast/mod.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct If { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 279 | id: AstNodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `If` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mutability` is never read [INFO] [stdout] --> src/ast/mod.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 294 | pub struct Let { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 295 | span: Span, [INFO] [stdout] 296 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Let` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast/mod.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct Stmt { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 304 | id: AstNodeId, [INFO] [stdout] 305 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast/mod.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct While { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 328 | id: AstNodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `While` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast/mod.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Loop { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 337 | id: AstNodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Loop` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast/mod.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 343 | pub struct RangeExpr { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 344 | id: AstNodeId, [INFO] [stdout] 345 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RangeExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Hiding` is never constructed [INFO] [stdout] --> src/blep/tokens.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub enum KeywordKind { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 211 | Hiding, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeywordKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Production` is never used [INFO] [stdout] --> src/parsing/grammar/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type Production<'a, T> = (&'a T, &'a Dfa); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_start_production` and `get_production` are never used [INFO] [stdout] --> src/parsing/grammar/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Grammar { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_start_production(&self) -> Production { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_production(&self, symbol: &T) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/parsing/parsers/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TokenStream { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing/grammar/mod.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_start_production(&self) -> Production { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_start_production(&self) -> Production<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing/grammar/mod.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_production(&self, symbol: &T) -> Option> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_production(&self, symbol: &T) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.22s [INFO] running `Command { std: "docker" "inspect" "15821af8af7c8b6f42115ed9eee3346c0232c3d4a01318cb24ae9fff396ef8fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15821af8af7c8b6f42115ed9eee3346c0232c3d4a01318cb24ae9fff396ef8fa", kill_on_drop: false }` [INFO] [stdout] 15821af8af7c8b6f42115ed9eee3346c0232c3d4a01318cb24ae9fff396ef8fa