[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] 2ff1d25fe8a05c921cd4afd2fc582dcd4d2058d6 [INFO] checking Barca545/galaxy-compiler/2ff1d25fe8a05c921cd4afd2fc582dcd4d2058d6 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBarca545%2Fgalaxy-compiler" "/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/Barca545/galaxy-compiler on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/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-6-tc1/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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded eyre v0.3.10 [INFO] [stderr] Downloaded indenter v0.1.3 [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4b33531a256c5fd95a11525a817ce42030c32fd6638a7b9e7949885030fe379 [INFO] running `Command { std: "docker" "start" "-a" "b4b33531a256c5fd95a11525a817ce42030c32fd6638a7b9e7949885030fe379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4b33531a256c5fd95a11525a817ce42030c32fd6638a7b9e7949885030fe379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b33531a256c5fd95a11525a817ce42030c32fd6638a7b9e7949885030fe379", kill_on_drop: false }` [INFO] [stdout] b4b33531a256c5fd95a11525a817ce42030c32fd6638a7b9e7949885030fe379 [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e35584aa31650d6207924a9989868b75581921a6e30bb65d9da1efb233b2a614 [INFO] running `Command { std: "docker" "start" "-a" "e35584aa31650d6207924a9989868b75581921a6e30bb65d9da1efb233b2a614", 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 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 imports: `BinOpKind`, `ExpressionKind`, `LiteralKind`, `LocalKind`, and `StatementKind` [INFO] [stdout] --> src/parser.rs:478:20 [INFO] [stdout] | [INFO] [stdout] 478 | use crate::ast::{BinOpKind, ExpressionKind, LiteralKind, LocalKind, StatementKind}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `interner::intern` and `token::TokenKind` [INFO] [stdout] --> src/tokenizer.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{interner::intern, token::TokenKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `interner::intern` and `token::TokenKind` [INFO] [stdout] --> src/tokenizer.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{interner::intern, token::TokenKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/parser.rs:78:51 [INFO] [stdout] | [INFO] [stdout] 78 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/parser.rs:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | 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:65:3 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum LiteralKind { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 65 | 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 `kind` is never read [INFO] [stdout] --> src/ast.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct Literal { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 164 | 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: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ast.rs:175:6 [INFO] [stdout] | [INFO] [stdout] 175 | 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] 175 | If((), (), (),), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast.rs:213:7 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Expression { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 213 | 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:245:10 [INFO] [stdout] | [INFO] [stdout] 227 | impl Ty { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn is_int(&self,) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn is_float(&self,) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn is_char(&self,) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn is_string(&self,) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `loc` are never read [INFO] [stdout] --> src/ast.rs:271:7 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct Ident { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 271 | pub name:u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 272 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ident` 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 `mutable` and `ident` are never read [INFO] [stdout] --> src/ast.rs:277:11 [INFO] [stdout] | [INFO] [stdout] 277 | Ident { mutable:bool, ident:Ident, }, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields 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] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `loc`, and `kind` are never read [INFO] [stdout] --> src/ast.rs:282:7 [INFO] [stdout] | [INFO] [stdout] 281 | pub struct Pat { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 282 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 283 | ///[`Location`] of the first element in the statement [INFO] [stdout] 284 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 285 | 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:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | 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] 293 | 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:298:7 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct Local { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 298 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 299 | ///[`Location`] of the first element in the statement [INFO] [stdout] 300 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 301 | ///Type of the local. [INFO] [stdout] 302 | pub ty:Option,>, [INFO] [stdout] | ^^ [INFO] [stdout] 303 | pub pat:P, [INFO] [stdout] | ^^^ [INFO] [stdout] 304 | 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:309:7 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 309 | Let((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | 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] 310 | Expression((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `loc`, and `kind` are never read [INFO] [stdout] --> src/ast.rs:316:7 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct Statement { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 316 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 317 | ///[`Location`] of the first element in the statement [INFO] [stdout] 318 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 319 | 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`, `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] 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.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 32 | cursor:usize, [INFO] [stdout] 33 | source:String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | erroring:bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_array_expression` is never used [INFO] [stdout] --> src/parser.rs:391:6 [INFO] [stdout] | [INFO] [stdout] 133 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 391 | fn parse_array_expression(&mut self,) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `err_detected` and `print_error` are never used [INFO] [stdout] --> src/parser.rs:424:6 [INFO] [stdout] | [INFO] [stdout] 421 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 424 | fn err_detected(&mut self, loc:Location, err:&ParsingError,) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | 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: enum `SymanticType` is never used [INFO] [stdout] --> src/symbol_table.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum SymanticType {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataType` is never used [INFO] [stdout] --> src/symbol_table.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | enum DataType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AttributeTable` is never constructed [INFO] [stdout] --> src/symbol_table.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct AttributeTable {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolTable` is never constructed [INFO] [stdout] --> src/symbol_table.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct SymbolTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash` is never used [INFO] [stdout] --> src/symbol_table.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 48 | impl SymbolTable { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 49 | fn hash(&self, string:String,) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/parser.rs:78:51 [INFO] [stdout] | [INFO] [stdout] 78 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_string` is never used [INFO] [stdout] --> src/tokenizer.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn read_string(chars:&mut Peekable,>,) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eat_comment` is never used [INFO] [stdout] --> src/tokenizer.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn eat_comment(chars:&mut Peekable,>,) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Str` is never constructed [INFO] [stdout] --> src/ast.rs:65:3 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum LiteralKind { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 65 | 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 `kind` is never read [INFO] [stdout] --> src/ast.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct Literal { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 164 | 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: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ast.rs:175:6 [INFO] [stdout] | [INFO] [stdout] 175 | 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] 175 | If((), (), (),), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast.rs:213:7 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Expression { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 213 | 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:245:10 [INFO] [stdout] | [INFO] [stdout] 227 | impl Ty { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn is_int(&self,) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn is_float(&self,) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn is_char(&self,) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn is_string(&self,) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `loc` are never read [INFO] [stdout] --> src/ast.rs:271:7 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct Ident { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 271 | pub name:u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 272 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ident` 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 `mutable` and `ident` are never read [INFO] [stdout] --> src/ast.rs:277:11 [INFO] [stdout] | [INFO] [stdout] 277 | Ident { mutable:bool, ident:Ident, }, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields 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] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `loc`, and `kind` are never read [INFO] [stdout] --> src/ast.rs:282:7 [INFO] [stdout] | [INFO] [stdout] 281 | pub struct Pat { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 282 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 283 | ///[`Location`] of the first element in the statement [INFO] [stdout] 284 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 285 | 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:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | 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] 293 | 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:298:7 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct Local { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 298 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 299 | ///[`Location`] of the first element in the statement [INFO] [stdout] 300 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 301 | ///Type of the local. [INFO] [stdout] 302 | pub ty:Option,>, [INFO] [stdout] | ^^ [INFO] [stdout] 303 | pub pat:P, [INFO] [stdout] | ^^^ [INFO] [stdout] 304 | 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:309:7 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 309 | Let((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | 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] 310 | Expression((),), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `loc`, and `kind` are never read [INFO] [stdout] --> src/ast.rs:316:7 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct Statement { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 316 | pub id:usize, [INFO] [stdout] | ^^ [INFO] [stdout] 317 | ///[`Location`] of the first element in the statement [INFO] [stdout] 318 | pub loc:Location, [INFO] [stdout] | ^^^ [INFO] [stdout] 319 | 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`, `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] 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.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 32 | cursor:usize, [INFO] [stdout] 33 | source:String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | erroring:bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_array_expression` is never used [INFO] [stdout] --> src/parser.rs:391:6 [INFO] [stdout] | [INFO] [stdout] 133 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 391 | fn parse_array_expression(&mut self,) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `err_detected` and `print_error` are never used [INFO] [stdout] --> src/parser.rs:424:6 [INFO] [stdout] | [INFO] [stdout] 421 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 424 | fn err_detected(&mut self, loc:Location, err:&ParsingError,) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | 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: enum `SymanticType` is never used [INFO] [stdout] --> src/symbol_table.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum SymanticType {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataType` is never used [INFO] [stdout] --> src/symbol_table.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | enum DataType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AttributeTable` is never constructed [INFO] [stdout] --> src/symbol_table.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct AttributeTable {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolTable` is never constructed [INFO] [stdout] --> src/symbol_table.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct SymbolTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash` is never used [INFO] [stdout] --> src/symbol_table.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 48 | impl SymbolTable { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 49 | fn hash(&self, string:String,) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | IDENTIFIER(u32), STRING(u32), INT(u32), FLOAT(u32), [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] 76 | IDENTIFIER(u32), STRING(()), INT(u32), FLOAT(u32), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_string` is never used [INFO] [stdout] --> src/tokenizer.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn read_string(chars:&mut Peekable,>,) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eat_comment` is never used [INFO] [stdout] --> src/tokenizer.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn eat_comment(chars:&mut Peekable,>,) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.32s [INFO] running `Command { std: "docker" "inspect" "e35584aa31650d6207924a9989868b75581921a6e30bb65d9da1efb233b2a614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e35584aa31650d6207924a9989868b75581921a6e30bb65d9da1efb233b2a614", kill_on_drop: false }` [INFO] [stdout] e35584aa31650d6207924a9989868b75581921a6e30bb65d9da1efb233b2a614