[INFO] cloning repository https://github.com/nckedev/nml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nckedev/nml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnckedev%2Fnml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnckedev%2Fnml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b933decb14c5f0f2bd248af689043f1ba5433c8a [INFO] checking nckedev/nml against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnckedev%2Fnml" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nckedev/nml on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nckedev/nml [INFO] finished tweaking git repo https://github.com/nckedev/nml [INFO] tweaked toml for git repo https://github.com/nckedev/nml written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nckedev/nml 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.21.0 [INFO] [stderr] Downloaded futures-timer v3.0.3 [INFO] [stderr] Downloaded rstest_macros v0.21.0 [INFO] [stderr] Downloaded syn v2.0.71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 519365ac4eeb5c75c1b4499065ea772187b24545803b39e67bb18ad69d1ff64c [INFO] running `Command { std: "docker" "start" "-a" "519365ac4eeb5c75c1b4499065ea772187b24545803b39e67bb18ad69d1ff64c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "519365ac4eeb5c75c1b4499065ea772187b24545803b39e67bb18ad69d1ff64c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "519365ac4eeb5c75c1b4499065ea772187b24545803b39e67bb18ad69d1ff64c", kill_on_drop: false }` [INFO] [stdout] 519365ac4eeb5c75c1b4499065ea772187b24545803b39e67bb18ad69d1ff64c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 077e2820e1ea35f72619e4eab4d248cbed24df9a186f899188d7c3aee1971850 [INFO] running `Command { std: "docker" "start" "-a" "077e2820e1ea35f72619e4eab4d248cbed24df9a186f899188d7c3aee1971850", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking nml v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rstest_macros v0.21.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/parser.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let root = self.id_generator.next(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut s = Node::ModuleDeclr(ModuleDeclr { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/parser.rs:324:16 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn any(t: &Token) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DiagSpan` is more private than the item `DiagEntry::new` [INFO] [stdout] --> src/diagnostics.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / pub fn new( [INFO] [stdout] 11 | | id: String, [INFO] [stdout] 12 | | module: String, [INFO] [stdout] 13 | | severity: DiagSeverity, [INFO] [stdout] 14 | | span: DiagSpan, [INFO] [stdout] 15 | | message: String, [INFO] [stdout] 16 | | ) -> Self { [INFO] [stdout] | |_____________^ associated function `DiagEntry::new` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `DiagSpan` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/diagnostics.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | struct DiagSpan { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `module`, `severity`, `span`, and `message` are never read [INFO] [stdout] --> src/diagnostics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct DiagEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 2 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 3 | module: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | severity: DiagSeverity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | span: DiagSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/diagnostics.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl DiagEntry { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/diagnostics.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct DiagSpan { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 36 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Wrn` is never constructed [INFO] [stdout] --> src/diagnostics.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum DiagSeverity { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 46 | Err, [INFO] [stdout] 47 | Wrn, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiagEntryBuilder` is never constructed [INFO] [stdout] --> src/diagnostics.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct DiagEntryBuilder {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/lexer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct LexerErr { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 19 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strip_spacer` is never used [INFO] [stdout] --> src/lexer.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn strip_spacer(nr: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_trivia` is never used [INFO] [stdout] --> src/lexer.rs:259:4 [INFO] [stdout] | [INFO] [stdout] 259 | fn is_trivia(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `file`, `module`, `row`, `col`, and `len` are never read [INFO] [stdout] --> src/parser.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ParseErr { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | file: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | module: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | row: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | col: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `print_tree` is never used [INFO] [stdout] --> src/parser.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Parser { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | fn print_tree(node: &Node) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expect` is never used [INFO] [stdout] --> src/parser.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn expect(t: TokenKind, n: TokenKind) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaData` is never constructed [INFO] [stdout] --> src/parser.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | struct MetaData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeInfo` is never constructed [INFO] [stdout] --> src/parser.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | struct TypeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/parser.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | ModuleDeclr(ModuleDeclr), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` 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] 191 | ModuleDeclr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `scope`, `ident`, and `value` are never read [INFO] [stdout] --> src/parser.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | VariableDeclr { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 193 | scope: Scope, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 194 | ident: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 195 | value: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `scope` and `value` are never read [INFO] [stdout] --> src/parser.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 198 | ConstExpr { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 199 | scope: Scope, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 200 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `operator`, and `right` are never read [INFO] [stdout] --> src/parser.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 202 | BinaryExpr { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 203 | left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 204 | operator: Operator, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 205 | right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VariableAccess`, `FunctionCall`, `MethodCall`, `BlockStmt`, and `UnaryExpr` are never constructed [INFO] [stdout] --> src/parser.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub enum Node { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 186 | VariableAccess, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 187 | FunctionCall, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 188 | MethodCall, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 189 | //stmt [INFO] [stdout] 190 | BlockStmt, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | UnaryExpr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` 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 `print` is never used [INFO] [stdout] --> src/parser.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 241 | impl AST { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn print(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `root` are never read [INFO] [stdout] --> src/parser.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 256 | pub(crate) struct ModuleDeclr { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 257 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 258 | root: Option>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleDeclr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConstExpr` is never constructed [INFO] [stdout] --> src/parser.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | struct ConstExpr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryExpr` is never constructed [INFO] [stdout] --> src/parser.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | struct BinaryExpr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariableDeclr` is never constructed [INFO] [stdout] --> src/parser.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | struct VariableDeclr { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IdType` is never used [INFO] [stdout] --> src/parser.rs:279:6 [INFO] [stdout] | [INFO] [stdout] 279 | enum IdType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `const_expr` is never used [INFO] [stdout] --> src/parser.rs:328:12 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn const_expr(t: &Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pos` is never constructed [INFO] [stdout] --> src/pos.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Pos { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pos` 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: associated functions `new` and `zero` are never used [INFO] [stdout] --> src/pos.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Pos { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 9 | pub fn new(row: u32, start: u32, end: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn zero() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_with_parent` is never used [INFO] [stdout] --> src/scope.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl ScopeGenerator { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn next_with_parent(&mut self, scope: Scope) -> Scope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `parent_id` are never read [INFO] [stdout] --> src/scope.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) struct Scope { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 29 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_child`, and `has_parent` are never used [INFO] [stdout] --> src/scope.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Scope { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 34 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn new_child(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn has_parent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_number_special` is never used [INFO] [stdout] --> src/source_char.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl SourceChar { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 8 | pub fn is_number_special(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/std.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn print(str: &str) -> () { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert` is never used [INFO] [stdout] --> src/std.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn assert(predicate: bool, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/std.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test() -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prev` and `curr` are never read [INFO] [stdout] --> src/stream.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Stream [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub prev: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub curr: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `peek_n`, `peek_and_step_if_fn`, `take_until_iter`, `take_until`, and `take_while` are never used [INFO] [stdout] --> src/stream.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 12 | / impl<'a, T> Stream [INFO] [stdout] 13 | | where [INFO] [stdout] 14 | | T: Clone, [INFO] [stdout] | |_____________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn peek_n(&self, steps: usize) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn peek_and_step_if_fn(&mut self, pred: fn(&T) -> bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn take_until_iter(&mut self, pred: fn(&T) -> bool) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn take_until(&mut self, pred: fn(&T) -> bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn take_while(&mut self, pred: fn(&T) -> bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | p.parse(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = p.parse(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Value` should have a snake case name [INFO] [stdout] --> src/parser.rs:54:42 [INFO] [stdout] | [INFO] [stdout] 54 | Node::VariableDeclr { value: Value, .. } => { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rstest v0.21.0 [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/parser.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let root = self.id_generator.next(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut s = Node::ModuleDeclr(ModuleDeclr { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/parser.rs:324:16 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn any(t: &Token) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DiagSpan` is more private than the item `DiagEntry::new` [INFO] [stdout] --> src/diagnostics.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / pub fn new( [INFO] [stdout] 11 | | id: String, [INFO] [stdout] 12 | | module: String, [INFO] [stdout] 13 | | severity: DiagSeverity, [INFO] [stdout] 14 | | span: DiagSpan, [INFO] [stdout] 15 | | message: String, [INFO] [stdout] 16 | | ) -> Self { [INFO] [stdout] | |_____________^ associated function `DiagEntry::new` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `DiagSpan` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/diagnostics.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | struct DiagSpan { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `module`, `severity`, `span`, and `message` are never read [INFO] [stdout] --> src/diagnostics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct DiagEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 2 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 3 | module: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | severity: DiagSeverity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | span: DiagSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/diagnostics.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl DiagEntry { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/diagnostics.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct DiagSpan { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 36 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Wrn` is never constructed [INFO] [stdout] --> src/diagnostics.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum DiagSeverity { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 46 | Err, [INFO] [stdout] 47 | Wrn, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiagEntryBuilder` is never constructed [INFO] [stdout] --> src/diagnostics.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct DiagEntryBuilder {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/lexer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct LexerErr { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 19 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strip_spacer` is never used [INFO] [stdout] --> src/lexer.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn strip_spacer(nr: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_trivia` is never used [INFO] [stdout] --> src/lexer.rs:259:4 [INFO] [stdout] | [INFO] [stdout] 259 | fn is_trivia(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `file`, `module`, `row`, `col`, and `len` are never read [INFO] [stdout] --> src/parser.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ParseErr { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | file: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | module: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | row: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | col: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `print_tree` is never used [INFO] [stdout] --> src/parser.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Parser { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | fn print_tree(node: &Node) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expect` is never used [INFO] [stdout] --> src/parser.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn expect(t: TokenKind, n: TokenKind) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaData` is never constructed [INFO] [stdout] --> src/parser.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | struct MetaData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeInfo` is never constructed [INFO] [stdout] --> src/parser.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | struct TypeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/parser.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | ModuleDeclr(ModuleDeclr), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` 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] 191 | ModuleDeclr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `scope`, `ident`, and `value` are never read [INFO] [stdout] --> src/parser.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | VariableDeclr { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 193 | scope: Scope, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 194 | ident: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 195 | value: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `scope` and `value` are never read [INFO] [stdout] --> src/parser.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 198 | ConstExpr { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 199 | scope: Scope, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 200 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `operator`, and `right` are never read [INFO] [stdout] --> src/parser.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 202 | BinaryExpr { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 203 | left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 204 | operator: Operator, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 205 | right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VariableAccess`, `FunctionCall`, `MethodCall`, `BlockStmt`, and `UnaryExpr` are never constructed [INFO] [stdout] --> src/parser.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub enum Node { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 186 | VariableAccess, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 187 | FunctionCall, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 188 | MethodCall, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 189 | //stmt [INFO] [stdout] 190 | BlockStmt, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | UnaryExpr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` 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 `print` is never used [INFO] [stdout] --> src/parser.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 241 | impl AST { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn print(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `root` are never read [INFO] [stdout] --> src/parser.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 256 | pub(crate) struct ModuleDeclr { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 257 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 258 | root: Option>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleDeclr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConstExpr` is never constructed [INFO] [stdout] --> src/parser.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | struct ConstExpr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryExpr` is never constructed [INFO] [stdout] --> src/parser.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | struct BinaryExpr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariableDeclr` is never constructed [INFO] [stdout] --> src/parser.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | struct VariableDeclr { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IdType` is never used [INFO] [stdout] --> src/parser.rs:279:6 [INFO] [stdout] | [INFO] [stdout] 279 | enum IdType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `const_expr` is never used [INFO] [stdout] --> src/parser.rs:328:12 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn const_expr(t: &Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pos` is never constructed [INFO] [stdout] --> src/pos.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Pos { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pos` 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: associated functions `new` and `zero` are never used [INFO] [stdout] --> src/pos.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Pos { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 9 | pub fn new(row: u32, start: u32, end: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn zero() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_with_parent` is never used [INFO] [stdout] --> src/scope.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl ScopeGenerator { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn next_with_parent(&mut self, scope: Scope) -> Scope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `parent_id` are never read [INFO] [stdout] --> src/scope.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) struct Scope { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 29 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_child`, and `has_parent` are never used [INFO] [stdout] --> src/scope.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Scope { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 34 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn new_child(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn has_parent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_number_special` is never used [INFO] [stdout] --> src/source_char.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl SourceChar { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 8 | pub fn is_number_special(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/std.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn print(str: &str) -> () { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert` is never used [INFO] [stdout] --> src/std.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn assert(predicate: bool, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prev` and `curr` are never read [INFO] [stdout] --> src/stream.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Stream [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub prev: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub curr: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `peek_and_step_if_fn`, `take_until`, and `take_while` are never used [INFO] [stdout] --> src/stream.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 12 | / impl<'a, T> Stream [INFO] [stdout] 13 | | where [INFO] [stdout] 14 | | T: Clone, [INFO] [stdout] | |_____________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn peek_and_step_if_fn(&mut self, pred: fn(&T) -> bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn take_until(&mut self, pred: fn(&T) -> bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn take_while(&mut self, pred: fn(&T) -> bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | p.parse(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = p.parse(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Value` should have a snake case name [INFO] [stdout] --> src/parser.rs:54:42 [INFO] [stdout] | [INFO] [stdout] 54 | Node::VariableDeclr { value: Value, .. } => { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.91s [INFO] running `Command { std: "docker" "inspect" "077e2820e1ea35f72619e4eab4d248cbed24df9a186f899188d7c3aee1971850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "077e2820e1ea35f72619e4eab4d248cbed24df9a186f899188d7c3aee1971850", kill_on_drop: false }` [INFO] [stdout] 077e2820e1ea35f72619e4eab4d248cbed24df9a186f899188d7c3aee1971850