[INFO] cloning repository https://github.com/mohammad-ayan-008/tlang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mohammad-ayan-008/tlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohammad-ayan-008%2Ftlang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohammad-ayan-008%2Ftlang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ce121d00a03383130b83120f68293494d49cebf9
[INFO] checking mohammad-ayan-008/tlang against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohammad-ayan-008%2Ftlang" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mohammad-ayan-008/tlang
[INFO] finished tweaking git repo https://github.com/mohammad-ayan-008/tlang
[INFO] tweaked toml for git repo https://github.com/mohammad-ayan-008/tlang written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mohammad-ayan-008/tlang on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mohammad-ayan-008/tlang 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5e86ff125f6aa5f9907f8db8b6209be5ac228a53633eb27ef2e22202e44d3926
[INFO] running `Command { std: "docker" "start" "5e86ff125f6aa5f9907f8db8b6209be5ac228a53633eb27ef2e22202e44d3926", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e86ff125f6aa5f9907f8db8b6209be5ac228a53633eb27ef2e22202e44d3926", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5e86ff125f6aa5f9907f8db8b6209be5ac228a53633eb27ef2e22202e44d3926" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e86ff125f6aa5f9907f8db8b6209be5ac228a53633eb27ef2e22202e44d3926", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5e86ff125f6aa5f9907f8db8b6209be5ac228a53633eb27ef2e22202e44d3926" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling regex-lite v0.1.7
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling cc v1.2.34
[INFO] [stderr]    Compiling inkwell v0.6.0
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling llvm-sys v181.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling inkwell_internals v0.11.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking testlang v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BufRead`, `Write`, `stdin`, and `stdout`
[INFO] [stdout]  --> src/main.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     io::{BufRead, Write, stdin, stdout},
[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: `env::set_var`
[INFO] [stdout]  --> src/codegen.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, env::set_var, ops::Deref, panic};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/codegen.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     context::{self, Context},
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `token::Literal`
[INFO] [stdout]   --> src/codegen.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     expr::{self, Expr, LiteralValue},
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 14 |     stmt::Stmt,
[INFO] [stdout] 15 |     token::Literal,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell`, `format`, `rc::Rc`, `result`, `usize`, and `write`
[INFO] [stdout]  --> src/expr.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     cell::RefCell,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 3 |     fmt::{Debug, format, write},
[INFO] [stdout]   |                  ^^^^^^  ^^^^^
[INFO] [stdout] 4 |     rc::Rc,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 5 |     result, usize,
[INFO] [stdout]   |     ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokentype::TokenType`
[INFO] [stdout]   --> src/expr.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     tokentype::TokenType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `any::type_name` and `string`
[INFO] [stdout]  --> src/lexer.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{any::type_name, collections::HashMap, string, usize};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `env`, `process::id`, and `result`
[INFO] [stdout]  --> src/parser.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env, process::id, result, usize, vec};
[INFO] [stdout]   |           ^^^  ^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Literal`, `self`, and `self`
[INFO] [stdout]  --> src/parser.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     expr::{self, Expr, LiteralValue},
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 5 |     stmt::Stmt,
[INFO] [stdout] 6 |     token::{self, Literal, Token},
[INFO] [stdout]   |             ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/token.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `LEFT_PAREN` should have an upper camel case name
[INFO] [stdout]  --> src/tokentype.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     LEFT_PAREN,
[INFO] [stdout]   |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftParen`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `RIGHT_PAREN` should have an upper camel case name
[INFO] [stdout]  --> src/tokentype.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     RIGHT_PAREN,
[INFO] [stdout]   |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightParen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `LEFT_BRACE` should have an upper camel case name
[INFO] [stdout]  --> src/tokentype.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     LEFT_BRACE,
[INFO] [stdout]   |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftBrace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `RIGHT_BRACE` should have an upper camel case name
[INFO] [stdout]  --> src/tokentype.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     RIGHT_BRACE,
[INFO] [stdout]   |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightBrace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BANG_EQUAL` should have an upper camel case name
[INFO] [stdout]   --> src/tokentype.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     BANG_EQUAL,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `BangEqual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `EQUAL_EQUAL` should have an upper camel case name
[INFO] [stdout]   --> src/tokentype.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     EQUAL_EQUAL,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `EqualEqual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `GREATER_EQUAL` should have an upper camel case name
[INFO] [stdout]   --> src/tokentype.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     GREATER_EQUAL,
[INFO] [stdout]    |     ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GreaterEqual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `LESS_EQUAL` should have an upper camel case name
[INFO] [stdout]   --> src/tokentype.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     LESS_EQUAL,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessEqual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/expr.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     result, usize,
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/lexer.rs:2:57
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{any::type_name, collections::HashMap, string, usize};
[INFO] [stdout]   |                                                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/parser.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env, process::id, result, usize, vec};
[INFO] [stdout]   |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:257:65
[INFO] [stdout]     |
[INFO] [stdout] 257 |                     (TokenType::MINUS, BasicTypeEnum::FloatType(a)) => {
[INFO] [stdout]     |                                                                 ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:286:47
[INFO] [stdout]     |
[INFO] [stdout] 286 |                     (BasicTypeEnum::FloatType(a), TokenType::PLUS, BasicTypeEnum::FloatType(b)) => {
[INFO] [stdout]     |                                               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:286:93
[INFO] [stdout]     |
[INFO] [stdout] 286 |                     (BasicTypeEnum::FloatType(a), TokenType::PLUS, BasicTypeEnum::FloatType(b)) => {
[INFO] [stdout]     |                                                                                             ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:300:50
[INFO] [stdout]     |
[INFO] [stdout] 300 |                         BasicTypeEnum::FloatType(a),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:302:50
[INFO] [stdout]     |
[INFO] [stdout] 302 |                         BasicTypeEnum::FloatType(b),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:314:47
[INFO] [stdout]     |
[INFO] [stdout] 314 |                     (BasicTypeEnum::FloatType(a), TokenType::STAR, BasicTypeEnum::FloatType(b)) => {
[INFO] [stdout]     |                                               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:314:93
[INFO] [stdout]     |
[INFO] [stdout] 314 |                     (BasicTypeEnum::FloatType(a), TokenType::STAR, BasicTypeEnum::FloatType(b)) => {
[INFO] [stdout]     |                                                                                             ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:328:50
[INFO] [stdout]     |
[INFO] [stdout] 328 |                         BasicTypeEnum::FloatType(a),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:330:50
[INFO] [stdout]     |
[INFO] [stdout] 330 |                         BasicTypeEnum::FloatType(b),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:343:50
[INFO] [stdout]     |
[INFO] [stdout] 343 |                         BasicTypeEnum::FloatType(a),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:345:50
[INFO] [stdout]     |
[INFO] [stdout] 345 |                         BasicTypeEnum::FloatType(b),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:358:47
[INFO] [stdout]     |
[INFO] [stdout] 358 |                     (BasicTypeEnum::FloatType(a), TokenType::LESS, BasicTypeEnum::FloatType(b)) => {
[INFO] [stdout]     |                                               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:358:93
[INFO] [stdout]     |
[INFO] [stdout] 358 |                     (BasicTypeEnum::FloatType(a), TokenType::LESS, BasicTypeEnum::FloatType(b)) => {
[INFO] [stdout]     |                                                                                             ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:373:50
[INFO] [stdout]     |
[INFO] [stdout] 373 |                         BasicTypeEnum::FloatType(a),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:375:50
[INFO] [stdout]     |
[INFO] [stdout] 375 |                         BasicTypeEnum::FloatType(b),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:389:50
[INFO] [stdout]     |
[INFO] [stdout] 389 |                         BasicTypeEnum::FloatType(a),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:391:50
[INFO] [stdout]     |
[INFO] [stdout] 391 |                         BasicTypeEnum::FloatType(b),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:405:50
[INFO] [stdout]     |
[INFO] [stdout] 405 |                         BasicTypeEnum::FloatType(a),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:407:50
[INFO] [stdout]     |
[INFO] [stdout] 407 |                         BasicTypeEnum::FloatType(b),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:421:50
[INFO] [stdout]     |
[INFO] [stdout] 421 |                         BasicTypeEnum::FloatType(a),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:423:50
[INFO] [stdout]     |
[INFO] [stdout] 423 |                         BasicTypeEnum::FloatType(b),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `kind`
[INFO] [stdout]   --> src/parser.rs:55:32
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn funtion_decl(&mut self, kind: &str) -> Result<Stmt, String> {
[INFO] [stdout]    |                                ^^^^
[INFO] [stdout] 56 |         let token = self.consume(TokenType::IDENTIFIER, "Expected {kind} name")?;
[INFO] [stdout]    |                                                         ---------------------- you might have meant to use string interpolation in this string literal
[INFO] [stdout] 57 |         self.consume(TokenType::LEFT_PAREN, "Expected  '(' after {kind} name");
[INFO] [stdout]    |                                             --------------------------------- you might have meant to use string interpolation in this string literal
[INFO] [stdout]    |
[INFO] [stdout] help: string interpolation only works in `format!` invocations
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let token = self.consume(TokenType::IDENTIFIER, format!("Expected {kind} name"))?;
[INFO] [stdout]    |                                                         ++++++++                      +
[INFO] [stdout] help: string interpolation only works in `format!` invocations
[INFO] [stdout]    |
[INFO] [stdout] 57 |         self.consume(TokenType::LEFT_PAREN, format!("Expected  '(' after {kind} name"));
[INFO] [stdout]    |                                             ++++++++                                 +
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn funtion_decl(&mut self, _kind: &str) -> Result<Stmt, String> {
[INFO] [stdout]    |                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parser.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let mut body;
[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: unused variable: `token`
[INFO] [stdout]    --> src/parser.rs:428:13
[INFO] [stdout]     |
[INFO] [stdout] 428 |         let token = self.previous();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `load_if_pointer` is never used
[INFO] [stdout]    --> src/codegen.rs:471:8
[INFO] [stdout]     |
[INFO] [stdout]  29 | impl<'ctx> Compiler<'ctx> {
[INFO] [stdout]     | ------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 471 |     fn load_if_pointer(&mut self, value: BasicValueEnum<'ctx>) -> BasicValueEnum<'ctx> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `is_truthy`, `is_falsy`, `from_bool`, and `to_type` are never used
[INFO] [stdout]   --> src/expr.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl LiteralValue {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 38 |     pub fn is_truthy(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn is_falsy(&self) -> LiteralValue {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn from_bool(b: bool) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn to_type(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `params`, and `body` are never read
[INFO] [stdout]   --> src/stmt.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Function {
[INFO] [stdout]    |     -------- fields in this variant
[INFO] [stdout] 28 |         name: Token,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 29 |         params: Vec<Token>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 30 |         body: Vec<Stmt>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stmt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `token` and `expr` are never read
[INFO] [stdout]   --> src/stmt.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     Return {
[INFO] [stdout]    |     ------ fields in this variant
[INFO] [stdout] 33 |         token: Token,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 34 |         expr: Option<Expr>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stmt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ILiteral` and `IdentifierLiteral` are never constructed
[INFO] [stdout]   --> src/token.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum Literal {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  9 |     ILiteral(i64),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 10 |     IdentifierLiteral(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `scanTokens` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn scanTokens(mut self) -> Vec<Token> {
[INFO] [stdout]    |            ^^^^^^^^^^ help: convert the identifier to snake case: `scan_tokens`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `scanToken` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn scanToken(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^ help: convert the identifier to snake case: `scan_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/parser.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         self.consume(TokenType::LEFT_PAREN, "Expected  '(' after {kind} name");
[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] 57 |         let _ = self.consume(TokenType::LEFT_PAREN, "Expected  '(' after {kind} name");
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead`, `Write`, `stdin`, and `stdout`
[INFO] [stdout]  --> src/main.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     io::{BufRead, Write, stdin, stdout},
[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: `env::set_var`
[INFO] [stdout]  --> src/codegen.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, env::set_var, ops::Deref, panic};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/codegen.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     context::{self, Context},
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `token::Literal`
[INFO] [stdout]   --> src/codegen.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     expr::{self, Expr, LiteralValue},
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 14 |     stmt::Stmt,
[INFO] [stdout] 15 |     token::Literal,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `finishCall` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:415:8
[INFO] [stdout]     |
[INFO] [stdout] 415 |     fn finishCall(&mut self, callie: Expr) -> Result<Expr, String> {
[INFO] [stdout]     |        ^^^^^^^^^^ help: convert the identifier to snake case: `finish_call`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell`, `format`, `rc::Rc`, `result`, `usize`, and `write`
[INFO] [stdout]  --> src/expr.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     cell::RefCell,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 3 |     fmt::{Debug, format, write},
[INFO] [stdout]   |                  ^^^^^^  ^^^^^
[INFO] [stdout] 4 |     rc::Rc,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 5 |     result, usize,
[INFO] [stdout]   |     ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokentype::TokenType`
[INFO] [stdout]   --> src/expr.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     tokentype::TokenType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `any::type_name` and `string`
[INFO] [stdout]  --> src/lexer.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{any::type_name, collections::HashMap, string, usize};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `env`, `process::id`, and `result`
[INFO] [stdout]  --> src/parser.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env, process::id, result, usize, vec};
[INFO] [stdout]   |           ^^^  ^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Literal`, `self`, and `self`
[INFO] [stdout]  --> src/parser.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     expr::{self, Expr, LiteralValue},
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 5 |     stmt::Stmt,
[INFO] [stdout] 6 |     token::{self, Literal, Token},
[INFO] [stdout]   |             ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/token.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `LEFT_PAREN` should have an upper camel case name
[INFO] [stdout]  --> src/tokentype.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     LEFT_PAREN,
[INFO] [stdout]   |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftParen`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `RIGHT_PAREN` should have an upper camel case name
[INFO] [stdout]  --> src/tokentype.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     RIGHT_PAREN,
[INFO] [stdout]   |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightParen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `LEFT_BRACE` should have an upper camel case name
[INFO] [stdout]  --> src/tokentype.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     LEFT_BRACE,
[INFO] [stdout]   |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftBrace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `RIGHT_BRACE` should have an upper camel case name
[INFO] [stdout]  --> src/tokentype.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     RIGHT_BRACE,
[INFO] [stdout]   |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightBrace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BANG_EQUAL` should have an upper camel case name
[INFO] [stdout]   --> src/tokentype.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     BANG_EQUAL,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `BangEqual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `EQUAL_EQUAL` should have an upper camel case name
[INFO] [stdout]   --> src/tokentype.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     EQUAL_EQUAL,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `EqualEqual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `GREATER_EQUAL` should have an upper camel case name
[INFO] [stdout]   --> src/tokentype.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     GREATER_EQUAL,
[INFO] [stdout]    |     ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GreaterEqual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `LESS_EQUAL` should have an upper camel case name
[INFO] [stdout]   --> src/tokentype.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     LESS_EQUAL,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessEqual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/expr.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     result, usize,
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/lexer.rs:2:57
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{any::type_name, collections::HashMap, string, usize};
[INFO] [stdout]   |                                                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/parser.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env, process::id, result, usize, vec};
[INFO] [stdout]   |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:257:65
[INFO] [stdout]     |
[INFO] [stdout] 257 |                     (TokenType::MINUS, BasicTypeEnum::FloatType(a)) => {
[INFO] [stdout]     |                                                                 ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:286:47
[INFO] [stdout]     |
[INFO] [stdout] 286 |                     (BasicTypeEnum::FloatType(a), TokenType::PLUS, BasicTypeEnum::FloatType(b)) => {
[INFO] [stdout]     |                                               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:286:93
[INFO] [stdout]     |
[INFO] [stdout] 286 |                     (BasicTypeEnum::FloatType(a), TokenType::PLUS, BasicTypeEnum::FloatType(b)) => {
[INFO] [stdout]     |                                                                                             ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:300:50
[INFO] [stdout]     |
[INFO] [stdout] 300 |                         BasicTypeEnum::FloatType(a),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:302:50
[INFO] [stdout]     |
[INFO] [stdout] 302 |                         BasicTypeEnum::FloatType(b),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:314:47
[INFO] [stdout]     |
[INFO] [stdout] 314 |                     (BasicTypeEnum::FloatType(a), TokenType::STAR, BasicTypeEnum::FloatType(b)) => {
[INFO] [stdout]     |                                               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:314:93
[INFO] [stdout]     |
[INFO] [stdout] 314 |                     (BasicTypeEnum::FloatType(a), TokenType::STAR, BasicTypeEnum::FloatType(b)) => {
[INFO] [stdout]     |                                                                                             ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:328:50
[INFO] [stdout]     |
[INFO] [stdout] 328 |                         BasicTypeEnum::FloatType(a),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:330:50
[INFO] [stdout]     |
[INFO] [stdout] 330 |                         BasicTypeEnum::FloatType(b),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:343:50
[INFO] [stdout]     |
[INFO] [stdout] 343 |                         BasicTypeEnum::FloatType(a),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:345:50
[INFO] [stdout]     |
[INFO] [stdout] 345 |                         BasicTypeEnum::FloatType(b),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:358:47
[INFO] [stdout]     |
[INFO] [stdout] 358 |                     (BasicTypeEnum::FloatType(a), TokenType::LESS, BasicTypeEnum::FloatType(b)) => {
[INFO] [stdout]     |                                               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:358:93
[INFO] [stdout]     |
[INFO] [stdout] 358 |                     (BasicTypeEnum::FloatType(a), TokenType::LESS, BasicTypeEnum::FloatType(b)) => {
[INFO] [stdout]     |                                                                                             ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:373:50
[INFO] [stdout]     |
[INFO] [stdout] 373 |                         BasicTypeEnum::FloatType(a),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:375:50
[INFO] [stdout]     |
[INFO] [stdout] 375 |                         BasicTypeEnum::FloatType(b),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:389:50
[INFO] [stdout]     |
[INFO] [stdout] 389 |                         BasicTypeEnum::FloatType(a),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:391:50
[INFO] [stdout]     |
[INFO] [stdout] 391 |                         BasicTypeEnum::FloatType(b),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:405:50
[INFO] [stdout]     |
[INFO] [stdout] 405 |                         BasicTypeEnum::FloatType(a),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:407:50
[INFO] [stdout]     |
[INFO] [stdout] 407 |                         BasicTypeEnum::FloatType(b),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/codegen.rs:421:50
[INFO] [stdout]     |
[INFO] [stdout] 421 |                         BasicTypeEnum::FloatType(a),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/codegen.rs:423:50
[INFO] [stdout]     |
[INFO] [stdout] 423 |                         BasicTypeEnum::FloatType(b),
[INFO] [stdout]     |                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `kind`
[INFO] [stdout]   --> src/parser.rs:55:32
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn funtion_decl(&mut self, kind: &str) -> Result<Stmt, String> {
[INFO] [stdout]    |                                ^^^^
[INFO] [stdout] 56 |         let token = self.consume(TokenType::IDENTIFIER, "Expected {kind} name")?;
[INFO] [stdout]    |                                                         ---------------------- you might have meant to use string interpolation in this string literal
[INFO] [stdout] 57 |         self.consume(TokenType::LEFT_PAREN, "Expected  '(' after {kind} name");
[INFO] [stdout]    |                                             --------------------------------- you might have meant to use string interpolation in this string literal
[INFO] [stdout]    |
[INFO] [stdout] help: string interpolation only works in `format!` invocations
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let token = self.consume(TokenType::IDENTIFIER, format!("Expected {kind} name"))?;
[INFO] [stdout]    |                                                         ++++++++                      +
[INFO] [stdout] help: string interpolation only works in `format!` invocations
[INFO] [stdout]    |
[INFO] [stdout] 57 |         self.consume(TokenType::LEFT_PAREN, format!("Expected  '(' after {kind} name"));
[INFO] [stdout]    |                                             ++++++++                                 +
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn funtion_decl(&mut self, _kind: &str) -> Result<Stmt, String> {
[INFO] [stdout]    |                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parser.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let mut body;
[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: unused variable: `token`
[INFO] [stdout]    --> src/parser.rs:428:13
[INFO] [stdout]     |
[INFO] [stdout] 428 |         let token = self.previous();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `load_if_pointer` is never used
[INFO] [stdout]    --> src/codegen.rs:471:8
[INFO] [stdout]     |
[INFO] [stdout]  29 | impl<'ctx> Compiler<'ctx> {
[INFO] [stdout]     | ------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 471 |     fn load_if_pointer(&mut self, value: BasicValueEnum<'ctx>) -> BasicValueEnum<'ctx> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `is_truthy`, `is_falsy`, `from_bool`, and `to_type` are never used
[INFO] [stdout]   --> src/expr.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl LiteralValue {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 38 |     pub fn is_truthy(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn is_falsy(&self) -> LiteralValue {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn from_bool(b: bool) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn to_type(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `params`, and `body` are never read
[INFO] [stdout]   --> src/stmt.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Function {
[INFO] [stdout]    |     -------- fields in this variant
[INFO] [stdout] 28 |         name: Token,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 29 |         params: Vec<Token>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 30 |         body: Vec<Stmt>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stmt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `token` and `expr` are never read
[INFO] [stdout]   --> src/stmt.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     Return {
[INFO] [stdout]    |     ------ fields in this variant
[INFO] [stdout] 33 |         token: Token,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 34 |         expr: Option<Expr>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stmt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ILiteral` and `IdentifierLiteral` are never constructed
[INFO] [stdout]   --> src/token.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum Literal {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  9 |     ILiteral(i64),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 10 |     IdentifierLiteral(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `scanTokens` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn scanTokens(mut self) -> Vec<Token> {
[INFO] [stdout]    |            ^^^^^^^^^^ help: convert the identifier to snake case: `scan_tokens`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `scanToken` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn scanToken(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^ help: convert the identifier to snake case: `scan_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/parser.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         self.consume(TokenType::LEFT_PAREN, "Expected  '(' after {kind} name");
[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] 57 |         let _ = self.consume(TokenType::LEFT_PAREN, "Expected  '(' after {kind} name");
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `finishCall` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:415:8
[INFO] [stdout]     |
[INFO] [stdout] 415 |     fn finishCall(&mut self, callie: Expr) -> Result<Expr, String> {
[INFO] [stdout]     |        ^^^^^^^^^^ help: convert the identifier to snake case: `finish_call`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.55s
[INFO] running `Command { std: "docker" "inspect" "5e86ff125f6aa5f9907f8db8b6209be5ac228a53633eb27ef2e22202e44d3926", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e86ff125f6aa5f9907f8db8b6209be5ac228a53633eb27ef2e22202e44d3926", kill_on_drop: false }`
[INFO] [stdout] 5e86ff125f6aa5f9907f8db8b6209be5ac228a53633eb27ef2e22202e44d3926
