[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] 17a871209f5604e0d7d015d553d18e6c2c44e2df [INFO] checking Barca545/galaxy-compiler/17a871209f5604e0d7d015d553d18e6c2c44e2df against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBarca545%2Fgalaxy-compiler" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Barca545/galaxy-compiler on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-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-3-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fd6f106df4893c1ea677cf92af3e5c490c003d14de5c178b08468a98dc1596a [INFO] running `Command { std: "docker" "start" "-a" "7fd6f106df4893c1ea677cf92af3e5c490c003d14de5c178b08468a98dc1596a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fd6f106df4893c1ea677cf92af3e5c490c003d14de5c178b08468a98dc1596a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd6f106df4893c1ea677cf92af3e5c490c003d14de5c178b08468a98dc1596a", kill_on_drop: false }` [INFO] [stdout] 7fd6f106df4893c1ea677cf92af3e5c490c003d14de5c178b08468a98dc1596a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e6a44d00847e5fced56fd1f675af15ec70d71e9ecfcc544c45e9a71ae808f8a [INFO] running `Command { std: "docker" "start" "-a" "6e6a44d00847e5fced56fd1f675af15ec70d71e9ecfcc544c45e9a71ae808f8a", kill_on_drop: false }` [INFO] [stderr] Compiling eyre v0.3.10 [INFO] [stderr] Checking indenter v0.1.3 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking galaxy-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `symbol_table::Symbol` [INFO] [stdout] --> src/parser/item.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | symbol_table::Symbol, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `symbol_table::Symbol` [INFO] [stdout] --> src/parser/item.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | symbol_table::Symbol, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> src/ast.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | 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:253:28 [INFO] [stdout] | [INFO] [stdout] 253 | 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:253:34 [INFO] [stdout] | [INFO] [stdout] 253 | Self::ForLoop { pat, iter, body, } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/ast.rs:344:22 [INFO] [stdout] | [INFO] [stdout] 344 | ItemKind::Fn { sig, body, } => write!(f, "([PARAMS UNIMPLEMENTED]) {{{:?}}}", body), [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/ast.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | ItemKind::Fn { sig, body, } => write!(f, "Fn {:?} ([PARAMS UNIMPLEMENTED]) {{{:?}}}", lookup(self.name.idx), body), [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/parser/mod.rs:89:51 [INFO] [stdout] | [INFO] [stdout] 89 | 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: field `mutable` is never read [INFO] [stdout] --> src/ast.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RawIdent { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 21 | pub symbol:Symbol, [INFO] [stdout] 22 | pub mutable:bool, [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:156:7 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct Literal { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 156 | 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:162:7 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 162 | 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:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | 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] 200 | If(P, (), (),), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/ast.rs:214:29 [INFO] [stdout] | [INFO] [stdout] 214 | 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] 214 | WhileLoop(P, (),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast.rs:270:7 [INFO] [stdout] | [INFO] [stdout] 269 | pub struct Expression { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 270 | 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:304:10 [INFO] [stdout] | [INFO] [stdout] 285 | impl Ty { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn is_int(&self,) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn is_float(&self,) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn is_char(&self,) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn is_string(&self,) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `params` and `result` are never read [INFO] [stdout] --> src/ast.rs:331:7 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct FnSig { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 331 | pub params:Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 332 | pub result:Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnSig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `loc` are never read [INFO] [stdout] --> src/ast.rs:357:7 [INFO] [stdout] | [INFO] [stdout] 356 | pub struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 357 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 358 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | 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] 379 | Ident((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `end`, and `inclusive` are never read [INFO] [stdout] --> src/ast.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 380 | Range { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 381 | start:P, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 382 | end:P, [INFO] [stdout] | ^^^ [INFO] [stdout] 383 | 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:385:3 [INFO] [stdout] | [INFO] [stdout] 378 | pub enum PatKind { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 385 | 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:390:7 [INFO] [stdout] | [INFO] [stdout] 389 | pub struct Pat { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 390 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 391 | ///[`Location`] of the first element in the statement [INFO] [stdout] 392 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 393 | 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:399:8 [INFO] [stdout] | [INFO] [stdout] 399 | 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] 399 | 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:406:7 [INFO] [stdout] | [INFO] [stdout] 405 | pub struct Local { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 406 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 407 | ///[`Location`] of the first element in the statement [INFO] [stdout] 408 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 409 | ///Type of the local. [INFO] [stdout] 410 | pub ty:Option,>, [INFO] [stdout] | ^^ [INFO] [stdout] 411 | pub pat:P, [INFO] [stdout] | ^^^ [INFO] [stdout] 412 | 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:417:7 [INFO] [stdout] | [INFO] [stdout] 417 | 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] 417 | Let((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:418:14 [INFO] [stdout] | [INFO] [stdout] 418 | 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] 418 | Expression((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 419 | Item(Item,), [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] 419 | Item((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `loc`, and `kind` are never read [INFO] [stdout] --> src/ast.rs:424:7 [INFO] [stdout] | [INFO] [stdout] 423 | pub struct Statement { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 424 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 425 | ///[`Location`] of the first element in the statement [INFO] [stdout] 426 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 427 | 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:43:3 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 42 | cursor:usize, [INFO] [stdout] 43 | source:String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | 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: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> src/ast.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | 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:253:28 [INFO] [stdout] | [INFO] [stdout] 253 | 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:253:34 [INFO] [stdout] | [INFO] [stdout] 253 | Self::ForLoop { pat, iter, body, } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/ast.rs:344:22 [INFO] [stdout] | [INFO] [stdout] 344 | ItemKind::Fn { sig, body, } => write!(f, "([PARAMS UNIMPLEMENTED]) {{{:?}}}", body), [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/ast.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | ItemKind::Fn { sig, body, } => write!(f, "Fn {:?} ([PARAMS UNIMPLEMENTED]) {{{:?}}}", lookup(self.name.idx), body), [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/parser/mod.rs:89:51 [INFO] [stdout] | [INFO] [stdout] 89 | 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:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | 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:614:9 [INFO] [stdout] | [INFO] [stdout] 614 | let ast = parser.parse(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast.rs:270:7 [INFO] [stdout] | [INFO] [stdout] 269 | pub struct Expression { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 270 | 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:304:10 [INFO] [stdout] | [INFO] [stdout] 285 | impl Ty { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn is_int(&self,) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn is_float(&self,) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn is_char(&self,) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn is_string(&self,) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `params` and `result` are never read [INFO] [stdout] --> src/ast.rs:331:7 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct FnSig { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 331 | pub params:Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 332 | pub result:Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnSig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `loc` are never read [INFO] [stdout] --> src/ast.rs:357:7 [INFO] [stdout] | [INFO] [stdout] 356 | pub struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 357 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 358 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `end`, and `inclusive` are never read [INFO] [stdout] --> src/ast.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 380 | Range { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 381 | start:P, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 382 | end:P, [INFO] [stdout] | ^^^ [INFO] [stdout] 383 | 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:385:3 [INFO] [stdout] | [INFO] [stdout] 378 | pub enum PatKind { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 385 | 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` and `loc` are never read [INFO] [stdout] --> src/ast.rs:390:7 [INFO] [stdout] | [INFO] [stdout] 389 | pub struct Pat { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 390 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 391 | ///[`Location`] of the first element in the statement [INFO] [stdout] 392 | pub loc:Location, [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: fields `id`, `loc`, and `ty` are never read [INFO] [stdout] --> src/ast.rs:406:7 [INFO] [stdout] | [INFO] [stdout] 405 | pub struct Local { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 406 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 407 | ///[`Location`] of the first element in the statement [INFO] [stdout] 408 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 409 | ///Type of the local. [INFO] [stdout] 410 | pub ty:Option,>, [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:419:8 [INFO] [stdout] | [INFO] [stdout] 419 | Item(Item,), [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] 419 | Item((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `loc` are never read [INFO] [stdout] --> src/ast.rs:424:7 [INFO] [stdout] | [INFO] [stdout] 423 | pub struct Statement { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 424 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 425 | ///[`Location`] of the first element in the statement [INFO] [stdout] 426 | pub loc:Location, [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:43:3 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 42 | cursor:usize, [INFO] [stdout] 43 | source:String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | 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: 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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.63s [INFO] running `Command { std: "docker" "inspect" "6e6a44d00847e5fced56fd1f675af15ec70d71e9ecfcc544c45e9a71ae808f8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e6a44d00847e5fced56fd1f675af15ec70d71e9ecfcc544c45e9a71ae808f8a", kill_on_drop: false }` [INFO] [stdout] 6e6a44d00847e5fced56fd1f675af15ec70d71e9ecfcc544c45e9a71ae808f8a