[INFO] cloning repository https://github.com/vivekascoder/tiny_lang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivekascoder/tiny_lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivekascoder%2Ftiny_lang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivekascoder%2Ftiny_lang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 019e467d3d17a2125f5f7446cda77f411b5282ff
[INFO] checking vivekascoder/tiny_lang against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivekascoder%2Ftiny_lang" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/vivekascoder/tiny_lang
[INFO] finished tweaking git repo https://github.com/vivekascoder/tiny_lang
[INFO] tweaked toml for git repo https://github.com/vivekascoder/tiny_lang written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vivekascoder/tiny_lang 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/vivekascoder/tiny_lang already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.about
[INFO] [stderr]     Updating git repository `https://github.com/TheDan64/inkwell`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded logos v0.13.0
[INFO] [stderr]   Downloaded similar v2.2.1
[INFO] [stderr]   Downloaded logos-derive v0.13.0
[INFO] [stderr]   Downloaded logos-codegen v0.13.0
[INFO] [stderr]   Downloaded llvm-sys v150.1.2
[INFO] [stderr]   Downloaded chumsky v0.9.2
[INFO] [stderr]   Downloaded regex v1.8.4
[INFO] [stderr]   Downloaded insta v1.30.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7a28ad6dd30918f1b34bbd90e9f623c375e669656289eb5574b58d6e9964b9b2
[INFO] running `Command { std: "docker" "start" "-a" "7a28ad6dd30918f1b34bbd90e9f623c375e669656289eb5574b58d6e9964b9b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7a28ad6dd30918f1b34bbd90e9f623c375e669656289eb5574b58d6e9964b9b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a28ad6dd30918f1b34bbd90e9f623c375e669656289eb5574b58d6e9964b9b2", kill_on_drop: false }`
[INFO] [stdout] 7a28ad6dd30918f1b34bbd90e9f623c375e669656289eb5574b58d6e9964b9b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a82f984ad52f9c24494d1ef416919f16a248c10e7aa7d5f3f5909fc55f46d0ce
[INFO] running `Command { std: "docker" "start" "-a" "a82f984ad52f9c24494d1ef416919f16a248c10e7aa7d5f3f5909fc55f46d0ce", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.about
[INFO] [stderr]    Compiling proc-macro2 v1.0.64
[INFO] [stderr]    Compiling quote v1.0.29
[INFO] [stderr]    Compiling unicode-ident v1.0.10
[INFO] [stderr]    Compiling semver v1.0.18
[INFO] [stderr]    Compiling rustix v0.38.3
[INFO] [stderr]    Compiling regex-syntax v0.7.2
[INFO] [stderr]     Checking linux-raw-sys v0.4.3
[INFO] [stderr]     Checking bitflags v2.3.3
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling aho-corasick v1.0.2
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]     Checking anstyle v1.0.1
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling inkwell v0.2.0 (https://github.com/TheDan64/inkwell?branch=master#ec963b95)
[INFO] [stderr]     Checking clap_lex v0.5.0
[INFO] [stderr]     Checking regex v1.8.4
[INFO] [stderr]     Checking termcolor v1.2.0
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking log v0.4.19
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking ariadne v0.3.0
[INFO] [stderr]    Compiling serde v1.0.171
[INFO] [stderr]     Checking console v0.15.7
[INFO] [stderr]     Checking similar v2.2.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling syn v2.0.25
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking anstream v0.3.2
[INFO] [stderr]     Checking clap_builder v4.3.11
[INFO] [stderr]     Checking chumsky v0.9.2
[INFO] [stderr]     Checking env_logger v0.10.0
[INFO] [stderr]    Compiling logos-codegen v0.13.0
[INFO] [stderr]     Checking insta v1.30.0
[INFO] [stderr]    Compiling llvm-sys v150.1.2
[INFO] [stderr]    Compiling clap_derive v4.3.2
[INFO] [stderr]    Compiling inkwell_internals v0.8.0 (https://github.com/TheDan64/inkwell?branch=master#ec963b95)
[INFO] [stderr]    Compiling logos-derive v0.13.0
[INFO] [stderr]     Checking logos v0.13.0
[INFO] [stderr]     Checking clap v4.3.11
[INFO] [stderr]     Checking tiny_lang v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::scope`
[INFO] [stdout]  --> src/codegen/llvm.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::scope;
[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: `AnyTypeEnum`
[INFO] [stdout]   --> src/codegen/llvm.rs:11:22
[INFO] [stdout]    |
[INFO] [stdout] 11 | use inkwell::types::{AnyTypeEnum, BasicType, BasicTypeEnum, StructType};
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StructValue`
[INFO] [stdout]   --> src/codegen/llvm.rs:13:47
[INFO] [stdout]    |
[INFO] [stdout] 13 | use inkwell::values::{BasicMetadataValueEnum, StructValue};
[INFO] [stdout]    |                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chumsky::prelude::*`
[INFO] [stdout]  --> src/parser/chumsky_parser.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chumsky::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::scope`
[INFO] [stdout]  --> src/codegen/llvm.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::scope;
[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: `AnyTypeEnum`
[INFO] [stdout]   --> src/codegen/llvm.rs:11:22
[INFO] [stdout]    |
[INFO] [stdout] 11 | use inkwell::types::{AnyTypeEnum, BasicType, BasicTypeEnum, StructType};
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StructValue`
[INFO] [stdout]   --> src/codegen/llvm.rs:13:47
[INFO] [stdout]    |
[INFO] [stdout] 13 | use inkwell::values::{BasicMetadataValueEnum, StructValue};
[INFO] [stdout]    |                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsTypeRef`, `AsValueRef`, `BasicValue`, `PointerValue`, and `context`
[INFO] [stdout]    --> src/codegen/llvm.rs:952:9
[INFO] [stdout]     |
[INFO] [stdout] 952 |         context,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 953 |         passes::PassManagerSubType,
[INFO] [stdout] 954 |         types::{AsTypeRef, BasicMetadataTypeEnum, BasicType},
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout] 955 |         values::{AnyValue, AsValueRef, BasicMetadataValueEnum, BasicValue, PointerValue},
[INFO] [stdout]     |                            ^^^^^^^^^^                          ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ast::Token`, `lexer::Lexer`, and `logos_lexer::LexError`
[INFO] [stdout]    --> src/codegen/llvm.rs:960:9
[INFO] [stdout]     |
[INFO] [stdout] 960 |         ast::Token,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 961 |         lexer::{lexer::Lexer, logos_lexer::LexError},
[INFO] [stdout]     |                 ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chumsky::prelude::*`
[INFO] [stdout]  --> src/parser/chumsky_parser.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chumsky::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]   --> src/codegen/llvm.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::borrow::BorrowMut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chumsky::chain::Chain`
[INFO] [stdout]  --> src/codegen/llvm.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chumsky::chain::Chain;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AnyValue`
[INFO] [stdout]   --> src/codegen/llvm.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 | use inkwell::values::{AnyValue, IntValue};
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/code.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 285 |         for i in self.instructions.iter() {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]    --> src/codegen/llvm.rs:264:26
[INFO] [stdout]     |
[INFO] [stdout] 264 |             Expr::Prefix(p, expr) => {
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]    --> src/codegen/llvm.rs:264:29
[INFO] [stdout]     |
[INFO] [stdout] 264 |             Expr::Prefix(p, expr) => {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fns`
[INFO] [stdout]    --> src/codegen/llvm.rs:428:13
[INFO] [stdout]     |
[INFO] [stdout] 428 |         let fns = self.fns.as_ref().borrow();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_fns`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]   --> src/codegen/llvm.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::borrow::BorrowMut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chumsky::chain::Chain`
[INFO] [stdout]  --> src/codegen/llvm.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chumsky::chain::Chain;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AnyValue`
[INFO] [stdout]   --> src/codegen/llvm.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 | use inkwell::values::{AnyValue, IntValue};
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `passes::PassManagerSubType`
[INFO] [stdout]    --> src/codegen/llvm.rs:953:9
[INFO] [stdout]     |
[INFO] [stdout] 953 |         passes::PassManagerSubType,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BasicType`
[INFO] [stdout]    --> src/codegen/llvm.rs:954:51
[INFO] [stdout]     |
[INFO] [stdout] 954 |         types::{AsTypeRef, BasicMetadataTypeEnum, BasicType},
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/codegen/llvm.rs:632:13
[INFO] [stdout]     |
[INFO] [stdout] 632 |             _ => unimplemented!(),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/codegen/llvm.rs:632:13
[INFO] [stdout]     |
[INFO] [stdout] 607 |             Type::UnsignedInteger => self.builder.build_alloca(self.ctx.i32_type(), ""),
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] 608 |             Type::SignedInteger => self.builder.build_alloca(self.ctx.i32_type(), ""),
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] 609 |             Type::Bool => self.builder.build_alloca(self.ctx.bool_type(), ""),
[INFO] [stdout]     |             ---------- matches some of the same values
[INFO] [stdout] 610 |             Type::Char => self.builder.build_alloca(self.ctx.i8_type(), ""),
[INFO] [stdout]     |             ---------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 632 |             _ => unimplemented!(),
[INFO] [stdout]     |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fn_val`
[INFO] [stdout]    --> src/codegen/llvm.rs:860:21
[INFO] [stdout]     |
[INFO] [stdout] 860 |                 let fn_val = self.compile_fn(f)?;
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/code.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 285 |         for i in self.instructions.iter() {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `operator`
[INFO] [stdout]    --> src/interpreter.rs:171:32
[INFO] [stdout]     |
[INFO] [stdout] 171 |     fn eval_prefix_expr(&self, operator: Prefix, expr: Expr) -> Result<ExprResult> {
[INFO] [stdout]     |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]    --> src/interpreter.rs:171:50
[INFO] [stdout]     |
[INFO] [stdout] 171 |     fn eval_prefix_expr(&self, operator: Prefix, expr: Expr) -> Result<ExprResult> {
[INFO] [stdout]     |                                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/interpreter.rs:196:29
[INFO] [stdout]     |
[INFO] [stdout] 196 |             Literal::String(s) => unimplemented!("implement string support in ast interpreter."),
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]    --> src/codegen/llvm.rs:264:26
[INFO] [stdout]     |
[INFO] [stdout] 264 |             Expr::Prefix(p, expr) => {
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]    --> src/codegen/llvm.rs:264:29
[INFO] [stdout]     |
[INFO] [stdout] 264 |             Expr::Prefix(p, expr) => {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/interpreter.rs:456:17
[INFO] [stdout]     |
[INFO] [stdout] 456 |             let r = self.eval_statement(statement)?;
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fns`
[INFO] [stdout]    --> src/codegen/llvm.rs:428:13
[INFO] [stdout]     |
[INFO] [stdout] 428 |         let fns = self.fns.as_ref().borrow();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_fns`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/codegen/llvm.rs:632:13
[INFO] [stdout]     |
[INFO] [stdout] 632 |             _ => unimplemented!(),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/codegen/llvm.rs:632:13
[INFO] [stdout]     |
[INFO] [stdout] 607 |             Type::UnsignedInteger => self.builder.build_alloca(self.ctx.i32_type(), ""),
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] 608 |             Type::SignedInteger => self.builder.build_alloca(self.ctx.i32_type(), ""),
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] 609 |             Type::Bool => self.builder.build_alloca(self.ctx.bool_type(), ""),
[INFO] [stdout]     |             ---------- matches some of the same values
[INFO] [stdout] 610 |             Type::Char => self.builder.build_alloca(self.ctx.i8_type(), ""),
[INFO] [stdout]     |             ---------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 632 |             _ => unimplemented!(),
[INFO] [stdout]     |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fn_val`
[INFO] [stdout]    --> src/codegen/llvm.rs:860:21
[INFO] [stdout]     |
[INFO] [stdout] 860 |                 let fn_val = self.compile_fn(f)?;
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr_val`
[INFO] [stdout]     --> src/codegen/llvm.rs:1076:13
[INFO] [stdout]      |
[INFO] [stdout] 1076 |         let instr_val = builder.build_store(ptr, ctx.i64_type().const_int(345, false));
[INFO] [stdout]      |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `puts_fn`
[INFO] [stdout]     --> src/codegen/llvm.rs:1173:13
[INFO] [stdout]      |
[INFO] [stdout] 1173 |         let puts_fn = module.add_function("puts", puts_fn_type, None);
[INFO] [stdout]      |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_puts_fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `operator`
[INFO] [stdout]    --> src/interpreter.rs:171:32
[INFO] [stdout]     |
[INFO] [stdout] 171 |     fn eval_prefix_expr(&self, operator: Prefix, expr: Expr) -> Result<ExprResult> {
[INFO] [stdout]     |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]    --> src/interpreter.rs:171:50
[INFO] [stdout]     |
[INFO] [stdout] 171 |     fn eval_prefix_expr(&self, operator: Prefix, expr: Expr) -> Result<ExprResult> {
[INFO] [stdout]     |                                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/interpreter.rs:196:29
[INFO] [stdout]     |
[INFO] [stdout] 196 |             Literal::String(s) => unimplemented!("implement string support in ast interpreter."),
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/interpreter.rs:456:17
[INFO] [stdout]     |
[INFO] [stdout] 456 |             let r = self.eval_statement(statement)?;
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `len` is never read
[INFO] [stdout]    --> src/code.rs:181:5
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Instruction {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 180 |     type_: OpCodeType,
[INFO] [stdout] 181 |     len: usize,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Compiler` is never constructed
[INFO] [stdout]    --> src/code.rs:220:8
[INFO] [stdout]     |
[INFO] [stdout] 220 | struct Compiler {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_constant`, `add_instruction`, and `compile` are never used
[INFO] [stdout]    --> src/code.rs:226:12
[INFO] [stdout]     |
[INFO] [stdout] 225 | impl Compiler {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] 226 |     pub fn add_constant(&mut self, e: ExprResult) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     pub fn add_instruction(&mut self, i: Instruction) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     pub fn compile(&mut self, program: Program) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VM` is never constructed
[INFO] [stdout]    --> src/code.rs:267:8
[INFO] [stdout]     |
[INFO] [stdout] 267 | struct VM {
[INFO] [stdout]     |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `run` are never used
[INFO] [stdout]    --> src/code.rs:275:12
[INFO] [stdout]     |
[INFO] [stdout] 274 | impl VM {
[INFO] [stdout]     | ------- associated items in this implementation
[INFO] [stdout] 275 |     pub fn new(instr: Bytes, consts: Vec<ExprResult>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 |     pub fn run(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `i8_llvm_str` is never used
[INFO] [stdout]    --> src/codegen/llvm.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout]  73 | impl<'ctx, 'f> LLVMCodeGen<'ctx, 'f> {
[INFO] [stdout]     | ------------------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 |     fn i8_llvm_str(&self, v: &str) -> Vec<IntValue> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `keyword_to_type` is never used
[INFO] [stdout]    --> src/parser/mod.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl Parser {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn keyword_to_type(&mut self, tok: &TokenType) -> Result<Type> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Cond` is never used
[INFO] [stdout]  --> src/tiny_ir/mod.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum Cond {
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BinOp` is never used
[INFO] [stdout]   --> src/tiny_ir/mod.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | enum BinOp {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instr` is never used
[INFO] [stdout]   --> src/tiny_ir/mod.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum Instr {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]   --> src/tiny_ir/mod.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct Block {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IrFunction` is never constructed
[INFO] [stdout]   --> src/tiny_ir/mod.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | struct IrFunction {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TinyIR` is never constructed
[INFO] [stdout]   --> src/tiny_ir/mod.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | struct TinyIR {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `ast_to_tiny_ir` are never used
[INFO] [stdout]   --> src/tiny_ir/mod.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | impl TinyIR {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 79 |     fn new(program: Program) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     fn ast_to_tiny_ir(&self) -> IrFunction {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/codegen/llvm.rs:133:20
[INFO] [stdout]     |
[INFO] [stdout] 133 |     fn i8_llvm_str(&self, v: &str) -> Vec<IntValue> {
[INFO] [stdout]     |                    ^^^^^                  ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 133 |     fn i8_llvm_str(&self, v: &str) -> Vec<IntValue<'_>> {
[INFO] [stdout]     |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `len` is never read
[INFO] [stdout]    --> src/code.rs:181:5
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Instruction {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 180 |     type_: OpCodeType,
[INFO] [stdout] 181 |     len: usize,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Compiler` is never constructed
[INFO] [stdout]    --> src/code.rs:220:8
[INFO] [stdout]     |
[INFO] [stdout] 220 | struct Compiler {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_constant`, `add_instruction`, and `compile` are never used
[INFO] [stdout]    --> src/code.rs:226:12
[INFO] [stdout]     |
[INFO] [stdout] 225 | impl Compiler {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] 226 |     pub fn add_constant(&mut self, e: ExprResult) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     pub fn add_instruction(&mut self, i: Instruction) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     pub fn compile(&mut self, program: Program) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VM` is never constructed
[INFO] [stdout]    --> src/code.rs:267:8
[INFO] [stdout]     |
[INFO] [stdout] 267 | struct VM {
[INFO] [stdout]     |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `run` are never used
[INFO] [stdout]    --> src/code.rs:275:12
[INFO] [stdout]     |
[INFO] [stdout] 274 | impl VM {
[INFO] [stdout]     | ------- associated items in this implementation
[INFO] [stdout] 275 |     pub fn new(instr: Bytes, consts: Vec<ExprResult>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 |     pub fn run(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `i8_llvm_str` is never used
[INFO] [stdout]    --> src/codegen/llvm.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout]  73 | impl<'ctx, 'f> LLVMCodeGen<'ctx, 'f> {
[INFO] [stdout]     | ------------------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 |     fn i8_llvm_str(&self, v: &str) -> Vec<IntValue> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `keyword_to_type` is never used
[INFO] [stdout]    --> src/parser/mod.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl Parser {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn keyword_to_type(&mut self, tok: &TokenType) -> Result<Type> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Cond` is never used
[INFO] [stdout]  --> src/tiny_ir/mod.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum Cond {
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BinOp` is never used
[INFO] [stdout]   --> src/tiny_ir/mod.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | enum BinOp {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instr` is never used
[INFO] [stdout]   --> src/tiny_ir/mod.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum Instr {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]   --> src/tiny_ir/mod.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct Block {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IrFunction` is never constructed
[INFO] [stdout]   --> src/tiny_ir/mod.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | struct IrFunction {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TinyIR` is never constructed
[INFO] [stdout]   --> src/tiny_ir/mod.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | struct TinyIR {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `ast_to_tiny_ir` are never used
[INFO] [stdout]   --> src/tiny_ir/mod.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | impl TinyIR {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 79 |     fn new(program: Program) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     fn ast_to_tiny_ir(&self) -> IrFunction {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `OpConstant` should have a snake case name
[INFO] [stdout]    --> src/code.rs:302:13
[INFO] [stdout]     |
[INFO] [stdout] 302 |         let OpConstant = Instruction::new(OpCodeType::OpConstant, 2, vec![34, 34]).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `op_constant`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/codegen/llvm.rs:133:20
[INFO] [stdout]     |
[INFO] [stdout] 133 |     fn i8_llvm_str(&self, v: &str) -> Vec<IntValue> {
[INFO] [stdout]     |                    ^^^^^                  ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 133 |     fn i8_llvm_str(&self, v: &str) -> Vec<IntValue<'_>> {
[INFO] [stdout]     |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.85s
[INFO] running `Command { std: "docker" "inspect" "a82f984ad52f9c24494d1ef416919f16a248c10e7aa7d5f3f5909fc55f46d0ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a82f984ad52f9c24494d1ef416919f16a248c10e7aa7d5f3f5909fc55f46d0ce", kill_on_drop: false }`
[INFO] [stdout] a82f984ad52f9c24494d1ef416919f16a248c10e7aa7d5f3f5909fc55f46d0ce
