[INFO] cloning repository https://github.com/mindspice/some-lispy-lang-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mindspice/some-lispy-lang-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindspice%2Fsome-lispy-lang-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindspice%2Fsome-lispy-lang-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 324cea4647cfdca74f69c35579f373fbb7da8b20 [INFO] checking mindspice/some-lispy-lang-rs against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindspice%2Fsome-lispy-lang-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mindspice/some-lispy-lang-rs on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mindspice/some-lispy-lang-rs [INFO] finished tweaking git repo https://github.com/mindspice/some-lispy-lang-rs [INFO] tweaked toml for git repo https://github.com/mindspice/some-lispy-lang-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mindspice/some-lispy-lang-rs 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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "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] Downloading crates ... [INFO] [stderr] Downloaded intmap v2.0.0 [INFO] [stderr] Downloaded backtrace-on-stack-overflow v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 768947a28d34800deb814a20ffac3c910f8830370b39cc33c34e167f33dc5c0b [INFO] running `Command { std: "docker" "start" "-a" "768947a28d34800deb814a20ffac3c910f8830370b39cc33c34e167f33dc5c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "768947a28d34800deb814a20ffac3c910f8830370b39cc33c34e167f33dc5c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768947a28d34800deb814a20ffac3c910f8830370b39cc33c34e167f33dc5c0b", kill_on_drop: false }` [INFO] [stdout] 768947a28d34800deb814a20ffac3c910f8830370b39cc33c34e167f33dc5c0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0e90b3ff8e37b8c91424c88a4fad32644b19ca3945a56149e2638c1bb52afd4 [INFO] running `Command { std: "docker" "start" "-a" "c0e90b3ff8e37b8c91424c88a4fad32644b19ca3945a56149e2638c1bb52afd4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking intmap v2.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lang v0.1.0 (/opt/rustwide/workdir/src/lang) [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking lasso v0.7.2 [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir/src/parse) [INFO] [stdout] warning: unused imports: `ExprContext` and `SymbolCtx` [INFO] [stdout] --> src/parse/src/ast.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::environment::{ExprContext, ResData, SymbolCtx}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/parse/src/code_gen.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/parse/src/code_gen.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/parse/src/resolution.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/parse/src/resolution.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FuncType` [INFO] [stdout] --> src/parse/src/resolution.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::types::{FuncType, Type}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::code_gen::GenData` [INFO] [stdout] --> src/parse/src/resolution.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::code_gen::GenData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode` [INFO] [stdout] --> src/parse/src/environment.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::op_codes::{decode, OpCode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parse/src/parser.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 98 | panic!("Parenthesis should be advanced via consume paren function"); [INFO] [stdout] | -------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 99 | return Err("Parenthesis should only be advanced via consume paren function".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parse/src/parser.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 119 | panic!("Expected: {:?}, Found: {:?}", token_type, self.peek()); [INFO] [stdout] | -------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 120 | return Err(format!("Expected: {:?}, Found: {:?}", token_type, self.peek())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parse/src/parser.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 149 | panic!("Expected: Left Bracket, Found: {:?}", self.peek()); [INFO] [stdout] | ---------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 150 | return Err(format!("Expected: Left Bracket, Found: {:?}", self.peek())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parse/src/parser.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 159 | panic!("Expected: Right Bracket, Found: {:?}", self.peek()); [INFO] [stdout] | ----------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 160 | return Err(format!("Expected: Right Bracket, Found: {:?}", self.peek())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parse/src/parser.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 253 | panic!("{:?}", &self.peek()); [INFO] [stdout] | ---------------------------- any code following this expression is unreachable [INFO] [stdout] 254 | Err(format!("Unexpected token: {:?}", &self.peek())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parse/src/parser.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 683 | panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 684 | Err(format!("Expected Type Identifier, Found: {:?}", curr_token).to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExprContext` and `SymbolCtx` [INFO] [stdout] --> src/parse/src/ast.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::environment::{ExprContext, ResData, SymbolCtx}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/parse/src/code_gen.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/parse/src/code_gen.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/parse/src/resolution.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/parse/src/resolution.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FuncType` [INFO] [stdout] --> src/parse/src/resolution.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::types::{FuncType, Type}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::code_gen::GenData` [INFO] [stdout] --> src/parse/src/resolution.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::code_gen::GenData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode` [INFO] [stdout] --> src/parse/src/environment.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::op_codes::{decode, OpCode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parse/src/parser.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 98 | panic!("Parenthesis should be advanced via consume paren function"); [INFO] [stdout] | -------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 99 | return Err("Parenthesis should only be advanced via consume paren function".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parse/src/parser.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 119 | panic!("Expected: {:?}, Found: {:?}", token_type, self.peek()); [INFO] [stdout] | -------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 120 | return Err(format!("Expected: {:?}, Found: {:?}", token_type, self.peek())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parse/src/parser.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 149 | panic!("Expected: Left Bracket, Found: {:?}", self.peek()); [INFO] [stdout] | ---------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 150 | return Err(format!("Expected: Left Bracket, Found: {:?}", self.peek())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parse/src/parser.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 159 | panic!("Expected: Right Bracket, Found: {:?}", self.peek()); [INFO] [stdout] | ----------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 160 | return Err(format!("Expected: Right Bracket, Found: {:?}", self.peek())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parse/src/parser.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 253 | panic!("{:?}", &self.peek()); [INFO] [stdout] | ---------------------------- any code following this expression is unreachable [INFO] [stdout] 254 | Err(format!("Unexpected token: {:?}", &self.peek())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parse/src/parser.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 683 | panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 684 | Err(format!("Expected Type Identifier, Found: {:?}", curr_token).to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/parse/src/parser.rs:678:17 [INFO] [stdout] | [INFO] [stdout] 678 | let mut types = Vec::::with_capacity(4); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/parser.rs:678:13 [INFO] [stdout] | [INFO] [stdout] 678 | let mut types = Vec::::with_capacity(4); [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: unused variable: `base_type` [INFO] [stdout] --> src/parse/src/parser.rs:741:36 [INFO] [stdout] | [INFO] [stdout] 741 | fn parse_array_type(&mut self, base_type: IString) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/parse/src/parser.rs:678:17 [INFO] [stdout] | [INFO] [stdout] 678 | let mut types = Vec::::with_capacity(4); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/parser.rs:678:13 [INFO] [stdout] | [INFO] [stdout] 678 | let mut types = Vec::::with_capacity(4); [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: unused variable: `base_type` [INFO] [stdout] --> src/parse/src/parser.rs:741:36 [INFO] [stdout] | [INFO] [stdout] 741 | fn parse_array_type(&mut self, base_type: IString) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/code_gen.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let mut ns = comp_unit.meta_space.get_ns_by_id(comp_unit.curr_ns); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/code_gen.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | AstData::LitInteger(data) => gen_numerical_lit(node.node_data, res_data, comp_unit), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/code_gen.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | AstData::LitFloat(data) => gen_numerical_lit(node.node_data, res_data, comp_unit), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/code_gen.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | AstData::LitBoolean(data) => gen_numerical_lit(node.node_data, res_data, comp_unit), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_unit` [INFO] [stdout] --> src/parse/src/code_gen.rs:204:63 [INFO] [stdout] | [INFO] [stdout] 204 | fn gen_literal_call(data: LiteralCallData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_data` [INFO] [stdout] --> src/parse/src/code_gen.rs:283:29 [INFO] [stdout] | [INFO] [stdout] 283 | fn gen_cons(data: ConsData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_data` [INFO] [stdout] --> src/parse/src/code_gen.rs:298:31 [INFO] [stdout] | [INFO] [stdout] 298 | fn gen_list_new(data: OpData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/code_gen.rs:364:24 [INFO] [stdout] | [INFO] [stdout] 364 | fn gen_inner_func_call(data: InnerFuncCallData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_data` [INFO] [stdout] --> src/parse/src/code_gen.rs:364:49 [INFO] [stdout] | [INFO] [stdout] 364 | fn gen_inner_func_call(data: InnerFuncCallData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_unit` [INFO] [stdout] --> src/parse/src/code_gen.rs:364:68 [INFO] [stdout] | [INFO] [stdout] 364 | fn gen_inner_func_call(data: InnerFuncCallData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/code_gen.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let mut ns = comp_unit.meta_space.get_ns_by_id(comp_unit.curr_ns); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/code_gen.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | AstData::LitInteger(data) => gen_numerical_lit(node.node_data, res_data, comp_unit), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/code_gen.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | AstData::LitFloat(data) => gen_numerical_lit(node.node_data, res_data, comp_unit), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_data` [INFO] [stdout] --> src/parse/src/code_gen.rs:549:32 [INFO] [stdout] | [INFO] [stdout] 549 | fn gen_operation(data: OpData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/code_gen.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | AstData::LitBoolean(data) => gen_numerical_lit(node.node_data, res_data, comp_unit), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_unit` [INFO] [stdout] --> src/parse/src/code_gen.rs:204:63 [INFO] [stdout] | [INFO] [stdout] 204 | fn gen_literal_call(data: LiteralCallData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_data` [INFO] [stdout] --> src/parse/src/code_gen.rs:283:29 [INFO] [stdout] | [INFO] [stdout] 283 | fn gen_cons(data: ConsData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_data` [INFO] [stdout] --> src/parse/src/code_gen.rs:298:31 [INFO] [stdout] | [INFO] [stdout] 298 | fn gen_list_new(data: OpData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/code_gen.rs:364:24 [INFO] [stdout] | [INFO] [stdout] 364 | fn gen_inner_func_call(data: InnerFuncCallData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_data` [INFO] [stdout] --> src/parse/src/code_gen.rs:364:49 [INFO] [stdout] | [INFO] [stdout] 364 | fn gen_inner_func_call(data: InnerFuncCallData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_unit` [INFO] [stdout] --> src/parse/src/code_gen.rs:364:68 [INFO] [stdout] | [INFO] [stdout] 364 | fn gen_inner_func_call(data: InnerFuncCallData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_data` [INFO] [stdout] --> src/parse/src/code_gen.rs:549:32 [INFO] [stdout] | [INFO] [stdout] 549 | fn gen_operation(data: OpData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/resolution.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn resolve_types(mut parse_result: &mut ParseResult, mut env: Environment) -> bool { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/resolution.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn resolve_types(mut parse_result: &mut ParseResult, mut env: Environment) -> bool { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn resolve_def_struct(data: &mut DefStructData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/parse/src/resolution.rs:190:53 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn resolve_def_struct(data: &mut DefStructData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:195:26 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn resolve_def_class(data: &mut DefClassData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/parse/src/resolution.rs:195:51 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn resolve_def_class(data: &mut DefClassData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | let type_id = env.meta_space.types.get_or_define_type(&resolved_type); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let type_id = env.meta_space.types.get_or_define_type(&resolved_type); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn resolve_def_struct(data: &mut DefStructData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/parse/src/resolution.rs:190:53 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn resolve_def_struct(data: &mut DefStructData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:195:26 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn resolve_def_class(data: &mut DefClassData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/parse/src/resolution.rs:195:51 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn resolve_def_class(data: &mut DefClassData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | let type_id = env.meta_space.types.get_or_define_type(&resolved_type); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let type_id = env.meta_space.types.get_or_define_type(&resolved_type); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let type_id = env.meta_space.types.void; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let type_id = env.meta_space.types.void; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | let type_id = env.meta_space.types.get_or_define_type(&expr_type); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let type_id = env.meta_space.types.get_or_define_type(&base_type); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | let type_id = env.meta_space.types.get_or_define_type(&Type::Void); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | let type_id = env.meta_space.types.get_or_define_type(&expr_type); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let type_id = env.meta_space.types.get_or_define_type(&base_type); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | let type_id = env.meta_space.types.get_or_define_type(&Type::Void); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | let type_id = env.meta_space.types.get_or_define_type(&body_type); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:387:26 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn resolve_expr_cons(data: &mut ConsData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:395:31 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn resolve_expr_pair_list(data: &mut OpData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | let type_id = env.meta_space.types.get_or_define_type(&base_type); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | let type_id = env.meta_space.types.get_type_id(&typ); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:493:25 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn resolve_obj_call(data: &mut ObjectCallData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/parse/src/resolution.rs:493:52 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn resolve_obj_call(data: &mut ObjectCallData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:511:27 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn resolve_obj_assign(data: &mut ObjectAssignData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/parse/src/resolution.rs:511:56 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn resolve_obj_assign(data: &mut ObjectAssignData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | let type_id = if data.is_float { env.meta_space.types.float } else { env.meta_space.types.int }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:526:28 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn resolve_direct_inst(data: &mut DirectInst, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/parse/src/resolution.rs:526:51 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn resolve_direct_inst(data: &mut DirectInst, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:531:26 [INFO] [stdout] | [INFO] [stdout] 531 | pub fn resolve_init_inst(data: &mut FuncCallData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/parse/src/resolution.rs:531:51 [INFO] [stdout] | [INFO] [stdout] 531 | pub fn resolve_init_inst(data: &mut FuncCallData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resolved` is assigned to, but never used [INFO] [stdout] --> src/parse/src/resolution.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | let mut resolved = true; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_resolved` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `resolved` is never read [INFO] [stdout] --> src/parse/src/resolution.rs:545:33 [INFO] [stdout] | [INFO] [stdout] 545 | Type::Unresolved => resolved = false, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `resolved` is never read [INFO] [stdout] --> src/parse/src/resolution.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | resolved = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | let type_id = env.meta_space.types.get_type_id(&typ); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | let type_id = env.meta_space.types.get_or_define_type(&body_type); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | let type_id = env.meta_space.types.get_type_id(&typ); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:387:26 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn resolve_expr_cons(data: &mut ConsData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:395:31 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn resolve_expr_pair_list(data: &mut OpData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | let type_id = env.meta_space.types.get_or_define_type(&base_type); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | let type_id = env.meta_space.types.get_type_id(&typ); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:493:25 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn resolve_obj_call(data: &mut ObjectCallData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/parse/src/resolution.rs:493:52 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn resolve_obj_call(data: &mut ObjectCallData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/environment.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut ns = self.namespaces.get_mut(ns_id as usize) [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/environment.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut ns = self.namespaces.get(ns_id as usize) [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:511:27 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn resolve_obj_assign(data: &mut ObjectAssignData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/environment.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut ns = self.namespaces.get_mut(ns_id as usize) [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/environment.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut ns = self.namespaces.get_mut(ns_id as usize) [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/environment.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut ns = self.namespaces.get_mut(env_ctx.ns as usize) [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/environment.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut ns = self.namespaces.get_mut(ns_id as usize) [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> src/parse/src/environment.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let class = if let Some(ObjectMeta::Class(class) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/parse/src/resolution.rs:511:56 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn resolve_obj_assign(data: &mut ObjectAssignData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | let type_id = if data.is_float { env.meta_space.types.float } else { env.meta_space.types.int }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:526:28 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn resolve_direct_inst(data: &mut DirectInst, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/parse/src/resolution.rs:526:51 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn resolve_direct_inst(data: &mut DirectInst, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/parse/src/resolution.rs:531:26 [INFO] [stdout] | [INFO] [stdout] 531 | pub fn resolve_init_inst(data: &mut FuncCallData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/parse/src/resolution.rs:531:51 [INFO] [stdout] | [INFO] [stdout] 531 | pub fn resolve_init_inst(data: &mut FuncCallData, env: &mut Environment) -> Result, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resolved` is assigned to, but never used [INFO] [stdout] --> src/parse/src/resolution.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | let mut resolved = true; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_resolved` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `resolved` is never read [INFO] [stdout] --> src/parse/src/resolution.rs:545:33 [INFO] [stdout] | [INFO] [stdout] 545 | Type::Unresolved => resolved = false, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `resolved` is never read [INFO] [stdout] --> src/parse/src/resolution.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | resolved = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | let type_id = env.meta_space.types.get_type_id(&typ); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/resolution.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | let type_id = env.meta_space.types.get_type_id(&typ); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/environment.rs:670:13 [INFO] [stdout] | [INFO] [stdout] 670 | let type_id = self.meta_space.types.get_or_define_type(&typ); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/environment.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut ns = self.namespaces.get_mut(ns_id as usize) [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/environment.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut ns = self.namespaces.get(ns_id as usize) [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/environment.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut ns = self.namespaces.get_mut(ns_id as usize) [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex_type` is never used [INFO] [stdout] --> src/parse/src/lexer.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn lex_type(state: &mut SynicalState) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `match_token` is never used [INFO] [stdout] --> src/parse/src/parser.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ParserState { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn match_token(&mut self, tokens: &[TokenType]) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/environment.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut ns = self.namespaces.get_mut(ns_id as usize) [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_inner_func_call` is never used [INFO] [stdout] --> src/parse/src/code_gen.rs:364:4 [INFO] [stdout] | [INFO] [stdout] 364 | fn gen_inner_func_call(data: InnerFuncCallData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_num_const_op` is never used [INFO] [stdout] --> src/parse/src/code_gen.rs:533:4 [INFO] [stdout] | [INFO] [stdout] 533 | fn gen_num_const_op(value: i64, typ: u16) -> GenData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/environment.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut ns = self.namespaces.get_mut(env_ctx.ns as usize) [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/src/environment.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut ns = self.namespaces.get_mut(ns_id as usize) [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> src/parse/src/environment.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let class = if let Some(ObjectMeta::Class(class) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_id` [INFO] [stdout] --> src/parse/src/environment.rs:670:13 [INFO] [stdout] | [INFO] [stdout] 670 | let type_id = self.meta_space.types.get_or_define_type(&typ); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex_type` is never used [INFO] [stdout] --> src/parse/src/lexer.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn lex_type(state: &mut SynicalState) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `match_token` is never used [INFO] [stdout] --> src/parse/src/parser.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ParserState { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn match_token(&mut self, tokens: &[TokenType]) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_inner_func_call` is never used [INFO] [stdout] --> src/parse/src/code_gen.rs:364:4 [INFO] [stdout] | [INFO] [stdout] 364 | fn gen_inner_func_call(data: InnerFuncCallData, res_data: ResData, comp_unit: &mut CompUnit) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_num_const_op` is never used [INFO] [stdout] --> src/parse/src/code_gen.rs:533:4 [INFO] [stdout] | [INFO] [stdout] 533 | fn gen_num_const_op(value: i64, typ: u16) -> GenData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking vm v0.1.0 (/opt/rustwide/workdir/src/vm) [INFO] [stdout] warning: unused imports: `Div` and `Mul` [INFO] [stdout] --> src/vm/src/vm.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, Div, Mul, Sub}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode` [INFO] [stdout] --> src/vm/src/vm.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use parser::op_codes::{decode, OpCode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PermNameSpace` [INFO] [stdout] --> src/vm/src/vm.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use parser::environment::{MetaSpace, PermSpace, PermNameSpace, StackFrame}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div` and `Mul` [INFO] [stdout] --> src/vm/src/vm.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, Div, Mul, Sub}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode` [INFO] [stdout] --> src/vm/src/vm.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use parser::op_codes::{decode, OpCode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PermNameSpace` [INFO] [stdout] --> src/vm/src/vm.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use parser::environment::{MetaSpace, PermSpace, PermNameSpace, StackFrame}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/vm/src/vm.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, Div, Mul, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sub` [INFO] [stdout] --> src/vm/src/vm.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, Div, Mul, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/vm/src/vm.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, Div, Mul, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sub` [INFO] [stdout] --> src/vm/src/vm.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, Div, Mul, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/vm/src/vm.rs:660:25 [INFO] [stdout] | [INFO] [stdout] 660 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/vm/src/vm.rs:660:25 [INFO] [stdout] | [INFO] [stdout] 660 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/vm/src/heap.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `float_cache`, `byte_cache`, and `frame_cnt` are never read [INFO] [stdout] --> src/vm/src/vm.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Vm { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | float_cache: [f64; 256], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | byte_cache: [u8; 2048], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | frame_cnt: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `transmute_op` and `pop_word_to_bytes` are never used [INFO] [stdout] --> src/vm/src/vm.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl Vm { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | unsafe fn transmute_op(ptr: *const u8) -> OpCode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn pop_word_to_bytes(&mut self) -> [u8; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_start` is never read [INFO] [stdout] --> src/vm/src/heap.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Heap { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | items: Vec, [INFO] [stdout] 16 | data_start: *mut u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Heap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_nil_obj`, `insert_item`, and `get_item` are never used [INFO] [stdout] --> src/vm/src/heap.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Heap { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_nil_obj(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn insert_item(&mut self, item: &[u8], typ: u16) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_item(&self, index: u64) -> (*const u8, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/vm/src/heap.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `float_cache`, `byte_cache`, and `frame_cnt` are never read [INFO] [stdout] --> src/vm/src/vm.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Vm { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | float_cache: [f64; 256], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | byte_cache: [u8; 2048], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | frame_cnt: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `transmute_op` and `pop_word_to_bytes` are never used [INFO] [stdout] --> src/vm/src/vm.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl Vm { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | unsafe fn transmute_op(ptr: *const u8) -> OpCode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn pop_word_to_bytes(&mut self) -> [u8; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_start` is never read [INFO] [stdout] --> src/vm/src/heap.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Heap { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | items: Vec, [INFO] [stdout] 16 | data_start: *mut u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Heap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_nil_obj`, `insert_item`, and `get_item` are never used [INFO] [stdout] --> src/vm/src/heap.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Heap { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_nil_obj(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn insert_item(&mut self, item: &[u8], typ: u16) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_item(&self, index: u64) -> (*const u8, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking backtrace-on-stack-overflow v0.3.0 [INFO] [stderr] Checking some-lispy-lang-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `lang::util::SCACHE` [INFO] [stdout] --> src/repl.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lang::util::SCACHE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Lit`, `TokenData`, and `TokenType` [INFO] [stdout] --> src/repl.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use parser::token::{Lit, TokenData, TokenType}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lang::util::SCACHE` [INFO] [stdout] --> src/repl.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lang::util::SCACHE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Lit`, `TokenData`, and `TokenType` [INFO] [stdout] --> src/repl.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use parser::token::{Lit, TokenData, TokenType}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/repl.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let input = "(defunc fib ::F [n ::int] ))) (fib 10) ".to_string(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/repl.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let input = "(defunc dbl ::F [n ::int] (* n 2)) (defunc dbl2 ::F [func ::F val ::int] (func(func(val))... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/repl.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let t = nano_time!(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/repl.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let input = "(defunc fib ::F [n ::int] ))) (fib 10) ".to_string(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/repl.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let input = "(defunc dbl ::F [n ::int] (* n 2)) (defunc dbl2 ::F [func ::F val ::int] (func(func(val))... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/repl.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let t = nano_time!(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.70s [INFO] running `Command { std: "docker" "inspect" "c0e90b3ff8e37b8c91424c88a4fad32644b19ca3945a56149e2638c1bb52afd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0e90b3ff8e37b8c91424c88a4fad32644b19ca3945a56149e2638c1bb52afd4", kill_on_drop: false }` [INFO] [stdout] c0e90b3ff8e37b8c91424c88a4fad32644b19ca3945a56149e2638c1bb52afd4