[INFO] cloning repository https://github.com/Joyzyy/pseudocod_lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Joyzyy/pseudocod_lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoyzyy%2Fpseudocod_lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoyzyy%2Fpseudocod_lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 846d1f548547a5802ddc65334960f4367c0e12f5 [INFO] checking Joyzyy/pseudocod_lang/846d1f548547a5802ddc65334960f4367c0e12f5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoyzyy%2Fpseudocod_lang" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Joyzyy/pseudocod_lang 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/Joyzyy/pseudocod_lang [INFO] finished tweaking git repo https://github.com/Joyzyy/pseudocod_lang [INFO] tweaked toml for git repo https://github.com/Joyzyy/pseudocod_lang written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Joyzyy/pseudocod_lang 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f05dd737f5b4d30cc250307f7ac1d18f9f88299de5d31fe4f76efb010277845 [INFO] running `Command { std: "docker" "start" "-a" "1f05dd737f5b4d30cc250307f7ac1d18f9f88299de5d31fe4f76efb010277845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f05dd737f5b4d30cc250307f7ac1d18f9f88299de5d31fe4f76efb010277845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f05dd737f5b4d30cc250307f7ac1d18f9f88299de5d31fe4f76efb010277845", kill_on_drop: false }` [INFO] [stdout] 1f05dd737f5b4d30cc250307f7ac1d18f9f88299de5d31fe4f76efb010277845 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0369afa3a82cab454d606ad66e540dc90ee90304999f885ef2ebab7fecf66ec3 [INFO] running `Command { std: "docker" "start" "-a" "0369afa3a82cab454d606ad66e540dc90ee90304999f885ef2ebab7fecf66ec3", 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 h95-lang v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/ast/mod.rs (1 fix) [INFO] [stderr] Fixed src/parser/tests.rs (2 fixes) [INFO] [stderr] Fixed src/parser/mod.rs (1 fix) [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/parser/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Statement` [INFO] [stdout] --> src/parser/tests.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Statement, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precedence` [INFO] [stdout] --> src/parser/mod.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | fn parse_expression(&self, precedence: Precedence) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precedence` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Equals`, `LessGreater`, `Sum`, `Product`, `Prefix`, and `Call` are never constructed [INFO] [stdout] --> src/parser/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum Precedence { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 14 | Lowest, [INFO] [stdout] 15 | Equals, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | LessGreater, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | Sum, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Product, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | Prefix, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | Call, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `infix_parse_fns` is never read [INFO] [stdout] --> src/parser/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | infix_parse_fns: [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_infix` is never used [INFO] [stdout] --> src/parser/mod.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | fn register_infix( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/parser/tests.rs (3 fixes) [INFO] [stderr] Fixed src/lexer/tests.rs (1 fix) [INFO] [stdout] warning: unused variable: `precedence` [INFO] [stdout] --> src/parser/mod.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | fn parse_expression(&self, precedence: Precedence) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precedence` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Precedence` is never used [INFO] [stdout] --> src/parser/mod.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum Precedence { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/parser/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 35 | fn new(lexer: Lexer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn errors(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn peek_error(&mut self, token_type: TokenType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn next_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn parse_program(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn parse_statement(&mut self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn parse_let_statement(&mut self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn parse_return_statement(&mut self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn parse_expression_statement(&mut self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn parse_expression(&self, precedence: Precedence) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn parse_identifier(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn parse_integral_literal(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn current_token_is(&self, token_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn peek_token_is(&self, token_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn expect_peek(&mut self, token_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn register_prefix( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn register_infix( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/src.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking h95-lang v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused variable: `precedence` [INFO] [stdout] --> src/parser/mod.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | fn parse_expression(&self, precedence: Precedence) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precedence` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Precedence` is never used [INFO] [stdout] --> src/parser/mod.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum Precedence { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/parser/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 35 | fn new(lexer: Lexer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn errors(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn peek_error(&mut self, token_type: TokenType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn next_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn parse_program(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn parse_statement(&mut self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn parse_let_statement(&mut self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn parse_return_statement(&mut self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn parse_expression_statement(&mut self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn parse_expression(&self, precedence: Precedence) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn parse_identifier(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn parse_integral_literal(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn current_token_is(&self, token_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn peek_token_is(&self, token_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn expect_peek(&mut self, token_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn register_prefix( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn register_infix( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | TokenType::Eq, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | TokenType::Plus, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | TokenType::LBrace, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | TokenType::RBrace, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | TokenType::LParen, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | TokenType::RParen, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | TokenType::Semicolon, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | TokenType::NotEq, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/lexer/tests.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | let mut lexer = Lexer::new(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; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | TokenType::Let, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | TokenType::Ident("five".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | TokenType::Assign, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | TokenType::Int("5".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | TokenType::Semicolon, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | TokenType::Let, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | TokenType::Ident("ten".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | TokenType::Assign, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | TokenType::Int("10".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | TokenType::Semicolon, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | TokenType::Let, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | TokenType::Ident("add".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | TokenType::Assign, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | TokenType::Function, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | TokenType::LParen, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | TokenType::Ident("x".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | TokenType::Comma, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | TokenType::Ident("y".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | TokenType::RParen, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | TokenType::LBrace, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | TokenType::Ident("x".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | TokenType::Plus, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | TokenType::Ident("y".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | TokenType::Semicolon, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | TokenType::RBrace, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | TokenType::Semicolon, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | TokenType::Let, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | TokenType::Ident("result".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | TokenType::Assign, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | TokenType::Ident("add".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | TokenType::LParen, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | TokenType::Ident("five".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | TokenType::Comma, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | TokenType::Ident("ten".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | TokenType::RParen, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | TokenType::Semicolon, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | TokenType::Bang, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | TokenType::Minus, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | TokenType::Slash, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | TokenType::Asterisk, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | TokenType::Int("5".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | TokenType::Semicolon, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | TokenType::Int("5".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | TokenType::Lt, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | TokenType::Int("10".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | TokenType::Gt, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | TokenType::Int("5".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | TokenType::Semicolon, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | TokenType::If, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | TokenType::LParen, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | TokenType::Int("5".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | TokenType::Lt, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | TokenType::Int("10".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | TokenType::RParen, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | TokenType::LBrace, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | TokenType::Return, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | TokenType::True, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | TokenType::Semicolon, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | TokenType::RBrace, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | TokenType::Else, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | TokenType::LBrace, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | TokenType::Return, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | TokenType::False, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | TokenType::Semicolon, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | TokenType::RBrace, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | TokenType::Int("10".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | TokenType::Eq, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | TokenType::Int("10".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | TokenType::Semicolon, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | TokenType::Int("10".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | TokenType::NotEq, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | TokenType::Int("9".to_string()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | TokenType::Semicolon, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | TokenType::Int("10".into()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | TokenType::Gte, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | TokenType::Int("4".into()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | TokenType::Int("5".into()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | TokenType::Lte, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | TokenType::Int("5".into()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> src/lexer/tests.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | TokenType::Eof, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::lexer::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/lexer/tests.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | let mut lexer = Lexer::new(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; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/parser/tests.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let lexer = Lexer::new(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 4 + use crate::parser::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/parser/tests.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut p = Parser::new(lexer); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LetStatement` in this scope [INFO] [stdout] --> src/parser/tests.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 27 | let let_stmt = stmt.as_any().downcast_ref::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 4 + use crate::parser::LetStatement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/parser/tests.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let lexer = Lexer::new(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 4 + use crate::parser::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/parser/tests.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let mut p = Parser::new(lexer); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReturnStatement` in this scope [INFO] [stdout] --> src/parser/tests.rs:54:56 [INFO] [stdout] | [INFO] [stdout] 54 | let return_stmt = stmt.as_any().downcast_ref::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 4 + use crate::parser::ReturnStatement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> src/parser/tests.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let lexer = Lexer::new(input); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 4 + use crate::parser::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/parser/tests.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut p = Parser::new(lexer); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IntegralLiteral` in this scope [INFO] [stdout] --> src/parser/tests.rs:73:56 [INFO] [stdout] | [INFO] [stdout] 73 | let expression_stmt = stmt.as_any().downcast_ref::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 4 + use crate::parser::IntegralLiteral; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precedence` [INFO] [stdout] --> src/parser/mod.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | fn parse_expression(&self, precedence: Precedence) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precedence` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 99 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `h95-lang` (lib test) due to 100 previous errors; 1 warning emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0369afa3a82cab454d606ad66e540dc90ee90304999f885ef2ebab7fecf66ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0369afa3a82cab454d606ad66e540dc90ee90304999f885ef2ebab7fecf66ec3", kill_on_drop: false }` [INFO] [stdout] 0369afa3a82cab454d606ad66e540dc90ee90304999f885ef2ebab7fecf66ec3