[INFO] cloning repository https://github.com/Lucian-4a25/snail
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lucian-4a25/snail" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucian-4a25%2Fsnail", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucian-4a25%2Fsnail'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9aefad7184d416c5d957eaaf7b9cd2d2746acdc7
[INFO] checking Lucian-4a25/snail against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucian-4a25%2Fsnail" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Lucian-4a25/snail
[INFO] finished tweaking git repo https://github.com/Lucian-4a25/snail
[INFO] tweaked toml for git repo https://github.com/Lucian-4a25/snail written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Lucian-4a25/snail on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Lucian-4a25/snail already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded itoa v1.0.6
[INFO] [stderr]   Downloaded quote v1.0.26
[INFO] [stderr]   Downloaded ryu v1.0.13
[INFO] [stderr]   Downloaded serde_derive v1.0.156
[INFO] [stderr]   Downloaded proc-macro2 v1.0.52
[INFO] [stderr]   Downloaded unicode-ident v1.0.8
[INFO] [stderr]   Downloaded serde v1.0.156
[INFO] [stderr]   Downloaded serde_json v1.0.94
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9c2c994fe03c503cc1029d1a53d8c463271ebfc0996e2d6b8a09feccfc8f3e8e
[INFO] running `Command { std: "docker" "start" "-a" "9c2c994fe03c503cc1029d1a53d8c463271ebfc0996e2d6b8a09feccfc8f3e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9c2c994fe03c503cc1029d1a53d8c463271ebfc0996e2d6b8a09feccfc8f3e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c2c994fe03c503cc1029d1a53d8c463271ebfc0996e2d6b8a09feccfc8f3e8e", kill_on_drop: false }`
[INFO] [stdout] 9c2c994fe03c503cc1029d1a53d8c463271ebfc0996e2d6b8a09feccfc8f3e8e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e3b7b1e66834b1cf297323f25df7475f6e38841e719065b9be4b75aa22b4cbb4
[INFO] running `Command { std: "docker" "start" "-a" "e3b7b1e66834b1cf297323f25df7475f6e38841e719065b9be4b75aa22b4cbb4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.52
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde_derive v1.0.156
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling serde v1.0.156
[INFO] [stderr]    Compiling serde_json v1.0.94
[INFO] [stderr]     Checking regex-syntax v0.6.28
[INFO] [stderr]     Checking itoa v1.0.6
[INFO] [stderr]     Checking ryu v1.0.13
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking regex v1.7.1
[INFO] [stderr]     Checking snail v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `call_expr`
[INFO] [stdout]    --> src/statement/expression/array.rs:191:48
[INFO] [stdout]     |
[INFO] [stdout] 191 |                     Expression::CallExpression(call_expr) => {}
[INFO] [stdout]     |                                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_expr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/statement/expression/array.rs:274:9
[INFO] [stdout]     |
[INFO] [stdout] 274 |     let mut assert_destructuring = false;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> src/statement/util.rs:75:51
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn check_unreserved(ctx: &Parser, name: &str, start: usize, end: usize) {
[INFO] [stdout]    |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]   --> src/statement/util.rs:75:65
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn check_unreserved(ctx: &Parser, name: &str, start: usize, end: usize) {
[INFO] [stdout]    |                                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `call_expr`
[INFO] [stdout]    --> src/statement/expression/array.rs:191:48
[INFO] [stdout]     |
[INFO] [stdout] 191 |                     Expression::CallExpression(call_expr) => {}
[INFO] [stdout]     |                                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_expr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/statement/expression/array.rs:274:9
[INFO] [stdout]     |
[INFO] [stdout] 274 |     let mut assert_destructuring = false;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/statement/mod.rs:935:45
[INFO] [stdout]     |
[INFO] [stdout] 935 |                 if let Pattern::RestElement(res) = ele_value.params.last().unwrap() {
[INFO] [stdout]     |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> src/statement/util.rs:75:51
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn check_unreserved(ctx: &Parser, name: &str, start: usize, end: usize) {
[INFO] [stdout]    |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]   --> src/statement/util.rs:75:65
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn check_unreserved(ctx: &Parser, name: &str, start: usize, end: usize) {
[INFO] [stdout]    |                                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/statement/mod.rs:935:45
[INFO] [stdout]     |
[INFO] [stdout] 935 |                 if let Pattern::RestElement(res) = ele_value.params.last().unwrap() {
[INFO] [stdout]     |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Undefiend` is never constructed
[INFO] [stdout]   --> src/ast/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum NodeType {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] 16 |     Program,   // 根节点类型
[INFO] [stdout] 17 |     Undefiend, // 占位符
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NodeType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/ast/expression.rs:208:10
[INFO] [stdout]     |
[INFO] [stdout] 208 |     Regx(Option<Regex>),
[INFO] [stdout]     |     ---- ^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LiteralValue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 208 -     Regx(Option<Regex>),
[INFO] [stdout] 208 +     Regx(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BigInt` is never constructed
[INFO] [stdout]    --> src/ast/expression.rs:210:5
[INFO] [stdout]     |
[INFO] [stdout] 201 | pub enum LiteralValue {
[INFO] [stdout]     |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 210 |     BigInt,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LiteralValue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]    --> src/ast/expression.rs:761:12
[INFO] [stdout]     |
[INFO] [stdout] 760 | impl AssignmentOperator {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] 761 |     pub fn as_str(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChainElement` is never constructed
[INFO] [stdout]     --> src/ast/expression.rs:1465:12
[INFO] [stdout]      |
[INFO] [stdout] 1465 | pub struct ChainElement {
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/file.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     FILE_NAME_ERROR(OsString),
[INFO] [stdout]    |     --------------- ^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReadFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 12 -     FILE_NAME_ERROR(OsString),
[INFO] [stdout] 12 +     FILE_NAME_ERROR(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/file.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     FILE_NOT_FIND(io::Error),
[INFO] [stdout]    |     ------------- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReadFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     FILE_NOT_FIND(io::Error),
[INFO] [stdout] 13 +     FILE_NOT_FIND(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/file.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |     File_Encode_Error(FromUtf8Error),
[INFO] [stdout]    |     ----------------- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReadFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 14 -     File_Encode_Error(FromUtf8Error),
[INFO] [stdout] 14 +     File_Encode_Error(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `chars` and `disable_in_op` are never read
[INFO] [stdout]   --> src/parser.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Parser {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 29 |     pub content: String,
[INFO] [stdout] 30 |     pub chars: Vec<char>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub disable_in_op: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cur_var_scope` is never used
[INFO] [stdout]    --> src/parser.rs:289:12
[INFO] [stdout]     |
[INFO] [stdout] 128 | impl Parser {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 289 |     pub fn cur_var_scope(&self) -> Option<&Scope> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_async` and `is_generator` are never read
[INFO] [stdout]   --> src/statement/expression/object.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct Object_Property_IR {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     is_async: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 66 |     is_generator: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `var`, `lexial`, and `functions` are never read
[INFO] [stdout]   --> src/statement/scope.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Scope {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  7 |     pub var: Vec<String>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]  8 |     // list of lexical names
[INFO] [stdout]  9 |     pub lexial: Vec<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 10 |     // list of lexical function names
[INFO] [stdout] 11 |     pub functions: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `skip_space_commnet` should have an upper case name
[INFO] [stdout]   --> src/statement/util.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     static ref skip_space_commnet: Regex = Regex::new(r"(\s|//.*|(?s:/\*.*?\*/))*").unwrap();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 15 -     static ref skip_space_commnet: Regex = Regex::new(r"(\s|//.*|(?s:/\*.*?\*/))*").unwrap();
[INFO] [stdout] 15 +     static ref SKIP_SPACE_COMMNET: Regex = Regex::new(r"(\s|//.*|(?s:/\*.*?\*/))*").unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `keyword_relation_operator` should have an upper case name
[INFO] [stdout]   --> src/statement/util.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 16 |     static ref keyword_relation_operator: Regex = Regex::new(r"^in(stanceof)?$").unwrap();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 16 -     static ref keyword_relation_operator: Regex = Regex::new(r"^in(stanceof)?$").unwrap();
[INFO] [stdout] 16 +     static ref KEYWORD_RELATION_OPERATOR: Regex = Regex::new(r"^in(stanceof)?$").unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `TokenContextMap` should have an upper case name
[INFO] [stdout]  --> src/tokenizer/context.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub static ref TokenContextMap: HashMap<TokenContextLabel, TokenContext> = HashMap::from([
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 7 -     pub static ref TokenContextMap: HashMap<TokenContextLabel, TokenContext> = HashMap::from([
[INFO] [stdout] 7 +     pub static ref TOKEN_CONTEXT_MAP: HashMap<TokenContextLabel, TokenContext> = HashMap::from([
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `KeywordList` should have an upper case name
[INFO] [stdout]  --> src/tokenizer/js_token.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub static ref KeywordList: Vec<TokenLabel> = vec![
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 4 -     pub static ref KeywordList: Vec<TokenLabel> = vec![
[INFO] [stdout] 4 +     pub static ref KEYWORD_LIST: Vec<TokenLabel> = vec![
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `TokenMap` should have an upper case name
[INFO] [stdout]   --> src/tokenizer/js_token.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub static ref TokenMap: HashMap<TokenLabel, Token> = HashMap::from([
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 43 -     pub static ref TokenMap: HashMap<TokenLabel, Token> = HashMap::from([
[INFO] [stdout] 43 +     pub static ref TOKEN_MAP: HashMap<TokenLabel, Token> = HashMap::from([
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Undefiend` is never constructed
[INFO] [stdout]   --> src/ast/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum NodeType {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] 16 |     Program,   // 根节点类型
[INFO] [stdout] 17 |     Undefiend, // 占位符
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NodeType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/ast/expression.rs:208:10
[INFO] [stdout]     |
[INFO] [stdout] 208 |     Regx(Option<Regex>),
[INFO] [stdout]     |     ---- ^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LiteralValue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 208 -     Regx(Option<Regex>),
[INFO] [stdout] 208 +     Regx(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BigInt` is never constructed
[INFO] [stdout]    --> src/ast/expression.rs:210:5
[INFO] [stdout]     |
[INFO] [stdout] 201 | pub enum LiteralValue {
[INFO] [stdout]     |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 210 |     BigInt,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LiteralValue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]    --> src/ast/expression.rs:761:12
[INFO] [stdout]     |
[INFO] [stdout] 760 | impl AssignmentOperator {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] 761 |     pub fn as_str(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChainElement` is never constructed
[INFO] [stdout]     --> src/ast/expression.rs:1465:12
[INFO] [stdout]      |
[INFO] [stdout] 1465 | pub struct ChainElement {
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/file.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     FILE_NAME_ERROR(OsString),
[INFO] [stdout]    |     --------------- ^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReadFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 12 -     FILE_NAME_ERROR(OsString),
[INFO] [stdout] 12 +     FILE_NAME_ERROR(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/file.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     FILE_NOT_FIND(io::Error),
[INFO] [stdout]    |     ------------- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReadFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     FILE_NOT_FIND(io::Error),
[INFO] [stdout] 13 +     FILE_NOT_FIND(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/file.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |     File_Encode_Error(FromUtf8Error),
[INFO] [stdout]    |     ----------------- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReadFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 14 -     File_Encode_Error(FromUtf8Error),
[INFO] [stdout] 14 +     File_Encode_Error(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `chars` and `disable_in_op` are never read
[INFO] [stdout]   --> src/parser.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Parser {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 29 |     pub content: String,
[INFO] [stdout] 30 |     pub chars: Vec<char>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub disable_in_op: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cur_var_scope` is never used
[INFO] [stdout]    --> src/parser.rs:289:12
[INFO] [stdout]     |
[INFO] [stdout] 128 | impl Parser {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 289 |     pub fn cur_var_scope(&self) -> Option<&Scope> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_async` and `is_generator` are never read
[INFO] [stdout]   --> src/statement/expression/object.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct Object_Property_IR {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     is_async: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 66 |     is_generator: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `var`, `lexial`, and `functions` are never read
[INFO] [stdout]   --> src/statement/scope.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Scope {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  7 |     pub var: Vec<String>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]  8 |     // list of lexical names
[INFO] [stdout]  9 |     pub lexial: Vec<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 10 |     // list of lexical function names
[INFO] [stdout] 11 |     pub functions: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `skip_space_commnet` should have an upper case name
[INFO] [stdout]   --> src/statement/util.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     static ref skip_space_commnet: Regex = Regex::new(r"(\s|//.*|(?s:/\*.*?\*/))*").unwrap();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 15 -     static ref skip_space_commnet: Regex = Regex::new(r"(\s|//.*|(?s:/\*.*?\*/))*").unwrap();
[INFO] [stdout] 15 +     static ref SKIP_SPACE_COMMNET: Regex = Regex::new(r"(\s|//.*|(?s:/\*.*?\*/))*").unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `keyword_relation_operator` should have an upper case name
[INFO] [stdout]   --> src/statement/util.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 16 |     static ref keyword_relation_operator: Regex = Regex::new(r"^in(stanceof)?$").unwrap();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 16 -     static ref keyword_relation_operator: Regex = Regex::new(r"^in(stanceof)?$").unwrap();
[INFO] [stdout] 16 +     static ref KEYWORD_RELATION_OPERATOR: Regex = Regex::new(r"^in(stanceof)?$").unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `TokenContextMap` should have an upper case name
[INFO] [stdout]  --> src/tokenizer/context.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub static ref TokenContextMap: HashMap<TokenContextLabel, TokenContext> = HashMap::from([
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 7 -     pub static ref TokenContextMap: HashMap<TokenContextLabel, TokenContext> = HashMap::from([
[INFO] [stdout] 7 +     pub static ref TOKEN_CONTEXT_MAP: HashMap<TokenContextLabel, TokenContext> = HashMap::from([
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `KeywordList` should have an upper case name
[INFO] [stdout]  --> src/tokenizer/js_token.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub static ref KeywordList: Vec<TokenLabel> = vec![
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 4 -     pub static ref KeywordList: Vec<TokenLabel> = vec![
[INFO] [stdout] 4 +     pub static ref KEYWORD_LIST: Vec<TokenLabel> = vec![
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `TokenMap` should have an upper case name
[INFO] [stdout]   --> src/tokenizer/js_token.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub static ref TokenMap: HashMap<TokenLabel, Token> = HashMap::from([
[INFO] [stdout]    |                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 43 -     pub static ref TokenMap: HashMap<TokenLabel, Token> = HashMap::from([
[INFO] [stdout] 43 +     pub static ref TOKEN_MAP: HashMap<TokenLabel, Token> = HashMap::from([
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.46s
[INFO] running `Command { std: "docker" "inspect" "e3b7b1e66834b1cf297323f25df7475f6e38841e719065b9be4b75aa22b4cbb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3b7b1e66834b1cf297323f25df7475f6e38841e719065b9be4b75aa22b4cbb4", kill_on_drop: false }`
[INFO] [stdout] e3b7b1e66834b1cf297323f25df7475f6e38841e719065b9be4b75aa22b4cbb4
