[INFO] cloning repository https://github.com/CrazyAAMI/miniULE
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CrazyAAMI/miniULE" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrazyAAMI%2FminiULE", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrazyAAMI%2FminiULE'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3d0eb1679dce89693d7f168e123de74c36c2db42
[INFO] checking CrazyAAMI/miniULE against try#7dabc88a3b6768751847baeb49983f31ac5f20e2 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrazyAAMI%2FminiULE" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CrazyAAMI/miniULE
[INFO] finished tweaking git repo https://github.com/CrazyAAMI/miniULE
[INFO] tweaked toml for git repo https://github.com/CrazyAAMI/miniULE written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CrazyAAMI/miniULE on toolchain 7dabc88a3b6768751847baeb49983f31ac5f20e2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7dabc88a3b6768751847baeb49983f31ac5f20e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CrazyAAMI/miniULE 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" "+7dabc88a3b6768751847baeb49983f31ac5f20e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+7dabc88a3b6768751847baeb49983f31ac5f20e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 82efb17103ebd24077441b448cf42e87a8763c42475b8a3cb2901471a93958b5
[INFO] running `Command { std: "docker" "start" "-a" "82efb17103ebd24077441b448cf42e87a8763c42475b8a3cb2901471a93958b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "82efb17103ebd24077441b448cf42e87a8763c42475b8a3cb2901471a93958b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82efb17103ebd24077441b448cf42e87a8763c42475b8a3cb2901471a93958b5", kill_on_drop: false }`
[INFO] [stdout] 82efb17103ebd24077441b448cf42e87a8763c42475b8a3cb2901471a93958b5
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+7dabc88a3b6768751847baeb49983f31ac5f20e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a1c63326d252fc32f857c7b42b28c00818544fd684879488bdc702c98ae7c023
[INFO] running `Command { std: "docker" "start" "-a" "a1c63326d252fc32f857c7b42b28c00818544fd684879488bdc702c98ae7c023", kill_on_drop: false }`
[INFO] [stderr]     Checking miniULE v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `transforming`
[INFO] [stdout]  --> src/main.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | mod transforming;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `transforming`, create file "src/transforming.rs" or "src/transforming/mod.rs"
[INFO] [stdout]   = note: if there is a `mod transforming` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `transforming`
[INFO] [stdout]  --> src/main.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | mod transforming;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `transforming`, create file "src/transforming.rs" or "src/transforming/mod.rs"
[INFO] [stdout]   = note: if there is a `mod transforming` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `analyzing`
[INFO] [stdout]   --> src/main.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | mod analyzing;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `analyzing`, create file "src/analyzing.rs" or "src/analyzing/mod.rs"
[INFO] [stdout]    = note: if there is a `mod analyzing` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `analyzing`
[INFO] [stdout]   --> src/main.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | mod analyzing;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `analyzing`, create file "src/analyzing.rs" or "src/analyzing/mod.rs"
[INFO] [stdout]    = note: if there is a `mod analyzing` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `optimizing`
[INFO] [stdout]   --> src/main.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | mod optimizing;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `optimizing`, create file "src/optimizing.rs" or "src/optimizing/mod.rs"
[INFO] [stdout]    = note: if there is a `mod optimizing` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `optimizing`
[INFO] [stdout]   --> src/main.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | mod optimizing;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `optimizing`, create file "src/optimizing.rs" or "src/optimizing/mod.rs"
[INFO] [stdout]    = note: if there is a `mod optimizing` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AstParserError`
[INFO] [stdout]  --> src/main.rs:3:41
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::parsing::parser::{AstParser, AstParserError};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::parsing::tokenizer::Tokenizer`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::parsing::tokenizer::Tokenizer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::generating::ir::ExpressionIR`
[INFO] [stdout]  --> src/parsing/parser.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::generating::ir::ExpressionIR;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExpressionChainAst`
[INFO] [stdout]  --> src/parsing/parser.rs:6:78
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::parsing::ast::{BodyAst, DataTypeAst, DataTypeKind, ExpressionAst, ExpressionChainAst, ForLoopAst, ForLoopMode, FuncCallAst...
[INFO] [stdout]   |                                                                              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StructDefAst`
[INFO] [stdout]  --> src/parsing/static_analyzer.rs:2:184
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...or, ParameterAst, ProgramAst, StatementAst, StructDeclAst, StructDefAst, VariableDeclAst, VariableDefAst};
[INFO] [stdout]   |                                                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/generating/ir.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/generating/ir.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/generating/ir.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FuncDefAst`
[INFO] [stdout]  --> src/generating/ir.rs:9:56
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::parsing::ast::{DataTypeKind, ExpressionAst, FuncDefAst, Operator, ParameterAst};
[INFO] [stdout]   |                                                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FuncCallAst` and `FuncDefAst`
[INFO] [stdout]  --> src/generating/transformer.rs:2:51
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::parsing::ast::{BodyAst, ExpressionAst, FuncCallAst, FuncDefAst, ProgramAst, StatementAst, VariableDeclAst, VariableDefAst};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AstParserError`
[INFO] [stdout]  --> src/main.rs:3:41
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::parsing::parser::{AstParser, AstParserError};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::parsing::tokenizer::Tokenizer`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::parsing::tokenizer::Tokenizer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::generating::ir::ExpressionIR`
[INFO] [stdout]  --> src/parsing/parser.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::generating::ir::ExpressionIR;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExpressionChainAst`
[INFO] [stdout]  --> src/parsing/parser.rs:6:78
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::parsing::ast::{BodyAst, DataTypeAst, DataTypeKind, ExpressionAst, ExpressionChainAst, ForLoopAst, ForLoopMode, FuncCallAst...
[INFO] [stdout]   |                                                                              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StructDefAst`
[INFO] [stdout]  --> src/parsing/static_analyzer.rs:2:184
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...or, ParameterAst, ProgramAst, StatementAst, StructDeclAst, StructDefAst, VariableDeclAst, VariableDefAst};
[INFO] [stdout]   |                                                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/generating/ir.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/generating/ir.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/generating/ir.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FuncDefAst`
[INFO] [stdout]  --> src/generating/ir.rs:9:56
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::parsing::ast::{DataTypeKind, ExpressionAst, FuncDefAst, Operator, ParameterAst};
[INFO] [stdout]   |                                                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FuncCallAst` and `FuncDefAst`
[INFO] [stdout]  --> src/generating/transformer.rs:2:51
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::parsing::ast::{BodyAst, ExpressionAst, FuncCallAst, FuncDefAst, ProgramAst, StatementAst, VariableDeclAst, VariableDefAst};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parsing/static_analyzer.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         match &self {
[INFO] [stdout]    |               ----- this expression has type `&&AnalyzerTypeKind`
[INFO] [stdout] 28 |             AnalyzerErrorKind::TypeMismatch(expected, given) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AnalyzerTypeKind`, found `AnalyzerErrorKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parsing/static_analyzer.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         match &self {
[INFO] [stdout]    |               ----- this expression has type `&&AnalyzerTypeKind`
[INFO] [stdout] 28 |             AnalyzerErrorKind::TypeMismatch(expected, given) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AnalyzerTypeKind`, found `AnalyzerErrorKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parsing/static_analyzer.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         match &self {
[INFO] [stdout]    |               ----- this expression has type `&&AnalyzerTypeKind`
[INFO] [stdout] ...
[INFO] [stdout] 31 |             AnalyzerErrorKind::UnexpectedStatement(statement) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AnalyzerTypeKind`, found `AnalyzerErrorKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parsing/static_analyzer.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         match &self {
[INFO] [stdout]    |               ----- this expression has type `&&AnalyzerTypeKind`
[INFO] [stdout] ...
[INFO] [stdout] 31 |             AnalyzerErrorKind::UnexpectedStatement(statement) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AnalyzerTypeKind`, found `AnalyzerErrorKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:188:16
[INFO] [stdout]     |
[INFO] [stdout] 188 |         if let Ok(ExpressionAst::Identifier(name)) = &chain.chain.first() {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   -------------------- this expression has type `&Option<&ExpressionAst>`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                expected `Option<&ExpressionAst>`, found `Result<_, _>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<&ExpressionAst>`
[INFO] [stdout]                found enum `Result<_, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:188:16
[INFO] [stdout]     |
[INFO] [stdout] 188 |         if let Ok(ExpressionAst::Identifier(name)) = &chain.chain.first() {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   -------------------- this expression has type `&Option<&ExpressionAst>`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                expected `Option<&ExpressionAst>`, found `Result<_, _>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<&ExpressionAst>`
[INFO] [stdout]                found enum `Result<_, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::ops::Range<&usize>` is not an iterator
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:199:22
[INFO] [stdout]     |
[INFO] [stdout] 199 |             for c in &1..&chain.chain.len() {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^ `Range<&usize>` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Step` is not implemented for `&usize`
[INFO] [stdout]     = note: `Range` only implements `Iterator` for select types in the standard library, particularly integers; to see the full list of types, see the documentation for the unstable `Step` trait
[INFO] [stdout] help: the trait `Step` is implemented for `usize`
[INFO] [stdout]    --> /rustc/7dabc88a3b6768751847baeb49983f31ac5f20e2/library/core/src/iter/range.rs:266:12
[INFO] [stdout]    ::: /rustc/7dabc88a3b6768751847baeb49983f31ac5f20e2/library/core/src/iter/range.rs:440:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: in this macro invocation
[INFO] [stdout]     = note: required for `std::ops::Range<&usize>` to implement `Iterator`
[INFO] [stdout]     = note: required for `std::ops::Range<&usize>` to implement `IntoIterator`
[INFO] [stdout]     = note: this error originates in the macro `step_integer_impls` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::ops::Range<&usize>` is not an iterator
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:199:22
[INFO] [stdout]     |
[INFO] [stdout] 199 |             for c in &1..&chain.chain.len() {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^ `Range<&usize>` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Step` is not implemented for `&usize`
[INFO] [stdout]     = note: `Range` only implements `Iterator` for select types in the standard library, particularly integers; to see the full list of types, see the documentation for the unstable `Step` trait
[INFO] [stdout] help: the trait `Step` is implemented for `usize`
[INFO] [stdout]    --> /rustc/7dabc88a3b6768751847baeb49983f31ac5f20e2/library/core/src/iter/range.rs:266:12
[INFO] [stdout]    ::: /rustc/7dabc88a3b6768751847baeb49983f31ac5f20e2/library/core/src/iter/range.rs:440:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: in this macro invocation
[INFO] [stdout]     = note: required for `std::ops::Range<&usize>` to implement `Iterator`
[INFO] [stdout]     = note: required for `std::ops::Range<&usize>` to implement `IntoIterator`
[INFO] [stdout]     = note: this error originates in the macro `step_integer_impls` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `undefined` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:222:56
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `undefined` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 222 |                     _ => return Err(AnalyzerErrorKind::undefined(&"i dont know", &"wtf"))
[INFO] [stdout]     |                                                        ^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 222 -                     _ => return Err(AnalyzerErrorKind::undefined(&"i dont know", &"wtf"))
[INFO] [stdout] 222 +                     _ => return Err(AnalyzerErrorKind::Undefined)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `undefined` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:222:56
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `undefined` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 222 |                     _ => return Err(AnalyzerErrorKind::undefined(&"i dont know", &"wtf"))
[INFO] [stdout]     |                                                        ^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 222 -                     _ => return Err(AnalyzerErrorKind::undefined(&"i dont know", &"wtf"))
[INFO] [stdout] 222 +                     _ => return Err(AnalyzerErrorKind::Undefined)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:228:16
[INFO] [stdout]     |
[INFO] [stdout] 228 |         if let Ok(last) = chain.chain.last() {
[INFO] [stdout]     |                ^^^^^^^^   ------------------ this expression has type `Option<&ExpressionAst>`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                expected `Option<&ExpressionAst>`, found `Result<_, _>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<&ExpressionAst>`
[INFO] [stdout]                found enum `Result<_, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:228:16
[INFO] [stdout]     |
[INFO] [stdout] 228 |         if let Ok(last) = chain.chain.last() {
[INFO] [stdout]     |                ^^^^^^^^   ------------------ this expression has type `Option<&ExpressionAst>`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                expected `Option<&ExpressionAst>`, found `Result<_, _>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<&ExpressionAst>`
[INFO] [stdout]                found enum `Result<_, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:229:16
[INFO] [stdout]     |
[INFO] [stdout] 229 |             Ok(true)
[INFO] [stdout]     |             -- ^^^^ expected `AnalyzerChainResult`, found `bool`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] help: the type constructed contains `bool` due to the type of the argument passed
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:229:13
[INFO] [stdout]     |
[INFO] [stdout] 229 |             Ok(true)
[INFO] [stdout]     |             ^^^----^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/7dabc88a3b6768751847baeb49983f31ac5f20e2/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:229:16
[INFO] [stdout]     |
[INFO] [stdout] 229 |             Ok(true)
[INFO] [stdout]     |             -- ^^^^ expected `AnalyzerChainResult`, found `bool`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] help: the type constructed contains `bool` due to the type of the argument passed
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:229:13
[INFO] [stdout]     |
[INFO] [stdout] 229 |             Ok(true)
[INFO] [stdout]     |             ^^^----^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/7dabc88a3b6768751847baeb49983f31ac5f20e2/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:231:16
[INFO] [stdout]     |
[INFO] [stdout] 231 |             Ok(false)
[INFO] [stdout]     |             -- ^^^^^ expected `AnalyzerChainResult`, found `bool`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] help: the type constructed contains `bool` due to the type of the argument passed
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 |             Ok(false)
[INFO] [stdout]     |             ^^^-----^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/7dabc88a3b6768751847baeb49983f31ac5f20e2/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:231:16
[INFO] [stdout]     |
[INFO] [stdout] 231 |             Ok(false)
[INFO] [stdout]     |             -- ^^^^^ expected `AnalyzerChainResult`, found `bool`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] help: the type constructed contains `bool` due to the type of the argument passed
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 |             Ok(false)
[INFO] [stdout]     |             ^^^-----^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/7dabc88a3b6768751847baeb49983f31ac5f20e2/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `unknown_type` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:300:40
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `unknown_type` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 300 |                 Err(AnalyzerErrorKind::unknown_type())
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 300 -                 Err(AnalyzerErrorKind::unknown_type())
[INFO] [stdout] 300 +                 Err(AnalyzerErrorKind::UnknownType)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `unknown_type` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:300:40
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `unknown_type` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 300 |                 Err(AnalyzerErrorKind::unknown_type())
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 300 -                 Err(AnalyzerErrorKind::unknown_type())
[INFO] [stdout] 300 +                 Err(AnalyzerErrorKind::UnknownType)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `type_mismatch` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:318:59
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `type_mismatch` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 318 |                             return Err(AnalyzerErrorKind::type_mismatch(&kind.kind.to_string(), &given.kind.to_string()));
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `type_id` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/7dabc88a3b6768751847baeb49983f31ac5f20e2/library/core/src/any.rs:137:4
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 318 -                             return Err(AnalyzerErrorKind::type_mismatch(&kind.kind.to_string(), &given.kind.to_string()));
[INFO] [stdout] 318 +                             return Err(AnalyzerErrorKind::TypeMismatch(&kind.kind.to_string(), &given.kind.to_string()));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `type_mismatch` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:318:59
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `type_mismatch` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 318 |                             return Err(AnalyzerErrorKind::type_mismatch(&kind.kind.to_string(), &given.kind.to_string()));
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `type_id` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/7dabc88a3b6768751847baeb49983f31ac5f20e2/library/core/src/any.rs:137:4
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 318 -                             return Err(AnalyzerErrorKind::type_mismatch(&kind.kind.to_string(), &given.kind.to_string()));
[INFO] [stdout] 318 +                             return Err(AnalyzerErrorKind::TypeMismatch(&kind.kind.to_string(), &given.kind.to_string()));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `redefined_var_name` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:346:36
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `redefined_var_name` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 346 |             Err(AnalyzerErrorKind::redefined_var_name(var_decl.name.as_str()))?;
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 346 -             Err(AnalyzerErrorKind::redefined_var_name(var_decl.name.as_str()))?;
[INFO] [stdout] 346 +             Err(AnalyzerErrorKind::RedefinedVarName(var_decl.name.as_str()))?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `redefined_var_name` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:346:36
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `redefined_var_name` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 346 |             Err(AnalyzerErrorKind::redefined_var_name(var_decl.name.as_str()))?;
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 346 -             Err(AnalyzerErrorKind::redefined_var_name(var_decl.name.as_str()))?;
[INFO] [stdout] 346 +             Err(AnalyzerErrorKind::RedefinedVarName(var_decl.name.as_str()))?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `expression_not_writable` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:398:43
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `expression_not_writable` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 398 |             return Err(AnalyzerErrorKind::expression_not_writable(&var_def.left));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `expression_not_writable` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:398:43
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `expression_not_writable` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 398 |             return Err(AnalyzerErrorKind::expression_not_writable(&var_def.left));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `type_mismatch` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:423:36
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `type_mismatch` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 423 |             Err(AnalyzerErrorKind::type_mismatch("Boolean", &evaluated_condition.kind.to_string()))
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `type_id` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/7dabc88a3b6768751847baeb49983f31ac5f20e2/library/core/src/any.rs:137:4
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 423 -             Err(AnalyzerErrorKind::type_mismatch("Boolean", &evaluated_condition.kind.to_string()))
[INFO] [stdout] 423 +             Err(AnalyzerErrorKind::TypeMismatch("Boolean", &evaluated_condition.kind.to_string()))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `type_mismatch` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:423:36
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `type_mismatch` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 423 |             Err(AnalyzerErrorKind::type_mismatch("Boolean", &evaluated_condition.kind.to_string()))
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `type_id` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/7dabc88a3b6768751847baeb49983f31ac5f20e2/library/core/src/any.rs:137:4
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 423 -             Err(AnalyzerErrorKind::type_mismatch("Boolean", &evaluated_condition.kind.to_string()))
[INFO] [stdout] 423 +             Err(AnalyzerErrorKind::TypeMismatch("Boolean", &evaluated_condition.kind.to_string()))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `parameter_count_wrong` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:434:47
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `parameter_count_wrong` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 434 |                 return Err(AnalyzerErrorKind::parameter_count_wrong(called_func.ast.parameters.len()))
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 434 -                 return Err(AnalyzerErrorKind::parameter_count_wrong(called_func.ast.parameters.len()))
[INFO] [stdout] 434 +                 return Err(AnalyzerErrorKind::ParameterCountWrong(called_func.ast.parameters.len()))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `parameter_count_wrong` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:434:47
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `parameter_count_wrong` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 434 |                 return Err(AnalyzerErrorKind::parameter_count_wrong(called_func.ast.parameters.len()))
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 434 -                 return Err(AnalyzerErrorKind::parameter_count_wrong(called_func.ast.parameters.len()))
[INFO] [stdout] 434 +                 return Err(AnalyzerErrorKind::ParameterCountWrong(called_func.ast.parameters.len()))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `parameter_expected` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:443:59
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `parameter_expected` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 443 |                             return Err(AnalyzerErrorKind::parameter_expected(&param.name))
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 443 -                             return Err(AnalyzerErrorKind::parameter_expected(&param.name))
[INFO] [stdout] 443 +                             return Err(AnalyzerErrorKind::ParameterExpected(&param.name))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `parameter_expected` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:443:59
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `parameter_expected` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 443 |                             return Err(AnalyzerErrorKind::parameter_expected(&param.name))
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 443 -                             return Err(AnalyzerErrorKind::parameter_expected(&param.name))
[INFO] [stdout] 443 +                             return Err(AnalyzerErrorKind::ParameterExpected(&param.name))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `parameter_expected` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:449:51
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `parameter_expected` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 449 |                     return Err(AnalyzerErrorKind::parameter_expected(&param.name))
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 449 -                     return Err(AnalyzerErrorKind::parameter_expected(&param.name))
[INFO] [stdout] 449 +                     return Err(AnalyzerErrorKind::ParameterExpected(&param.name))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `parameter_expected` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:449:51
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `parameter_expected` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 449 |                     return Err(AnalyzerErrorKind::parameter_expected(&param.name))
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 449 -                     return Err(AnalyzerErrorKind::parameter_expected(&param.name))
[INFO] [stdout] 449 +                     return Err(AnalyzerErrorKind::ParameterExpected(&param.name))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `function_not_found` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:457:43
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `function_not_found` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 457 |             return Err(AnalyzerErrorKind::function_not_found(&func_call.name))
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 457 -             return Err(AnalyzerErrorKind::function_not_found(&func_call.name))
[INFO] [stdout] 457 +             return Err(AnalyzerErrorKind::FunctionNotFound(&func_call.name))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `function_not_found` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:457:43
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `function_not_found` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 457 |             return Err(AnalyzerErrorKind::function_not_found(&func_call.name))
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 457 -             return Err(AnalyzerErrorKind::function_not_found(&func_call.name))
[INFO] [stdout] 457 +             return Err(AnalyzerErrorKind::FunctionNotFound(&func_call.name))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `unexpected_statement` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:487:51
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `unexpected_statement` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 487 |                     return Err(AnalyzerErrorKind::unexpected_statement(item));
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 487 -                     return Err(AnalyzerErrorKind::unexpected_statement(item));
[INFO] [stdout] 487 +                     return Err(AnalyzerErrorKind::UnexpectedStatement(item));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `unexpected_statement` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:487:51
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `unexpected_statement` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 487 |                     return Err(AnalyzerErrorKind::unexpected_statement(item));
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 487 -                     return Err(AnalyzerErrorKind::unexpected_statement(item));
[INFO] [stdout] 487 +                     return Err(AnalyzerErrorKind::UnexpectedStatement(item));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `recursive_function_found` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:507:43
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `recursive_function_found` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 507 |             return Err(AnalyzerErrorKind::recursive_function_found(&func.name, stack.clone()));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 507 -             return Err(AnalyzerErrorKind::recursive_function_found(&func.name, stack.clone()));
[INFO] [stdout] 507 +             return Err(AnalyzerErrorKind::RecursiveFunctionFound(&func.name, stack.clone()));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `recursive_function_found` found for enum `AnalyzerErrorKind` in the current scope
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:507:43
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum AnalyzerErrorKind {
[INFO] [stdout]     | -------------------------- variant, associated function, or constant `recursive_function_found` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 507 |             return Err(AnalyzerErrorKind::recursive_function_found(&func.name, stack.clone()));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `AnalyzerErrorKind`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 507 -             return Err(AnalyzerErrorKind::recursive_function_found(&func.name, stack.clone()));
[INFO] [stdout] 507 +             return Err(AnalyzerErrorKind::RecursiveFunctionFound(&func.name, stack.clone()));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/generating/transformer.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     fn handle_transform_left_assignment(expr: &ExpressionAst, ) -> AnalyzerChainResult {
[INFO] [stdout]     |                                                                    ------------------- expected `AnalyzerChainResult` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 185 |         vec![]
[INFO] [stdout]     |         ^^^^^^ expected `AnalyzerChainResult`, found `Vec<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `AnalyzerChainResult`
[INFO] [stdout]                found struct `Vec<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/generating/transformer.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     fn handle_transform_left_assignment(expr: &ExpressionAst, ) -> AnalyzerChainResult {
[INFO] [stdout]     |                                                                    ------------------- expected `AnalyzerChainResult` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 185 |         vec![]
[INFO] [stdout]     |         ^^^^^^ expected `AnalyzerChainResult`, found `Vec<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `AnalyzerChainResult`
[INFO] [stdout]                found struct `Vec<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `transform_right_assignment` found for mutable reference `&mut Transformer` in the current scope
[INFO] [stdout]    --> src/generating/transformer.rs:217:32
[INFO] [stdout]     |
[INFO] [stdout] 217 |         items.append(&mut self.transform_right_assignment(&var_def.value));
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Transformer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `transform_right_assignment` found for mutable reference `&mut Transformer` in the current scope
[INFO] [stdout]    --> src/generating/transformer.rs:217:32
[INFO] [stdout]     |
[INFO] [stdout] 217 |         items.append(&mut self.transform_right_assignment(&var_def.value));
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Transformer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `transform_right_assignment` found for mutable reference `&mut Transformer` in the current scope
[INFO] [stdout]    --> src/generating/transformer.rs:218:32
[INFO] [stdout]     |
[INFO] [stdout] 218 |         items.append(&mut self.transform_right_assignment(&var_def.value));
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Transformer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `transform_right_assignment` found for mutable reference `&mut Transformer` in the current scope
[INFO] [stdout]    --> src/generating/transformer.rs:218:32
[INFO] [stdout]     |
[INFO] [stdout] 218 |         items.append(&mut self.transform_right_assignment(&var_def.value));
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Transformer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let mut token = self.tokens.next().ok_or_else(|| AstParserError::unexpected_end_of_file(position))?.clone();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let mut token = self.tokens.next().ok_or_else(|| AstParserError::unexpected_end_of_file(position))?.clone();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let mut token = self.tokens.next().ok_or_else(|| AstParserError::unexpected_end_of_file(position))?.clone();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let mut token = self.tokens.next().ok_or_else(|| AstParserError::unexpected_end_of_file(position))?.clone();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let mut token = self.tokens.next().ok_or_else(|| AstParserError::unexpected_end_of_file(position))?.clone();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let mut token = self.tokens.next().ok_or_else(|| AstParserError::unexpected_end_of_file(position))?.clone();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start_index`
[INFO] [stdout]    --> src/parsing/parser.rs:225:13
[INFO] [stdout]     |
[INFO] [stdout] 225 |         let start_index = self.tokens.get_current_token_index();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_index`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start_index`
[INFO] [stdout]    --> src/parsing/parser.rs:225:13
[INFO] [stdout]     |
[INFO] [stdout] 225 |         let start_index = self.tokens.get_current_token_index();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_index`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_index`
[INFO] [stdout]    --> src/parsing/parser.rs:231:17
[INFO] [stdout]     |
[INFO] [stdout] 231 |             let current_index = self.tokens.get_current_token_index();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_index`
[INFO] [stdout]    --> src/parsing/parser.rs:231:17
[INFO] [stdout]     |
[INFO] [stdout] 231 |             let current_index = self.tokens.get_current_token_index();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last`
[INFO] [stdout]    --> src/parsing/parser.rs:369:25
[INFO] [stdout]     |
[INFO] [stdout] 369 |             if let Some(last) = chain.last() {
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last`
[INFO] [stdout]    --> src/parsing/parser.rs:369:25
[INFO] [stdout]     |
[INFO] [stdout] 369 |             if let Some(last) = chain.last() {
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_ref`
[INFO] [stdout]    --> src/parsing/parser.rs:383:13
[INFO] [stdout]     |
[INFO] [stdout] 383 |         let is_ref = self.expect_token_type(TokenType::And).is_ok();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:413:13
[INFO] [stdout]     |
[INFO] [stdout] 413 |         let mut var_type = self.try_parse_type()?;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_ref`
[INFO] [stdout]    --> src/parsing/parser.rs:383:13
[INFO] [stdout]     |
[INFO] [stdout] 383 |         let is_ref = self.expect_token_type(TokenType::And).is_ok();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:413:13
[INFO] [stdout]     |
[INFO] [stdout] 413 |         let mut var_type = self.try_parse_type()?;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sta`
[INFO] [stdout]    --> src/parsing/parser.rs:456:46
[INFO] [stdout]     |
[INFO] [stdout] 456 |         if let Ok(StatementAst::FunctionCall(sta)) = &statement {
[INFO] [stdout]     |                                              ^^^ help: if this is intentional, prefix it with an underscore: `_sta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sta`
[INFO] [stdout]    --> src/parsing/parser.rs:456:46
[INFO] [stdout]     |
[INFO] [stdout] 456 |         if let Ok(StatementAst::FunctionCall(sta)) = &statement {
[INFO] [stdout]     |                                              ^^^ help: if this is intentional, prefix it with an underscore: `_sta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:471:17
[INFO] [stdout]     |
[INFO] [stdout] 471 |             let mut parsed = self.try_parse_var_decl().or_reset(self, current_pos)
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:471:17
[INFO] [stdout]     |
[INFO] [stdout] 471 |             let mut parsed = self.try_parse_var_decl().or_reset(self, current_pos)
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `last_error` is never read
[INFO] [stdout]    --> src/parsing/parser.rs:465:30
[INFO] [stdout]     |
[INFO] [stdout] 465 |         let mut last_error = AstParserError::incompatible_statement();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 485 |                 last_error = parsed.unwrap_err();
[INFO] [stdout]     |                 ---------- `last_error` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `last_error` is never read
[INFO] [stdout]    --> src/parsing/parser.rs:465:30
[INFO] [stdout]     |
[INFO] [stdout] 465 |         let mut last_error = AstParserError::incompatible_statement();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 485 |                 last_error = parsed.unwrap_err();
[INFO] [stdout]     |                 ---------- `last_error` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/parsing/parser.rs:545:23
[INFO] [stdout]     |
[INFO] [stdout] 545 |             if let Ok(token) = self.expect_token_type(TokenType::Comma) {
[INFO] [stdout]     |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/parsing/parser.rs:545:23
[INFO] [stdout]     |
[INFO] [stdout] 545 |             if let Ok(token) = self.expect_token_type(TokenType::Comma) {
[INFO] [stdout]     |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:560:17
[INFO] [stdout]     |
[INFO] [stdout] 560 |             let mut param_type = self.try_parse_type()?;
[INFO] [stdout]     |                 ----^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:560:17
[INFO] [stdout]     |
[INFO] [stdout] 560 |             let mut param_type = self.try_parse_type()?;
[INFO] [stdout]     |                 ----^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:562:17
[INFO] [stdout]     |
[INFO] [stdout] 562 |             let mut param_name = self.expect_token_type(TokenType::Identifier)?;
[INFO] [stdout]     |                 ----^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:562:17
[INFO] [stdout]     |
[INFO] [stdout] 562 |             let mut param_name = self.expect_token_type(TokenType::Identifier)?;
[INFO] [stdout]     |                 ----^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:650:13
[INFO] [stdout]     |
[INFO] [stdout] 650 |         let mut func_ret_type = self.try_parse_type()
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:650:13
[INFO] [stdout]     |
[INFO] [stdout] 650 |         let mut func_ret_type = self.try_parse_type()
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:654:13
[INFO] [stdout]     |
[INFO] [stdout] 654 |         let mut func_name = self.expect_token_type(TokenType::Identifier)?;
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:654:13
[INFO] [stdout]     |
[INFO] [stdout] 654 |         let mut func_name = self.expect_token_type(TokenType::Identifier)?;
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:660:13
[INFO] [stdout]     |
[INFO] [stdout] 660 |         let mut parameters = self.try_parse_func_decl_params()
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parsing/parser.rs:660:13
[INFO] [stdout]     |
[INFO] [stdout] 660 |         let mut parameters = self.try_parse_func_decl_params()
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `mode` is never read
[INFO] [stdout]    --> src/parsing/parser.rs:702:24
[INFO] [stdout]     |
[INFO] [stdout] 702 |         let mut mode = ForLoopMode::To;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 706 |             mode = ForLoopMode::DownTo;
[INFO] [stdout]     |             -------------------------- `mode` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `mode` is never read
[INFO] [stdout]    --> src/parsing/parser.rs:702:24
[INFO] [stdout]     |
[INFO] [stdout] 702 |         let mut mode = ForLoopMode::To;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 706 |             mode = ForLoopMode::DownTo;
[INFO] [stdout]     |             -------------------------- `mode` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expected`
[INFO] [stdout]   --> src/parsing/static_analyzer.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn undefined(expected: &str, given: &str) -> AnalyzerErrorKind {
[INFO] [stdout]    |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expected`
[INFO] [stdout]   --> src/parsing/static_analyzer.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn undefined(expected: &str, given: &str) -> AnalyzerErrorKind {
[INFO] [stdout]    |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `given`
[INFO] [stdout]   --> src/parsing/static_analyzer.rs:40:38
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn undefined(expected: &str, given: &str) -> AnalyzerErrorKind {
[INFO] [stdout]    |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_given`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `given`
[INFO] [stdout]   --> src/parsing/static_analyzer.rs:40:38
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn undefined(expected: &str, given: &str) -> AnalyzerErrorKind {
[INFO] [stdout]    |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_given`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:359:31
[INFO] [stdout]     |
[INFO] [stdout] 359 |     fn is_expression_writable(info: &mut AnalyzerInfo, expr: &ExpressionAst) -> bool {
[INFO] [stdout]     |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:359:31
[INFO] [stdout]     |
[INFO] [stdout] 359 |     fn is_expression_writable(info: &mut AnalyzerInfo, expr: &ExpressionAst) -> bool {
[INFO] [stdout]     |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:462:22
[INFO] [stdout]     |
[INFO] [stdout] 462 |     fn handle_return(info: &mut AnalyzerInfo, expr: &ExpressionAst) -> Result<(), AnalyzerErrorKind> {
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:462:22
[INFO] [stdout]     |
[INFO] [stdout] 462 |     fn handle_return(info: &mut AnalyzerInfo, expr: &ExpressionAst) -> Result<(), AnalyzerErrorKind> {
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:462:47
[INFO] [stdout]     |
[INFO] [stdout] 462 |     fn handle_return(info: &mut AnalyzerInfo, expr: &ExpressionAst) -> Result<(), AnalyzerErrorKind> {
[INFO] [stdout]     |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]    --> src/parsing/static_analyzer.rs:462:47
[INFO] [stdout]     |
[INFO] [stdout] 462 |     fn handle_return(info: &mut AnalyzerInfo, expr: &ExpressionAst) -> Result<(), AnalyzerErrorKind> {
[INFO] [stdout]     |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/generating/generator.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let mut generator = CodeGenerator {
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/generating/generator.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let mut generator = CodeGenerator {
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]   --> src/generating/ir.rs:64:43
[INFO] [stdout]    |
[INFO] [stdout] 64 |             ExpressionAst::FuncCall(name, params) => ExpressionIR::FuncCallExpression(name.clone(), vec![]),
[INFO] [stdout]    |                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `array`
[INFO] [stdout]   --> src/generating/ir.rs:71:37
[INFO] [stdout]    |
[INFO] [stdout] 71 |             ExpressionAst::ArrayDef(array) => {
[INFO] [stdout]    |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_array`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]   --> src/generating/ir.rs:64:43
[INFO] [stdout]    |
[INFO] [stdout] 64 |             ExpressionAst::FuncCall(name, params) => ExpressionIR::FuncCallExpression(name.clone(), vec![]),
[INFO] [stdout]    |                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `array`
[INFO] [stdout]   --> src/generating/ir.rs:71:37
[INFO] [stdout]    |
[INFO] [stdout] 71 |             ExpressionAst::ArrayDef(array) => {
[INFO] [stdout]    |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_array`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/generating/ir.rs:136:34
[INFO] [stdout]     |
[INFO] [stdout] 136 |             DataTypeKind::Struct(name) => DataFieldType::Integer,
[INFO] [stdout]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/generating/ir.rs:136:34
[INFO] [stdout]     |
[INFO] [stdout] 136 |             DataTypeKind::Struct(name) => DataFieldType::Integer,
[INFO] [stdout]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable_decl`
[INFO] [stdout]   --> src/generating/transformer.rs:53:38
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn transform_var_decl(&mut self, variable_decl: &VariableDeclAst) -> Vec<IRNode> {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_decl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable_decl`
[INFO] [stdout]   --> src/generating/transformer.rs:53:38
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn transform_var_decl(&mut self, variable_decl: &VariableDeclAst) -> Vec<IRNode> {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_decl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/generating/transformer.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut final_expr = expr;
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `final_expr`
[INFO] [stdout]    --> src/generating/transformer.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut final_expr = expr;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/generating/transformer.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |             for item in chain {
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/generating/transformer.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut final_expr = expr;
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `final_expr`
[INFO] [stdout]    --> src/generating/transformer.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut final_expr = expr;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/generating/transformer.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |             for item in chain {
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |             let mut analyzer = Analyzer::analyze(ast.clone());
[INFO] [stdout]    |                 ----^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let input = "entry{string test = \"\";}";
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |             let mut analyzer = Analyzer::analyze(ast.clone());
[INFO] [stdout]    |                 ----^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let input = "entry{string test = \"\";}";
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0583, E0599.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0583, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `miniULE` (bin "miniULE" test) due to 25 previous errors; 43 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `miniULE` (bin "miniULE") due to 25 previous errors; 43 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a1c63326d252fc32f857c7b42b28c00818544fd684879488bdc702c98ae7c023", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1c63326d252fc32f857c7b42b28c00818544fd684879488bdc702c98ae7c023", kill_on_drop: false }`
[INFO] [stdout] a1c63326d252fc32f857c7b42b28c00818544fd684879488bdc702c98ae7c023
