Oct 13 02:40:42.411 INFO checking SadSock/stone against try#4021bd0b3c5815b087d6db10ce461e7e4854ade7 for pr-54977 Oct 13 02:40:42.411 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-2/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-2/pr-54977/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/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 +4021bd0b3c5815b087d6db10ce461e7e4854ade7-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 13 02:40:42.888 INFO blam! 3580a3136cd602c7655cb24636dbc2ec1c2b888a90ac3a8600537a2b3228b847 Oct 13 02:40:42.890 INFO running `"docker" "start" "-a" "3580a3136cd602c7655cb24636dbc2ec1c2b888a90ac3a8600537a2b3228b847"` Oct 13 02:40:44.512 INFO kablam! usermod: no changes Oct 13 02:40:44.613 INFO kablam! Checking Stone v0.1.0 (/source) Oct 13 02:40:45.900 INFO kablam! warning: unused import: `regex::Regex` Oct 13 02:40:45.900 INFO kablam! --> src/main.rs:6:5 Oct 13 02:40:45.900 INFO kablam! | Oct 13 02:40:45.900 INFO kablam! 6 | use regex::Regex; Oct 13 02:40:45.900 INFO kablam! | ^^^^^^^^^^^^ Oct 13 02:40:45.900 INFO kablam! | Oct 13 02:40:45.900 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 13 02:40:45.900 INFO kablam! Oct 13 02:40:45.900 INFO kablam! warning: unused import: `std::io::BufReader` Oct 13 02:40:45.900 INFO kablam! --> src/main.rs:8:5 Oct 13 02:40:45.900 INFO kablam! | Oct 13 02:40:45.900 INFO kablam! 8 | use std::io::BufReader; Oct 13 02:40:45.900 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 13 02:40:45.901 INFO kablam! Oct 13 02:40:45.901 INFO kablam! warning: unused import: `log::LogLevel` Oct 13 02:40:45.901 INFO kablam! --> src/main.rs:11:5 Oct 13 02:40:45.901 INFO kablam! | Oct 13 02:40:45.901 INFO kablam! 11 | use log::LogLevel; Oct 13 02:40:45.901 INFO kablam! | ^^^^^^^^^^^^^ Oct 13 02:40:45.901 INFO kablam! Oct 13 02:40:45.901 INFO kablam! warning: unused import: `std::string` Oct 13 02:40:45.901 INFO kablam! --> src/token.rs:2:5 Oct 13 02:40:45.901 INFO kablam! | Oct 13 02:40:45.901 INFO kablam! 2 | use std::string; Oct 13 02:40:45.901 INFO kablam! | ^^^^^^^^^^^ Oct 13 02:40:45.901 INFO kablam! Oct 13 02:40:45.901 INFO kablam! warning: unused import: `std::collections::LinkedList` Oct 13 02:40:45.901 INFO kablam! --> src/lexer.rs:3:5 Oct 13 02:40:45.901 INFO kablam! | Oct 13 02:40:45.901 INFO kablam! 3 | use std::collections::LinkedList; Oct 13 02:40:45.901 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:45.901 INFO kablam! Oct 13 02:40:45.901 INFO kablam! warning: unused import: `std::option::Option` Oct 13 02:40:45.901 INFO kablam! --> src/lexer.rs:7:5 Oct 13 02:40:45.901 INFO kablam! | Oct 13 02:40:45.901 INFO kablam! 7 | use std::option::Option; Oct 13 02:40:45.901 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:45.901 INFO kablam! Oct 13 02:40:46.024 INFO kablam! warning: unused import: `std::io::prelude` Oct 13 02:40:46.024 INFO kablam! --> src/main.rs:7:5 Oct 13 02:40:46.024 INFO kablam! | Oct 13 02:40:46.025 INFO kablam! 7 | use std::io::prelude::*; Oct 13 02:40:46.025 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 13 02:40:46.025 INFO kablam! Oct 13 02:40:46.028 INFO kablam! warning: unused variable: `identity` Oct 13 02:40:46.029 INFO kablam! --> src/main.rs:33:9 Oct 13 02:40:46.029 INFO kablam! | Oct 13 02:40:46.029 INFO kablam! 33 | let identity = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 13 02:40:46.029 INFO kablam! | ^^^^^^^^ help: consider using `_identity` instead Oct 13 02:40:46.029 INFO kablam! | Oct 13 02:40:46.029 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 13 02:40:46.029 INFO kablam! Oct 13 02:40:46.029 INFO kablam! warning: unused variable: `number` Oct 13 02:40:46.029 INFO kablam! --> src/main.rs:34:9 Oct 13 02:40:46.029 INFO kablam! | Oct 13 02:40:46.029 INFO kablam! 34 | let number = r#"[0-9]+"#; Oct 13 02:40:46.029 INFO kablam! | ^^^^^^ help: consider using `_number` instead Oct 13 02:40:46.029 INFO kablam! Oct 13 02:40:46.029 INFO kablam! warning: unused variable: `string` Oct 13 02:40:46.029 INFO kablam! --> src/main.rs:35:9 Oct 13 02:40:46.029 INFO kablam! | Oct 13 02:40:46.029 INFO kablam! 35 | let string = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 13 02:40:46.029 INFO kablam! | ^^^^^^ help: consider using `_string` instead Oct 13 02:40:46.029 INFO kablam! Oct 13 02:40:46.029 INFO kablam! warning: unused variable: `space` Oct 13 02:40:46.029 INFO kablam! --> src/main.rs:36:9 Oct 13 02:40:46.030 INFO kablam! | Oct 13 02:40:46.030 INFO kablam! 36 | let space = r#"\s*"#; Oct 13 02:40:46.030 INFO kablam! | ^^^^^ help: consider using `_space` instead Oct 13 02:40:46.030 INFO kablam! Oct 13 02:40:46.030 INFO kablam! warning: unused variable: `comment` Oct 13 02:40:46.030 INFO kablam! --> src/main.rs:37:9 Oct 13 02:40:46.030 INFO kablam! | Oct 13 02:40:46.030 INFO kablam! 37 | let comment = r#"//.*"#; Oct 13 02:40:46.030 INFO kablam! | ^^^^^^^ help: consider using `_comment` instead Oct 13 02:40:46.030 INFO kablam! Oct 13 02:40:46.030 INFO kablam! warning: unused variable: `val` Oct 13 02:40:46.030 INFO kablam! --> src/lexer.rs:79:22 Oct 13 02:40:46.030 INFO kablam! | Oct 13 02:40:46.030 INFO kablam! 79 | Some(val) => Oct 13 02:40:46.030 INFO kablam! | ^^^ help: consider using `_val` instead Oct 13 02:40:46.030 INFO kablam! Oct 13 02:40:46.030 INFO kablam! warning: value assigned to `tmp` is never read Oct 13 02:40:46.030 INFO kablam! --> src/lexer.rs:157:29 Oct 13 02:40:46.030 INFO kablam! | Oct 13 02:40:46.030 INFO kablam! 157 | let mut tmp = 0; Oct 13 02:40:46.030 INFO kablam! | ^^^ Oct 13 02:40:46.030 INFO kablam! | Oct 13 02:40:46.031 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 13 02:40:46.031 INFO kablam! Oct 13 02:40:46.031 INFO kablam! warning: unused variable: `err` Oct 13 02:40:46.031 INFO kablam! --> src/lexer.rs:161:29 Oct 13 02:40:46.031 INFO kablam! | Oct 13 02:40:46.031 INFO kablam! 161 | Err(err)=> Oct 13 02:40:46.031 INFO kablam! | ^^^ help: consider using `_err` instead Oct 13 02:40:46.031 INFO kablam! Oct 13 02:40:46.057 INFO kablam! warning: static item is never used: `identity` Oct 13 02:40:46.057 INFO kablam! --> src/lexer.rs:11:1 Oct 13 02:40:46.057 INFO kablam! | Oct 13 02:40:46.057 INFO kablam! 11 | static identity :& 'static str = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 13 02:40:46.057 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.057 INFO kablam! | Oct 13 02:40:46.057 INFO kablam! = note: #[warn(dead_code)] on by default Oct 13 02:40:46.057 INFO kablam! Oct 13 02:40:46.057 INFO kablam! warning: static item is never used: `number` Oct 13 02:40:46.057 INFO kablam! --> src/lexer.rs:12:1 Oct 13 02:40:46.057 INFO kablam! | Oct 13 02:40:46.057 INFO kablam! 12 | static number :& 'static str = r#"[0-9]+"#; Oct 13 02:40:46.057 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.057 INFO kablam! Oct 13 02:40:46.057 INFO kablam! warning: static item is never used: `string` Oct 13 02:40:46.057 INFO kablam! --> src/lexer.rs:13:1 Oct 13 02:40:46.057 INFO kablam! | Oct 13 02:40:46.057 INFO kablam! 13 | static string : & 'static str = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 13 02:40:46.057 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.057 INFO kablam! Oct 13 02:40:46.057 INFO kablam! warning: static item is never used: `space` Oct 13 02:40:46.057 INFO kablam! --> src/lexer.rs:14:1 Oct 13 02:40:46.057 INFO kablam! | Oct 13 02:40:46.057 INFO kablam! 14 | static space : & 'static str = r#"\s*"#; Oct 13 02:40:46.057 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.057 INFO kablam! Oct 13 02:40:46.057 INFO kablam! warning: static item is never used: `comment` Oct 13 02:40:46.057 INFO kablam! --> src/lexer.rs:15:1 Oct 13 02:40:46.057 INFO kablam! | Oct 13 02:40:46.057 INFO kablam! 15 | static comment : & 'static str = r#"//.*"#; Oct 13 02:40:46.057 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.057 INFO kablam! Oct 13 02:40:46.057 INFO kablam! warning: method is never used: `is_finish` Oct 13 02:40:46.057 INFO kablam! --> src/lexer.rs:41:5 Oct 13 02:40:46.057 INFO kablam! | Oct 13 02:40:46.057 INFO kablam! 41 | pub fn is_finish(&mut self)->bool Oct 13 02:40:46.057 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.057 INFO kablam! Oct 13 02:40:46.058 INFO kablam! warning: method is never used: `peek` Oct 13 02:40:46.058 INFO kablam! --> src/lexer.rs:199:5 Oct 13 02:40:46.058 INFO kablam! | Oct 13 02:40:46.058 INFO kablam! 199 | pub fn peek(&mut self,i : usize)->::std::io::Result Oct 13 02:40:46.058 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.058 INFO kablam! Oct 13 02:40:46.058 INFO kablam! warning: static item is never used: `regex_pat` Oct 13 02:40:46.058 INFO kablam! --> src/main.rs:18:1 Oct 13 02:40:46.058 INFO kablam! | Oct 13 02:40:46.058 INFO kablam! 18 | static regex_pat : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 13 02:40:46.058 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.058 INFO kablam! Oct 13 02:40:46.058 INFO kablam! warning: crate `Stone` should have a snake case name such as `stone` Oct 13 02:40:46.058 INFO kablam! | Oct 13 02:40:46.058 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 13 02:40:46.058 INFO kablam! Oct 13 02:40:46.058 INFO kablam! warning: the `line:` in this pattern is redundant Oct 13 02:40:46.058 INFO kablam! --> src/token.rs:24:31 Oct 13 02:40:46.058 INFO kablam! | Oct 13 02:40:46.058 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 13 02:40:46.058 INFO kablam! | -----^^^^ Oct 13 02:40:46.058 INFO kablam! | | Oct 13 02:40:46.058 INFO kablam! | help: remove this Oct 13 02:40:46.058 INFO kablam! | Oct 13 02:40:46.058 INFO kablam! = note: #[warn(non_shorthand_field_patterns)] on by default Oct 13 02:40:46.058 INFO kablam! Oct 13 02:40:46.058 INFO kablam! warning: the `position:` in this pattern is redundant Oct 13 02:40:46.058 INFO kablam! --> src/token.rs:24:41 Oct 13 02:40:46.058 INFO kablam! | Oct 13 02:40:46.058 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 13 02:40:46.058 INFO kablam! | ---------^^^^^^^^ Oct 13 02:40:46.058 INFO kablam! | | Oct 13 02:40:46.058 INFO kablam! | help: remove this Oct 13 02:40:46.058 INFO kablam! Oct 13 02:40:46.058 INFO kablam! warning: the `value:` in this pattern is redundant Oct 13 02:40:46.058 INFO kablam! --> src/token.rs:24:59 Oct 13 02:40:46.058 INFO kablam! | Oct 13 02:40:46.058 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 13 02:40:46.058 INFO kablam! | ------^^^^^^^^^^ Oct 13 02:40:46.059 INFO kablam! | | Oct 13 02:40:46.059 INFO kablam! | help: remove this Oct 13 02:40:46.059 INFO kablam! Oct 13 02:40:46.059 INFO kablam! warning: the `line:` in this pattern is redundant Oct 13 02:40:46.059 INFO kablam! --> src/token.rs:26:34 Oct 13 02:40:46.059 INFO kablam! | Oct 13 02:40:46.059 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 13 02:40:46.059 INFO kablam! | -----^^^^ Oct 13 02:40:46.059 INFO kablam! | | Oct 13 02:40:46.059 INFO kablam! | help: remove this Oct 13 02:40:46.060 INFO kablam! Oct 13 02:40:46.060 INFO kablam! warning: the `position:` in this pattern is redundant Oct 13 02:40:46.060 INFO kablam! --> src/token.rs:26:44 Oct 13 02:40:46.060 INFO kablam! | Oct 13 02:40:46.060 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 13 02:40:46.060 INFO kablam! | ---------^^^^^^^^ Oct 13 02:40:46.060 INFO kablam! | | Oct 13 02:40:46.060 INFO kablam! | help: remove this Oct 13 02:40:46.060 INFO kablam! Oct 13 02:40:46.060 INFO kablam! warning: the `value:` in this pattern is redundant Oct 13 02:40:46.060 INFO kablam! --> src/token.rs:26:62 Oct 13 02:40:46.060 INFO kablam! | Oct 13 02:40:46.060 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 13 02:40:46.060 INFO kablam! | ------^^^^^^^^^ Oct 13 02:40:46.060 INFO kablam! | | Oct 13 02:40:46.060 INFO kablam! | help: remove this Oct 13 02:40:46.060 INFO kablam! Oct 13 02:40:46.060 INFO kablam! warning: the `line:` in this pattern is redundant Oct 13 02:40:46.060 INFO kablam! --> src/token.rs:28:34 Oct 13 02:40:46.060 INFO kablam! | Oct 13 02:40:46.060 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 13 02:40:46.060 INFO kablam! | -----^^^^ Oct 13 02:40:46.060 INFO kablam! | | Oct 13 02:40:46.060 INFO kablam! | help: remove this Oct 13 02:40:46.060 INFO kablam! Oct 13 02:40:46.060 INFO kablam! warning: the `position:` in this pattern is redundant Oct 13 02:40:46.060 INFO kablam! --> src/token.rs:28:44 Oct 13 02:40:46.060 INFO kablam! | Oct 13 02:40:46.060 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 13 02:40:46.060 INFO kablam! | ---------^^^^^^^^ Oct 13 02:40:46.060 INFO kablam! | | Oct 13 02:40:46.060 INFO kablam! | help: remove this Oct 13 02:40:46.060 INFO kablam! Oct 13 02:40:46.060 INFO kablam! warning: the `value:` in this pattern is redundant Oct 13 02:40:46.060 INFO kablam! --> src/token.rs:28:62 Oct 13 02:40:46.060 INFO kablam! | Oct 13 02:40:46.060 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 13 02:40:46.061 INFO kablam! | ------^^^^^ Oct 13 02:40:46.061 INFO kablam! | | Oct 13 02:40:46.061 INFO kablam! | help: remove this Oct 13 02:40:46.061 INFO kablam! Oct 13 02:40:46.061 INFO kablam! warning: static variable `identity` should have an upper case name such as `IDENTITY` Oct 13 02:40:46.061 INFO kablam! --> src/lexer.rs:11:1 Oct 13 02:40:46.061 INFO kablam! | Oct 13 02:40:46.061 INFO kablam! 11 | static identity :& 'static str = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 13 02:40:46.061 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.061 INFO kablam! | Oct 13 02:40:46.061 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 13 02:40:46.061 INFO kablam! Oct 13 02:40:46.061 INFO kablam! warning: static variable `number` should have an upper case name such as `NUMBER` Oct 13 02:40:46.061 INFO kablam! --> src/lexer.rs:12:1 Oct 13 02:40:46.061 INFO kablam! | Oct 13 02:40:46.061 INFO kablam! 12 | static number :& 'static str = r#"[0-9]+"#; Oct 13 02:40:46.061 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.061 INFO kablam! Oct 13 02:40:46.061 INFO kablam! warning: static variable `string` should have an upper case name such as `STRING` Oct 13 02:40:46.061 INFO kablam! --> src/lexer.rs:13:1 Oct 13 02:40:46.061 INFO kablam! | Oct 13 02:40:46.061 INFO kablam! 13 | static string : & 'static str = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 13 02:40:46.061 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.061 INFO kablam! Oct 13 02:40:46.061 INFO kablam! warning: static variable `space` should have an upper case name such as `SPACE` Oct 13 02:40:46.061 INFO kablam! --> src/lexer.rs:14:1 Oct 13 02:40:46.061 INFO kablam! | Oct 13 02:40:46.061 INFO kablam! 14 | static space : & 'static str = r#"\s*"#; Oct 13 02:40:46.061 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.061 INFO kablam! Oct 13 02:40:46.062 INFO kablam! warning: static variable `comment` should have an upper case name such as `COMMENT` Oct 13 02:40:46.062 INFO kablam! --> src/lexer.rs:15:1 Oct 13 02:40:46.062 INFO kablam! | Oct 13 02:40:46.062 INFO kablam! 15 | static comment : & 'static str = r#"//.*"#; Oct 13 02:40:46.062 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.062 INFO kablam! Oct 13 02:40:46.063 INFO kablam! warning: static variable `patern` should have an upper case name such as `PATERN` Oct 13 02:40:46.063 INFO kablam! --> src/lexer.rs:16:1 Oct 13 02:40:46.063 INFO kablam! | Oct 13 02:40:46.063 INFO kablam! 16 | static patern : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 13 02:40:46.063 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.063 INFO kablam! Oct 13 02:40:46.063 INFO kablam! warning: static variable `regex_pat` should have an upper case name such as `REGEX_PAT` Oct 13 02:40:46.063 INFO kablam! --> src/main.rs:18:1 Oct 13 02:40:46.063 INFO kablam! | Oct 13 02:40:46.063 INFO kablam! 18 | static regex_pat : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 13 02:40:46.063 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.064 INFO kablam! Oct 13 02:40:46.078 INFO kablam! warning: unused import: `regex::Regex` Oct 13 02:40:46.078 INFO kablam! --> src/main.rs:6:5 Oct 13 02:40:46.078 INFO kablam! | Oct 13 02:40:46.078 INFO kablam! 6 | use regex::Regex; Oct 13 02:40:46.078 INFO kablam! | ^^^^^^^^^^^^ Oct 13 02:40:46.078 INFO kablam! | Oct 13 02:40:46.078 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 13 02:40:46.078 INFO kablam! Oct 13 02:40:46.078 INFO kablam! warning: unused import: `std::io::BufReader` Oct 13 02:40:46.078 INFO kablam! --> src/main.rs:8:5 Oct 13 02:40:46.078 INFO kablam! | Oct 13 02:40:46.078 INFO kablam! 8 | use std::io::BufReader; Oct 13 02:40:46.078 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.078 INFO kablam! Oct 13 02:40:46.078 INFO kablam! warning: unused import: `log::LogLevel` Oct 13 02:40:46.078 INFO kablam! --> src/main.rs:11:5 Oct 13 02:40:46.078 INFO kablam! | Oct 13 02:40:46.078 INFO kablam! 11 | use log::LogLevel; Oct 13 02:40:46.078 INFO kablam! | ^^^^^^^^^^^^^ Oct 13 02:40:46.078 INFO kablam! Oct 13 02:40:46.078 INFO kablam! warning: unused import: `std::string` Oct 13 02:40:46.078 INFO kablam! --> src/token.rs:2:5 Oct 13 02:40:46.078 INFO kablam! | Oct 13 02:40:46.078 INFO kablam! 2 | use std::string; Oct 13 02:40:46.078 INFO kablam! | ^^^^^^^^^^^ Oct 13 02:40:46.078 INFO kablam! Oct 13 02:40:46.078 INFO kablam! warning: unused import: `std::collections::LinkedList` Oct 13 02:40:46.078 INFO kablam! --> src/lexer.rs:3:5 Oct 13 02:40:46.078 INFO kablam! | Oct 13 02:40:46.078 INFO kablam! 3 | use std::collections::LinkedList; Oct 13 02:40:46.078 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.078 INFO kablam! Oct 13 02:40:46.078 INFO kablam! warning: unused import: `std::option::Option` Oct 13 02:40:46.078 INFO kablam! --> src/lexer.rs:7:5 Oct 13 02:40:46.078 INFO kablam! | Oct 13 02:40:46.078 INFO kablam! 7 | use std::option::Option; Oct 13 02:40:46.078 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.078 INFO kablam! Oct 13 02:40:46.228 INFO kablam! warning: unused import: `std::io::prelude` Oct 13 02:40:46.228 INFO kablam! --> src/main.rs:7:5 Oct 13 02:40:46.228 INFO kablam! | Oct 13 02:40:46.228 INFO kablam! 7 | use std::io::prelude::*; Oct 13 02:40:46.228 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 13 02:40:46.228 INFO kablam! Oct 13 02:40:46.237 INFO kablam! warning: unused variable: `identity` Oct 13 02:40:46.237 INFO kablam! --> src/main.rs:33:9 Oct 13 02:40:46.237 INFO kablam! | Oct 13 02:40:46.237 INFO kablam! 33 | let identity = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 13 02:40:46.237 INFO kablam! | ^^^^^^^^ help: consider using `_identity` instead Oct 13 02:40:46.240 INFO kablam! | Oct 13 02:40:46.241 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 13 02:40:46.241 INFO kablam! Oct 13 02:40:46.241 INFO kablam! warning: unused variable: `number` Oct 13 02:40:46.241 INFO kablam! --> src/main.rs:34:9 Oct 13 02:40:46.241 INFO kablam! | Oct 13 02:40:46.241 INFO kablam! 34 | let number = r#"[0-9]+"#; Oct 13 02:40:46.241 INFO kablam! | ^^^^^^ help: consider using `_number` instead Oct 13 02:40:46.241 INFO kablam! Oct 13 02:40:46.241 INFO kablam! warning: unused variable: `string` Oct 13 02:40:46.241 INFO kablam! --> src/main.rs:35:9 Oct 13 02:40:46.241 INFO kablam! | Oct 13 02:40:46.241 INFO kablam! 35 | let string = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 13 02:40:46.241 INFO kablam! | ^^^^^^ help: consider using `_string` instead Oct 13 02:40:46.241 INFO kablam! Oct 13 02:40:46.241 INFO kablam! warning: unused variable: `space` Oct 13 02:40:46.241 INFO kablam! --> src/main.rs:36:9 Oct 13 02:40:46.241 INFO kablam! | Oct 13 02:40:46.241 INFO kablam! 36 | let space = r#"\s*"#; Oct 13 02:40:46.241 INFO kablam! | ^^^^^ help: consider using `_space` instead Oct 13 02:40:46.241 INFO kablam! Oct 13 02:40:46.241 INFO kablam! warning: unused variable: `comment` Oct 13 02:40:46.241 INFO kablam! --> src/main.rs:37:9 Oct 13 02:40:46.241 INFO kablam! | Oct 13 02:40:46.241 INFO kablam! 37 | let comment = r#"//.*"#; Oct 13 02:40:46.241 INFO kablam! | ^^^^^^^ help: consider using `_comment` instead Oct 13 02:40:46.241 INFO kablam! Oct 13 02:40:46.242 INFO kablam! warning: unused variable: `val` Oct 13 02:40:46.242 INFO kablam! --> src/lexer.rs:79:22 Oct 13 02:40:46.242 INFO kablam! | Oct 13 02:40:46.242 INFO kablam! 79 | Some(val) => Oct 13 02:40:46.242 INFO kablam! | ^^^ help: consider using `_val` instead Oct 13 02:40:46.242 INFO kablam! Oct 13 02:40:46.243 INFO kablam! warning: value assigned to `tmp` is never read Oct 13 02:40:46.243 INFO kablam! --> src/lexer.rs:157:29 Oct 13 02:40:46.243 INFO kablam! | Oct 13 02:40:46.243 INFO kablam! 157 | let mut tmp = 0; Oct 13 02:40:46.243 INFO kablam! | ^^^ Oct 13 02:40:46.243 INFO kablam! | Oct 13 02:40:46.243 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 13 02:40:46.243 INFO kablam! Oct 13 02:40:46.243 INFO kablam! warning: unused variable: `err` Oct 13 02:40:46.243 INFO kablam! --> src/lexer.rs:161:29 Oct 13 02:40:46.243 INFO kablam! | Oct 13 02:40:46.243 INFO kablam! 161 | Err(err)=> Oct 13 02:40:46.243 INFO kablam! | ^^^ help: consider using `_err` instead Oct 13 02:40:46.244 INFO kablam! Oct 13 02:40:46.277 INFO kablam! warning: static item is never used: `identity` Oct 13 02:40:46.277 INFO kablam! --> src/lexer.rs:11:1 Oct 13 02:40:46.277 INFO kablam! | Oct 13 02:40:46.277 INFO kablam! 11 | static identity :& 'static str = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 13 02:40:46.278 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.278 INFO kablam! | Oct 13 02:40:46.278 INFO kablam! = note: #[warn(dead_code)] on by default Oct 13 02:40:46.278 INFO kablam! Oct 13 02:40:46.278 INFO kablam! warning: static item is never used: `number` Oct 13 02:40:46.278 INFO kablam! --> src/lexer.rs:12:1 Oct 13 02:40:46.278 INFO kablam! | Oct 13 02:40:46.278 INFO kablam! 12 | static number :& 'static str = r#"[0-9]+"#; Oct 13 02:40:46.278 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.278 INFO kablam! Oct 13 02:40:46.278 INFO kablam! warning: static item is never used: `string` Oct 13 02:40:46.278 INFO kablam! --> src/lexer.rs:13:1 Oct 13 02:40:46.278 INFO kablam! | Oct 13 02:40:46.278 INFO kablam! 13 | static string : & 'static str = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 13 02:40:46.278 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.278 INFO kablam! Oct 13 02:40:46.278 INFO kablam! warning: static item is never used: `space` Oct 13 02:40:46.278 INFO kablam! --> src/lexer.rs:14:1 Oct 13 02:40:46.278 INFO kablam! | Oct 13 02:40:46.278 INFO kablam! 14 | static space : & 'static str = r#"\s*"#; Oct 13 02:40:46.278 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.278 INFO kablam! Oct 13 02:40:46.283 INFO kablam! warning: static item is never used: `comment` Oct 13 02:40:46.283 INFO kablam! --> src/lexer.rs:15:1 Oct 13 02:40:46.283 INFO kablam! | Oct 13 02:40:46.283 INFO kablam! 15 | static comment : & 'static str = r#"//.*"#; Oct 13 02:40:46.283 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.283 INFO kablam! Oct 13 02:40:46.283 INFO kablam! warning: method is never used: `is_finish` Oct 13 02:40:46.283 INFO kablam! --> src/lexer.rs:41:5 Oct 13 02:40:46.283 INFO kablam! | Oct 13 02:40:46.283 INFO kablam! 41 | pub fn is_finish(&mut self)->bool Oct 13 02:40:46.283 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.283 INFO kablam! Oct 13 02:40:46.283 INFO kablam! warning: method is never used: `peek` Oct 13 02:40:46.283 INFO kablam! --> src/lexer.rs:199:5 Oct 13 02:40:46.283 INFO kablam! | Oct 13 02:40:46.283 INFO kablam! 199 | pub fn peek(&mut self,i : usize)->::std::io::Result Oct 13 02:40:46.283 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.283 INFO kablam! Oct 13 02:40:46.283 INFO kablam! warning: static item is never used: `regex_pat` Oct 13 02:40:46.283 INFO kablam! --> src/main.rs:18:1 Oct 13 02:40:46.283 INFO kablam! | Oct 13 02:40:46.283 INFO kablam! 18 | static regex_pat : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 13 02:40:46.283 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.283 INFO kablam! Oct 13 02:40:46.283 INFO kablam! warning: crate `Stone` should have a snake case name such as `stone` Oct 13 02:40:46.283 INFO kablam! | Oct 13 02:40:46.283 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 13 02:40:46.283 INFO kablam! Oct 13 02:40:46.283 INFO kablam! warning: the `line:` in this pattern is redundant Oct 13 02:40:46.283 INFO kablam! --> src/token.rs:24:31 Oct 13 02:40:46.283 INFO kablam! | Oct 13 02:40:46.283 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 13 02:40:46.283 INFO kablam! | -----^^^^ Oct 13 02:40:46.283 INFO kablam! | | Oct 13 02:40:46.283 INFO kablam! | help: remove this Oct 13 02:40:46.283 INFO kablam! | Oct 13 02:40:46.283 INFO kablam! = note: #[warn(non_shorthand_field_patterns)] on by default Oct 13 02:40:46.283 INFO kablam! Oct 13 02:40:46.283 INFO kablam! warning: the `position:` in this pattern is redundant Oct 13 02:40:46.283 INFO kablam! --> src/token.rs:24:41 Oct 13 02:40:46.283 INFO kablam! | Oct 13 02:40:46.283 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 13 02:40:46.283 INFO kablam! | ---------^^^^^^^^ Oct 13 02:40:46.283 INFO kablam! | | Oct 13 02:40:46.283 INFO kablam! | help: remove this Oct 13 02:40:46.283 INFO kablam! Oct 13 02:40:46.283 INFO kablam! warning: the `value:` in this pattern is redundant Oct 13 02:40:46.283 INFO kablam! --> src/token.rs:24:59 Oct 13 02:40:46.283 INFO kablam! | Oct 13 02:40:46.283 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 13 02:40:46.283 INFO kablam! | ------^^^^^^^^^^ Oct 13 02:40:46.283 INFO kablam! | | Oct 13 02:40:46.283 INFO kablam! | help: remove this Oct 13 02:40:46.283 INFO kablam! Oct 13 02:40:46.283 INFO kablam! warning: the `line:` in this pattern is redundant Oct 13 02:40:46.283 INFO kablam! --> src/token.rs:26:34 Oct 13 02:40:46.283 INFO kablam! | Oct 13 02:40:46.283 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 13 02:40:46.283 INFO kablam! | -----^^^^ Oct 13 02:40:46.283 INFO kablam! | | Oct 13 02:40:46.283 INFO kablam! | help: remove this Oct 13 02:40:46.283 INFO kablam! Oct 13 02:40:46.283 INFO kablam! warning: the `position:` in this pattern is redundant Oct 13 02:40:46.283 INFO kablam! --> src/token.rs:26:44 Oct 13 02:40:46.283 INFO kablam! | Oct 13 02:40:46.283 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 13 02:40:46.283 INFO kablam! | ---------^^^^^^^^ Oct 13 02:40:46.283 INFO kablam! | | Oct 13 02:40:46.283 INFO kablam! | help: remove this Oct 13 02:40:46.283 INFO kablam! Oct 13 02:40:46.283 INFO kablam! warning: the `value:` in this pattern is redundant Oct 13 02:40:46.283 INFO kablam! --> src/token.rs:26:62 Oct 13 02:40:46.283 INFO kablam! | Oct 13 02:40:46.283 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 13 02:40:46.283 INFO kablam! | ------^^^^^^^^^ Oct 13 02:40:46.283 INFO kablam! | | Oct 13 02:40:46.283 INFO kablam! | help: remove this Oct 13 02:40:46.283 INFO kablam! Oct 13 02:40:46.283 INFO kablam! warning: the `line:` in this pattern is redundant Oct 13 02:40:46.283 INFO kablam! --> src/token.rs:28:34 Oct 13 02:40:46.283 INFO kablam! | Oct 13 02:40:46.283 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 13 02:40:46.283 INFO kablam! | -----^^^^ Oct 13 02:40:46.284 INFO kablam! | | Oct 13 02:40:46.284 INFO kablam! | help: remove this Oct 13 02:40:46.284 INFO kablam! Oct 13 02:40:46.284 INFO kablam! warning: the `position:` in this pattern is redundant Oct 13 02:40:46.284 INFO kablam! --> src/token.rs:28:44 Oct 13 02:40:46.284 INFO kablam! | Oct 13 02:40:46.284 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 13 02:40:46.284 INFO kablam! | ---------^^^^^^^^ Oct 13 02:40:46.284 INFO kablam! | | Oct 13 02:40:46.284 INFO kablam! | help: remove this Oct 13 02:40:46.284 INFO kablam! Oct 13 02:40:46.284 INFO kablam! warning: the `value:` in this pattern is redundant Oct 13 02:40:46.284 INFO kablam! --> src/token.rs:28:62 Oct 13 02:40:46.284 INFO kablam! | Oct 13 02:40:46.284 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 13 02:40:46.284 INFO kablam! | ------^^^^^ Oct 13 02:40:46.284 INFO kablam! | | Oct 13 02:40:46.284 INFO kablam! | help: remove this Oct 13 02:40:46.284 INFO kablam! Oct 13 02:40:46.288 INFO kablam! warning: static variable `identity` should have an upper case name such as `IDENTITY` Oct 13 02:40:46.288 INFO kablam! --> src/lexer.rs:11:1 Oct 13 02:40:46.288 INFO kablam! | Oct 13 02:40:46.288 INFO kablam! 11 | static identity :& 'static str = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 13 02:40:46.288 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.288 INFO kablam! | Oct 13 02:40:46.288 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 13 02:40:46.288 INFO kablam! Oct 13 02:40:46.288 INFO kablam! warning: static variable `number` should have an upper case name such as `NUMBER` Oct 13 02:40:46.288 INFO kablam! --> src/lexer.rs:12:1 Oct 13 02:40:46.288 INFO kablam! | Oct 13 02:40:46.288 INFO kablam! 12 | static number :& 'static str = r#"[0-9]+"#; Oct 13 02:40:46.288 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.288 INFO kablam! Oct 13 02:40:46.288 INFO kablam! warning: static variable `string` should have an upper case name such as `STRING` Oct 13 02:40:46.288 INFO kablam! --> src/lexer.rs:13:1 Oct 13 02:40:46.288 INFO kablam! | Oct 13 02:40:46.288 INFO kablam! 13 | static string : & 'static str = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 13 02:40:46.288 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.288 INFO kablam! Oct 13 02:40:46.288 INFO kablam! warning: static variable `space` should have an upper case name such as `SPACE` Oct 13 02:40:46.288 INFO kablam! --> src/lexer.rs:14:1 Oct 13 02:40:46.288 INFO kablam! | Oct 13 02:40:46.288 INFO kablam! 14 | static space : & 'static str = r#"\s*"#; Oct 13 02:40:46.288 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.288 INFO kablam! Oct 13 02:40:46.288 INFO kablam! warning: static variable `comment` should have an upper case name such as `COMMENT` Oct 13 02:40:46.288 INFO kablam! --> src/lexer.rs:15:1 Oct 13 02:40:46.288 INFO kablam! | Oct 13 02:40:46.288 INFO kablam! 15 | static comment : & 'static str = r#"//.*"#; Oct 13 02:40:46.288 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.288 INFO kablam! Oct 13 02:40:46.288 INFO kablam! warning: static variable `patern` should have an upper case name such as `PATERN` Oct 13 02:40:46.288 INFO kablam! --> src/lexer.rs:16:1 Oct 13 02:40:46.288 INFO kablam! | Oct 13 02:40:46.292 INFO kablam! 16 | static patern : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 13 02:40:46.292 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.292 INFO kablam! Oct 13 02:40:46.292 INFO kablam! warning: static variable `regex_pat` should have an upper case name such as `REGEX_PAT` Oct 13 02:40:46.292 INFO kablam! --> src/main.rs:18:1 Oct 13 02:40:46.292 INFO kablam! | Oct 13 02:40:46.292 INFO kablam! 18 | static regex_pat : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 13 02:40:46.292 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 02:40:46.292 INFO kablam! Oct 13 02:40:46.325 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.78s Oct 13 02:40:46.325 INFO kablam! su: No module specific data is present Oct 13 02:40:47.332 INFO running `"docker" "rm" "-f" "3580a3136cd602c7655cb24636dbc2ec1c2b888a90ac3a8600537a2b3228b847"` Oct 13 02:40:47.638 INFO blam! 3580a3136cd602c7655cb24636dbc2ec1c2b888a90ac3a8600537a2b3228b847