[INFO] cloning repository https://github.com/DarkMatter-999/Rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DarkMatter-999/Rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkMatter-999%2FRlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkMatter-999%2FRlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 398cc4d3749ebc215527065e5f4918943df743ac [INFO] checking DarkMatter-999/Rlox/398cc4d3749ebc215527065e5f4918943df743ac against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkMatter-999%2FRlox" "/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/DarkMatter-999/Rlox on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DarkMatter-999/Rlox [INFO] finished tweaking git repo https://github.com/DarkMatter-999/Rlox [INFO] tweaked toml for git repo https://github.com/DarkMatter-999/Rlox written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DarkMatter-999/Rlox 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.interpreter.test [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5219c02a80fc66f8a8e0dc039cf464140757d3d1e645b64f4ef20b4287750ea6 [INFO] running `Command { std: "docker" "start" "-a" "5219c02a80fc66f8a8e0dc039cf464140757d3d1e645b64f4ef20b4287750ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5219c02a80fc66f8a8e0dc039cf464140757d3d1e645b64f4ef20b4287750ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5219c02a80fc66f8a8e0dc039cf464140757d3d1e645b64f4ef20b4287750ea6", kill_on_drop: false }` [INFO] [stdout] 5219c02a80fc66f8a8e0dc039cf464140757d3d1e645b64f4ef20b4287750ea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c8556ede30d23b670149671db827cdb23f45203154b6c2b19bb35ec3399c777 [INFO] running `Command { std: "docker" "start" "-a" "7c8556ede30d23b670149671db827cdb23f45203154b6c2b19bb35ec3399c777", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.interpreter.test [INFO] [stderr] Checking interpreter v0.1.0 (/opt/rustwide/workdir/interpreter) [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> interpreter/src/lib.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, stderr, BufRead, BufReader, Read, Write}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::Parser` [INFO] [stdout] --> interpreter/src/lib.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{interpreter::Interpreter, parser::Parser}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> interpreter/src/parser.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | expr::{self, Boxed, Expr}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LEFT_PAREN` should have an upper camel case name [INFO] [stdout] --> interpreter/src/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | LEFT_PAREN, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftParen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT_PAREN` should have an upper camel case name [INFO] [stdout] --> interpreter/src/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | RIGHT_PAREN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightParen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LEFT_BRACE` should have an upper camel case name [INFO] [stdout] --> interpreter/src/token.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | LEFT_BRACE, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftBrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT_BRACE` should have an upper camel case name [INFO] [stdout] --> interpreter/src/token.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightBrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BANG_EQUAL` should have an upper camel case name [INFO] [stdout] --> interpreter/src/token.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | BANG_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BangEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EQUAL_EQUAL` should have an upper camel case name [INFO] [stdout] --> interpreter/src/token.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | EQUAL_EQUAL, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `EqualEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GREATER_EQUAL` should have an upper camel case name [INFO] [stdout] --> interpreter/src/token.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | GREATER_EQUAL, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GreaterEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_EQUAL` should have an upper camel case name [INFO] [stdout] --> interpreter/src/token.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | LESS_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> interpreter/src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, stderr, BufRead, BufReader, Read, Write}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> interpreter/src/expr.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | fn visit_expr(&mut self, expr: &Expr) -> T { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lit` [INFO] [stdout] --> interpreter/src/expr.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | fn visit_literal(&mut self, expr: &Expr, lit: &Token) -> T { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inside` [INFO] [stdout] --> interpreter/src/expr.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | fn visit_grouping(&mut self, expr: &Expr, inside: &Expr) -> T { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inside` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> interpreter/src/expr.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | fn visit_unary(&mut self, expr: &Expr, op: &Token, rhs: &Expr) -> T { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> interpreter/src/expr.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | fn visit_unary(&mut self, expr: &Expr, op: &Token, rhs: &Expr) -> T { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> interpreter/src/expr.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | fn visit_logical(&mut self, expr: &Expr, op: &Token, rhs: &Expr) -> T { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> interpreter/src/expr.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 35 | fn visit_logical(&mut self, expr: &Expr, op: &Token, rhs: &Expr) -> T { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> interpreter/src/expr.rs:38:45 [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_binary(&mut self, expr: &Expr, lhs: &Expr, op: &Token, rhs: &Expr) -> T { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> interpreter/src/expr.rs:38:57 [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_binary(&mut self, expr: &Expr, lhs: &Expr, op: &Token, rhs: &Expr) -> T { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> interpreter/src/expr.rs:38:69 [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_binary(&mut self, expr: &Expr, lhs: &Expr, op: &Token, rhs: &Expr) -> T { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> interpreter/src/expr.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | fn visit_identifier(&mut self, expr: &Expr, n: &String) -> T { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> interpreter/src/expr.rs:46:49 [INFO] [stdout] | [INFO] [stdout] 46 | fn visit_assignment(&mut self, expr: &Expr, n: &String, rhs: &Box) -> T { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> interpreter/src/expr.rs:46:61 [INFO] [stdout] | [INFO] [stdout] 46 | fn visit_assignment(&mut self, expr: &Expr, n: &String, rhs: &Box) -> T { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paren` [INFO] [stdout] --> interpreter/src/expr.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_call(&mut self, expr: &Expr, paren: &Token, params: &[Expr]) -> T { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> interpreter/src/expr.rs:50:58 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_call(&mut self, expr: &Expr, paren: &Token, params: &[Expr]) -> T { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `int` [INFO] [stdout] --> interpreter/src/function.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | fn call(&self, int: &mut Interpreter, args: &[Object]) -> ResultMSG { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> interpreter/src/interpreter.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | fn visit_literal(&mut self, expr: &Expr, lit: &Token) -> ResultMSG { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> interpreter/src/interpreter.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | fn visit_grouping(&mut self, expr: &Expr, inside: &Expr) -> ResultMSG { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> interpreter/src/interpreter.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | fn visit_unary(&mut self, expr: &Expr, op: &Token, rhs: &Expr) -> ResultMSG { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> interpreter/src/interpreter.rs:220:36 [INFO] [stdout] | [INFO] [stdout] 220 | fn visit_identifier(&mut self, expr: &Expr, n: &String) -> ResultMSG { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> interpreter/src/interpreter.rs:224:36 [INFO] [stdout] | [INFO] [stdout] 224 | fn visit_assignment(&mut self, expr: &Expr, n: &String, rhs: &Box) -> ResultMSG { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> interpreter/src/parser.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 204 | t => t.in_types(types.to_vec()), [INFO] [stdout] | - matches any value [INFO] [stdout] 205 | _ => false, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> interpreter/src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(t) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> interpreter/src/lib.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> interpreter/src/lib.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(t) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> interpreter/src/lib.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_globals` is never used [INFO] [stdout] --> interpreter/src/env.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Env { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn with_globals(env: Rc) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `boxed` is never used [INFO] [stdout] --> interpreter/src/error.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Error { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 61 | pub fn boxed(self) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse` is never used [INFO] [stdout] --> interpreter/src/parser.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn parse(&mut self) -> ResultMSG { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> interpreter/src/lib.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | writeln!(&mut stderr(), "{}", e); [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] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> interpreter/src/function.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | env.define(param, arg.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = env.define(param, arg.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> interpreter/src/interpreter.rs:321:31 [INFO] [stdout] | [INFO] [stdout] 321 | else_stmt.unwrap().deref().accept(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Stmt` does not implement `Deref`, so calling `deref` on `&Stmt` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 321 - else_stmt.unwrap().deref().accept(self) [INFO] [stdout] 321 + else_stmt.unwrap().accept(self) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Stmt`, implement `Clone` for it [INFO] [stdout] --> interpreter/src/stmt.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 + #[derive(Clone)] [INFO] [stdout] 6 | pub enum Stmt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "7c8556ede30d23b670149671db827cdb23f45203154b6c2b19bb35ec3399c777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c8556ede30d23b670149671db827cdb23f45203154b6c2b19bb35ec3399c777", kill_on_drop: false }` [INFO] [stdout] 7c8556ede30d23b670149671db827cdb23f45203154b6c2b19bb35ec3399c777