[INFO] cloning repository https://github.com/KinLeoapple/pawc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KinLeoapple/pawc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKinLeoapple%2Fpawc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKinLeoapple%2Fpawc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e663eda1f9d400fc332c974dfa91cd10b6d0b3f
[INFO] checking KinLeoapple/pawc against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKinLeoapple%2Fpawc" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KinLeoapple/pawc
[INFO] finished tweaking git repo https://github.com/KinLeoapple/pawc
[INFO] tweaked toml for git repo https://github.com/KinLeoapple/pawc written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KinLeoapple/pawc on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KinLeoapple/pawc 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded vuot v0.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc059fded049a2e249c3bb399611f9228cb9e1c679cb323651cf97f3fec268cc
[INFO] running `Command { std: "docker" "start" "-a" "fc059fded049a2e249c3bb399611f9228cb9e1c679cb323651cf97f3fec268cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc059fded049a2e249c3bb399611f9228cb9e1c679cb323651cf97f3fec268cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc059fded049a2e249c3bb399611f9228cb9e1c679cb323651cf97f3fec268cc", kill_on_drop: false }`
[INFO] [stdout] fc059fded049a2e249c3bb399611f9228cb9e1c679cb323651cf97f3fec268cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2c508fb731141e1cc834fc2b5c7fd40ae017b35aa9b4d86e3f79d494a4c7463c
[INFO] running `Command { std: "docker" "start" "-a" "2c508fb731141e1cc834fc2b5c7fd40ae017b35aa9b4d86e3f79d494a4c7463c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking vuot v0.0.1
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking colored v3.0.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking clap_builder v4.5.37
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking tokio v1.45.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking clap v4.5.37
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking pawc v0.1.9 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer`
[INFO] [stdout]  --> src/parser/parser.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::lexer::lexer::Lexer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Add`, `And`, `Div`, `EqEq`, `Ge`, `Gt`, `Le`, `Lt`, `Mod`, `Mul`, `NotEq`, `Or`, and `Sub`
[INFO] [stdout]  --> src/semantic/types.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ast::expr::BinaryOp::{Add, And, Div, EqEq, Ge, Gt, Le, Lt, Mod, Mul, NotEq, Or, Sub};
[INFO] [stdout]   |                                  ^^^  ^^^  ^^^  ^^^^  ^^  ^^  ^^  ^^  ^^^  ^^^  ^^^^^  ^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer`
[INFO] [stdout]  --> src/parser/parser.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::lexer::lexer::Lexer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Add`, `And`, `Div`, `EqEq`, `Ge`, `Gt`, `Le`, `Lt`, `Mod`, `Mul`, `NotEq`, `Or`, and `Sub`
[INFO] [stdout]  --> src/semantic/types.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ast::expr::BinaryOp::{Add, And, Div, EqEq, Ge, Gt, Le, Lt, Mod, Mul, NotEq, Or, Sub};
[INFO] [stdout]   |                                  ^^^  ^^^  ^^^  ^^^^  ^^  ^^  ^^  ^^  ^^^  ^^^  ^^^^^  ^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/interpreter/interpreter.rs:195:20
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 if let Value(inner_arc) = cond_val.clone() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/interpreter/interpreter.rs:195:20
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 if let Value(inner_arc) = cond_val.clone() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/interpreter/interpreter.rs:720:20
[INFO] [stdout]     |
[INFO] [stdout] 720 |                 if let Value(inner_arc) = val.clone() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/interpreter/interpreter.rs:720:20
[INFO] [stdout]     |
[INFO] [stdout] 720 |                 if let Value(inner_arc) = val.clone() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/semantic/type_checker.rs:81:21
[INFO] [stdout]    |
[INFO] [stdout] 81 |                 let mut declared_ty = match PawType::from_str(declared_str) {
[INFO] [stdout]    |                     ----^^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `As` is never constructed
[INFO] [stdout]   --> src/ast/expr.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub enum BinaryOp {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 94 |     As,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BinaryOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `LengthArr` is never constructed
[INFO] [stdout]   --> src/ast/method.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub enum Method {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 15 |     LengthArr,   // 避免跟 String.length 冲突
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Method` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `snippet` is never read
[INFO] [stdout]   --> src/error/error.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     Internal {
[INFO] [stdout]    |     -------- field in this variant
[INFO] [stdout] ...
[INFO] [stdout] 84 |         snippet: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PawError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Custom` is never constructed
[INFO] [stdout]   --> src/error/error.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub enum PawError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 65 |     Custom {
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PawError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `unary_op` is never used
[INFO] [stdout]   --> src/interpreter/env.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Env {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn unary_op(&self, op: &str, v: Value, file: &str) -> Result<Value, PawError> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/interpreter/value.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Function {
[INFO] [stdout]    |     -------- field in this variant
[INFO] [stdout] 27 |         name: Arc<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ValueInner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Future` and `Optional` are never constructed
[INFO] [stdout]   --> src/interpreter/value.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum ValueInner {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |     Future(Arc<Mutex<Pin<Box<dyn Future<Output=Result<Value, PawError>> + Send>>>>),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 34 |     Null,
[INFO] [stdout] 35 |     Optional(Arc<Option<Value>>),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ValueInner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `Optional` and `Future` are never used
[INFO] [stdout]    --> src/interpreter/value.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 76  | impl Value {
[INFO] [stdout]     | ---------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn Optional(o: Option<Value>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn Future(
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_array` is never used
[INFO] [stdout]    --> src/interpreter/value.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl Value {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn into_array(self) -> Option<Vec<Value>> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Comment` is never constructed
[INFO] [stdout]   --> src/lexer/token.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub enum TokenKind {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 50 |     Comment(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `kind`, `line`, and `column` are never used
[INFO] [stdout]   --> src/lexer/token.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl Token {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn kind(&self) -> &TokenKind {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn line(&self) -> usize { self.line }
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 72 |     pub fn column(&self) -> usize { self.column }
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `define_module` is never used
[INFO] [stdout]   --> src/semantic/scope.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Scope {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn define_module(&mut self, alias: &str, line: usize, col: usize, file: &str) -> Result<(), PawError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Int` should have a snake case name
[INFO] [stdout]   --> src/interpreter/value.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn Int(v: i32) -> Self {
[INFO] [stdout]    |            ^^^ help: convert the identifier to snake case (notice the capitalization): `int`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Long` should have a snake case name
[INFO] [stdout]   --> src/interpreter/value.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 |     pub fn Long(v: i64) -> Self {
[INFO] [stdout]    |            ^^^^ help: convert the identifier to snake case: `long`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Float` should have a snake case name
[INFO] [stdout]   --> src/interpreter/value.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub fn Float(v: f32) -> Self {
[INFO] [stdout]    |            ^^^^^ help: convert the identifier to snake case (notice the capitalization): `float`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Double` should have a snake case name
[INFO] [stdout]   --> src/interpreter/value.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pub fn Double(v: f64) -> Self {
[INFO] [stdout]    |            ^^^^^^ help: convert the identifier to snake case: `double`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Bool` should have a snake case name
[INFO] [stdout]   --> src/interpreter/value.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn Bool(v: bool) -> Self {
[INFO] [stdout]    |            ^^^^ help: convert the identifier to snake case: `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Char` should have a snake case name
[INFO] [stdout]   --> src/interpreter/value.rs:98:12
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn Char(v: char) -> Self {
[INFO] [stdout]    |            ^^^^ help: convert the identifier to snake case (notice the capitalization): `char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `String` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn String<S: Into<String>>(s: S) -> Self {
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Array` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub fn Array(v: Vec<Value>) -> Self {
[INFO] [stdout]     |            ^^^^^ help: convert the identifier to snake case: `array`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Record` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn Record(m: AHashMap<String, Value>) -> Self {
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case: `record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Module` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn Module(m: AHashMap<String, Value>) -> Self {
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case: `module`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Null` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub fn Null() -> Self {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to snake case: `null`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Optional` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn Optional(o: Option<Value>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `optional`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Function` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn Function(
[INFO] [stdout]     |            ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `function`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Future` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub fn Future(
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/semantic/type_checker.rs:81:21
[INFO] [stdout]    |
[INFO] [stdout] 81 |                 let mut declared_ty = match PawType::from_str(declared_str) {
[INFO] [stdout]    |                     ----^^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `As` is never constructed
[INFO] [stdout]   --> src/ast/expr.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub enum BinaryOp {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 94 |     As,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BinaryOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `LengthArr` is never constructed
[INFO] [stdout]   --> src/ast/method.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub enum Method {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 15 |     LengthArr,   // 避免跟 String.length 冲突
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Method` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `snippet` is never read
[INFO] [stdout]   --> src/error/error.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     Internal {
[INFO] [stdout]    |     -------- field in this variant
[INFO] [stdout] ...
[INFO] [stdout] 84 |         snippet: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PawError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Custom` is never constructed
[INFO] [stdout]   --> src/error/error.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub enum PawError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 65 |     Custom {
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PawError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `unary_op` is never used
[INFO] [stdout]   --> src/interpreter/env.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Env {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn unary_op(&self, op: &str, v: Value, file: &str) -> Result<Value, PawError> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/interpreter/value.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Function {
[INFO] [stdout]    |     -------- field in this variant
[INFO] [stdout] 27 |         name: Arc<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ValueInner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Future` and `Optional` are never constructed
[INFO] [stdout]   --> src/interpreter/value.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum ValueInner {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |     Future(Arc<Mutex<Pin<Box<dyn Future<Output=Result<Value, PawError>> + Send>>>>),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 34 |     Null,
[INFO] [stdout] 35 |     Optional(Arc<Option<Value>>),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ValueInner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `Optional` and `Future` are never used
[INFO] [stdout]    --> src/interpreter/value.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 76  | impl Value {
[INFO] [stdout]     | ---------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn Optional(o: Option<Value>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn Future(
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_array` is never used
[INFO] [stdout]    --> src/interpreter/value.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl Value {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn into_array(self) -> Option<Vec<Value>> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Comment` is never constructed
[INFO] [stdout]   --> src/lexer/token.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub enum TokenKind {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 50 |     Comment(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `kind`, `line`, and `column` are never used
[INFO] [stdout]   --> src/lexer/token.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl Token {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn kind(&self) -> &TokenKind {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn line(&self) -> usize { self.line }
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 72 |     pub fn column(&self) -> usize { self.column }
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `define_module` is never used
[INFO] [stdout]   --> src/semantic/scope.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Scope {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn define_module(&mut self, alias: &str, line: usize, col: usize, file: &str) -> Result<(), PawError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Int` should have a snake case name
[INFO] [stdout]   --> src/interpreter/value.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn Int(v: i32) -> Self {
[INFO] [stdout]    |            ^^^ help: convert the identifier to snake case (notice the capitalization): `int`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Long` should have a snake case name
[INFO] [stdout]   --> src/interpreter/value.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 |     pub fn Long(v: i64) -> Self {
[INFO] [stdout]    |            ^^^^ help: convert the identifier to snake case: `long`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Float` should have a snake case name
[INFO] [stdout]   --> src/interpreter/value.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub fn Float(v: f32) -> Self {
[INFO] [stdout]    |            ^^^^^ help: convert the identifier to snake case (notice the capitalization): `float`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Double` should have a snake case name
[INFO] [stdout]   --> src/interpreter/value.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pub fn Double(v: f64) -> Self {
[INFO] [stdout]    |            ^^^^^^ help: convert the identifier to snake case: `double`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Bool` should have a snake case name
[INFO] [stdout]   --> src/interpreter/value.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn Bool(v: bool) -> Self {
[INFO] [stdout]    |            ^^^^ help: convert the identifier to snake case: `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Char` should have a snake case name
[INFO] [stdout]   --> src/interpreter/value.rs:98:12
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn Char(v: char) -> Self {
[INFO] [stdout]    |            ^^^^ help: convert the identifier to snake case (notice the capitalization): `char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `String` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn String<S: Into<String>>(s: S) -> Self {
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Array` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub fn Array(v: Vec<Value>) -> Self {
[INFO] [stdout]     |            ^^^^^ help: convert the identifier to snake case: `array`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Record` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn Record(m: AHashMap<String, Value>) -> Self {
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case: `record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Module` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn Module(m: AHashMap<String, Value>) -> Self {
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case: `module`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Null` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub fn Null() -> Self {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to snake case: `null`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Optional` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn Optional(o: Option<Value>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `optional`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Function` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn Function(
[INFO] [stdout]     |            ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `function`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Future` should have a snake case name
[INFO] [stdout]    --> src/interpreter/value.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub fn Future(
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.20s
[INFO] running `Command { std: "docker" "inspect" "2c508fb731141e1cc834fc2b5c7fd40ae017b35aa9b4d86e3f79d494a4c7463c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c508fb731141e1cc834fc2b5c7fd40ae017b35aa9b4d86e3f79d494a4c7463c", kill_on_drop: false }`
[INFO] [stdout] 2c508fb731141e1cc834fc2b5c7fd40ae017b35aa9b4d86e3f79d494a4c7463c
