[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] eb5380a007b92e6cb636214609f5d6e38b04da8a [INFO] checking sulabhkatila/Lost against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsulabhkatila%2FLost" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sulabhkatila/Lost on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0542500e8d890731ddbeacf09f6033958f1326045e88b0453c8d7d16f3fff606 [INFO] running `Command { std: "docker" "start" "-a" "0542500e8d890731ddbeacf09f6033958f1326045e88b0453c8d7d16f3fff606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0542500e8d890731ddbeacf09f6033958f1326045e88b0453c8d7d16f3fff606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0542500e8d890731ddbeacf09f6033958f1326045e88b0453c8d7d16f3fff606", kill_on_drop: false }` [INFO] [stdout] 0542500e8d890731ddbeacf09f6033958f1326045e88b0453c8d7d16f3fff606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac7e5c2cd1f7709328ff5ceca4ffed39aef1ffd2b5a376234ed6b96b24c2d64f [INFO] running `Command { std: "docker" "start" "-a" "ac7e5c2cd1f7709328ff5ceca4ffed39aef1ffd2b5a376234ed6b96b24c2d64f", 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `default`, and `self` [INFO] [stdout] --> src/parser/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | io::{self, Write}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/parser/parser.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | } else if (self.match_next(vec![TokenType::Var])) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 247 - } else if (self.match_next(vec![TokenType::Var])) { [INFO] [stdout] 247 + } else if self.match_next(vec![TokenType::Var]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/interpreter/interpreter.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | cell::{Ref, RefCell}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `time::Instant`, and `write` [INFO] [stdout] --> src/interpreter/types.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | collections::HashMap, [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `default`, and `self` [INFO] [stdout] --> src/parser/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | io::{self, Write}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/parser/parser.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | } else if (self.match_next(vec![TokenType::Var])) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 247 - } else if (self.match_next(vec![TokenType::Var])) { [INFO] [stdout] 247 + } else if self.match_next(vec![TokenType::Var]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/interpreter/interpreter.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | cell::{Ref, RefCell}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `time::Instant`, and `write` [INFO] [stdout] --> src/interpreter/types.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | collections::HashMap, [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: `borrow::BorrowMut` [INFO] [stdout] --> src/interpreter/interpreter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::BorrowMut, [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_brace` [INFO] [stdout] --> src/parser/parser.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | 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 import: `borrow::BorrowMut` [INFO] [stdout] --> src/interpreter/interpreter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::BorrowMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `initializer` is never read [INFO] [stdout] --> src/parser/parser.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | let mut initializer: Option = None; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `equals` [INFO] [stdout] --> src/parser/parser.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | 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:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | let mut error = None; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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)]` 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: unused variable: `statements` [INFO] [stdout] --> src/interpreter/interpreter.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | statements: &mut Box>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/interpreter/interpreter.rs:543:32 [INFO] [stdout] | [INFO] [stdout] 543 | fn visit_return(&mut self, token: &Token, expr: &Box) -> Result, Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_brace` [INFO] [stdout] --> src/parser/parser.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | 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: `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: `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: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: `interpreter` [INFO] [stdout] --> src/interpreter/types.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | interpreter: &mut Interpreter, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interpreter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `initializer` is never read [INFO] [stdout] --> src/parser/parser.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | let mut initializer: Option = None; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/interpreter/types.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | arguments: Option>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `equals` [INFO] [stdout] --> src/parser/parser.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | 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 `Result` that must be used [INFO] [stdout] --> src/interpreter/interpreter.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | / self.environment [INFO] [stdout] 444 | | .deref() [INFO] [stdout] 445 | | .borrow_mut() [INFO] [stdout] 446 | | .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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 443 | let _ = self.environment [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/parser.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | let mut error = None; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` 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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statements` [INFO] [stdout] --> src/interpreter/interpreter.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | statements: &mut Box>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/interpreter/interpreter.rs:543:32 [INFO] [stdout] | [INFO] [stdout] 543 | fn visit_return(&mut self, token: &Token, expr: &Box) -> Result, Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [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: `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: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: `interpreter` [INFO] [stdout] --> src/interpreter/types.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | 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:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | arguments: Option>, [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:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | / self.environment [INFO] [stdout] 444 | | .deref() [INFO] [stdout] 445 | | .borrow_mut() [INFO] [stdout] 446 | | .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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 443 | let _ = self.environment [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [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] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_printer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_printer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "ac7e5c2cd1f7709328ff5ceca4ffed39aef1ffd2b5a376234ed6b96b24c2d64f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac7e5c2cd1f7709328ff5ceca4ffed39aef1ffd2b5a376234ed6b96b24c2d64f", kill_on_drop: false }` [INFO] [stdout] ac7e5c2cd1f7709328ff5ceca4ffed39aef1ffd2b5a376234ed6b96b24c2d64f