[INFO] cloning repository https://github.com/ironbody/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ironbody/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fironbody%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fironbody%2Flox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99a21c8c94bcffa5f6be0a738d8efcbb696f4b88 [INFO] checking ironbody/lox against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fironbody%2Flox" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ironbody/lox [INFO] finished tweaking git repo https://github.com/ironbody/lox [INFO] tweaked toml for git repo https://github.com/ironbody/lox written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ironbody/lox on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ironbody/lox 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dae381443b742bc789c05bd3e3a34980c925c42f3fea37b3ae68cbec92f9849a [INFO] running `Command { std: "docker" "start" "-a" "dae381443b742bc789c05bd3e3a34980c925c42f3fea37b3ae68cbec92f9849a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dae381443b742bc789c05bd3e3a34980c925c42f3fea37b3ae68cbec92f9849a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dae381443b742bc789c05bd3e3a34980c925c42f3fea37b3ae68cbec92f9849a", kill_on_drop: false }` [INFO] [stdout] dae381443b742bc789c05bd3e3a34980c925c42f3fea37b3ae68cbec92f9849a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e90a372f483a15595c37962538c1f775d3f1e0852ff553e23bd173c849738792 [INFO] running `Command { std: "docker" "start" "-a" "e90a372f483a15595c37962538c1f775d3f1e0852ff553e23bd173c849738792", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/expr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [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 import: `token::TokenType` [INFO] [stdout] --> src/interpreter.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{expr::{Expr, ExpressionVisitor}, object::Object, token::TokenType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `io` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{env, fs, io, process::exit}; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenType` [INFO] [stdout] --> src/main.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use token::{Token, TokenType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scanner::Scanner` [INFO] [stdout] --> src/main.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::{literal::Literal, scanner::Scanner}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/interpreter.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | fn visit_binary(&self, left: &crate::expr::Expr, operand: &crate::token::Token, right: &crate::expr::Expr) -> Result src/interpreter.rs:16:54 [INFO] [stdout] | [INFO] [stdout] 16 | fn visit_binary(&self, left: &crate::expr::Expr, operand: &crate::token::Token, right: &crate::expr::Expr) -> Result src/interpreter.rs:16:85 [INFO] [stdout] | [INFO] [stdout] 16 | ...perand: &crate::token::Token, right: &crate::expr::Expr) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand` [INFO] [stdout] --> src/interpreter.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn visit_unary(&self, operand: &crate::token::Token, expr: &crate::expr::Expr) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/interpreter.rs:20:58 [INFO] [stdout] | [INFO] [stdout] 20 | fn visit_unary(&self, operand: &crate::token::Token, expr: &crate::expr::Expr) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ast_printer` is never used [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn test_ast_printer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lox.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Scanner(Vec), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Scanner(Vec), [INFO] [stdout] 11 + Scanner(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lox.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | Parser(ParserError), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - Parser(ParserError), [INFO] [stdout] 12 + Parser(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `error`, `report`, and `error_token` are never used [INFO] [stdout] --> src/lox.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Lox { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn error(&mut self, line: usize, message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn report(&mut self, line: usize, location: &str, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn error_token(&mut self, token: &Token, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `token` are never read [INFO] [stdout] --> src/parser.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | Custom { message: String, token: Token }, [INFO] [stdout] | ------ ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `synchronize` is never used [INFO] [stdout] --> src/parser.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Object` is never used [INFO] [stdout] --> src/object.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Object{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InterpreterError` is never used [INFO] [stdout] --> src/interpreter.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum InterpreterError{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interpreter` is never constructed [INFO] [stdout] --> src/interpreter.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Interpreter; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Interpreter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 10 | fn evaluate(&self, expr: &Expr) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lox.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | self.run(&content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 26 | let _ = self.run(&content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lox.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | self.run(&line); [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] 39 | let _ = self.run(&line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/expr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [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 import: `token::TokenType` [INFO] [stdout] --> src/interpreter.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{expr::{Expr, ExpressionVisitor}, object::Object, token::TokenType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `io` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{env, fs, io, process::exit}; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenType` [INFO] [stdout] --> src/main.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use token::{Token, TokenType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scanner::Scanner` [INFO] [stdout] --> src/main.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::{literal::Literal, scanner::Scanner}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/interpreter.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | fn visit_binary(&self, left: &crate::expr::Expr, operand: &crate::token::Token, right: &crate::expr::Expr) -> Result src/interpreter.rs:16:54 [INFO] [stdout] | [INFO] [stdout] 16 | fn visit_binary(&self, left: &crate::expr::Expr, operand: &crate::token::Token, right: &crate::expr::Expr) -> Result src/interpreter.rs:16:85 [INFO] [stdout] | [INFO] [stdout] 16 | ...perand: &crate::token::Token, right: &crate::expr::Expr) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand` [INFO] [stdout] --> src/interpreter.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn visit_unary(&self, operand: &crate::token::Token, expr: &crate::expr::Expr) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/interpreter.rs:20:58 [INFO] [stdout] | [INFO] [stdout] 20 | fn visit_unary(&self, operand: &crate::token::Token, expr: &crate::expr::Expr) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ast_printer` is never used [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn test_ast_printer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lox.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Scanner(Vec), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Scanner(Vec), [INFO] [stdout] 11 + Scanner(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lox.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | Parser(ParserError), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - Parser(ParserError), [INFO] [stdout] 12 + Parser(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `error`, `report`, and `error_token` are never used [INFO] [stdout] --> src/lox.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Lox { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn error(&mut self, line: usize, message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn report(&mut self, line: usize, location: &str, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn error_token(&mut self, token: &Token, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `token` are never read [INFO] [stdout] --> src/parser.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | Custom { message: String, token: Token }, [INFO] [stdout] | ------ ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `synchronize` is never used [INFO] [stdout] --> src/parser.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Object` is never used [INFO] [stdout] --> src/object.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Object{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InterpreterError` is never used [INFO] [stdout] --> src/interpreter.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum InterpreterError{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interpreter` is never constructed [INFO] [stdout] --> src/interpreter.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Interpreter; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Interpreter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 10 | fn evaluate(&self, expr: &Expr) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lox.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | self.run(&content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 26 | let _ = self.run(&content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lox.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | self.run(&line); [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] 39 | let _ = self.run(&line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.38s [INFO] running `Command { std: "docker" "inspect" "e90a372f483a15595c37962538c1f775d3f1e0852ff553e23bd173c849738792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e90a372f483a15595c37962538c1f775d3f1e0852ff553e23bd173c849738792", kill_on_drop: false }` [INFO] [stdout] e90a372f483a15595c37962538c1f775d3f1e0852ff553e23bd173c849738792