[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 try#ccf408f4326a858c00dd845a64a86b16f360a801 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AngryBeltMan/Soy-script on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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-tc2/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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acf43daa44c86b4841369b5ea6b6db74d8353290d5be286c2cd756aa3133f1c8 [INFO] running `Command { std: "docker" "start" "-a" "acf43daa44c86b4841369b5ea6b6db74d8353290d5be286c2cd756aa3133f1c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acf43daa44c86b4841369b5ea6b6db74d8353290d5be286c2cd756aa3133f1c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf43daa44c86b4841369b5ea6b6db74d8353290d5be286c2cd756aa3133f1c8", kill_on_drop: false }` [INFO] [stdout] acf43daa44c86b4841369b5ea6b6db74d8353290d5be286c2cd756aa3133f1c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85a3c2692e64edae586ba65ba3c4fcdc779ceeed0a765591163226950a48ea7a [INFO] running `Command { std: "docker" "start" "-a" "85a3c2692e64edae586ba65ba3c4fcdc779ceeed0a765591163226950a48ea7a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking soy_script v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/compiler/keywords/if_statement.rs (2 fixes) [INFO] [stderr] Fixed src/compiler/keywords/call.rs (1 fix) [INFO] [stderr] Fixed src/compiler/parsing.rs (2 fixes) [INFO] [stderr] Fixed src/compiler/keywords/repeat.rs (1 fix) [INFO] [stderr] Fixed src/compiler/tests.rs (4 fixes) [INFO] [stderr] Fixed src/compiler/symbols/mod.rs (1 fix) [INFO] [stderr] Fixed src/lexer/lexer_test.rs (1 fix) [INFO] [stderr] Fixed src/compiler/keywords/jsfunc.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stderr] Fixed src/compiler/keywords/forloops.rs (1 fix) [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | 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: 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:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | 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:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | 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:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | 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, 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:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | 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:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | 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:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | 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:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | 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:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl InlinedFuncs { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 25 | 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:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | 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:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | 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:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | 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, 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: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/lexer/lexer_test.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let lexer = Lexer::parse_str(file); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Token` in this scope [INFO] [stdout] --> src/lexer/lexer_test.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | let keyword = Token { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexer::lexer::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/lexer_test.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | token_type: TokenType::Keyword, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexer::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/lexer/lexer_test.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let lexer = Lexer::parse_str(function_call); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/lexer/lexer_test.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let _lexer = Lexer::parse_str(function_call); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/lexer/lexer_test.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let lexer = Lexer::parse_str(function_call); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/lexer/lexer_test.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/lexer/lexer_test.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:206:28 [INFO] [stdout] | [INFO] [stdout] 206 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:215:22 [INFO] [stdout] | [INFO] [stdout] 215 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:216:28 [INFO] [stdout] | [INFO] [stdout] 216 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/compiler/tests.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let lexer = Lexer::parse_str(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output` [INFO] [stdout] --> src/compiler/tests.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | let mut output = Output::init(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Output` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Output; [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InlinedFuncs` [INFO] [stdout] --> src/compiler/tests.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | let mut inline_funcs = InlinedFuncs::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InlinedFuncs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::compiler::keywords::jsfunc::InlinedFuncs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_lexer` in this scope [INFO] [stdout] --> src/compiler/tests.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | parse_lexer(&mut output, lexer, &mut inline_funcs); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::parse_lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler/keywords/jsfunc.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | 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] error: aborting due to 81 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `soy_script` (bin "soy_script" test) due to 82 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "85a3c2692e64edae586ba65ba3c4fcdc779ceeed0a765591163226950a48ea7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85a3c2692e64edae586ba65ba3c4fcdc779ceeed0a765591163226950a48ea7a", kill_on_drop: false }` [INFO] [stdout] 85a3c2692e64edae586ba65ba3c4fcdc779ceeed0a765591163226950a48ea7a