Oct 21 20:31:16.669 INFO checking SadSock/stone against master#155510e377ae2a8d8ee0dad1a5f809c9062a5526 for pr-55192 Oct 21 20:31:16.669 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192/worker-4/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-4/pr-55192/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +155510e377ae2a8d8ee0dad1a5f809c9062a5526-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 21 20:31:17.096 INFO blam! c0306e7f9e647c443cf8a1aa3178ddf254a897a5f997b46e833c71ab0de0dc02 Oct 21 20:31:17.104 INFO running `"docker" "start" "-a" "c0306e7f9e647c443cf8a1aa3178ddf254a897a5f997b46e833c71ab0de0dc02"` Oct 21 20:31:18.708 INFO kablam! usermod: no changes Oct 21 20:31:18.826 INFO kablam! Checking Stone v0.1.0 (/source) Oct 21 20:31:19.973 INFO kablam! warning: unused import: `regex::Regex` Oct 21 20:31:19.974 INFO kablam! --> src/main.rs:6:5 Oct 21 20:31:19.974 INFO kablam! | Oct 21 20:31:19.974 INFO kablam! 6 | use regex::Regex; Oct 21 20:31:19.974 INFO kablam! | ^^^^^^^^^^^^ Oct 21 20:31:19.975 INFO kablam! | Oct 21 20:31:19.975 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 21 20:31:19.975 INFO kablam! Oct 21 20:31:19.975 INFO kablam! warning: unused import: `std::io::BufReader` Oct 21 20:31:19.976 INFO kablam! --> src/main.rs:8:5 Oct 21 20:31:19.976 INFO kablam! | Oct 21 20:31:19.976 INFO kablam! 8 | use std::io::BufReader; Oct 21 20:31:19.977 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 21 20:31:19.977 INFO kablam! Oct 21 20:31:19.977 INFO kablam! warning: unused import: `log::LogLevel` Oct 21 20:31:19.978 INFO kablam! --> src/main.rs:11:5 Oct 21 20:31:19.978 INFO kablam! | Oct 21 20:31:19.978 INFO kablam! 11 | use log::LogLevel; Oct 21 20:31:19.978 INFO kablam! | ^^^^^^^^^^^^^ Oct 21 20:31:19.979 INFO kablam! Oct 21 20:31:19.979 INFO kablam! warning: unused import: `std::string` Oct 21 20:31:19.979 INFO kablam! --> src/token.rs:2:5 Oct 21 20:31:19.980 INFO kablam! | Oct 21 20:31:19.980 INFO kablam! 2 | use std::string; Oct 21 20:31:19.980 INFO kablam! | ^^^^^^^^^^^ Oct 21 20:31:19.981 INFO kablam! Oct 21 20:31:19.981 INFO kablam! warning: unused import: `std::collections::LinkedList` Oct 21 20:31:19.981 INFO kablam! --> src/lexer.rs:3:5 Oct 21 20:31:19.981 INFO kablam! | Oct 21 20:31:19.982 INFO kablam! 3 | use std::collections::LinkedList; Oct 21 20:31:19.982 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:19.982 INFO kablam! Oct 21 20:31:19.983 INFO kablam! warning: unused import: `std::option::Option` Oct 21 20:31:19.983 INFO kablam! --> src/lexer.rs:7:5 Oct 21 20:31:19.983 INFO kablam! | Oct 21 20:31:19.983 INFO kablam! 7 | use std::option::Option; Oct 21 20:31:19.984 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:19.984 INFO kablam! Oct 21 20:31:20.017 INFO kablam! warning: unused import: `regex::Regex` Oct 21 20:31:20.017 INFO kablam! --> src/main.rs:6:5 Oct 21 20:31:20.018 INFO kablam! | Oct 21 20:31:20.018 INFO kablam! 6 | use regex::Regex; Oct 21 20:31:20.018 INFO kablam! | ^^^^^^^^^^^^ Oct 21 20:31:20.019 INFO kablam! | Oct 21 20:31:20.019 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 21 20:31:20.019 INFO kablam! Oct 21 20:31:20.020 INFO kablam! warning: unused import: `std::io::BufReader` Oct 21 20:31:20.020 INFO kablam! --> src/main.rs:8:5 Oct 21 20:31:20.020 INFO kablam! | Oct 21 20:31:20.021 INFO kablam! 8 | use std::io::BufReader; Oct 21 20:31:20.021 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.021 INFO kablam! Oct 21 20:31:20.021 INFO kablam! warning: unused import: `log::LogLevel` Oct 21 20:31:20.022 INFO kablam! --> src/main.rs:11:5 Oct 21 20:31:20.022 INFO kablam! | Oct 21 20:31:20.022 INFO kablam! 11 | use log::LogLevel; Oct 21 20:31:20.023 INFO kablam! | ^^^^^^^^^^^^^ Oct 21 20:31:20.023 INFO kablam! Oct 21 20:31:20.023 INFO kablam! warning: unused import: `std::string` Oct 21 20:31:20.023 INFO kablam! --> src/token.rs:2:5 Oct 21 20:31:20.024 INFO kablam! | Oct 21 20:31:20.024 INFO kablam! 2 | use std::string; Oct 21 20:31:20.024 INFO kablam! | ^^^^^^^^^^^ Oct 21 20:31:20.025 INFO kablam! Oct 21 20:31:20.025 INFO kablam! warning: unused import: `std::collections::LinkedList` Oct 21 20:31:20.025 INFO kablam! --> src/lexer.rs:3:5 Oct 21 20:31:20.025 INFO kablam! | Oct 21 20:31:20.025 INFO kablam! 3 | use std::collections::LinkedList; Oct 21 20:31:20.026 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.026 INFO kablam! Oct 21 20:31:20.026 INFO kablam! warning: unused import: `std::option::Option` Oct 21 20:31:20.026 INFO kablam! --> src/lexer.rs:7:5 Oct 21 20:31:20.027 INFO kablam! | Oct 21 20:31:20.027 INFO kablam! 7 | use std::option::Option; Oct 21 20:31:20.027 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.027 INFO kablam! Oct 21 20:31:20.152 INFO kablam! warning: unused import: `std::io::prelude` Oct 21 20:31:20.152 INFO kablam! --> src/main.rs:7:5 Oct 21 20:31:20.152 INFO kablam! | Oct 21 20:31:20.152 INFO kablam! 7 | use std::io::prelude::*; Oct 21 20:31:20.152 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 21 20:31:20.152 INFO kablam! Oct 21 20:31:20.176 INFO kablam! warning: unused variable: `identity` Oct 21 20:31:20.176 INFO kablam! --> src/main.rs:33:9 Oct 21 20:31:20.176 INFO kablam! | Oct 21 20:31:20.176 INFO kablam! 33 | let identity = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 21 20:31:20.176 INFO kablam! | ^^^^^^^^ help: consider using `_identity` instead Oct 21 20:31:20.176 INFO kablam! | Oct 21 20:31:20.176 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 21 20:31:20.176 INFO kablam! Oct 21 20:31:20.176 INFO kablam! warning: unused variable: `number` Oct 21 20:31:20.177 INFO kablam! --> src/main.rs:34:9 Oct 21 20:31:20.177 INFO kablam! | Oct 21 20:31:20.177 INFO kablam! 34 | let number = r#"[0-9]+"#; Oct 21 20:31:20.177 INFO kablam! | ^^^^^^ help: consider using `_number` instead Oct 21 20:31:20.177 INFO kablam! Oct 21 20:31:20.177 INFO kablam! warning: unused variable: `string` Oct 21 20:31:20.177 INFO kablam! --> src/main.rs:35:9 Oct 21 20:31:20.177 INFO kablam! | Oct 21 20:31:20.177 INFO kablam! 35 | let string = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 21 20:31:20.177 INFO kablam! | ^^^^^^ help: consider using `_string` instead Oct 21 20:31:20.177 INFO kablam! Oct 21 20:31:20.177 INFO kablam! warning: unused variable: `space` Oct 21 20:31:20.177 INFO kablam! --> src/main.rs:36:9 Oct 21 20:31:20.177 INFO kablam! | Oct 21 20:31:20.177 INFO kablam! 36 | let space = r#"\s*"#; Oct 21 20:31:20.177 INFO kablam! | ^^^^^ help: consider using `_space` instead Oct 21 20:31:20.177 INFO kablam! Oct 21 20:31:20.177 INFO kablam! warning: unused variable: `comment` Oct 21 20:31:20.177 INFO kablam! --> src/main.rs:37:9 Oct 21 20:31:20.177 INFO kablam! | Oct 21 20:31:20.177 INFO kablam! 37 | let comment = r#"//.*"#; Oct 21 20:31:20.177 INFO kablam! | ^^^^^^^ help: consider using `_comment` instead Oct 21 20:31:20.177 INFO kablam! Oct 21 20:31:20.177 INFO kablam! warning: unused variable: `val` Oct 21 20:31:20.177 INFO kablam! --> src/lexer.rs:79:22 Oct 21 20:31:20.177 INFO kablam! | Oct 21 20:31:20.177 INFO kablam! 79 | Some(val) => Oct 21 20:31:20.177 INFO kablam! | ^^^ help: consider using `_val` instead Oct 21 20:31:20.177 INFO kablam! Oct 21 20:31:20.177 INFO kablam! warning: value assigned to `tmp` is never read Oct 21 20:31:20.177 INFO kablam! --> src/lexer.rs:157:29 Oct 21 20:31:20.177 INFO kablam! | Oct 21 20:31:20.177 INFO kablam! 157 | let mut tmp = 0; Oct 21 20:31:20.177 INFO kablam! | ^^^ Oct 21 20:31:20.177 INFO kablam! | Oct 21 20:31:20.177 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 21 20:31:20.177 INFO kablam! Oct 21 20:31:20.177 INFO kablam! warning: unused variable: `err` Oct 21 20:31:20.177 INFO kablam! --> src/lexer.rs:161:29 Oct 21 20:31:20.177 INFO kablam! | Oct 21 20:31:20.177 INFO kablam! 161 | Err(err)=> Oct 21 20:31:20.177 INFO kablam! | ^^^ help: consider using `_err` instead Oct 21 20:31:20.177 INFO kablam! Oct 21 20:31:20.188 INFO kablam! warning: unused import: `std::io::prelude` Oct 21 20:31:20.188 INFO kablam! --> src/main.rs:7:5 Oct 21 20:31:20.188 INFO kablam! | Oct 21 20:31:20.188 INFO kablam! 7 | use std::io::prelude::*; Oct 21 20:31:20.188 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 21 20:31:20.188 INFO kablam! Oct 21 20:31:20.200 INFO kablam! warning: unused variable: `identity` Oct 21 20:31:20.200 INFO kablam! --> src/main.rs:33:9 Oct 21 20:31:20.200 INFO kablam! | Oct 21 20:31:20.200 INFO kablam! 33 | let identity = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 21 20:31:20.200 INFO kablam! | ^^^^^^^^ help: consider using `_identity` instead Oct 21 20:31:20.200 INFO kablam! | Oct 21 20:31:20.200 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 21 20:31:20.200 INFO kablam! Oct 21 20:31:20.200 INFO kablam! warning: unused variable: `number` Oct 21 20:31:20.200 INFO kablam! --> src/main.rs:34:9 Oct 21 20:31:20.201 INFO kablam! | Oct 21 20:31:20.201 INFO kablam! 34 | let number = r#"[0-9]+"#; Oct 21 20:31:20.201 INFO kablam! | ^^^^^^ help: consider using `_number` instead Oct 21 20:31:20.201 INFO kablam! Oct 21 20:31:20.201 INFO kablam! warning: unused variable: `string` Oct 21 20:31:20.201 INFO kablam! --> src/main.rs:35:9 Oct 21 20:31:20.201 INFO kablam! | Oct 21 20:31:20.201 INFO kablam! 35 | let string = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 21 20:31:20.201 INFO kablam! | ^^^^^^ help: consider using `_string` instead Oct 21 20:31:20.201 INFO kablam! Oct 21 20:31:20.201 INFO kablam! warning: unused variable: `space` Oct 21 20:31:20.201 INFO kablam! --> src/main.rs:36:9 Oct 21 20:31:20.201 INFO kablam! | Oct 21 20:31:20.201 INFO kablam! 36 | let space = r#"\s*"#; Oct 21 20:31:20.201 INFO kablam! | ^^^^^ help: consider using `_space` instead Oct 21 20:31:20.201 INFO kablam! Oct 21 20:31:20.201 INFO kablam! warning: unused variable: `comment` Oct 21 20:31:20.201 INFO kablam! --> src/main.rs:37:9 Oct 21 20:31:20.201 INFO kablam! | Oct 21 20:31:20.201 INFO kablam! 37 | let comment = r#"//.*"#; Oct 21 20:31:20.201 INFO kablam! | ^^^^^^^ help: consider using `_comment` instead Oct 21 20:31:20.201 INFO kablam! Oct 21 20:31:20.201 INFO kablam! warning: unused variable: `val` Oct 21 20:31:20.201 INFO kablam! --> src/lexer.rs:79:22 Oct 21 20:31:20.201 INFO kablam! | Oct 21 20:31:20.201 INFO kablam! 79 | Some(val) => Oct 21 20:31:20.201 INFO kablam! | ^^^ help: consider using `_val` instead Oct 21 20:31:20.201 INFO kablam! Oct 21 20:31:20.201 INFO kablam! warning: value assigned to `tmp` is never read Oct 21 20:31:20.201 INFO kablam! --> src/lexer.rs:157:29 Oct 21 20:31:20.201 INFO kablam! | Oct 21 20:31:20.201 INFO kablam! 157 | let mut tmp = 0; Oct 21 20:31:20.201 INFO kablam! | ^^^ Oct 21 20:31:20.201 INFO kablam! | Oct 21 20:31:20.201 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 21 20:31:20.201 INFO kablam! Oct 21 20:31:20.201 INFO kablam! warning: unused variable: `err` Oct 21 20:31:20.201 INFO kablam! --> src/lexer.rs:161:29 Oct 21 20:31:20.201 INFO kablam! | Oct 21 20:31:20.201 INFO kablam! 161 | Err(err)=> Oct 21 20:31:20.201 INFO kablam! | ^^^ help: consider using `_err` instead Oct 21 20:31:20.201 INFO kablam! Oct 21 20:31:20.228 INFO kablam! warning: static item is never used: `identity` Oct 21 20:31:20.228 INFO kablam! --> src/lexer.rs:11:1 Oct 21 20:31:20.228 INFO kablam! | Oct 21 20:31:20.228 INFO kablam! 11 | static identity :& 'static str = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 21 20:31:20.228 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.228 INFO kablam! | Oct 21 20:31:20.228 INFO kablam! = note: #[warn(dead_code)] on by default Oct 21 20:31:20.228 INFO kablam! Oct 21 20:31:20.228 INFO kablam! warning: static item is never used: `number` Oct 21 20:31:20.228 INFO kablam! --> src/lexer.rs:12:1 Oct 21 20:31:20.228 INFO kablam! | Oct 21 20:31:20.228 INFO kablam! 12 | static number :& 'static str = r#"[0-9]+"#; Oct 21 20:31:20.228 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.228 INFO kablam! Oct 21 20:31:20.228 INFO kablam! warning: static item is never used: `string` Oct 21 20:31:20.228 INFO kablam! --> src/lexer.rs:13:1 Oct 21 20:31:20.228 INFO kablam! | Oct 21 20:31:20.228 INFO kablam! 13 | static string : & 'static str = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 21 20:31:20.228 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.228 INFO kablam! Oct 21 20:31:20.228 INFO kablam! warning: static item is never used: `space` Oct 21 20:31:20.228 INFO kablam! --> src/lexer.rs:14:1 Oct 21 20:31:20.228 INFO kablam! | Oct 21 20:31:20.228 INFO kablam! 14 | static space : & 'static str = r#"\s*"#; Oct 21 20:31:20.228 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.228 INFO kablam! Oct 21 20:31:20.228 INFO kablam! warning: static item is never used: `comment` Oct 21 20:31:20.228 INFO kablam! --> src/lexer.rs:15:1 Oct 21 20:31:20.228 INFO kablam! | Oct 21 20:31:20.228 INFO kablam! 15 | static comment : & 'static str = r#"//.*"#; Oct 21 20:31:20.228 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.228 INFO kablam! Oct 21 20:31:20.228 INFO kablam! warning: method is never used: `is_finish` Oct 21 20:31:20.228 INFO kablam! --> src/lexer.rs:41:5 Oct 21 20:31:20.228 INFO kablam! | Oct 21 20:31:20.228 INFO kablam! 41 | pub fn is_finish(&mut self)->bool Oct 21 20:31:20.228 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.228 INFO kablam! Oct 21 20:31:20.228 INFO kablam! warning: method is never used: `peek` Oct 21 20:31:20.228 INFO kablam! --> src/lexer.rs:199:5 Oct 21 20:31:20.228 INFO kablam! | Oct 21 20:31:20.228 INFO kablam! 199 | pub fn peek(&mut self,i : usize)->::std::io::Result Oct 21 20:31:20.228 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.228 INFO kablam! Oct 21 20:31:20.228 INFO kablam! warning: static item is never used: `regex_pat` Oct 21 20:31:20.228 INFO kablam! --> src/main.rs:18:1 Oct 21 20:31:20.228 INFO kablam! | Oct 21 20:31:20.228 INFO kablam! 18 | static regex_pat : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 21 20:31:20.228 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.228 INFO kablam! Oct 21 20:31:20.228 INFO kablam! warning: crate `Stone` should have a snake case name such as `stone` Oct 21 20:31:20.228 INFO kablam! | Oct 21 20:31:20.228 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 21 20:31:20.228 INFO kablam! Oct 21 20:31:20.228 INFO kablam! warning: the `line:` in this pattern is redundant Oct 21 20:31:20.228 INFO kablam! --> src/token.rs:24:31 Oct 21 20:31:20.228 INFO kablam! | Oct 21 20:31:20.228 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 21 20:31:20.228 INFO kablam! | -----^^^^ Oct 21 20:31:20.228 INFO kablam! | | Oct 21 20:31:20.228 INFO kablam! | help: remove this Oct 21 20:31:20.228 INFO kablam! | Oct 21 20:31:20.228 INFO kablam! = note: #[warn(non_shorthand_field_patterns)] on by default Oct 21 20:31:20.228 INFO kablam! Oct 21 20:31:20.228 INFO kablam! warning: the `position:` in this pattern is redundant Oct 21 20:31:20.228 INFO kablam! --> src/token.rs:24:41 Oct 21 20:31:20.228 INFO kablam! | Oct 21 20:31:20.228 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 21 20:31:20.228 INFO kablam! | ---------^^^^^^^^ Oct 21 20:31:20.228 INFO kablam! | | Oct 21 20:31:20.228 INFO kablam! | help: remove this Oct 21 20:31:20.228 INFO kablam! Oct 21 20:31:20.228 INFO kablam! warning: the `value:` in this pattern is redundant Oct 21 20:31:20.229 INFO kablam! --> src/token.rs:24:59 Oct 21 20:31:20.229 INFO kablam! | Oct 21 20:31:20.229 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 21 20:31:20.229 INFO kablam! | ------^^^^^^^^^^ Oct 21 20:31:20.229 INFO kablam! | | Oct 21 20:31:20.229 INFO kablam! | help: remove this Oct 21 20:31:20.229 INFO kablam! Oct 21 20:31:20.229 INFO kablam! warning: the `line:` in this pattern is redundant Oct 21 20:31:20.229 INFO kablam! --> src/token.rs:26:34 Oct 21 20:31:20.229 INFO kablam! | Oct 21 20:31:20.229 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 21 20:31:20.229 INFO kablam! | -----^^^^ Oct 21 20:31:20.229 INFO kablam! | | Oct 21 20:31:20.229 INFO kablam! | help: remove this Oct 21 20:31:20.229 INFO kablam! Oct 21 20:31:20.229 INFO kablam! warning: the `position:` in this pattern is redundant Oct 21 20:31:20.229 INFO kablam! --> src/token.rs:26:44 Oct 21 20:31:20.229 INFO kablam! | Oct 21 20:31:20.229 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 21 20:31:20.229 INFO kablam! | ---------^^^^^^^^ Oct 21 20:31:20.229 INFO kablam! | | Oct 21 20:31:20.229 INFO kablam! | help: remove this Oct 21 20:31:20.229 INFO kablam! Oct 21 20:31:20.229 INFO kablam! warning: the `value:` in this pattern is redundant Oct 21 20:31:20.229 INFO kablam! --> src/token.rs:26:62 Oct 21 20:31:20.229 INFO kablam! | Oct 21 20:31:20.229 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 21 20:31:20.229 INFO kablam! | ------^^^^^^^^^ Oct 21 20:31:20.229 INFO kablam! | | Oct 21 20:31:20.229 INFO kablam! | help: remove this Oct 21 20:31:20.229 INFO kablam! Oct 21 20:31:20.229 INFO kablam! warning: the `line:` in this pattern is redundant Oct 21 20:31:20.229 INFO kablam! --> src/token.rs:28:34 Oct 21 20:31:20.229 INFO kablam! | Oct 21 20:31:20.229 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 21 20:31:20.229 INFO kablam! | -----^^^^ Oct 21 20:31:20.229 INFO kablam! | | Oct 21 20:31:20.229 INFO kablam! | help: remove this Oct 21 20:31:20.229 INFO kablam! Oct 21 20:31:20.229 INFO kablam! warning: the `position:` in this pattern is redundant Oct 21 20:31:20.229 INFO kablam! --> src/token.rs:28:44 Oct 21 20:31:20.229 INFO kablam! | Oct 21 20:31:20.229 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 21 20:31:20.229 INFO kablam! | ---------^^^^^^^^ Oct 21 20:31:20.229 INFO kablam! | | Oct 21 20:31:20.229 INFO kablam! | help: remove this Oct 21 20:31:20.229 INFO kablam! Oct 21 20:31:20.229 INFO kablam! warning: the `value:` in this pattern is redundant Oct 21 20:31:20.229 INFO kablam! --> src/token.rs:28:62 Oct 21 20:31:20.229 INFO kablam! | Oct 21 20:31:20.229 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 21 20:31:20.229 INFO kablam! | ------^^^^^ Oct 21 20:31:20.229 INFO kablam! | | Oct 21 20:31:20.229 INFO kablam! | help: remove this Oct 21 20:31:20.229 INFO kablam! Oct 21 20:31:20.229 INFO kablam! warning: static variable `identity` should have an upper case name such as `IDENTITY` Oct 21 20:31:20.229 INFO kablam! --> src/lexer.rs:11:1 Oct 21 20:31:20.229 INFO kablam! | Oct 21 20:31:20.229 INFO kablam! 11 | static identity :& 'static str = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 21 20:31:20.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.229 INFO kablam! | Oct 21 20:31:20.229 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 21 20:31:20.229 INFO kablam! Oct 21 20:31:20.229 INFO kablam! warning: static variable `number` should have an upper case name such as `NUMBER` Oct 21 20:31:20.229 INFO kablam! --> src/lexer.rs:12:1 Oct 21 20:31:20.229 INFO kablam! | Oct 21 20:31:20.229 INFO kablam! 12 | static number :& 'static str = r#"[0-9]+"#; Oct 21 20:31:20.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.229 INFO kablam! Oct 21 20:31:20.229 INFO kablam! warning: static variable `string` should have an upper case name such as `STRING` Oct 21 20:31:20.229 INFO kablam! --> src/lexer.rs:13:1 Oct 21 20:31:20.229 INFO kablam! | Oct 21 20:31:20.229 INFO kablam! 13 | static string : & 'static str = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 21 20:31:20.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.229 INFO kablam! Oct 21 20:31:20.229 INFO kablam! warning: static variable `space` should have an upper case name such as `SPACE` Oct 21 20:31:20.229 INFO kablam! --> src/lexer.rs:14:1 Oct 21 20:31:20.229 INFO kablam! | Oct 21 20:31:20.229 INFO kablam! 14 | static space : & 'static str = r#"\s*"#; Oct 21 20:31:20.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.229 INFO kablam! Oct 21 20:31:20.236 INFO kablam! warning: static variable `comment` should have an upper case name such as `COMMENT` Oct 21 20:31:20.236 INFO kablam! --> src/lexer.rs:15:1 Oct 21 20:31:20.236 INFO kablam! | Oct 21 20:31:20.236 INFO kablam! 15 | static comment : & 'static str = r#"//.*"#; Oct 21 20:31:20.236 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.236 INFO kablam! Oct 21 20:31:20.236 INFO kablam! warning: static variable `patern` should have an upper case name such as `PATERN` Oct 21 20:31:20.236 INFO kablam! --> src/lexer.rs:16:1 Oct 21 20:31:20.236 INFO kablam! | Oct 21 20:31:20.236 INFO kablam! 16 | static patern : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 21 20:31:20.236 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.236 INFO kablam! Oct 21 20:31:20.244 INFO kablam! warning: static variable `regex_pat` should have an upper case name such as `REGEX_PAT` Oct 21 20:31:20.244 INFO kablam! --> src/main.rs:18:1 Oct 21 20:31:20.244 INFO kablam! | Oct 21 20:31:20.244 INFO kablam! 18 | static regex_pat : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 21 20:31:20.244 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.244 INFO kablam! Oct 21 20:31:20.249 INFO kablam! warning: static item is never used: `identity` Oct 21 20:31:20.249 INFO kablam! --> src/lexer.rs:11:1 Oct 21 20:31:20.249 INFO kablam! | Oct 21 20:31:20.249 INFO kablam! 11 | static identity :& 'static str = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 21 20:31:20.249 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.249 INFO kablam! | Oct 21 20:31:20.249 INFO kablam! = note: #[warn(dead_code)] on by default Oct 21 20:31:20.249 INFO kablam! Oct 21 20:31:20.249 INFO kablam! warning: static item is never used: `number` Oct 21 20:31:20.249 INFO kablam! --> src/lexer.rs:12:1 Oct 21 20:31:20.249 INFO kablam! | Oct 21 20:31:20.249 INFO kablam! 12 | static number :& 'static str = r#"[0-9]+"#; Oct 21 20:31:20.249 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.249 INFO kablam! Oct 21 20:31:20.249 INFO kablam! warning: static item is never used: `string` Oct 21 20:31:20.249 INFO kablam! --> src/lexer.rs:13:1 Oct 21 20:31:20.249 INFO kablam! | Oct 21 20:31:20.249 INFO kablam! 13 | static string : & 'static str = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 21 20:31:20.249 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.249 INFO kablam! Oct 21 20:31:20.249 INFO kablam! warning: static item is never used: `space` Oct 21 20:31:20.249 INFO kablam! --> src/lexer.rs:14:1 Oct 21 20:31:20.249 INFO kablam! | Oct 21 20:31:20.249 INFO kablam! 14 | static space : & 'static str = r#"\s*"#; Oct 21 20:31:20.249 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.249 INFO kablam! Oct 21 20:31:20.249 INFO kablam! warning: static item is never used: `comment` Oct 21 20:31:20.249 INFO kablam! --> src/lexer.rs:15:1 Oct 21 20:31:20.249 INFO kablam! | Oct 21 20:31:20.249 INFO kablam! 15 | static comment : & 'static str = r#"//.*"#; Oct 21 20:31:20.249 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.249 INFO kablam! Oct 21 20:31:20.249 INFO kablam! warning: method is never used: `is_finish` Oct 21 20:31:20.249 INFO kablam! --> src/lexer.rs:41:5 Oct 21 20:31:20.249 INFO kablam! | Oct 21 20:31:20.249 INFO kablam! 41 | pub fn is_finish(&mut self)->bool Oct 21 20:31:20.249 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.249 INFO kablam! Oct 21 20:31:20.249 INFO kablam! warning: method is never used: `peek` Oct 21 20:31:20.249 INFO kablam! --> src/lexer.rs:199:5 Oct 21 20:31:20.249 INFO kablam! | Oct 21 20:31:20.249 INFO kablam! 199 | pub fn peek(&mut self,i : usize)->::std::io::Result Oct 21 20:31:20.249 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.249 INFO kablam! Oct 21 20:31:20.249 INFO kablam! warning: static item is never used: `regex_pat` Oct 21 20:31:20.249 INFO kablam! --> src/main.rs:18:1 Oct 21 20:31:20.249 INFO kablam! | Oct 21 20:31:20.249 INFO kablam! 18 | static regex_pat : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 21 20:31:20.249 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.249 INFO kablam! Oct 21 20:31:20.249 INFO kablam! warning: crate `Stone` should have a snake case name such as `stone` Oct 21 20:31:20.249 INFO kablam! | Oct 21 20:31:20.249 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 21 20:31:20.249 INFO kablam! Oct 21 20:31:20.249 INFO kablam! warning: the `line:` in this pattern is redundant Oct 21 20:31:20.249 INFO kablam! --> src/token.rs:24:31 Oct 21 20:31:20.249 INFO kablam! | Oct 21 20:31:20.249 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 21 20:31:20.249 INFO kablam! | -----^^^^ Oct 21 20:31:20.249 INFO kablam! | | Oct 21 20:31:20.249 INFO kablam! | help: remove this Oct 21 20:31:20.249 INFO kablam! | Oct 21 20:31:20.249 INFO kablam! = note: #[warn(non_shorthand_field_patterns)] on by default Oct 21 20:31:20.249 INFO kablam! Oct 21 20:31:20.249 INFO kablam! warning: the `position:` in this pattern is redundant Oct 21 20:31:20.249 INFO kablam! --> src/token.rs:24:41 Oct 21 20:31:20.249 INFO kablam! | Oct 21 20:31:20.249 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 21 20:31:20.249 INFO kablam! | ---------^^^^^^^^ Oct 21 20:31:20.249 INFO kablam! | | Oct 21 20:31:20.249 INFO kablam! | help: remove this Oct 21 20:31:20.250 INFO kablam! Oct 21 20:31:20.250 INFO kablam! warning: the `value:` in this pattern is redundant Oct 21 20:31:20.250 INFO kablam! --> src/token.rs:24:59 Oct 21 20:31:20.250 INFO kablam! | Oct 21 20:31:20.250 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 21 20:31:20.250 INFO kablam! | ------^^^^^^^^^^ Oct 21 20:31:20.250 INFO kablam! | | Oct 21 20:31:20.250 INFO kablam! | help: remove this Oct 21 20:31:20.250 INFO kablam! Oct 21 20:31:20.250 INFO kablam! warning: the `line:` in this pattern is redundant Oct 21 20:31:20.250 INFO kablam! --> src/token.rs:26:34 Oct 21 20:31:20.250 INFO kablam! | Oct 21 20:31:20.250 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 21 20:31:20.250 INFO kablam! | -----^^^^ Oct 21 20:31:20.250 INFO kablam! | | Oct 21 20:31:20.250 INFO kablam! | help: remove this Oct 21 20:31:20.250 INFO kablam! Oct 21 20:31:20.250 INFO kablam! warning: the `position:` in this pattern is redundant Oct 21 20:31:20.250 INFO kablam! --> src/token.rs:26:44 Oct 21 20:31:20.250 INFO kablam! | Oct 21 20:31:20.250 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 21 20:31:20.250 INFO kablam! | ---------^^^^^^^^ Oct 21 20:31:20.250 INFO kablam! | | Oct 21 20:31:20.250 INFO kablam! | help: remove this Oct 21 20:31:20.250 INFO kablam! Oct 21 20:31:20.250 INFO kablam! warning: the `value:` in this pattern is redundant Oct 21 20:31:20.250 INFO kablam! --> src/token.rs:26:62 Oct 21 20:31:20.250 INFO kablam! | Oct 21 20:31:20.250 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 21 20:31:20.250 INFO kablam! | ------^^^^^^^^^ Oct 21 20:31:20.250 INFO kablam! | | Oct 21 20:31:20.250 INFO kablam! | help: remove this Oct 21 20:31:20.250 INFO kablam! Oct 21 20:31:20.250 INFO kablam! warning: the `line:` in this pattern is redundant Oct 21 20:31:20.250 INFO kablam! --> src/token.rs:28:34 Oct 21 20:31:20.250 INFO kablam! | Oct 21 20:31:20.250 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 21 20:31:20.250 INFO kablam! | -----^^^^ Oct 21 20:31:20.250 INFO kablam! | | Oct 21 20:31:20.250 INFO kablam! | help: remove this Oct 21 20:31:20.250 INFO kablam! Oct 21 20:31:20.250 INFO kablam! warning: the `position:` in this pattern is redundant Oct 21 20:31:20.250 INFO kablam! --> src/token.rs:28:44 Oct 21 20:31:20.250 INFO kablam! | Oct 21 20:31:20.250 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 21 20:31:20.250 INFO kablam! | ---------^^^^^^^^ Oct 21 20:31:20.250 INFO kablam! | | Oct 21 20:31:20.250 INFO kablam! | help: remove this Oct 21 20:31:20.250 INFO kablam! Oct 21 20:31:20.250 INFO kablam! warning: the `value:` in this pattern is redundant Oct 21 20:31:20.250 INFO kablam! --> src/token.rs:28:62 Oct 21 20:31:20.250 INFO kablam! | Oct 21 20:31:20.250 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 21 20:31:20.250 INFO kablam! | ------^^^^^ Oct 21 20:31:20.250 INFO kablam! | | Oct 21 20:31:20.250 INFO kablam! | help: remove this Oct 21 20:31:20.250 INFO kablam! Oct 21 20:31:20.250 INFO kablam! warning: static variable `identity` should have an upper case name such as `IDENTITY` Oct 21 20:31:20.250 INFO kablam! --> src/lexer.rs:11:1 Oct 21 20:31:20.250 INFO kablam! | Oct 21 20:31:20.250 INFO kablam! 11 | static identity :& 'static str = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 21 20:31:20.250 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.250 INFO kablam! | Oct 21 20:31:20.250 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 21 20:31:20.250 INFO kablam! Oct 21 20:31:20.250 INFO kablam! warning: static variable `number` should have an upper case name such as `NUMBER` Oct 21 20:31:20.250 INFO kablam! --> src/lexer.rs:12:1 Oct 21 20:31:20.250 INFO kablam! | Oct 21 20:31:20.250 INFO kablam! 12 | static number :& 'static str = r#"[0-9]+"#; Oct 21 20:31:20.250 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.250 INFO kablam! Oct 21 20:31:20.250 INFO kablam! warning: static variable `string` should have an upper case name such as `STRING` Oct 21 20:31:20.250 INFO kablam! --> src/lexer.rs:13:1 Oct 21 20:31:20.250 INFO kablam! | Oct 21 20:31:20.250 INFO kablam! 13 | static string : & 'static str = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 21 20:31:20.250 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.250 INFO kablam! Oct 21 20:31:20.252 INFO kablam! warning: static variable `space` should have an upper case name such as `SPACE` Oct 21 20:31:20.252 INFO kablam! --> src/lexer.rs:14:1 Oct 21 20:31:20.252 INFO kablam! | Oct 21 20:31:20.252 INFO kablam! 14 | static space : & 'static str = r#"\s*"#; Oct 21 20:31:20.252 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.252 INFO kablam! Oct 21 20:31:20.252 INFO kablam! warning: static variable `comment` should have an upper case name such as `COMMENT` Oct 21 20:31:20.252 INFO kablam! --> src/lexer.rs:15:1 Oct 21 20:31:20.252 INFO kablam! | Oct 21 20:31:20.252 INFO kablam! 15 | static comment : & 'static str = r#"//.*"#; Oct 21 20:31:20.252 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.252 INFO kablam! Oct 21 20:31:20.252 INFO kablam! warning: static variable `patern` should have an upper case name such as `PATERN` Oct 21 20:31:20.252 INFO kablam! --> src/lexer.rs:16:1 Oct 21 20:31:20.252 INFO kablam! | Oct 21 20:31:20.252 INFO kablam! 16 | static patern : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 21 20:31:20.252 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.252 INFO kablam! Oct 21 20:31:20.260 INFO kablam! warning: static variable `regex_pat` should have an upper case name such as `REGEX_PAT` Oct 21 20:31:20.260 INFO kablam! --> src/main.rs:18:1 Oct 21 20:31:20.260 INFO kablam! | Oct 21 20:31:20.260 INFO kablam! 18 | static regex_pat : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 21 20:31:20.260 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:31:20.260 INFO kablam! Oct 21 20:31:20.277 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.55s Oct 21 20:31:20.281 INFO kablam! su: No module specific data is present Oct 21 20:31:21.220 INFO running `"docker" "rm" "-f" "c0306e7f9e647c443cf8a1aa3178ddf254a897a5f997b46e833c71ab0de0dc02"` Oct 21 20:31:21.580 INFO blam! c0306e7f9e647c443cf8a1aa3178ddf254a897a5f997b46e833c71ab0de0dc02