[INFO] cloning repository https://github.com/sulabhkatila/Lost
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sulabhkatila/Lost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsulabhkatila%2FLost", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsulabhkatila%2FLost'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aca4ab582b842a7f8ace685b1c0ff67ceaca29f5
[INFO] checking sulabhkatila/Lost against master#f5e2df741b4a9820a7579f0c8eccc951706a8782 for pr-147995
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsulabhkatila%2FLost" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sulabhkatila/Lost
[INFO] finished tweaking git repo https://github.com/sulabhkatila/Lost
[INFO] tweaked toml for git repo https://github.com/sulabhkatila/Lost written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sulabhkatila/Lost on toolchain f5e2df741b4a9820a7579f0c8eccc951706a8782
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sulabhkatila/Lost 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" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4e0b1701f9f588eb5c2ad05b0555b2029cb8bf9475aec03c69d91958b38509aa
[INFO] running `Command { std: "docker" "start" "-a" "4e0b1701f9f588eb5c2ad05b0555b2029cb8bf9475aec03c69d91958b38509aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e0b1701f9f588eb5c2ad05b0555b2029cb8bf9475aec03c69d91958b38509aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e0b1701f9f588eb5c2ad05b0555b2029cb8bf9475aec03c69d91958b38509aa", kill_on_drop: false }`
[INFO] [stdout] 4e0b1701f9f588eb5c2ad05b0555b2029cb8bf9475aec03c69d91958b38509aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 75de22c87fcf2e62a1bae8bf8ec2ceebbee09dc8e0f6830efaec8be337bfbe07
[INFO] running `Command { std: "docker" "start" "-a" "75de22c87fcf2e62a1bae8bf8ec2ceebbee09dc8e0f6830efaec8be337bfbe07", kill_on_drop: false }`
[INFO] [stderr]     Checking lost v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/parser/stmt.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::expr::{self, *};
[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 imports: `Write` and `self`
[INFO] [stdout]  --> src/parser/parser.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{self, Write},
[INFO] [stdout]   |          ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/parser/parser.rs:253:19
[INFO] [stdout]     |
[INFO] [stdout] 253 |         } else if (self.match_next(vec![TokenType::Var])) {
[INFO] [stdout]     |                   ^                                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 253 -         } else if (self.match_next(vec![TokenType::Var])) {
[INFO] [stdout] 253 +         } else if self.match_next(vec![TokenType::Var])  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `time::Instant` and `write`
[INFO] [stdout]   --> src/interpreter/types.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fmt::{self, write},
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout] 16 |     rc::Rc,
[INFO] [stdout] 17 |     time::Instant,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/interpreter/types.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |     environment::{self, Environment},
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `closing_paren`
[INFO] [stdout]   --> src/parser/astprinter.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         closing_paren: &Token,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closing_paren`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]   --> src/parser/astprinter.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn visit_get(&mut self, expr: &mut Box<Expr>, name: &Token) -> String {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/parser/astprinter.rs:43:51
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn visit_get(&mut self, expr: &mut Box<Expr>, name: &Token) -> String {
[INFO] [stdout]    |                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]   --> src/parser/astprinter.rs:47:29
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn visit_set(&mut self, expr: &mut Box<Expr>, name: &Token, value: &mut Box<Expr>) -> String {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/parser/astprinter.rs:47:51
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn visit_set(&mut self, expr: &mut Box<Expr>, name: &Token, value: &mut Box<Expr>) -> String {
[INFO] [stdout]    |                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/parser/astprinter.rs:47:65
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn visit_set(&mut self, expr: &mut Box<Expr>, name: &Token, value: &mut Box<Expr>) -> String {
[INFO] [stdout]    |                                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `starting_brace`
[INFO] [stdout]    --> src/parser/parser.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let starting_brace = self.consume(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_brace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `equals`
[INFO] [stdout]    --> src/parser/parser.rs:424:17
[INFO] [stdout]     |
[INFO] [stdout] 424 |             let equals = self.previous();
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_equals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parser/parser.rs:545:13
[INFO] [stdout]     |
[INFO] [stdout] 545 |         let mut error = None;
[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: `fun`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:103:28
[INFO] [stdout]     |
[INFO] [stdout] 103 |             Type::Function(fun) => todo!(),
[INFO] [stdout]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_fun`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fun`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:104:34
[INFO] [stdout]     |
[INFO] [stdout] 104 |             Type::NativeFunction(fun) => todo!(),
[INFO] [stdout]     |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_fun`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:105:25
[INFO] [stdout]     |
[INFO] [stdout] 105 |             Type::Class(class) => todo!(),
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instance`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:106:28
[INFO] [stdout]     |
[INFO] [stdout] 106 |             Type::Instance(instance) => todo!(),
[INFO] [stdout]     |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fun`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:118:28
[INFO] [stdout]     |
[INFO] [stdout] 118 |             Type::Function(fun) => todo!(),
[INFO] [stdout]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_fun`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fun`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:119:34
[INFO] [stdout]     |
[INFO] [stdout] 119 |             Type::NativeFunction(fun) => todo!(),
[INFO] [stdout]     |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_fun`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:120:25
[INFO] [stdout]     |
[INFO] [stdout] 120 |             Type::Class(class) => todo!(),
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instance`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:121:28
[INFO] [stdout]     |
[INFO] [stdout] 121 |             Type::Instance(instance) => todo!(),
[INFO] [stdout]     |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/interpreter/interpreter.rs:256:13
[INFO] [stdout]     |
[INFO] [stdout] 256 |         let mut object = self.evaluate(expr)?;
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/interpreter/types.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let (name, parameters, body) = match &mut *self.declaration.borrow_mut() {
[INFO] [stdout]    |              ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interpreter`
[INFO] [stdout]    --> src/interpreter/types.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |         interpreter: &mut Interpreter,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interpreter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arguments`
[INFO] [stdout]    --> src/interpreter/types.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |         arguments: Option<Vec<Type>>,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/interpreter/types.rs:135:13
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let res = (self.to_call)();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interpreter`
[INFO] [stdout]    --> src/interpreter/types.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |         interpreter: &mut Interpreter,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interpreter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arguments`
[INFO] [stdout]    --> src/interpreter/types.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 232 |         arguments: Option<Vec<Type>>,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/parser/stmt.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::expr::{self, *};
[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 imports: `Write` and `self`
[INFO] [stdout]  --> src/parser/parser.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{self, Write},
[INFO] [stdout]   |          ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/parser/parser.rs:253:19
[INFO] [stdout]     |
[INFO] [stdout] 253 |         } else if (self.match_next(vec![TokenType::Var])) {
[INFO] [stdout]     |                   ^                                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 253 -         } else if (self.match_next(vec![TokenType::Var])) {
[INFO] [stdout] 253 +         } else if self.match_next(vec![TokenType::Var])  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `time::Instant` and `write`
[INFO] [stdout]   --> src/interpreter/types.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fmt::{self, write},
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout] 16 |     rc::Rc,
[INFO] [stdout] 17 |     time::Instant,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/interpreter/types.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |     environment::{self, Environment},
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/interpreter/interpreter.rs:530:9
[INFO] [stdout]     |
[INFO] [stdout] 530 | /         self.environment
[INFO] [stdout] 531 | |             .deref()
[INFO] [stdout] 532 | |             .borrow_mut()
[INFO] [stdout] 533 | |             .assign(name, Type::Class(class));
[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] 530 |         let _ = self.environment
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `closing_paren`
[INFO] [stdout]   --> src/parser/astprinter.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         closing_paren: &Token,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closing_paren`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]   --> src/parser/astprinter.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn visit_get(&mut self, expr: &mut Box<Expr>, name: &Token) -> String {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/parser/astprinter.rs:43:51
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn visit_get(&mut self, expr: &mut Box<Expr>, name: &Token) -> String {
[INFO] [stdout]    |                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]   --> src/parser/astprinter.rs:47:29
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn visit_set(&mut self, expr: &mut Box<Expr>, name: &Token, value: &mut Box<Expr>) -> String {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/parser/astprinter.rs:47:51
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn visit_set(&mut self, expr: &mut Box<Expr>, name: &Token, value: &mut Box<Expr>) -> String {
[INFO] [stdout]    |                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/parser/astprinter.rs:47:65
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn visit_set(&mut self, expr: &mut Box<Expr>, name: &Token, value: &mut Box<Expr>) -> String {
[INFO] [stdout]    |                                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `starting_brace`
[INFO] [stdout]    --> src/parser/parser.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let starting_brace = self.consume(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_brace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `equals`
[INFO] [stdout]    --> src/parser/parser.rs:424:17
[INFO] [stdout]     |
[INFO] [stdout] 424 |             let equals = self.previous();
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_equals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parser/parser.rs:545:13
[INFO] [stdout]     |
[INFO] [stdout] 545 |         let mut error = None;
[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: `fun`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:103:28
[INFO] [stdout]     |
[INFO] [stdout] 103 |             Type::Function(fun) => todo!(),
[INFO] [stdout]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_fun`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fun`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:104:34
[INFO] [stdout]     |
[INFO] [stdout] 104 |             Type::NativeFunction(fun) => todo!(),
[INFO] [stdout]     |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_fun`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:105:25
[INFO] [stdout]     |
[INFO] [stdout] 105 |             Type::Class(class) => todo!(),
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instance`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:106:28
[INFO] [stdout]     |
[INFO] [stdout] 106 |             Type::Instance(instance) => todo!(),
[INFO] [stdout]     |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fun`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:118:28
[INFO] [stdout]     |
[INFO] [stdout] 118 |             Type::Function(fun) => todo!(),
[INFO] [stdout]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_fun`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fun`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:119:34
[INFO] [stdout]     |
[INFO] [stdout] 119 |             Type::NativeFunction(fun) => todo!(),
[INFO] [stdout]     |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_fun`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:120:25
[INFO] [stdout]     |
[INFO] [stdout] 120 |             Type::Class(class) => todo!(),
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instance`
[INFO] [stdout]    --> src/interpreter/interpreter.rs:121:28
[INFO] [stdout]     |
[INFO] [stdout] 121 |             Type::Instance(instance) => todo!(),
[INFO] [stdout]     |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/interpreter/interpreter.rs:256:13
[INFO] [stdout]     |
[INFO] [stdout] 256 |         let mut object = self.evaluate(expr)?;
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/interpreter/types.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let (name, parameters, body) = match &mut *self.declaration.borrow_mut() {
[INFO] [stdout]    |              ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interpreter`
[INFO] [stdout]    --> src/interpreter/types.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |         interpreter: &mut Interpreter,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interpreter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arguments`
[INFO] [stdout]    --> src/interpreter/types.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |         arguments: Option<Vec<Type>>,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/interpreter/types.rs:135:13
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let res = (self.to_call)();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interpreter`
[INFO] [stdout]    --> src/interpreter/types.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |         interpreter: &mut Interpreter,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interpreter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arguments`
[INFO] [stdout]    --> src/interpreter/types.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 232 |         arguments: Option<Vec<Type>>,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/interpreter/interpreter.rs:530:9
[INFO] [stdout]     |
[INFO] [stdout] 530 | /         self.environment
[INFO] [stdout] 531 | |             .deref()
[INFO] [stdout] 532 | |             .borrow_mut()
[INFO] [stdout] 533 | |             .assign(name, Type::Class(class));
[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] 530 |         let _ = self.environment
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ast_printer`
[INFO] [stdout]   --> src/main.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let ast_printer = AstPrinter;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named struct `AstPrinter`
[INFO] [stdout]    |
[INFO] [stdout] 78 -     let ast_printer = AstPrinter;
[INFO] [stdout] 78 +     let lost::parser::astprinter::AstPrinter = AstPrinter;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let _ast_printer = AstPrinter;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ast_printer`
[INFO] [stdout]   --> src/main.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let ast_printer = AstPrinter;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named struct `AstPrinter`
[INFO] [stdout]    |
[INFO] [stdout] 78 -     let ast_printer = AstPrinter;
[INFO] [stdout] 78 +     let lost::parser::astprinter::AstPrinter = AstPrinter;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let _ast_printer = AstPrinter;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.82s
[INFO] running `Command { std: "docker" "inspect" "75de22c87fcf2e62a1bae8bf8ec2ceebbee09dc8e0f6830efaec8be337bfbe07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75de22c87fcf2e62a1bae8bf8ec2ceebbee09dc8e0f6830efaec8be337bfbe07", kill_on_drop: false }`
[INFO] [stdout] 75de22c87fcf2e62a1bae8bf8ec2ceebbee09dc8e0f6830efaec8be337bfbe07
