[INFO] cloning repository https://github.com/shelmesky/mlang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shelmesky/mlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelmesky%2Fmlang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelmesky%2Fmlang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8d94c167b306a55d51d3567360ed7fd73108f4af
[INFO] checking shelmesky/mlang against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelmesky%2Fmlang" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shelmesky/mlang
[INFO] finished tweaking git repo https://github.com/shelmesky/mlang
[INFO] tweaked toml for git repo https://github.com/shelmesky/mlang written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shelmesky/mlang on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shelmesky/mlang 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/TheDan64/inkwell`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded parking_lot_core v0.9.4
[INFO] [stderr]   Downloaded unic-ucd-category v0.9.0
[INFO] [stderr]   Downloaded unicode-ident v1.0.5
[INFO] [stderr]   Downloaded unescape v0.1.0
[INFO] [stderr]   Downloaded strum v0.23.0
[INFO] [stderr]   Downloaded rustversion v1.0.9
[INFO] [stderr]   Downloaded clap_lex v0.3.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.47
[INFO] [stderr]   Downloaded strum_macros v0.23.1
[INFO] [stderr]   Downloaded once_cell v1.16.0
[INFO] [stderr]   Downloaded colored v2.0.0
[INFO] [stderr]   Downloaded os_str_bytes v6.4.0
[INFO] [stderr]   Downloaded crossbeam-deque v0.8.2
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.13
[INFO] [stderr]   Downloaded cc v1.0.76
[INFO] [stderr]   Downloaded similar v2.2.1
[INFO] [stderr]   Downloaded rayon-core v1.10.1
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.6
[INFO] [stderr]   Downloaded anyhow v1.0.66
[INFO] [stderr]   Downloaded llvm-sys v100.2.4
[INFO] [stderr]   Downloaded rayon v1.6.1
[INFO] [stderr]   Downloaded syn v1.0.103
[INFO] [stderr]   Downloaded clap v4.0.26
[INFO] [stderr]   Downloaded goldentests v1.1.1
[INFO] [stderr]   Downloaded libc v0.2.137
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b54506d6c42c996282a00f6b05918faafade96976385c97ca554b5146c547770
[INFO] running `Command { std: "docker" "start" "-a" "b54506d6c42c996282a00f6b05918faafade96976385c97ca554b5146c547770", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b54506d6c42c996282a00f6b05918faafade96976385c97ca554b5146c547770", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b54506d6c42c996282a00f6b05918faafade96976385c97ca554b5146c547770", kill_on_drop: false }`
[INFO] [stdout] b54506d6c42c996282a00f6b05918faafade96976385c97ca554b5146c547770
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a7552b44a1893edd4cf7b2a76ad5e0447f504da0aca77c6384217106e8c26235
[INFO] running `Command { std: "docker" "start" "-a" "a7552b44a1893edd4cf7b2a76ad5e0447f504da0aca77c6384217106e8c26235", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.103
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]    Compiling rustversion v1.0.9
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling cc v1.0.76
[INFO] [stderr]    Compiling unicode-segmentation v1.10.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.13
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]     Checking unic-common v0.9.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.4
[INFO] [stderr]     Checking unic-char-range v0.9.0
[INFO] [stderr]     Checking unic-ucd-version v0.9.0
[INFO] [stderr]     Checking unic-char-property v0.9.0
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]     Checking unic-ucd-category v0.9.0
[INFO] [stderr]    Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=master#845270c9)
[INFO] [stderr]    Compiling rayon-core v1.10.1
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]     Checking once_cell v1.16.0
[INFO] [stderr]     Checking unescape v0.1.0
[INFO] [stderr]     Checking os_str_bytes v6.4.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking similar v2.2.1
[INFO] [stderr]     Checking clap_lex v0.3.0
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking shlex v1.1.0
[INFO] [stderr]    Compiling aho-corasick v0.7.19
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]     Checking clap v4.0.26
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.2
[INFO] [stderr]     Checking rayon v1.6.1
[INFO] [stderr]    Compiling regex v1.7.0
[INFO] [stderr]     Checking goldentests v1.1.1
[INFO] [stderr]    Compiling strum_macros v0.23.1
[INFO] [stderr]    Compiling inkwell_internals v0.5.0 (https://github.com/TheDan64/inkwell?branch=master#845270c9)
[INFO] [stderr]    Compiling llvm-sys v100.2.4
[INFO] [stderr]     Checking strum v0.23.0
[INFO] [stderr]     Checking parser v0.1.0 (/opt/rustwide/workdir/parser)
[INFO] [stdout] warning: methods `parse_defer_stmt`, `parse_select_stmt`, `parse_comm_stmt`, and `parse_comm_block` are never used
[INFO] [stdout]     --> parser/src/parser.rs:1371:8
[INFO] [stdout]      |
[INFO] [stdout]  201 | impl Parser {
[INFO] [stdout]      | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1371 |     fn parse_defer_stmt(&mut self) -> Result<ast::DeferStmt> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1581 |     fn parse_select_stmt(&mut self) -> Result<ast::SelectStmt> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1587 |     fn parse_comm_stmt(&mut self) -> Result<ast::Statement> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1626 |     fn parse_comm_block(&mut self) -> Result<ast::CommBlock> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RIGHTARROW` is never used
[INFO] [stdout]    --> parser/src/token.rs:342:18
[INFO] [stdout]     |
[INFO] [stdout] 342 | pub(crate) const RIGHTARROW: Token = Token::Operator(Operator::RightArrow);
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `parse_defer_stmt`, `parse_select_stmt`, `parse_comm_stmt`, and `parse_comm_block` are never used
[INFO] [stdout]     --> parser/src/parser.rs:1371:8
[INFO] [stdout]      |
[INFO] [stdout]  201 | impl Parser {
[INFO] [stdout]      | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1371 |     fn parse_defer_stmt(&mut self) -> Result<ast::DeferStmt> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1581 |     fn parse_select_stmt(&mut self) -> Result<ast::SelectStmt> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1587 |     fn parse_comm_stmt(&mut self) -> Result<ast::Statement> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1626 |     fn parse_comm_block(&mut self) -> Result<ast::CommBlock> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RIGHTARROW` is never used
[INFO] [stdout]    --> parser/src/token.rs:342:18
[INFO] [stdout]     |
[INFO] [stdout] 342 | pub(crate) const RIGHTARROW: Token = Token::Operator(Operator::RightArrow);
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking compiler v0.1.0 (/opt/rustwide/workdir/compiler)
[INFO] [stdout] warning: unused import: `Expression`
[INFO] [stdout]  --> compiler/src/compile_statement.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use parser::ast::{DeclStmt, Expression, Statement};
[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: `BasicValueEnum`
[INFO] [stdout]  --> compiler/src/compile_statement.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | use inkwell::values::{BasicValue, BasicValueEnum};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BasicLit`
[INFO] [stdout]   --> compiler/src/compiler.rs:32:19
[INFO] [stdout]    |
[INFO] [stdout] 32 | use parser::ast::{BasicLit, Expression, Type};
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArrayType`
[INFO] [stdout]  --> compiler/src/types.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | use parser::ast::{ArrayType, Expression};
[INFO] [stdout]   |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Expression`
[INFO] [stdout]  --> compiler/src/compile_statement.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use parser::ast::{DeclStmt, Expression, Statement};
[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: `BasicValueEnum`
[INFO] [stdout]  --> compiler/src/compile_statement.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | use inkwell::values::{BasicValue, BasicValueEnum};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BasicLit`
[INFO] [stdout]   --> compiler/src/compiler.rs:32:19
[INFO] [stdout]    |
[INFO] [stdout] 32 | use parser::ast::{BasicLit, Expression, Type};
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArrayType`
[INFO] [stdout]  --> compiler/src/types.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | use parser::ast::{ArrayType, Expression};
[INFO] [stdout]   |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> compiler/src/symbol_table.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> compiler/src/compile_expression.rs:199:29
[INFO] [stdout]     |
[INFO] [stdout] 199 |                     None => unsafe {
[INFO] [stdout]     |                             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> compiler/src/compile_expression.rs:427:17
[INFO] [stdout]     |
[INFO] [stdout] 427 |             let mut slice_len_field = self
[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 `is_llvm_based_array` is assigned to, but never used
[INFO] [stdout]    --> compiler/src/compile_expression.rs:371:13
[INFO] [stdout]     |
[INFO] [stdout] 371 |         let mut is_llvm_based_array: bool = false;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_is_llvm_based_array` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_slice_of_array`
[INFO] [stdout]    --> compiler/src/compile_expression.rs:400:17
[INFO] [stdout]     |
[INFO] [stdout] 400 |             let is_slice_of_array: bool;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_slice_of_array`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_llvm_based_array` is never read
[INFO] [stdout]    --> compiler/src/compile_expression.rs:382:13
[INFO] [stdout]     |
[INFO] [stdout] 382 |             is_llvm_based_array = true;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_llvm_based_array` is never read
[INFO] [stdout]    --> compiler/src/compile_expression.rs:472:17
[INFO] [stdout]     |
[INFO] [stdout] 472 |                 is_llvm_based_array = false;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> compiler/src/compile_expression.rs:644:25
[INFO] [stdout]     |
[INFO] [stdout] 644 |                     let mut arg_value_enum = arg_value.llvm_value.as_basic_value_enum();
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg_ast_expr`
[INFO] [stdout]    --> compiler/src/compile_expression.rs:624:31
[INFO] [stdout]     |
[INFO] [stdout] 624 |             .map(|(arg_value, arg_ast_expr)| {
[INFO] [stdout]     |                               ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_ast_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> compiler/src/compile_expression.rs:814:35
[INFO] [stdout]     |
[INFO] [stdout] 814 |             let slice_ptr_field = unsafe {
[INFO] [stdout]     |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> compiler/src/compile_expression.rs:841:35
[INFO] [stdout]     |
[INFO] [stdout] 841 |             let slice_len_field = unsafe {
[INFO] [stdout]     |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> compiler/src/compile_statement.rs:184:17
[INFO] [stdout]     |
[INFO] [stdout] 184 |             let mut right_enum_value = right_compile_value.llvm_value.as_basic_value_enum();
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `target_platform` is never read
[INFO] [stdout]    --> compiler/src/compiler.rs:183:35
[INFO] [stdout]     |
[INFO] [stdout] 183 |         let mut target_platform = "".to_string();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `target_triple` is never read
[INFO] [stdout]    --> compiler/src/compiler.rs:184:33
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let mut target_triple = "".to_string();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `object_file_suffix` is never read
[INFO] [stdout]    --> compiler/src/compiler.rs:185:38
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let mut object_file_suffix = "".to_string();
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `temp_path` is never read
[INFO] [stdout]    --> compiler/src/compiler.rs:228:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let mut temp_path = "".to_string();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> compiler/src/compiler.rs:502:13
[INFO] [stdout]     |
[INFO] [stdout] 502 |             _ => {}
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> compiler/src/compiler.rs:502:13
[INFO] [stdout]     |
[INFO] [stdout] 301 |             ast::Declaration::Function(func_decl) => {
[INFO] [stdout]     |             ------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 499 |             ast::Declaration::Variable(_var_spec) => {}
[INFO] [stdout]     |             ------------------------------------- matches some of the same values
[INFO] [stdout] 500 |             ast::Declaration::Const(_const_spec) => {}
[INFO] [stdout]     |             ------------------------------------ matches some of the same values
[INFO] [stdout] 501 |             ast::Declaration::Type(_type_spec) => {}
[INFO] [stdout]     |             ---------------------------------- matches some of the same values
[INFO] [stdout] 502 |             _ => {}
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> compiler/src/symbol_table.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> compiler/src/compile_expression.rs:199:29
[INFO] [stdout]     |
[INFO] [stdout] 199 |                     None => unsafe {
[INFO] [stdout]     |                             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pointer_type`
[INFO] [stdout]    --> compiler/src/types.rs:114:35
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Type::PointerTypeEnum(pointer_type) => Some(0),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string_type`
[INFO] [stdout]    --> compiler/src/types.rs:116:34
[INFO] [stdout]     |
[INFO] [stdout] 116 |             Type::StringTypeEnum(string_type) => Some(0),
[INFO] [stdout]     |                                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function_type`
[INFO] [stdout]    --> compiler/src/types.rs:117:36
[INFO] [stdout]     |
[INFO] [stdout] 117 |             Type::FunctionTypeEnum(function_type) => Some(0),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `array_type`
[INFO] [stdout]    --> compiler/src/types.rs:118:33
[INFO] [stdout]     |
[INFO] [stdout] 118 |             Type::ArrayTypeEnum(array_type) => Some(0),
[INFO] [stdout]     |                                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_array_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice_type`
[INFO] [stdout]    --> compiler/src/types.rs:121:33
[INFO] [stdout]     |
[INFO] [stdout] 121 |             Type::SliceTypeEnum(slice_type) => Some(12 + 8),
[INFO] [stdout]     |                                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slice_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> compiler/src/compile_expression.rs:427:17
[INFO] [stdout]     |
[INFO] [stdout] 427 |             let mut slice_len_field = self
[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 `is_llvm_based_array` is assigned to, but never used
[INFO] [stdout]    --> compiler/src/compile_expression.rs:371:13
[INFO] [stdout]     |
[INFO] [stdout] 371 |         let mut is_llvm_based_array: bool = false;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_is_llvm_based_array` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_slice_of_array`
[INFO] [stdout]    --> compiler/src/compile_expression.rs:400:17
[INFO] [stdout]     |
[INFO] [stdout] 400 |             let is_slice_of_array: bool;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_slice_of_array`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_llvm_based_array` is never read
[INFO] [stdout]    --> compiler/src/compile_expression.rs:382:13
[INFO] [stdout]     |
[INFO] [stdout] 382 |             is_llvm_based_array = true;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_llvm_based_array` is never read
[INFO] [stdout]    --> compiler/src/compile_expression.rs:472:17
[INFO] [stdout]     |
[INFO] [stdout] 472 |                 is_llvm_based_array = false;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_global` is never used
[INFO] [stdout]    --> compiler/src/compiler.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn add_global<'a>(context: &'a Context, module: &Module<'a>) -> GlobalValue<'a> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]  --> compiler/src/package.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Pkg<'a> {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 8 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Pkg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> compiler/src/compile_expression.rs:644:25
[INFO] [stdout]     |
[INFO] [stdout] 644 |                     let mut arg_value_enum = arg_value.llvm_value.as_basic_value_enum();
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg_ast_expr`
[INFO] [stdout]    --> compiler/src/compile_expression.rs:624:31
[INFO] [stdout]     |
[INFO] [stdout] 624 |             .map(|(arg_value, arg_ast_expr)| {
[INFO] [stdout]     |                               ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_ast_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> compiler/src/compile_expression.rs:486:16
[INFO] [stdout]     |
[INFO] [stdout] 486 |             if compile_time_array_length < 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> compiler/src/compile_statement.rs:341:17
[INFO] [stdout]     |
[INFO] [stdout] 341 |                 self.compile_expression(expr.clone().expr);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 341 |                 let _ = self.compile_expression(expr.clone().expr);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> compiler/src/compile_expression.rs:814:35
[INFO] [stdout]     |
[INFO] [stdout] 814 |             let slice_ptr_field = unsafe {
[INFO] [stdout]     |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> compiler/src/compile_expression.rs:841:35
[INFO] [stdout]     |
[INFO] [stdout] 841 |             let slice_len_field = unsafe {
[INFO] [stdout]     |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> compiler/src/compile_statement.rs:184:17
[INFO] [stdout]     |
[INFO] [stdout] 184 |             let mut right_enum_value = right_compile_value.llvm_value.as_basic_value_enum();
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking mlang v0.1.0 (/opt/rustwide/workdir/cmd/mlang)
[INFO] [stdout] warning: value assigned to `target_platform` is never read
[INFO] [stdout]    --> compiler/src/compiler.rs:183:35
[INFO] [stdout]     |
[INFO] [stdout] 183 |         let mut target_platform = "".to_string();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `target_triple` is never read
[INFO] [stdout]    --> compiler/src/compiler.rs:184:33
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let mut target_triple = "".to_string();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `object_file_suffix` is never read
[INFO] [stdout]    --> compiler/src/compiler.rs:185:38
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let mut object_file_suffix = "".to_string();
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `temp_path` is never read
[INFO] [stdout]    --> compiler/src/compiler.rs:228:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let mut temp_path = "".to_string();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> compiler/src/compiler.rs:502:13
[INFO] [stdout]     |
[INFO] [stdout] 502 |             _ => {}
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> compiler/src/compiler.rs:502:13
[INFO] [stdout]     |
[INFO] [stdout] 301 |             ast::Declaration::Function(func_decl) => {
[INFO] [stdout]     |             ------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 499 |             ast::Declaration::Variable(_var_spec) => {}
[INFO] [stdout]     |             ------------------------------------- matches some of the same values
[INFO] [stdout] 500 |             ast::Declaration::Const(_const_spec) => {}
[INFO] [stdout]     |             ------------------------------------ matches some of the same values
[INFO] [stdout] 501 |             ast::Declaration::Type(_type_spec) => {}
[INFO] [stdout]     |             ---------------------------------- matches some of the same values
[INFO] [stdout] 502 |             _ => {}
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pointer_type`
[INFO] [stdout]    --> compiler/src/types.rs:114:35
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Type::PointerTypeEnum(pointer_type) => Some(0),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string_type`
[INFO] [stdout]    --> compiler/src/types.rs:116:34
[INFO] [stdout]     |
[INFO] [stdout] 116 |             Type::StringTypeEnum(string_type) => Some(0),
[INFO] [stdout]     |                                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function_type`
[INFO] [stdout]    --> compiler/src/types.rs:117:36
[INFO] [stdout]     |
[INFO] [stdout] 117 |             Type::FunctionTypeEnum(function_type) => Some(0),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `array_type`
[INFO] [stdout]    --> compiler/src/types.rs:118:33
[INFO] [stdout]     |
[INFO] [stdout] 118 |             Type::ArrayTypeEnum(array_type) => Some(0),
[INFO] [stdout]     |                                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_array_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice_type`
[INFO] [stdout]    --> compiler/src/types.rs:121:33
[INFO] [stdout]     |
[INFO] [stdout] 121 |             Type::SliceTypeEnum(slice_type) => Some(12 + 8),
[INFO] [stdout]     |                                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slice_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_global` is never used
[INFO] [stdout]    --> compiler/src/compiler.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn add_global<'a>(context: &'a Context, module: &Module<'a>) -> GlobalValue<'a> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]  --> compiler/src/package.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Pkg<'a> {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 8 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Pkg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> compiler/src/compile_expression.rs:486:16
[INFO] [stdout]     |
[INFO] [stdout] 486 |             if compile_time_array_length < 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> compiler/src/compile_statement.rs:341:17
[INFO] [stdout]     |
[INFO] [stdout] 341 |                 self.compile_expression(expr.clone().expr);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 341 |                 let _ = self.compile_expression(expr.clone().expr);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TestConfig` and `TestResult`
[INFO] [stdout]  --> cmd/mlang/src/main.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use goldentests::{TestConfig, TestResult};
[INFO] [stdout]   |                   ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.97s
[INFO] running `Command { std: "docker" "inspect" "a7552b44a1893edd4cf7b2a76ad5e0447f504da0aca77c6384217106e8c26235", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7552b44a1893edd4cf7b2a76ad5e0447f504da0aca77c6384217106e8c26235", kill_on_drop: false }`
[INFO] [stdout] a7552b44a1893edd4cf7b2a76ad5e0447f504da0aca77c6384217106e8c26235
