[INFO] cloning repository https://github.com/AngryBeltMan/Soy-script [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AngryBeltMan/Soy-script" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngryBeltMan%2FSoy-script", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngryBeltMan%2FSoy-script'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d73a252097fd8a443677b6289709b265dbe0c76b [INFO] checking AngryBeltMan/Soy-script/d73a252097fd8a443677b6289709b265dbe0c76b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngryBeltMan%2FSoy-script" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AngryBeltMan/Soy-script on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AngryBeltMan/Soy-script [INFO] finished tweaking git repo https://github.com/AngryBeltMan/Soy-script [INFO] tweaked toml for git repo https://github.com/AngryBeltMan/Soy-script written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AngryBeltMan/Soy-script 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ce1ff379a2aa3d2a95a83298fc0f8a743a3541b27dc6565d575a0cc9fdc8d9c [INFO] running `Command { std: "docker" "start" "-a" "7ce1ff379a2aa3d2a95a83298fc0f8a743a3541b27dc6565d575a0cc9fdc8d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ce1ff379a2aa3d2a95a83298fc0f8a743a3541b27dc6565d575a0cc9fdc8d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ce1ff379a2aa3d2a95a83298fc0f8a743a3541b27dc6565d575a0cc9fdc8d9c", kill_on_drop: false }` [INFO] [stdout] 7ce1ff379a2aa3d2a95a83298fc0f8a743a3541b27dc6565d575a0cc9fdc8d9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab391e7e482c3f2c36763a49dc68b8bdbd683133c921835c2d66973c68a6c6fe [INFO] running `Command { std: "docker" "start" "-a" "ab391e7e482c3f2c36763a49dc68b8bdbd683133c921835c2d66973c68a6c6fe", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking soy_script v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::compiler::parsing::get_scope_tokens` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::parsing::get_scope_tokens; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::lexer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::*` [INFO] [stdout] --> src/lexer/lexer_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::lexer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lexer/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod lexer_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_symbols` [INFO] [stdout] --> src/compiler/keywords/if_statement.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::compiler::symbols::{symbol_to_str, parse_symbols}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::error_msg::*` [INFO] [stdout] --> src/compiler/keywords/if_statement.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::errors::error_msg::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_args` [INFO] [stdout] --> src/compiler/keywords/call.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use super::jsfunc::{get_args, InlinedFuncs}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenType` [INFO] [stdout] --> src/compiler/keywords/repeat.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{lexer::lexer::{Lexer, TokenType, SettingVars}, compiler::{compiler::{Output, parse_lexer}, parsing::get_scope_tokens}, errors... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `keywords::call::parse_keyword_call` [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::{compiler::Output, keywords::call::parse_keyword_call }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `parse_symbols` and `symbol_to_str` [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::compiler::symbols::{symbol_to_str, parse_symbols}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `errors::error_msg::*` [INFO] [stdout] --> src/compiler/symbols/mod.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{lexer::{lexer::*, tokens::*}, errors::error_msg::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::keywords::jsfunc::InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::compiler::*` [INFO] [stdout] --> src/compiler/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::compiler::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::keywords::*` [INFO] [stdout] --> src/compiler/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::keywords::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::parsing::get_scope_tokens` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::parsing::get_scope_tokens; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::lexer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_symbols` [INFO] [stdout] --> src/compiler/keywords/if_statement.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::compiler::symbols::{symbol_to_str, parse_symbols}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::error_msg::*` [INFO] [stdout] --> src/compiler/keywords/if_statement.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::errors::error_msg::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_args` [INFO] [stdout] --> src/compiler/keywords/call.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use super::jsfunc::{get_args, InlinedFuncs}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenType` [INFO] [stdout] --> src/compiler/keywords/repeat.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{lexer::lexer::{Lexer, TokenType, SettingVars}, compiler::{compiler::{Output, parse_lexer}, parsing::get_scope_tokens}, errors... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `keywords::call::parse_keyword_call` [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::{compiler::Output, keywords::call::parse_keyword_call }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `parse_symbols` and `symbol_to_str` [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::compiler::symbols::{symbol_to_str, parse_symbols}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `errors::error_msg::*` [INFO] [stdout] --> src/compiler/symbols/mod.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{lexer::{lexer::*, tokens::*}, errors::error_msg::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::keywords::*` [INFO] [stdout] --> src/compiler/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::keywords::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/keywords/forloops.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_keyword_for(output: &mut Output, lexer: &Lexer, mut lexer_index: usize) -> usize { [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: `output` [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn get_args<'a>(output: &mut Output, lexer: &'a Lexer, lexer_index: &mut usize, func_name: &str) -> Vec<&'a str> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler/symbols/setting_vars.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_setting_var(lexer: &mut Lexer,output: &mut Output, index: usize ) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/parsing.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn collect_until(lexer: &Lexer, mut index: usize, end_token_id: u8 ) -> (String, 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/compiler/parsing.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut contents = String::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SettingVars` is never constructed [INFO] [stdout] --> src/lexer/lexer.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SettingVars { pub vars: Vec } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SettingVars` 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: struct `Lexer` is never constructed [INFO] [stdout] --> src/lexer/lexer.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Lexer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lexer` 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 `SingleSymbol`, `DoubleSymbol`, `Ident`, and `Keyword` are never constructed [INFO] [stdout] --> src/lexer/lexer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 20 | SingleSymbol, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | DoubleSymbol, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | Keyword [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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 function `parse_str` is never used [INFO] [stdout] --> src/lexer/lexer.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Lexer { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 27 | pub fn parse_str(file: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_symbol_id` is never used [INFO] [stdout] --> src/lexer/lexer.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn set_symbol_id(prev_symbol: &mut u8, symbol: u8, character: char ,tokens: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_push_symbol` is never used [INFO] [stdout] --> src/lexer/lexer.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn check_push_symbol(prev_symbol: &mut u8, tokens: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_symbol` is never used [INFO] [stdout] --> src/lexer/lexer.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn push_symbol(tokens: &mut Vec, prev_symbol: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lexer_insert_ident_and_keyword` is never used [INFO] [stdout] --> src/lexer/lexer.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn lexer_insert_ident_and_keyword(ident_string: &mut String, tokens: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERRORINDEXINGLEXER` is never used [INFO] [stdout] --> src/compiler/compiler.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const ERRORINDEXINGLEXER: &str = "ERROR: index out of bounds when parsing file."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Output` is never constructed [INFO] [stdout] --> src/compiler/compiler.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Output` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init` and `end` are never used [INFO] [stdout] --> src/compiler/compiler.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Output { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub fn init() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn end(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_lexer` is never used [INFO] [stdout] --> src/compiler/compiler.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse_lexer(output: &mut Output, mut lexer: Lexer, inlined_funcs: &mut InlinedFuncs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_keyword` is never used [INFO] [stdout] --> src/compiler/keywords/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn match_keyword(lexer: &Lexer,output: &mut Output, inline_data: &mut InlinedFuncs, index: &mut usize, token_id: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INIT_ERROR_MISSING_TOKEN` is never used [INFO] [stdout] --> src/compiler/keywords/init.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const INIT_ERROR_MISSING_TOKEN: &str = "Expected a variable name after the keyword init."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_keyword_init` is never used [INFO] [stdout] --> src/compiler/keywords/init.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_keyword_init(output: &mut Output, lexer: &Lexer, mut lexer_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INIT_ERROR_MISSING_TOKEN` is never used [INFO] [stdout] --> src/compiler/keywords/if_statement.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const INIT_ERROR_MISSING_TOKEN: &str = "Expected a variable name after the keyword init."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_keyword_if` is never used [INFO] [stdout] --> src/compiler/keywords/if_statement.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn parse_keyword_if(output: &mut Output, lexer: &Lexer, inline_funcs: &mut InlinedFuncs, mut lexer_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> src/compiler/keywords/if_statement.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse_args(output: &mut Output, lexer: &Lexer, inline_funcs: &mut InlinedFuncs, mut lexer_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_TOKEN` is never used [INFO] [stdout] --> src/compiler/keywords/functions.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const EXPECTED_TOKEN: &str = "Expected token while parsing keyword func."; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_keyword_func` is never used [INFO] [stdout] --> src/compiler/keywords/functions.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_keyword_func(output: &mut Output, lexer: &Lexer, mut lexer_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> src/compiler/keywords/functions.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_args(lexer: &Lexer, lexer_index: &mut usize, output: &mut Output) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_keyword_call` is never used [INFO] [stdout] --> src/compiler/keywords/call.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_keyword_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> src/compiler/keywords/call.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn parse_args( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_inline_call` is never used [INFO] [stdout] --> src/compiler/keywords/call.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn check_inline_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args_inlined` is never used [INFO] [stdout] --> src/compiler/keywords/call.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn parse_args_inlined( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_TOKEN_ARG1` is never used [INFO] [stdout] --> src/compiler/keywords/repeat.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const EXPECTED_TOKEN_ARG1: &str = "Expected token while paring first argument for keyword repeat."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_IDENT_ARG1` is never used [INFO] [stdout] --> src/compiler/keywords/repeat.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const EXPECTED_IDENT_ARG1: &str = "ERROR: expected ident while parsing first argument for keyword repeat"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_TOKEN_ARG2` is never used [INFO] [stdout] --> src/compiler/keywords/repeat.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const EXPECTED_TOKEN_ARG2: &str = "Expected token while paring second argument for keyword repeat."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_IDENT_ARG2` is never used [INFO] [stdout] --> src/compiler/keywords/repeat.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const EXPECTED_IDENT_ARG2: &str = "ERROR: expected ident while parsing second argument for keyword repeat"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_USIZE` is never used [INFO] [stdout] --> src/compiler/keywords/repeat.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const EXPECTED_USIZE: &str = "ERROR: expected ident while parsing second argument for keyword repeat"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_keyword_repeat` is never used [INFO] [stdout] --> src/compiler/keywords/repeat.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_keyword_repeat(output: &mut Output, lexer: &Lexer, inline_funcs: &mut InlinedFuncs, mut index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_VAR` is never used [INFO] [stdout] --> src/compiler/keywords/forloops.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const EXPECTED_VAR: &str = "Expected a variable while parsing the keyword for."; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_ARROW` is never used [INFO] [stdout] --> src/compiler/keywords/forloops.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const EXPECTED_ARROW: &str = "Expected token arrow while parsing the keyword for."; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_START` is never used [INFO] [stdout] --> src/compiler/keywords/forloops.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const EXPECTED_START: &str = "Expected an integer/var while parsing the start range keyword for."; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_END` is never used [INFO] [stdout] --> src/compiler/keywords/forloops.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const EXPECTED_END: &str = "Expected an integer/var while parsing the end range keyword for."; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_keyword_for` is never used [INFO] [stdout] --> src/compiler/keywords/forloops.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_keyword_for(output: &mut Output, lexer: &Lexer, mut lexer_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_FNNAME` is never used [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const EXPECTED_FNNAME: &str = "Expected ident for jsfunc name."; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_PARENT` is never used [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const EXPECTED_PARENT: &str = "Expected token type parenthesis after jsfunc name."; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_BODY` is never used [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const EXPECTED_BODY: &str = "Expected function body when parsing jsfunc."; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsFunc` is never constructed [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct JsFunc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsFunc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InlinedFuncs` is never constructed [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct InlinedFuncs { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InlinedFuncs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl InlinedFuncs { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 26 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_keyword_jsfunc` is never used [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn parse_keyword_jsfunc(output: &mut Output, lexer: &Lexer, inline_funcs: &mut InlinedFuncs, mut lexer_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_js_func_inlined` is never used [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn parse_js_func_inlined(output: &mut Output, lexer: &Lexer, inline_funcs: &mut InlinedFuncs, mut lexer_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_args` is never used [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn get_args<'a>(output: &mut Output, lexer: &'a Lexer, lexer_index: &mut usize, func_name: &str) -> Vec<&'a str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_symbols` is never used [INFO] [stdout] --> src/compiler/symbols/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_symbols(lexer: &mut Lexer, index: usize, output: &mut Output) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `symbol_to_str` is never used [INFO] [stdout] --> src/compiler/symbols/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn symbol_to_str<'a>(token_id: u8) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SETTINGEXPECTEDIDENT` is never used [INFO] [stdout] --> src/compiler/symbols/setting_vars.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const SETTINGEXPECTEDIDENT: &str = "ERROR: Expected ident after token at sign"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_setting_var` is never used [INFO] [stdout] --> src/compiler/symbols/setting_vars.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_setting_var(lexer: &mut Lexer,output: &mut Output, index: usize ) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_until` is never used [INFO] [stdout] --> src/compiler/parsing.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn collect_until(lexer: &Lexer, mut index: usize, end_token_id: u8 ) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_scope_tokens` is never used [INFO] [stdout] --> src/compiler/parsing.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn get_scope_tokens<'a>(lexer: &'a Lexer, index: &mut usize) -> Vec<&'a Token> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LexerError` is never used [INFO] [stdout] --> src/errors/error_msg.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum LexerError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/errors/error_msg.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum CompilerError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 8 | ExpectedIdent, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | ExpectedSymbol, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | ExpectedUnsignedInteger, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | ExpectedToken, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | UnknownInlineFunc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | IncorrectAmountOfArgs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | UnclosedFunction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_or_error` is never used [INFO] [stdout] --> src/errors/error_msg.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait UnwrapMsg { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 17 | type ReturnItem; [INFO] [stdout] 18 | fn unwrap_or_error(self, error: CompilerError, msg: &str) -> Self::ReturnItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compiler_assert` is never used [INFO] [stdout] --> src/errors/error_msg.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn compiler_assert(cmp: bool,error: CompilerError, msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compiler_panic` is never used [INFO] [stdout] --> src/errors/error_msg.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn compiler_panic(error: CompilerError, msg: &str) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 75 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/keywords/forloops.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_keyword_for(output: &mut Output, lexer: &Lexer, mut lexer_index: usize) -> usize { [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: `output` [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn get_args<'a>(output: &mut Output, lexer: &'a Lexer, lexer_index: &mut usize, func_name: &str) -> Vec<&'a str> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler/symbols/setting_vars.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_setting_var(lexer: &mut Lexer,output: &mut Output, index: usize ) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/parsing.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn collect_until(lexer: &Lexer, mut index: usize, end_token_id: u8 ) -> (String, 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/compiler/parsing.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut contents = String::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INIT_ERROR_MISSING_TOKEN` is never used [INFO] [stdout] --> src/compiler/keywords/if_statement.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const INIT_ERROR_MISSING_TOKEN: &str = "Expected a variable name after the keyword init."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_IDENT_ARG1` is never used [INFO] [stdout] --> src/compiler/keywords/repeat.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const EXPECTED_IDENT_ARG1: &str = "ERROR: expected ident while parsing first argument for keyword repeat"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_IDENT_ARG2` is never used [INFO] [stdout] --> src/compiler/keywords/repeat.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const EXPECTED_IDENT_ARG2: &str = "ERROR: expected ident while parsing second argument for keyword repeat"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `js_macros` is never read [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct InlinedFuncs { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub js_macros: HashMap<&'static str, JsFunc> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InlinedFuncs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_until` is never used [INFO] [stdout] --> src/compiler/parsing.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn collect_until(lexer: &Lexer, mut index: usize, end_token_id: u8 ) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LexerError` is never used [INFO] [stdout] --> src/errors/error_msg.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum LexerError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnknownInlineFunc` is never constructed [INFO] [stdout] --> src/errors/error_msg.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum CompilerError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | UnknownInlineFunc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "ab391e7e482c3f2c36763a49dc68b8bdbd683133c921835c2d66973c68a6c6fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab391e7e482c3f2c36763a49dc68b8bdbd683133c921835c2d66973c68a6c6fe", kill_on_drop: false }` [INFO] [stdout] ab391e7e482c3f2c36763a49dc68b8bdbd683133c921835c2d66973c68a6c6fe