[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] building sulabhkatila/Lost against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [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] validating manifest of git repo https://github.com/sulabhkatila/Lost on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-4-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 486bf1e62bf9644972939b1edecada1131a394f5fea2d441eee4fa486d59fab9 [INFO] running `Command { std: "docker" "start" "-a" "486bf1e62bf9644972939b1edecada1131a394f5fea2d441eee4fa486d59fab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "486bf1e62bf9644972939b1edecada1131a394f5fea2d441eee4fa486d59fab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "486bf1e62bf9644972939b1edecada1131a394f5fea2d441eee4fa486d59fab9", kill_on_drop: false }` [INFO] [stdout] 486bf1e62bf9644972939b1edecada1131a394f5fea2d441eee4fa486d59fab9 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1a14e2a2a48f8f758619237b7736caaeed37cb214f4cfa8a5ca6de2af05abef [INFO] running `Command { std: "docker" "start" "-a" "a1a14e2a2a48f8f758619237b7736caaeed37cb214f4cfa8a5ca6de2af05abef", kill_on_drop: false }` [INFO] [stderr] Compiling 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` 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)]` 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)]` 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: value assigned to `initializer` is never read [INFO] [stdout] --> src/parser/parser.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | 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: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)]` 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: value assigned to `parent` is never read [INFO] [stdout] --> src/interpreter/interpreter.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let mut parent = None; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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: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 `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)]` 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] | ^^^^^^^^^^^ 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "a1a14e2a2a48f8f758619237b7736caaeed37cb214f4cfa8a5ca6de2af05abef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1a14e2a2a48f8f758619237b7736caaeed37cb214f4cfa8a5ca6de2af05abef", kill_on_drop: false }` [INFO] [stdout] a1a14e2a2a48f8f758619237b7736caaeed37cb214f4cfa8a5ca6de2af05abef [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcfd418acce03c78fd0fb581079ef87e3edd7e97e40832e95dc91f38ced9b060 [INFO] running `Command { std: "docker" "start" "-a" "dcfd418acce03c78fd0fb581079ef87e3edd7e97e40832e95dc91f38ced9b060", kill_on_drop: false }` [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` 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)]` 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)]` 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: value assigned to `initializer` is never read [INFO] [stdout] --> src/parser/parser.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | 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: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)]` 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: value assigned to `parent` is never read [INFO] [stdout] --> src/interpreter/interpreter.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let mut parent = None; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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] [stderr] Compiling lost v0.1.0 (/opt/rustwide/workdir) [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: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 `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)]` 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] | ^^^^^^^^^^^ 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: 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` 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)]` 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)]` 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: value assigned to `initializer` is never read [INFO] [stdout] --> src/parser/parser.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | 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: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)]` 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: value assigned to `parent` is never read [INFO] [stdout] --> src/interpreter/interpreter.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let mut parent = None; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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: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 `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)]` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "dcfd418acce03c78fd0fb581079ef87e3edd7e97e40832e95dc91f38ced9b060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcfd418acce03c78fd0fb581079ef87e3edd7e97e40832e95dc91f38ced9b060", kill_on_drop: false }` [INFO] [stdout] dcfd418acce03c78fd0fb581079ef87e3edd7e97e40832e95dc91f38ced9b060