[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 try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsulabhkatila%2FLost" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sulabhkatila/Lost on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4a3af775ba857f6248ac5b33bdacdf7978acaefff847d11730605352e5303ce [INFO] running `Command { std: "docker" "start" "-a" "d4a3af775ba857f6248ac5b33bdacdf7978acaefff847d11730605352e5303ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4a3af775ba857f6248ac5b33bdacdf7978acaefff847d11730605352e5303ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4a3af775ba857f6248ac5b33bdacdf7978acaefff847d11730605352e5303ce", kill_on_drop: false }` [INFO] [stdout] d4a3af775ba857f6248ac5b33bdacdf7978acaefff847d11730605352e5303ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd6e565916394d24096acd9e67eebd9fb86bf38f10dc8660a947749c32081f29 [INFO] running `Command { std: "docker" "start" "-a" "cd6e565916394d24096acd9e67eebd9fb86bf38f10dc8660a947749c32081f29", 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 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] error[E0599]: no method named `accept` found for struct `Box` in the current scope [INFO] [stdout] --> src/interpreter/interpreter.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | expr.clone().accept(self) [INFO] [stdout] | ^^^^^^ method not found in `Box` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Visitable` which provides `accept` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::expr::Visitable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `accept` found for struct `Box` in the current scope [INFO] [stdout] --> src/interpreter/interpreter.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | expr.clone().accept(self) [INFO] [stdout] | ^^^^^^ method not found in `Box` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Visitable` which provides `accept` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::expr::Visitable; [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, 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, 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, name: &Token, value: &mut Box) -> 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, name: &Token, value: &mut Box) -> 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, name: &Token, value: &mut Box) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [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, 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, 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, name: &Token, value: &mut Box) -> 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, name: &Token, value: &mut Box) -> 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, name: &Token, value: &mut Box) -> 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: 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: 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: `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: 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/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: 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: `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: 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: 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: `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>, [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>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [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] For more information about this error, try `rustc --explain E0599`. [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>, [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>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lost` (lib test) due to 1 previous error; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lost` (lib) due to 1 previous error; 29 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cd6e565916394d24096acd9e67eebd9fb86bf38f10dc8660a947749c32081f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd6e565916394d24096acd9e67eebd9fb86bf38f10dc8660a947749c32081f29", kill_on_drop: false }` [INFO] [stdout] cd6e565916394d24096acd9e67eebd9fb86bf38f10dc8660a947749c32081f29