[INFO] cloning repository https://github.com/hzyym/kzScript [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hzyym/kzScript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhzyym%2FkzScript", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhzyym%2FkzScript'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4446ca836e5e13f2936c3ea2a8c542a798bebba9 [INFO] checking hzyym/kzScript against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhzyym%2FkzScript" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hzyym/kzScript on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hzyym/kzScript [INFO] finished tweaking git repo https://github.com/hzyym/kzScript [INFO] tweaked toml for git repo https://github.com/hzyym/kzScript written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hzyym/kzScript already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4a5661976444a56007d456c9e35086e0572b83f5a0f1a9425c3b0e3d8cbe04c [INFO] running `Command { std: "docker" "start" "-a" "f4a5661976444a56007d456c9e35086e0572b83f5a0f1a9425c3b0e3d8cbe04c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4a5661976444a56007d456c9e35086e0572b83f5a0f1a9425c3b0e3d8cbe04c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4a5661976444a56007d456c9e35086e0572b83f5a0f1a9425c3b0e3d8cbe04c", kill_on_drop: false }` [INFO] [stdout] f4a5661976444a56007d456c9e35086e0572b83f5a0f1a9425c3b0e3d8cbe04c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20ab17b6043cd3612e4cd3016c9201587cb680f69e877dc0b76045b84c4026e4 [INFO] running `Command { std: "docker" "start" "-a" "20ab17b6043cd3612e4cd3016c9201587cb680f69e877dc0b76045b84c4026e4", kill_on_drop: false }` [INFO] [stderr] Checking kzScript v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/error.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | _ => "Unable to process error".to_string() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/parser/error.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 54 | KzErr::Program(tok) => format!("program unknown type error {:?}",tok), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 55 | KzErr::Type(tok) => format!("'{:?}' type is not legal",tok), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 56 | KzErr::Expected(tok) => format!("expected symbol '{:?}' does not exist",tok), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 57 | KzErr::ExpectedName => "expected name is missing".to_string(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | _ => "Unable to process error".to_string() [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/error.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | _ => "Unable to process error".to_string() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/parser/error.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 54 | KzErr::Program(tok) => format!("program unknown type error {:?}",tok), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 55 | KzErr::Type(tok) => format!("'{:?}' type is not legal",tok), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 56 | KzErr::Expected(tok) => format!("expected symbol '{:?}' does not exist",tok), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 57 | KzErr::ExpectedName => "expected name is missing".to_string(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | _ => "Unable to process error".to_string() [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/token.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 5 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | Let, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Equ, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Ident(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | Basics(String,Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | Sem, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | N, [INFO] [stdout] | ^ [INFO] [stdout] 16 | Err(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | LeftCurlyBracket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | RightCurlyBracket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | LT, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | GT, [INFO] [stdout] | ^^ [INFO] [stdout] 29 | LTEqu, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | GTEqu, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | BangEqu, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | Assign, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | Fun, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | LeftBracket, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | RightBracket, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | Arrow, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | Struct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | LeftSquareBra, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 42 | RightSquareBra, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 43 | Array(i32,Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | SelfSub, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | SelfAdd, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | Continue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | Notes, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | NotesBlock, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | NotesBlockEnd, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `let_type` is never used [INFO] [stdout] --> src/parser/token.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 55 | pub fn let_type(tok:&Token) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/token.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub enum Operation { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 135 | Lowest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 136 | Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 137 | EquAls, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 138 | AddAndSub, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 139 | MulAndDiv, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 140 | LtAndGt, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 141 | Call [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/parser/lexer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Lexer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser/lexer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Lexer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(file:PaserFile) -> Lexer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn next(&mut self) -> Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn read(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn peek(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn expect_peek(&mut self,symbol:u8) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn is_letter(&mut self,val:u8) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn is_num(&self,val:u8) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn read_string(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn read_strings(&mut self) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn read_num(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn as_token(&self,ident:&str) -> Token { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn line(&self) ->i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn line_index(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn file_path(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PaserFile` is never constructed [INFO] [stdout] --> src/parser/file.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PaserFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `file_path` are never used [INFO] [stdout] --> src/parser/file.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PaserFile { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(path:&str) -> PaserFile { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn file_path(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/parser/parser.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser/parser.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(l:Lexer) -> Parser { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn current_token_is(&self, tok:Token) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn peek_token_is(&self, tok:Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn expect_peek_token(&mut self, tok: Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn expect_curr_token(&mut self, tok: Token) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn next_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn notes(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn program(&mut self) -> Result,KzError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn parser_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn ident(&self) -> Option{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn let_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn list_value_expression(&mut self) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn expression(&mut self,op:Operation) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn infix_expression(&mut self,left:Expression) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | fn basics(&self, val:&str, tok: &Token) -> Result{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn error(&self, err:KzErr) -> KzError { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | fn peek_operation(&self) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn curr_operation(&self) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | fn operation(&self, tok: &Token) -> Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn peek_stem_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn curr_stem_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn stem_end(&self,tok: &Token) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn if_statement(&mut self) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | fn fun_head_expression(&mut self,need_param_name:bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | fn fun_expression(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | fn param_expression(&mut self, tok: Token,n:bool,need_name:bool) -> Result,KzError>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | fn type_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | fn struct_expression(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | fn type_fn_expression(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | fn dump_n(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | fn dump_token(&mut self,tok:Token) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | fn dump_notes_token(&mut self,tok:Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | fn dump_boundary(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | fn array_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | fn ident_statement(&mut self) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 458 | fn call_expression(&mut self,left:Expression) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | fn index_expression(&mut self,left:Expression) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | fn self_operation_expression(&mut self,name:Expression,left:bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | fn prefix_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | fn for_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | fn rbc_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_parser` is never used [INFO] [stdout] --> src/parser/parser.rs:566:4 [INFO] [stdout] | [INFO] [stdout] 566 | fn print_parser(s:&str){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `error` are never used [INFO] [stdout] --> src/parser/error.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl KzError { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new(path:&str,line:i32,index:i32,err:KzErr) -> KzError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn error(self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/error.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum KzErr { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 41 | Program(Token), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 42 | Type(Token), [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | Expected(Token), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | ExpectedName, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | UnExpSymbol(Token), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 46 | UnOpSymbol(Token), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | Value(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | ParamName, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast/node.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 10 | Let(LetStatement), [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | IF(IfStatement), [INFO] [stdout] | ^^ [INFO] [stdout] 12 | Fun(FunExpression), [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Type(String,Expression), [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Invoke(Expression), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | For(ForStatement), [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Return(Expression), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | Continue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast/node.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 22 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | Float(f32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | Infix(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | Ident(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | Param(String,Token), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | Struct(Box>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | FunType(Option>>,Option), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | Basic(Token), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | ListValue(Vec>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | Call(Box,Vec>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | Index(Box,Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | SelfOp(Box,Token,bool), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | Fun(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | Unknown [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ast/lets.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl LetStatement { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(ident:String) -> LetStatement { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ast/infix.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl InfixExpression { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(left:Expression) -> InfixExpression { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ast/ifs.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl IfStatement { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(condition:Expression) -> IfStatement { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ast/fun.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl FunExpression { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 14 | pub fn new() -> FunExpression{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ast/for_.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ForStatement { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(start_condition:Statement,exp:Expression,self_op:Statement) -> ForStatement { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "20ab17b6043cd3612e4cd3016c9201587cb680f69e877dc0b76045b84c4026e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20ab17b6043cd3612e4cd3016c9201587cb680f69e877dc0b76045b84c4026e4", kill_on_drop: false }` [INFO] [stdout] 20ab17b6043cd3612e4cd3016c9201587cb680f69e877dc0b76045b84c4026e4