Oct 27 09:49:18.729 INFO checking SadSock/stone against try#19f01b935b91481fd445b16b533d2f87661bf12e for pr-55192-2 Oct 27 09:49:18.731 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192-2/worker-6/try#19f01b935b91481fd445b16b533d2f87661bf12e:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-6/pr-55192-2/try#19f01b935b91481fd445b16b533d2f87661bf12e:/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 +19f01b935b91481fd445b16b533d2f87661bf12e-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 27 09:49:19.263 INFO blam! df48b55fbe068b02f614c7271a3e429eb2e67bd1627ed4aefd983a1fa57be871 Oct 27 09:49:19.266 INFO running `"docker" "start" "-a" "df48b55fbe068b02f614c7271a3e429eb2e67bd1627ed4aefd983a1fa57be871"` Oct 27 09:49:21.263 INFO kablam! usermod: no changes Oct 27 09:49:21.431 INFO kablam! Checking Stone v0.1.0 (/source) Oct 27 09:49:22.762 INFO kablam! warning: unused import: `regex::Regex` Oct 27 09:49:22.763 INFO kablam! --> src/main.rs:6:5 Oct 27 09:49:22.763 INFO kablam! | Oct 27 09:49:22.764 INFO kablam! 6 | use regex::Regex; Oct 27 09:49:22.764 INFO kablam! | ^^^^^^^^^^^^ Oct 27 09:49:22.765 INFO kablam! | Oct 27 09:49:22.765 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 27 09:49:22.766 INFO kablam! Oct 27 09:49:22.766 INFO kablam! warning: unused import: `std::io::BufReader` Oct 27 09:49:22.767 INFO kablam! --> src/main.rs:8:5 Oct 27 09:49:22.767 INFO kablam! | Oct 27 09:49:22.768 INFO kablam! 8 | use std::io::BufReader; Oct 27 09:49:22.768 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 27 09:49:22.768 INFO kablam! Oct 27 09:49:22.769 INFO kablam! warning: unused import: `log::LogLevel` Oct 27 09:49:22.769 INFO kablam! --> src/main.rs:11:5 Oct 27 09:49:22.770 INFO kablam! | Oct 27 09:49:22.770 INFO kablam! 11 | use log::LogLevel; Oct 27 09:49:22.771 INFO kablam! | ^^^^^^^^^^^^^ Oct 27 09:49:22.771 INFO kablam! Oct 27 09:49:22.772 INFO kablam! warning: unused import: `std::string` Oct 27 09:49:22.772 INFO kablam! --> src/token.rs:2:5 Oct 27 09:49:22.773 INFO kablam! | Oct 27 09:49:22.773 INFO kablam! 2 | use std::string; Oct 27 09:49:22.774 INFO kablam! | ^^^^^^^^^^^ Oct 27 09:49:22.774 INFO kablam! Oct 27 09:49:22.774 INFO kablam! warning: unused import: `std::collections::LinkedList` Oct 27 09:49:22.775 INFO kablam! --> src/lexer.rs:3:5 Oct 27 09:49:22.775 INFO kablam! | Oct 27 09:49:22.776 INFO kablam! 3 | use std::collections::LinkedList; Oct 27 09:49:22.776 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:22.777 INFO kablam! Oct 27 09:49:22.777 INFO kablam! warning: unused import: `std::option::Option` Oct 27 09:49:22.778 INFO kablam! --> src/lexer.rs:7:5 Oct 27 09:49:22.778 INFO kablam! | Oct 27 09:49:22.779 INFO kablam! 7 | use std::option::Option; Oct 27 09:49:22.779 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:22.779 INFO kablam! Oct 27 09:49:22.919 INFO kablam! warning: unused import: `regex::Regex` Oct 27 09:49:22.920 INFO kablam! --> src/main.rs:6:5 Oct 27 09:49:22.920 INFO kablam! | Oct 27 09:49:22.921 INFO kablam! 6 | use regex::Regex; Oct 27 09:49:22.921 INFO kablam! | ^^^^^^^^^^^^ Oct 27 09:49:22.922 INFO kablam! | Oct 27 09:49:22.922 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 27 09:49:22.923 INFO kablam! Oct 27 09:49:22.923 INFO kablam! warning: unused import: `std::io::BufReader` Oct 27 09:49:22.924 INFO kablam! --> src/main.rs:8:5 Oct 27 09:49:22.924 INFO kablam! | Oct 27 09:49:22.925 INFO kablam! 8 | use std::io::BufReader; Oct 27 09:49:22.925 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 27 09:49:22.925 INFO kablam! Oct 27 09:49:22.926 INFO kablam! warning: unused import: `log::LogLevel` Oct 27 09:49:22.926 INFO kablam! --> src/main.rs:11:5 Oct 27 09:49:22.927 INFO kablam! | Oct 27 09:49:22.927 INFO kablam! 11 | use log::LogLevel; Oct 27 09:49:22.928 INFO kablam! | ^^^^^^^^^^^^^ Oct 27 09:49:22.928 INFO kablam! Oct 27 09:49:22.929 INFO kablam! warning: unused import: `std::string` Oct 27 09:49:22.929 INFO kablam! --> src/token.rs:2:5 Oct 27 09:49:22.930 INFO kablam! | Oct 27 09:49:22.930 INFO kablam! 2 | use std::string; Oct 27 09:49:22.930 INFO kablam! | ^^^^^^^^^^^ Oct 27 09:49:22.930 INFO kablam! Oct 27 09:49:22.930 INFO kablam! warning: unused import: `std::collections::LinkedList` Oct 27 09:49:22.930 INFO kablam! --> src/lexer.rs:3:5 Oct 27 09:49:22.930 INFO kablam! | Oct 27 09:49:22.930 INFO kablam! 3 | use std::collections::LinkedList; Oct 27 09:49:22.930 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:22.930 INFO kablam! Oct 27 09:49:22.930 INFO kablam! warning: unused import: `std::option::Option` Oct 27 09:49:22.930 INFO kablam! --> src/lexer.rs:7:5 Oct 27 09:49:22.935 INFO kablam! | Oct 27 09:49:22.935 INFO kablam! 7 | use std::option::Option; Oct 27 09:49:22.935 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:22.935 INFO kablam! Oct 27 09:49:22.935 INFO kablam! warning: unused import: `std::io::prelude` Oct 27 09:49:22.935 INFO kablam! --> src/main.rs:7:5 Oct 27 09:49:22.935 INFO kablam! | Oct 27 09:49:22.935 INFO kablam! 7 | use std::io::prelude::*; Oct 27 09:49:22.935 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 27 09:49:22.935 INFO kablam! Oct 27 09:49:22.944 INFO kablam! warning: unused variable: `identity` Oct 27 09:49:22.944 INFO kablam! --> src/main.rs:33:9 Oct 27 09:49:22.945 INFO kablam! | Oct 27 09:49:22.945 INFO kablam! 33 | let identity = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 27 09:49:22.946 INFO kablam! | ^^^^^^^^ help: consider using `_identity` instead Oct 27 09:49:22.946 INFO kablam! | Oct 27 09:49:22.947 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 27 09:49:22.947 INFO kablam! Oct 27 09:49:22.948 INFO kablam! warning: unused variable: `number` Oct 27 09:49:22.948 INFO kablam! --> src/main.rs:34:9 Oct 27 09:49:22.949 INFO kablam! | Oct 27 09:49:22.949 INFO kablam! 34 | let number = r#"[0-9]+"#; Oct 27 09:49:22.950 INFO kablam! | ^^^^^^ help: consider using `_number` instead Oct 27 09:49:22.950 INFO kablam! Oct 27 09:49:22.951 INFO kablam! warning: unused variable: `string` Oct 27 09:49:22.951 INFO kablam! --> src/main.rs:35:9 Oct 27 09:49:22.952 INFO kablam! | Oct 27 09:49:22.952 INFO kablam! 35 | let string = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 27 09:49:22.953 INFO kablam! | ^^^^^^ help: consider using `_string` instead Oct 27 09:49:22.953 INFO kablam! Oct 27 09:49:22.954 INFO kablam! warning: unused variable: `space` Oct 27 09:49:22.954 INFO kablam! --> src/main.rs:36:9 Oct 27 09:49:22.954 INFO kablam! | Oct 27 09:49:22.954 INFO kablam! 36 | let space = r#"\s*"#; Oct 27 09:49:22.954 INFO kablam! | ^^^^^ help: consider using `_space` instead Oct 27 09:49:22.954 INFO kablam! Oct 27 09:49:22.954 INFO kablam! warning: unused variable: `comment` Oct 27 09:49:22.954 INFO kablam! --> src/main.rs:37:9 Oct 27 09:49:22.954 INFO kablam! | Oct 27 09:49:22.954 INFO kablam! 37 | let comment = r#"//.*"#; Oct 27 09:49:22.954 INFO kablam! | ^^^^^^^ help: consider using `_comment` instead Oct 27 09:49:22.954 INFO kablam! Oct 27 09:49:22.954 INFO kablam! warning: unused variable: `val` Oct 27 09:49:22.954 INFO kablam! --> src/lexer.rs:79:22 Oct 27 09:49:22.954 INFO kablam! | Oct 27 09:49:22.954 INFO kablam! 79 | Some(val) => Oct 27 09:49:22.959 INFO kablam! | ^^^ help: consider using `_val` instead Oct 27 09:49:22.959 INFO kablam! Oct 27 09:49:22.959 INFO kablam! warning: value assigned to `tmp` is never read Oct 27 09:49:22.959 INFO kablam! --> src/lexer.rs:157:29 Oct 27 09:49:22.959 INFO kablam! | Oct 27 09:49:22.959 INFO kablam! 157 | let mut tmp = 0; Oct 27 09:49:22.959 INFO kablam! | ^^^ Oct 27 09:49:22.959 INFO kablam! | Oct 27 09:49:22.959 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 27 09:49:22.959 INFO kablam! Oct 27 09:49:22.959 INFO kablam! warning: unused variable: `err` Oct 27 09:49:22.959 INFO kablam! --> src/lexer.rs:161:29 Oct 27 09:49:22.959 INFO kablam! | Oct 27 09:49:22.959 INFO kablam! 161 | Err(err)=> Oct 27 09:49:22.959 INFO kablam! | ^^^ help: consider using `_err` instead Oct 27 09:49:22.959 INFO kablam! Oct 27 09:49:22.998 INFO kablam! warning: static item is never used: `identity` Oct 27 09:49:22.999 INFO kablam! --> src/lexer.rs:11:1 Oct 27 09:49:22.999 INFO kablam! | Oct 27 09:49:23.000 INFO kablam! 11 | static identity :& 'static str = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 27 09:49:23.000 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.001 INFO kablam! | Oct 27 09:49:23.001 INFO kablam! = note: #[warn(dead_code)] on by default Oct 27 09:49:23.002 INFO kablam! Oct 27 09:49:23.002 INFO kablam! warning: static item is never used: `number` Oct 27 09:49:23.003 INFO kablam! --> src/lexer.rs:12:1 Oct 27 09:49:23.003 INFO kablam! | Oct 27 09:49:23.004 INFO kablam! 12 | static number :& 'static str = r#"[0-9]+"#; Oct 27 09:49:23.005 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.005 INFO kablam! Oct 27 09:49:23.006 INFO kablam! warning: static item is never used: `string` Oct 27 09:49:23.006 INFO kablam! --> src/lexer.rs:13:1 Oct 27 09:49:23.007 INFO kablam! | Oct 27 09:49:23.007 INFO kablam! 13 | static string : & 'static str = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 27 09:49:23.008 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.008 INFO kablam! Oct 27 09:49:23.008 INFO kablam! warning: static item is never used: `space` Oct 27 09:49:23.008 INFO kablam! --> src/lexer.rs:14:1 Oct 27 09:49:23.008 INFO kablam! | Oct 27 09:49:23.008 INFO kablam! 14 | static space : & 'static str = r#"\s*"#; Oct 27 09:49:23.008 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.008 INFO kablam! Oct 27 09:49:23.008 INFO kablam! warning: static item is never used: `comment` Oct 27 09:49:23.008 INFO kablam! --> src/lexer.rs:15:1 Oct 27 09:49:23.008 INFO kablam! | Oct 27 09:49:23.008 INFO kablam! 15 | static comment : & 'static str = r#"//.*"#; Oct 27 09:49:23.008 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.008 INFO kablam! Oct 27 09:49:23.008 INFO kablam! warning: method is never used: `is_finish` Oct 27 09:49:23.008 INFO kablam! --> src/lexer.rs:41:5 Oct 27 09:49:23.008 INFO kablam! | Oct 27 09:49:23.011 INFO kablam! 41 | pub fn is_finish(&mut self)->bool Oct 27 09:49:23.011 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.011 INFO kablam! Oct 27 09:49:23.011 INFO kablam! warning: method is never used: `peek` Oct 27 09:49:23.011 INFO kablam! --> src/lexer.rs:199:5 Oct 27 09:49:23.011 INFO kablam! | Oct 27 09:49:23.011 INFO kablam! 199 | pub fn peek(&mut self,i : usize)->::std::io::Result Oct 27 09:49:23.011 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.011 INFO kablam! Oct 27 09:49:23.011 INFO kablam! warning: static item is never used: `regex_pat` Oct 27 09:49:23.011 INFO kablam! --> src/main.rs:18:1 Oct 27 09:49:23.011 INFO kablam! | Oct 27 09:49:23.011 INFO kablam! 18 | static regex_pat : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 27 09:49:23.011 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.011 INFO kablam! Oct 27 09:49:23.011 INFO kablam! warning: crate `Stone` should have a snake case name such as `stone` Oct 27 09:49:23.011 INFO kablam! | Oct 27 09:49:23.011 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 27 09:49:23.011 INFO kablam! Oct 27 09:49:23.011 INFO kablam! warning: the `line:` in this pattern is redundant Oct 27 09:49:23.011 INFO kablam! --> src/token.rs:24:31 Oct 27 09:49:23.011 INFO kablam! | Oct 27 09:49:23.011 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 27 09:49:23.011 INFO kablam! | -----^^^^ Oct 27 09:49:23.011 INFO kablam! | | Oct 27 09:49:23.011 INFO kablam! | help: remove this Oct 27 09:49:23.011 INFO kablam! | Oct 27 09:49:23.011 INFO kablam! = note: #[warn(non_shorthand_field_patterns)] on by default Oct 27 09:49:23.011 INFO kablam! Oct 27 09:49:23.011 INFO kablam! warning: the `position:` in this pattern is redundant Oct 27 09:49:23.011 INFO kablam! --> src/token.rs:24:41 Oct 27 09:49:23.011 INFO kablam! | Oct 27 09:49:23.011 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 27 09:49:23.011 INFO kablam! | ---------^^^^^^^^ Oct 27 09:49:23.011 INFO kablam! | | Oct 27 09:49:23.011 INFO kablam! | help: remove this Oct 27 09:49:23.011 INFO kablam! Oct 27 09:49:23.011 INFO kablam! warning: the `value:` in this pattern is redundant Oct 27 09:49:23.011 INFO kablam! --> src/token.rs:24:59 Oct 27 09:49:23.011 INFO kablam! | Oct 27 09:49:23.011 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 27 09:49:23.011 INFO kablam! | ------^^^^^^^^^^ Oct 27 09:49:23.011 INFO kablam! | | Oct 27 09:49:23.011 INFO kablam! | help: remove this Oct 27 09:49:23.011 INFO kablam! Oct 27 09:49:23.011 INFO kablam! warning: the `line:` in this pattern is redundant Oct 27 09:49:23.011 INFO kablam! --> src/token.rs:26:34 Oct 27 09:49:23.011 INFO kablam! | Oct 27 09:49:23.011 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 27 09:49:23.012 INFO kablam! | -----^^^^ Oct 27 09:49:23.012 INFO kablam! | | Oct 27 09:49:23.012 INFO kablam! | help: remove this Oct 27 09:49:23.012 INFO kablam! Oct 27 09:49:23.012 INFO kablam! warning: the `position:` in this pattern is redundant Oct 27 09:49:23.012 INFO kablam! --> src/token.rs:26:44 Oct 27 09:49:23.012 INFO kablam! | Oct 27 09:49:23.012 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 27 09:49:23.012 INFO kablam! | ---------^^^^^^^^ Oct 27 09:49:23.012 INFO kablam! | | Oct 27 09:49:23.012 INFO kablam! | help: remove this Oct 27 09:49:23.012 INFO kablam! Oct 27 09:49:23.012 INFO kablam! warning: the `value:` in this pattern is redundant Oct 27 09:49:23.012 INFO kablam! --> src/token.rs:26:62 Oct 27 09:49:23.012 INFO kablam! | Oct 27 09:49:23.012 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 27 09:49:23.012 INFO kablam! | ------^^^^^^^^^ Oct 27 09:49:23.012 INFO kablam! | | Oct 27 09:49:23.012 INFO kablam! | help: remove this Oct 27 09:49:23.012 INFO kablam! Oct 27 09:49:23.012 INFO kablam! warning: the `line:` in this pattern is redundant Oct 27 09:49:23.012 INFO kablam! --> src/token.rs:28:34 Oct 27 09:49:23.012 INFO kablam! | Oct 27 09:49:23.012 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 27 09:49:23.012 INFO kablam! | -----^^^^ Oct 27 09:49:23.012 INFO kablam! | | Oct 27 09:49:23.012 INFO kablam! | help: remove this Oct 27 09:49:23.012 INFO kablam! Oct 27 09:49:23.012 INFO kablam! warning: the `position:` in this pattern is redundant Oct 27 09:49:23.012 INFO kablam! --> src/token.rs:28:44 Oct 27 09:49:23.012 INFO kablam! | Oct 27 09:49:23.012 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 27 09:49:23.012 INFO kablam! | ---------^^^^^^^^ Oct 27 09:49:23.012 INFO kablam! | | Oct 27 09:49:23.012 INFO kablam! | help: remove this Oct 27 09:49:23.012 INFO kablam! Oct 27 09:49:23.012 INFO kablam! warning: the `value:` in this pattern is redundant Oct 27 09:49:23.012 INFO kablam! --> src/token.rs:28:62 Oct 27 09:49:23.012 INFO kablam! | Oct 27 09:49:23.012 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 27 09:49:23.012 INFO kablam! | ------^^^^^ Oct 27 09:49:23.012 INFO kablam! | | Oct 27 09:49:23.012 INFO kablam! | help: remove this Oct 27 09:49:23.012 INFO kablam! Oct 27 09:49:23.012 INFO kablam! warning: static variable `identity` should have an upper case name such as `IDENTITY` Oct 27 09:49:23.012 INFO kablam! --> src/lexer.rs:11:1 Oct 27 09:49:23.012 INFO kablam! | Oct 27 09:49:23.012 INFO kablam! 11 | static identity :& 'static str = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 27 09:49:23.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.012 INFO kablam! | Oct 27 09:49:23.012 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 27 09:49:23.012 INFO kablam! Oct 27 09:49:23.012 INFO kablam! warning: static variable `number` should have an upper case name such as `NUMBER` Oct 27 09:49:23.012 INFO kablam! --> src/lexer.rs:12:1 Oct 27 09:49:23.012 INFO kablam! | Oct 27 09:49:23.012 INFO kablam! 12 | static number :& 'static str = r#"[0-9]+"#; Oct 27 09:49:23.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.012 INFO kablam! Oct 27 09:49:23.012 INFO kablam! warning: static variable `string` should have an upper case name such as `STRING` Oct 27 09:49:23.012 INFO kablam! --> src/lexer.rs:13:1 Oct 27 09:49:23.012 INFO kablam! | Oct 27 09:49:23.012 INFO kablam! 13 | static string : & 'static str = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 27 09:49:23.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.012 INFO kablam! Oct 27 09:49:23.012 INFO kablam! warning: static variable `space` should have an upper case name such as `SPACE` Oct 27 09:49:23.012 INFO kablam! --> src/lexer.rs:14:1 Oct 27 09:49:23.012 INFO kablam! | Oct 27 09:49:23.012 INFO kablam! 14 | static space : & 'static str = r#"\s*"#; Oct 27 09:49:23.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.012 INFO kablam! Oct 27 09:49:23.012 INFO kablam! warning: static variable `comment` should have an upper case name such as `COMMENT` Oct 27 09:49:23.012 INFO kablam! --> src/lexer.rs:15:1 Oct 27 09:49:23.012 INFO kablam! | Oct 27 09:49:23.012 INFO kablam! 15 | static comment : & 'static str = r#"//.*"#; Oct 27 09:49:23.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.012 INFO kablam! Oct 27 09:49:23.012 INFO kablam! warning: static variable `patern` should have an upper case name such as `PATERN` Oct 27 09:49:23.012 INFO kablam! --> src/lexer.rs:16:1 Oct 27 09:49:23.012 INFO kablam! | Oct 27 09:49:23.012 INFO kablam! 16 | static patern : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 27 09:49:23.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.012 INFO kablam! Oct 27 09:49:23.030 INFO kablam! warning: static variable `regex_pat` should have an upper case name such as `REGEX_PAT` Oct 27 09:49:23.031 INFO kablam! --> src/main.rs:18:1 Oct 27 09:49:23.031 INFO kablam! | Oct 27 09:49:23.031 INFO kablam! 18 | static regex_pat : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 27 09:49:23.031 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.031 INFO kablam! Oct 27 09:49:23.143 INFO kablam! warning: unused import: `std::io::prelude` Oct 27 09:49:23.143 INFO kablam! --> src/main.rs:7:5 Oct 27 09:49:23.143 INFO kablam! | Oct 27 09:49:23.143 INFO kablam! 7 | use std::io::prelude::*; Oct 27 09:49:23.143 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 27 09:49:23.143 INFO kablam! Oct 27 09:49:23.150 INFO kablam! warning: unused variable: `identity` Oct 27 09:49:23.150 INFO kablam! --> src/main.rs:33:9 Oct 27 09:49:23.150 INFO kablam! | Oct 27 09:49:23.150 INFO kablam! 33 | let identity = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 27 09:49:23.150 INFO kablam! | ^^^^^^^^ help: consider using `_identity` instead Oct 27 09:49:23.150 INFO kablam! | Oct 27 09:49:23.150 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 27 09:49:23.150 INFO kablam! Oct 27 09:49:23.151 INFO kablam! warning: unused variable: `number` Oct 27 09:49:23.151 INFO kablam! --> src/main.rs:34:9 Oct 27 09:49:23.151 INFO kablam! | Oct 27 09:49:23.151 INFO kablam! 34 | let number = r#"[0-9]+"#; Oct 27 09:49:23.151 INFO kablam! | ^^^^^^ help: consider using `_number` instead Oct 27 09:49:23.151 INFO kablam! Oct 27 09:49:23.159 INFO kablam! warning: unused variable: `string` Oct 27 09:49:23.159 INFO kablam! --> src/main.rs:35:9 Oct 27 09:49:23.159 INFO kablam! | Oct 27 09:49:23.159 INFO kablam! 35 | let string = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 27 09:49:23.159 INFO kablam! | ^^^^^^ help: consider using `_string` instead Oct 27 09:49:23.159 INFO kablam! Oct 27 09:49:23.159 INFO kablam! warning: unused variable: `space` Oct 27 09:49:23.160 INFO kablam! --> src/main.rs:36:9 Oct 27 09:49:23.160 INFO kablam! | Oct 27 09:49:23.160 INFO kablam! 36 | let space = r#"\s*"#; Oct 27 09:49:23.160 INFO kablam! | ^^^^^ help: consider using `_space` instead Oct 27 09:49:23.160 INFO kablam! Oct 27 09:49:23.160 INFO kablam! warning: unused variable: `comment` Oct 27 09:49:23.160 INFO kablam! --> src/main.rs:37:9 Oct 27 09:49:23.160 INFO kablam! | Oct 27 09:49:23.161 INFO kablam! 37 | let comment = r#"//.*"#; Oct 27 09:49:23.161 INFO kablam! | ^^^^^^^ help: consider using `_comment` instead Oct 27 09:49:23.161 INFO kablam! Oct 27 09:49:23.161 INFO kablam! warning: unused variable: `val` Oct 27 09:49:23.161 INFO kablam! --> src/lexer.rs:79:22 Oct 27 09:49:23.162 INFO kablam! | Oct 27 09:49:23.162 INFO kablam! 79 | Some(val) => Oct 27 09:49:23.162 INFO kablam! | ^^^ help: consider using `_val` instead Oct 27 09:49:23.162 INFO kablam! Oct 27 09:49:23.162 INFO kablam! warning: value assigned to `tmp` is never read Oct 27 09:49:23.162 INFO kablam! --> src/lexer.rs:157:29 Oct 27 09:49:23.162 INFO kablam! | Oct 27 09:49:23.162 INFO kablam! 157 | let mut tmp = 0; Oct 27 09:49:23.163 INFO kablam! | ^^^ Oct 27 09:49:23.163 INFO kablam! | Oct 27 09:49:23.163 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 27 09:49:23.163 INFO kablam! Oct 27 09:49:23.163 INFO kablam! warning: unused variable: `err` Oct 27 09:49:23.163 INFO kablam! --> src/lexer.rs:161:29 Oct 27 09:49:23.163 INFO kablam! | Oct 27 09:49:23.164 INFO kablam! 161 | Err(err)=> Oct 27 09:49:23.164 INFO kablam! | ^^^ help: consider using `_err` instead Oct 27 09:49:23.164 INFO kablam! Oct 27 09:49:23.209 INFO kablam! warning: static item is never used: `identity` Oct 27 09:49:23.209 INFO kablam! --> src/lexer.rs:11:1 Oct 27 09:49:23.210 INFO kablam! | Oct 27 09:49:23.210 INFO kablam! 11 | static identity :& 'static str = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 27 09:49:23.210 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.210 INFO kablam! | Oct 27 09:49:23.210 INFO kablam! = note: #[warn(dead_code)] on by default Oct 27 09:49:23.210 INFO kablam! Oct 27 09:49:23.210 INFO kablam! warning: static item is never used: `number` Oct 27 09:49:23.211 INFO kablam! --> src/lexer.rs:12:1 Oct 27 09:49:23.211 INFO kablam! | Oct 27 09:49:23.211 INFO kablam! 12 | static number :& 'static str = r#"[0-9]+"#; Oct 27 09:49:23.211 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.211 INFO kablam! Oct 27 09:49:23.211 INFO kablam! warning: static item is never used: `string` Oct 27 09:49:23.211 INFO kablam! --> src/lexer.rs:13:1 Oct 27 09:49:23.211 INFO kablam! | Oct 27 09:49:23.212 INFO kablam! 13 | static string : & 'static str = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 27 09:49:23.212 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.212 INFO kablam! Oct 27 09:49:23.212 INFO kablam! warning: static item is never used: `space` Oct 27 09:49:23.212 INFO kablam! --> src/lexer.rs:14:1 Oct 27 09:49:23.212 INFO kablam! | Oct 27 09:49:23.212 INFO kablam! 14 | static space : & 'static str = r#"\s*"#; Oct 27 09:49:23.212 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.213 INFO kablam! Oct 27 09:49:23.213 INFO kablam! warning: static item is never used: `comment` Oct 27 09:49:23.213 INFO kablam! --> src/lexer.rs:15:1 Oct 27 09:49:23.213 INFO kablam! | Oct 27 09:49:23.213 INFO kablam! 15 | static comment : & 'static str = r#"//.*"#; Oct 27 09:49:23.213 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.213 INFO kablam! Oct 27 09:49:23.214 INFO kablam! warning: method is never used: `is_finish` Oct 27 09:49:23.214 INFO kablam! --> src/lexer.rs:41:5 Oct 27 09:49:23.214 INFO kablam! | Oct 27 09:49:23.214 INFO kablam! 41 | pub fn is_finish(&mut self)->bool Oct 27 09:49:23.214 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.214 INFO kablam! Oct 27 09:49:23.214 INFO kablam! warning: method is never used: `peek` Oct 27 09:49:23.215 INFO kablam! --> src/lexer.rs:199:5 Oct 27 09:49:23.215 INFO kablam! | Oct 27 09:49:23.215 INFO kablam! 199 | pub fn peek(&mut self,i : usize)->::std::io::Result Oct 27 09:49:23.215 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.215 INFO kablam! Oct 27 09:49:23.215 INFO kablam! warning: static item is never used: `regex_pat` Oct 27 09:49:23.215 INFO kablam! --> src/main.rs:18:1 Oct 27 09:49:23.215 INFO kablam! | Oct 27 09:49:23.216 INFO kablam! 18 | static regex_pat : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 27 09:49:23.216 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.216 INFO kablam! Oct 27 09:49:23.216 INFO kablam! warning: crate `Stone` should have a snake case name such as `stone` Oct 27 09:49:23.223 INFO kablam! | Oct 27 09:49:23.223 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 27 09:49:23.223 INFO kablam! Oct 27 09:49:23.224 INFO kablam! warning: the `line:` in this pattern is redundant Oct 27 09:49:23.224 INFO kablam! --> src/token.rs:24:31 Oct 27 09:49:23.224 INFO kablam! | Oct 27 09:49:23.224 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 27 09:49:23.224 INFO kablam! | -----^^^^ Oct 27 09:49:23.225 INFO kablam! | | Oct 27 09:49:23.225 INFO kablam! | help: remove this Oct 27 09:49:23.225 INFO kablam! | Oct 27 09:49:23.225 INFO kablam! = note: #[warn(non_shorthand_field_patterns)] on by default Oct 27 09:49:23.225 INFO kablam! Oct 27 09:49:23.225 INFO kablam! warning: the `position:` in this pattern is redundant Oct 27 09:49:23.225 INFO kablam! --> src/token.rs:24:41 Oct 27 09:49:23.226 INFO kablam! | Oct 27 09:49:23.226 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 27 09:49:23.226 INFO kablam! | ---------^^^^^^^^ Oct 27 09:49:23.226 INFO kablam! | | Oct 27 09:49:23.226 INFO kablam! | help: remove this Oct 27 09:49:23.226 INFO kablam! Oct 27 09:49:23.226 INFO kablam! warning: the `value:` in this pattern is redundant Oct 27 09:49:23.227 INFO kablam! --> src/token.rs:24:59 Oct 27 09:49:23.227 INFO kablam! | Oct 27 09:49:23.227 INFO kablam! 24 | Token::Identifier{line:line,position:position,value: ref value}=>write!(f,"line : {} position : {} type : identitifier value : {}",line,position,value) , Oct 27 09:49:23.227 INFO kablam! | ------^^^^^^^^^^ Oct 27 09:49:23.227 INFO kablam! | | Oct 27 09:49:23.227 INFO kablam! | help: remove this Oct 27 09:49:23.227 INFO kablam! Oct 27 09:49:23.228 INFO kablam! warning: the `line:` in this pattern is redundant Oct 27 09:49:23.228 INFO kablam! --> src/token.rs:26:34 Oct 27 09:49:23.228 INFO kablam! | Oct 27 09:49:23.228 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 27 09:49:23.228 INFO kablam! | -----^^^^ Oct 27 09:49:23.228 INFO kablam! | | Oct 27 09:49:23.228 INFO kablam! | help: remove this Oct 27 09:49:23.228 INFO kablam! Oct 27 09:49:23.229 INFO kablam! warning: the `position:` in this pattern is redundant Oct 27 09:49:23.229 INFO kablam! --> src/token.rs:26:44 Oct 27 09:49:23.229 INFO kablam! | Oct 27 09:49:23.229 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 27 09:49:23.229 INFO kablam! | ---------^^^^^^^^ Oct 27 09:49:23.229 INFO kablam! | | Oct 27 09:49:23.230 INFO kablam! | help: remove this Oct 27 09:49:23.230 INFO kablam! Oct 27 09:49:23.230 INFO kablam! warning: the `value:` in this pattern is redundant Oct 27 09:49:23.230 INFO kablam! --> src/token.rs:26:62 Oct 27 09:49:23.230 INFO kablam! | Oct 27 09:49:23.230 INFO kablam! 26 | Token::StringLiteral{line:line,position:position,value:ref value}=>write!(f,"line : {} position : {} type : stringliteral value : {}",line,position,value), Oct 27 09:49:23.230 INFO kablam! | ------^^^^^^^^^ Oct 27 09:49:23.231 INFO kablam! | | Oct 27 09:49:23.231 INFO kablam! | help: remove this Oct 27 09:49:23.231 INFO kablam! Oct 27 09:49:23.231 INFO kablam! warning: the `line:` in this pattern is redundant Oct 27 09:49:23.231 INFO kablam! --> src/token.rs:28:34 Oct 27 09:49:23.231 INFO kablam! | Oct 27 09:49:23.231 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 27 09:49:23.231 INFO kablam! | -----^^^^ Oct 27 09:49:23.232 INFO kablam! | | Oct 27 09:49:23.232 INFO kablam! | help: remove this Oct 27 09:49:23.232 INFO kablam! Oct 27 09:49:23.232 INFO kablam! warning: the `position:` in this pattern is redundant Oct 27 09:49:23.232 INFO kablam! --> src/token.rs:28:44 Oct 27 09:49:23.232 INFO kablam! | Oct 27 09:49:23.232 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 27 09:49:23.233 INFO kablam! | ---------^^^^^^^^ Oct 27 09:49:23.233 INFO kablam! | | Oct 27 09:49:23.233 INFO kablam! | help: remove this Oct 27 09:49:23.233 INFO kablam! Oct 27 09:49:23.233 INFO kablam! warning: the `value:` in this pattern is redundant Oct 27 09:49:23.233 INFO kablam! --> src/token.rs:28:62 Oct 27 09:49:23.233 INFO kablam! | Oct 27 09:49:23.233 INFO kablam! 28 | Token::NumberLiteral{line:line,position:position,value:value}=>write!(f,"line : {} position : {} type : numberliteral value : {}",line,position,value), Oct 27 09:49:23.233 INFO kablam! | ------^^^^^ Oct 27 09:49:23.233 INFO kablam! | | Oct 27 09:49:23.234 INFO kablam! | help: remove this Oct 27 09:49:23.234 INFO kablam! Oct 27 09:49:23.234 INFO kablam! warning: static variable `identity` should have an upper case name such as `IDENTITY` Oct 27 09:49:23.234 INFO kablam! --> src/lexer.rs:11:1 Oct 27 09:49:23.234 INFO kablam! | Oct 27 09:49:23.234 INFO kablam! 11 | static identity :& 'static str = r##"[A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]"##; // 匹配标识符 Oct 27 09:49:23.234 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.235 INFO kablam! | Oct 27 09:49:23.235 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 27 09:49:23.235 INFO kablam! Oct 27 09:49:23.235 INFO kablam! warning: static variable `number` should have an upper case name such as `NUMBER` Oct 27 09:49:23.235 INFO kablam! --> src/lexer.rs:12:1 Oct 27 09:49:23.236 INFO kablam! | Oct 27 09:49:23.236 INFO kablam! 12 | static number :& 'static str = r#"[0-9]+"#; Oct 27 09:49:23.236 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.236 INFO kablam! Oct 27 09:49:23.236 INFO kablam! warning: static variable `string` should have an upper case name such as `STRING` Oct 27 09:49:23.236 INFO kablam! --> src/lexer.rs:13:1 Oct 27 09:49:23.237 INFO kablam! | Oct 27 09:49:23.237 INFO kablam! 13 | static string : & 'static str = r#""(\\"|\\\\|\\n|[^"])*""#; Oct 27 09:49:23.237 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.237 INFO kablam! Oct 27 09:49:23.237 INFO kablam! warning: static variable `space` should have an upper case name such as `SPACE` Oct 27 09:49:23.237 INFO kablam! --> src/lexer.rs:14:1 Oct 27 09:49:23.237 INFO kablam! | Oct 27 09:49:23.238 INFO kablam! 14 | static space : & 'static str = r#"\s*"#; Oct 27 09:49:23.238 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.238 INFO kablam! Oct 27 09:49:23.238 INFO kablam! warning: static variable `comment` should have an upper case name such as `COMMENT` Oct 27 09:49:23.238 INFO kablam! --> src/lexer.rs:15:1 Oct 27 09:49:23.238 INFO kablam! | Oct 27 09:49:23.238 INFO kablam! 15 | static comment : & 'static str = r#"//.*"#; Oct 27 09:49:23.239 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.239 INFO kablam! Oct 27 09:49:23.239 INFO kablam! warning: static variable `patern` should have an upper case name such as `PATERN` Oct 27 09:49:23.239 INFO kablam! --> src/lexer.rs:16:1 Oct 27 09:49:23.239 INFO kablam! | Oct 27 09:49:23.239 INFO kablam! 16 | static patern : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 27 09:49:23.239 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.239 INFO kablam! Oct 27 09:49:23.241 INFO kablam! warning: static variable `regex_pat` should have an upper case name such as `REGEX_PAT` Oct 27 09:49:23.241 INFO kablam! --> src/main.rs:18:1 Oct 27 09:49:23.241 INFO kablam! | Oct 27 09:49:23.241 INFO kablam! 18 | static regex_pat : &'static str = r##"(\s*)(//.*)|("(\\"|\\\\|\\n|[^"])*")|([A-Z_a-z][A-Z_a-z_0-9]*|==|<=|>=|&&|\|\||[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])|([0-9]+)"##; Oct 27 09:49:23.242 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:49:23.242 INFO kablam! Oct 27 09:49:23.343 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2.04s Oct 27 09:49:23.347 INFO kablam! su: No module specific data is present Oct 27 09:49:25.131 INFO running `"docker" "rm" "-f" "df48b55fbe068b02f614c7271a3e429eb2e67bd1627ed4aefd983a1fa57be871"` Oct 27 09:49:25.527 INFO blam! df48b55fbe068b02f614c7271a3e429eb2e67bd1627ed4aefd983a1fa57be871