[INFO] cloning repository https://github.com/Barca545/galaxy-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Barca545/galaxy-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBarca545%2Fgalaxy-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBarca545%2Fgalaxy-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de0a5018672a591d70e99ccba8d67ac77ad078ac [INFO] checking Barca545/galaxy-compiler/de0a5018672a591d70e99ccba8d67ac77ad078ac against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBarca545%2Fgalaxy-compiler" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Barca545/galaxy-compiler on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Barca545/galaxy-compiler [INFO] finished tweaking git repo https://github.com/Barca545/galaxy-compiler [INFO] tweaked toml for git repo https://github.com/Barca545/galaxy-compiler written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Barca545/galaxy-compiler 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 705563b96b17a8d8efff173537e867b3ed4c7b5bb85b0345ad52196d0dde6240 [INFO] running `Command { std: "docker" "start" "-a" "705563b96b17a8d8efff173537e867b3ed4c7b5bb85b0345ad52196d0dde6240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "705563b96b17a8d8efff173537e867b3ed4c7b5bb85b0345ad52196d0dde6240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "705563b96b17a8d8efff173537e867b3ed4c7b5bb85b0345ad52196d0dde6240", kill_on_drop: false }` [INFO] [stdout] 705563b96b17a8d8efff173537e867b3ed4c7b5bb85b0345ad52196d0dde6240 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd608a3b69f477ab6b439a054cb4bb27baf1ee5d8407fd07f1d4913f43ea42ce [INFO] running `Command { std: "docker" "start" "-a" "bd608a3b69f477ab6b439a054cb4bb27baf1ee5d8407fd07f1d4913f43ea42ce", kill_on_drop: false }` [INFO] [stderr] Compiling eyre v0.3.10 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking indenter v0.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking galaxy-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> src/ast.rs:221:23 [INFO] [stdout] | [INFO] [stdout] 221 | Self::ForLoop { pat, iter, body, } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `pat: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter` [INFO] [stdout] --> src/ast.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 221 | Self::ForLoop { pat, iter, body, } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `iter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ast.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | Self::ForLoop { pat, iter, body, } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/parser/mod.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 88 | fn eat_token_expect(&mut self, token:TokenKind, msg:&str,) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mutable` and `loc` are never read [INFO] [stdout] --> src/ast.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RawIdent { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 21 | pub symbol:Symbol, [INFO] [stdout] 22 | pub mutable:bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawIdent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Str` is never constructed [INFO] [stdout] --> src/ast.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum LiteralKind { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 51 | Str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiteralKind` 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.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct Literal { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 152 | pub kind:LiteralKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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 `inner_block` is never read [INFO] [stdout] --> src/ast.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 158 | pub inner_block:Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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 `1` and `2` are never read [INFO] [stdout] --> src/ast.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 169 | If(P, P, Option,>,), [INFO] [stdout] | -- ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 169 | If(P, (), (),), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/ast.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | WhileLoop(P, P,), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has a derived impl for the trait `Clone`, 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] 183 | WhileLoop(P, (),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast.rs:237:7 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct Expression { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 237 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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: methods `is_int`, `is_float`, `is_char`, and `is_string` are never used [INFO] [stdout] --> src/ast.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 251 | impl Ty { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn is_int(&self,) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn is_float(&self,) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn is_char(&self,) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn is_string(&self,) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | Ident(RawIdent,), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PatKind` 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] 295 | Ident((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `end`, and `inclusive` are never read [INFO] [stdout] --> src/ast.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 296 | Range { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 297 | start:P, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 298 | end:P, [INFO] [stdout] | ^^^ [INFO] [stdout] 299 | inclusive:bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PatKind` 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 `Tuple` is never constructed [INFO] [stdout] --> src/ast.rs:301:3 [INFO] [stdout] | [INFO] [stdout] 294 | pub enum PatKind { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 301 | Tuple(P,>,), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PatKind` 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 `id`, `loc`, and `kind` are never read [INFO] [stdout] --> src/ast.rs:306:7 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct Pat { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 306 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 307 | ///[`Location`] of the first element in the statement [INFO] [stdout] 308 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 309 | pub kind:PatKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pat` 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.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | Init(P,), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LocalKind` 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] 317 | Init((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `loc`, `ty`, `pat`, and `kind` are never read [INFO] [stdout] --> src/ast.rs:322:7 [INFO] [stdout] | [INFO] [stdout] 321 | pub struct Local { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 322 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 323 | ///[`Location`] of the first element in the statement [INFO] [stdout] 324 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 325 | ///Type of the local. [INFO] [stdout] 326 | pub ty:Option,>, [INFO] [stdout] | ^^ [INFO] [stdout] 327 | pub pat:P, [INFO] [stdout] | ^^^ [INFO] [stdout] 328 | pub kind:LocalKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Local` 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.rs:333:7 [INFO] [stdout] | [INFO] [stdout] 333 | Let(P,), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` 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] 333 | Let((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:334:14 [INFO] [stdout] | [INFO] [stdout] 334 | Expression(Expression,), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` 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] 334 | Expression((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `loc`, and `kind` are never read [INFO] [stdout] --> src/ast.rs:340:7 [INFO] [stdout] | [INFO] [stdout] 339 | pub struct Statement { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 340 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 341 | ///[`Location`] of the first element in the statement [INFO] [stdout] 342 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 343 | pub kind:StatementKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `ChunkNotRecognized`, `NotValidNumber`, `VarNotDeclared`, `InvalidVarName`, `InvalidType`, and `NoStatementMatch` are never constructed [INFO] [stdout] --> src/errors.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ParsingError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 9 | #[error("{0:?} is not recognized as a token.")] [INFO] [stdout] 10 | ChunkNotRecognized(String,), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | NotValidNumber(String,), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | #[error("Expected variable declaration.")] [INFO] [stdout] 16 | VarNotDeclared, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | #[error("{0:?} is not a valid variable name. Variable names must begin with a letter")] [INFO] [stdout] 18 | InvalidVarName(String,), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | InvalidType(String,), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | #[error("No statement match")] [INFO] [stdout] 24 | NoStatementMatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsingError` 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 `source` and `erroring` are never read [INFO] [stdout] --> src/parser/mod.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 41 | cursor:usize, [INFO] [stdout] 42 | source:String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | erroring:bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `err_detected` and `print_error` are never used [INFO] [stdout] --> src/parser/error_reporting.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 4 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 7 | fn err_detected(&mut self, loc:Location, err:&ParsingError,) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn print_error(loc:Location, raw:&String, err:&ParsingError,) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Reg` is never used [INFO] [stdout] --> src/reg_allocator.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Reg = usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Temp` is never used [INFO] [stdout] --> src/reg_allocator.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Temp = String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InterferenceGraph` is never constructed [INFO] [stdout] --> src/reg_allocator.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct InterferenceGraph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/reg_allocator.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 17 | impl InterferenceGraph { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolTables` is never constructed [INFO] [stdout] --> src/symbol_table.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct SymbolTables { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_scope`, `parent`, `current`, and `current_mut` are never used [INFO] [stdout] --> src/symbol_table.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | impl SymbolTables { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> SymbolTables { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new_scope(&mut self,) -> &mut SymbolTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn parent(&self,) -> &SymbolTable { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn current(&self,) -> &SymbolTable { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn current_mut(&mut self,) -> &mut SymbolTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int`, `Float`, and `Usize` are never constructed [INFO] [stdout] --> src/symbol_table.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum DataType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 58 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | Usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataType` 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: struct `SymbolData` is never constructed [INFO] [stdout] --> src/symbol_table.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct SymbolData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolData` 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 function `new` is never used [INFO] [stdout] --> src/symbol_table.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 84 | impl SymbolData { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 85 | pub fn new(data_type:DataType,) -> SymbolData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolTable` is never constructed [INFO] [stdout] --> src/symbol_table.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | struct SymbolTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set`, `parent`, and `get` are never used [INFO] [stdout] --> src/symbol_table.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 96 | impl SymbolTable { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 97 | pub fn new(parent:Option, idx:usize,) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn set(&mut self, sym:Symbol, data:SymbolData,) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn parent<'p,>(&self, tables:&'p SymbolTables,) -> &'p SymbolTable { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get(&self, sym:&Symbol, tables:&SymbolTables,) -> SymbolData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | IDENTIFIER(Symbol), STRING(Symbol), INT(Symbol), FLOAT(Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` 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] 78 | IDENTIFIER(Symbol), STRING(()), INT(Symbol), FLOAT(Symbol), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eat_whitespace` is never used [INFO] [stdout] --> src/tokenizer.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl Tokenizer { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn eat_whitespace(&mut self,) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> src/ast.rs:221:23 [INFO] [stdout] | [INFO] [stdout] 221 | Self::ForLoop { pat, iter, body, } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `pat: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter` [INFO] [stdout] --> src/ast.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 221 | Self::ForLoop { pat, iter, body, } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `iter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ast.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | Self::ForLoop { pat, iter, body, } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/parser/mod.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 88 | fn eat_token_expect(&mut self, token:TokenKind, msg:&str,) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/tests/parser_tests.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let ast = parser.parse(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/tests/parser_tests.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let ast = parser.parse(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/tests/parser_tests.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let ast = parser.parse(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/tests/parser_tests.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let ast = parser.parse(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/tests/parser_tests.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let ast = parser.parse(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mutable` and `loc` are never read [INFO] [stdout] --> src/ast.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RawIdent { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 21 | pub symbol:Symbol, [INFO] [stdout] 22 | pub mutable:bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawIdent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Str` is never constructed [INFO] [stdout] --> src/ast.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum LiteralKind { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 51 | Str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiteralKind` 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.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct Literal { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 152 | pub kind:LiteralKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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 `inner_block` is never read [INFO] [stdout] --> src/ast.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 158 | pub inner_block:Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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 `1` and `2` are never read [INFO] [stdout] --> src/ast.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 169 | If(P, P, Option,>,), [INFO] [stdout] | -- ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 169 | If(P, (), (),), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/ast.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | WhileLoop(P, P,), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has a derived impl for the trait `Clone`, 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] 183 | WhileLoop(P, (),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast.rs:237:7 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct Expression { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 237 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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: methods `is_int`, `is_float`, `is_char`, and `is_string` are never used [INFO] [stdout] --> src/ast.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 251 | impl Ty { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn is_int(&self,) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn is_float(&self,) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn is_char(&self,) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn is_string(&self,) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | Ident(RawIdent,), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PatKind` 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] 295 | Ident((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `end`, and `inclusive` are never read [INFO] [stdout] --> src/ast.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 296 | Range { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 297 | start:P, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 298 | end:P, [INFO] [stdout] | ^^^ [INFO] [stdout] 299 | inclusive:bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PatKind` 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 `Tuple` is never constructed [INFO] [stdout] --> src/ast.rs:301:3 [INFO] [stdout] | [INFO] [stdout] 294 | pub enum PatKind { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 301 | Tuple(P,>,), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PatKind` 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 `id`, `loc`, and `kind` are never read [INFO] [stdout] --> src/ast.rs:306:7 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct Pat { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 306 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 307 | ///[`Location`] of the first element in the statement [INFO] [stdout] 308 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 309 | pub kind:PatKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pat` 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.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | Init(P,), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LocalKind` 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] 317 | Init((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `loc`, `ty`, `pat`, and `kind` are never read [INFO] [stdout] --> src/ast.rs:322:7 [INFO] [stdout] | [INFO] [stdout] 321 | pub struct Local { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 322 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 323 | ///[`Location`] of the first element in the statement [INFO] [stdout] 324 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 325 | ///Type of the local. [INFO] [stdout] 326 | pub ty:Option,>, [INFO] [stdout] | ^^ [INFO] [stdout] 327 | pub pat:P, [INFO] [stdout] | ^^^ [INFO] [stdout] 328 | pub kind:LocalKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Local` 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.rs:333:7 [INFO] [stdout] | [INFO] [stdout] 333 | Let(P,), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` 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] 333 | Let((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:334:14 [INFO] [stdout] | [INFO] [stdout] 334 | Expression(Expression,), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` 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] 334 | Expression((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `loc`, and `kind` are never read [INFO] [stdout] --> src/ast.rs:340:7 [INFO] [stdout] | [INFO] [stdout] 339 | pub struct Statement { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 340 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 341 | ///[`Location`] of the first element in the statement [INFO] [stdout] 342 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 343 | pub kind:StatementKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `ChunkNotRecognized`, `NotValidNumber`, `VarNotDeclared`, `InvalidVarName`, `InvalidType`, and `NoStatementMatch` are never constructed [INFO] [stdout] --> src/errors.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ParsingError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 9 | #[error("{0:?} is not recognized as a token.")] [INFO] [stdout] 10 | ChunkNotRecognized(String,), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | NotValidNumber(String,), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | #[error("Expected variable declaration.")] [INFO] [stdout] 16 | VarNotDeclared, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | #[error("{0:?} is not a valid variable name. Variable names must begin with a letter")] [INFO] [stdout] 18 | InvalidVarName(String,), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | InvalidType(String,), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | #[error("No statement match")] [INFO] [stdout] 24 | NoStatementMatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsingError` 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 `source` and `erroring` are never read [INFO] [stdout] --> src/parser/mod.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 41 | cursor:usize, [INFO] [stdout] 42 | source:String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | erroring:bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `err_detected` and `print_error` are never used [INFO] [stdout] --> src/parser/error_reporting.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 4 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 7 | fn err_detected(&mut self, loc:Location, err:&ParsingError,) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn print_error(loc:Location, raw:&String, err:&ParsingError,) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Reg` is never used [INFO] [stdout] --> src/reg_allocator.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Reg = usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Temp` is never used [INFO] [stdout] --> src/reg_allocator.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Temp = String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InterferenceGraph` is never constructed [INFO] [stdout] --> src/reg_allocator.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct InterferenceGraph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/reg_allocator.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 17 | impl InterferenceGraph { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_scope`, `parent`, and `current` are never used [INFO] [stdout] --> src/symbol_table.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 22 | impl SymbolTables { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new_scope(&mut self,) -> &mut SymbolTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn parent(&self,) -> &SymbolTable { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn current(&self,) -> &SymbolTable { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int` and `Float` are never constructed [INFO] [stdout] --> src/symbol_table.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum DataType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 58 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataType` 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: function `parse_works` is never used [INFO] [stdout] --> src/tests/parser_tests.rs:104:6 [INFO] [stdout] | [INFO] [stdout] 104 | fn parse_works() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eat_whitespace` is never used [INFO] [stdout] --> src/tokenizer.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl Tokenizer { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn eat_whitespace(&mut self,) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.43s [INFO] running `Command { std: "docker" "inspect" "bd608a3b69f477ab6b439a054cb4bb27baf1ee5d8407fd07f1d4913f43ea42ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd608a3b69f477ab6b439a054cb4bb27baf1ee5d8407fd07f1d4913f43ea42ce", kill_on_drop: false }` [INFO] [stdout] bd608a3b69f477ab6b439a054cb4bb27baf1ee5d8407fd07f1d4913f43ea42ce