[INFO] cloning repository https://github.com/Braden-Griebel/loxrs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Braden-Griebel/loxrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBraden-Griebel%2Floxrs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBraden-Griebel%2Floxrs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c3558461bba4ce3af6a843d129316a05edad586f
[INFO] checking Braden-Griebel/loxrs against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBraden-Griebel%2Floxrs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Braden-Griebel/loxrs on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Braden-Griebel/loxrs
[INFO] finished tweaking git repo https://github.com/Braden-Griebel/loxrs
[INFO] tweaked toml for git repo https://github.com/Braden-Griebel/loxrs written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Braden-Griebel/loxrs 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4946411f2de233c77c8135afe9333a57b4ed338b666d581616f08f3121c058c8
[INFO] running `Command { std: "docker" "start" "-a" "4946411f2de233c77c8135afe9333a57b4ed338b666d581616f08f3121c058c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4946411f2de233c77c8135afe9333a57b4ed338b666d581616f08f3121c058c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4946411f2de233c77c8135afe9333a57b4ed338b666d581616f08f3121c058c8", kill_on_drop: false }`
[INFO] [stdout] 4946411f2de233c77c8135afe9333a57b4ed338b666d581616f08f3121c058c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e21a77ad4e9f92d6a92768b0d665ee80441e250750e4cf8b44e9031f6ddd729e
[INFO] running `Command { std: "docker" "start" "-a" "e21a77ad4e9f92d6a92768b0d665ee80441e250750e4cf8b44e9031f6ddd729e", kill_on_drop: false }`
[INFO] [stderr]     Checking loxrs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]  --> src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/token.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout]  --> src/token.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fmt::Formatter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lox::Lox`
[INFO] [stdout]   --> src/token.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::lox::Lox;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lox_callable::LoxCallable`
[INFO] [stdout]   --> src/token.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::lox_callable::LoxCallable;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::interpreter::InterpreterError`
[INFO] [stdout]  --> src/parser.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::interpreter::InterpreterError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/parser.rs:353:15
[INFO] [stdout]     |
[INFO] [stdout] 353 |         while (!self.check(TokenType::RightBrace) && !self.is_at_end()) {
[INFO] [stdout]     |               ^                                                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 353 -         while (!self.check(TokenType::RightBrace) && !self.is_at_end()) {
[INFO] [stdout] 353 +         while !self.check(TokenType::RightBrace) && !self.is_at_end() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> src/interpreter.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/interpreter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> src/lox_callable.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]  --> src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/token.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout]  --> src/token.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fmt::Formatter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lox::Lox`
[INFO] [stdout]   --> src/token.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::lox::Lox;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lox_callable::LoxCallable`
[INFO] [stdout]   --> src/token.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::lox_callable::LoxCallable;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::interpreter::InterpreterError`
[INFO] [stdout]  --> src/parser.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::interpreter::InterpreterError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/parser.rs:353:15
[INFO] [stdout]     |
[INFO] [stdout] 353 |         while (!self.check(TokenType::RightBrace) && !self.is_at_end()) {
[INFO] [stdout]     |               ^                                                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 353 -         while (!self.check(TokenType::RightBrace) && !self.is_at_end()) {
[INFO] [stdout] 353 +         while !self.check(TokenType::RightBrace) && !self.is_at_end() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> src/interpreter.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/interpreter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> src/lox_callable.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `initializer` is never read
[INFO] [stdout]    --> src/parser.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let mut initializer: Option<Stmt> = 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: variable does not need to be mutable
[INFO] [stdout]    --> src/parser.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let mut initializer: Expr;
[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: `paren`
[INFO] [stdout]    --> src/interpreter.rs:290:34
[INFO] [stdout]     |
[INFO] [stdout] 290 |             Expr::Call { callee, paren, arguments } => {
[INFO] [stdout]     |                                  ^^^^^ help: try ignoring the field: `paren: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keyword`
[INFO] [stdout]    --> src/interpreter.rs:481:28
[INFO] [stdout]     |
[INFO] [stdout] 481 |             Stmt::Return { keyword, value } => {
[INFO] [stdout]     |                            ^^^^^^^ help: try ignoring the field: `keyword: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `last_val` is assigned to, but never used
[INFO] [stdout]    --> src/interpreter.rs:560:17
[INFO] [stdout]     |
[INFO] [stdout] 560 |         let mut last_val: LiteralValue;
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_last_val` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `last_val` is never read
[INFO] [stdout]    --> src/interpreter.rs:562:13
[INFO] [stdout]     |
[INFO] [stdout] 562 |             last_val = match self.execute(stmt) {
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interpreter`
[INFO] [stdout]   --> src/lox_callable.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn call(&self, interpreter: &mut Interpreter, arguments: Vec<LiteralValue>) -> Result<LiteralValue, InterpreterError> {
[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/lox_callable.rs:19:51
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn call(&self, interpreter: &mut Interpreter, arguments: Vec<LiteralValue>) -> Result<LiteralValue, InterpreterError> {
[INFO] [stdout]    |                                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/lox_callable.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let (mut name, mut params, mut body) = match self.declaration.borrow().deref() {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lox_callable.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let (mut name, mut params, mut body) = match self.declaration.borrow().deref() {
[INFO] [stdout]    |              ----^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lox_callable.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let (mut name, mut params, mut body) = match self.declaration.borrow().deref() {
[INFO] [stdout]    |                        ----^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `at_end` is never read
[INFO] [stdout]  --> src/scanner.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Lexer{
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     at_end: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Get`, `Set`, `Super`, and `This` are never constructed
[INFO] [stdout]   --> src/ast.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub enum Expr {
[INFO] [stdout]    |          ---- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |     Get {
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     Set {
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     Super {
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     This {
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new_get`, `new_set`, `new_super`, and `new_this` are never used
[INFO] [stdout]    --> src/ast.rs:77:12
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl Expr {
[INFO] [stdout]     | --------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 77  |     pub fn new_get(object: Expr, name: Token) -> Expr {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn new_set(object: Expr, name: Token, value: Expr) -> Expr {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn new_super(keyword: Token, method: Token) -> Expr {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn new_this(keyword: Token) -> Expr {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Class` is never constructed
[INFO] [stdout]    --> src/ast.rs:137:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub enum Stmt {
[INFO] [stdout]     |          ---- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 137 |     Class {
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Stmt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_class` is never used
[INFO] [stdout]    --> src/ast.rs:178:12
[INFO] [stdout]     |
[INFO] [stdout] 172 | impl Stmt {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn new_class(name: Token, superclass: Expr, methods: Vec<Stmt>) -> Stmt {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `print` are never used
[INFO] [stdout]   --> src/printer.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl AstPrinter {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 49 |     
[INFO] [stdout] 50 |     pub fn new()->AstPrinter{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn print(&mut self, expr: &mut Expr)->String{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout]    --> src/token.rs:544:12
[INFO] [stdout]     |
[INFO] [stdout] 534 | impl Token {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 544 |     pub fn to_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `token` and `message` are never read
[INFO] [stdout]    --> src/parser.rs:427:5
[INFO] [stdout]     |
[INFO] [stdout] 426 | pub struct ParseError {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 427 |     token: Token,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 428 |     message: String,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `globals` is never read
[INFO] [stdout]   --> src/interpreter.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Interpreter {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 15 |     pub environment: Rc<RefCell<Environment>>,
[INFO] [stdout] 16 |     pub globals: Rc<RefCell<Environment>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unwrap_interpreter_result` is never used
[INFO] [stdout]    --> src/interpreter.rs:618:8
[INFO] [stdout]     |
[INFO] [stdout] 518 | impl Interpreter {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 618 |     fn unwrap_interpreter_result(result: Result<LiteralValue, InterpreterError>) -> Result<LiteralValue, InterpreterError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `full_clone` is never used
[INFO] [stdout]   --> src/environment.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Environment {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn full_clone(environment: &Rc<RefCell<Environment>>, 
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `initializer` is never read
[INFO] [stdout]    --> src/parser.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let mut initializer: Option<Stmt> = 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: variable does not need to be mutable
[INFO] [stdout]    --> src/parser.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let mut initializer: Expr;
[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: `paren`
[INFO] [stdout]    --> src/interpreter.rs:290:34
[INFO] [stdout]     |
[INFO] [stdout] 290 |             Expr::Call { callee, paren, arguments } => {
[INFO] [stdout]     |                                  ^^^^^ help: try ignoring the field: `paren: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keyword`
[INFO] [stdout]    --> src/interpreter.rs:481:28
[INFO] [stdout]     |
[INFO] [stdout] 481 |             Stmt::Return { keyword, value } => {
[INFO] [stdout]     |                            ^^^^^^^ help: try ignoring the field: `keyword: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `last_val` is assigned to, but never used
[INFO] [stdout]    --> src/interpreter.rs:560:17
[INFO] [stdout]     |
[INFO] [stdout] 560 |         let mut last_val: LiteralValue;
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_last_val` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `last_val` is never read
[INFO] [stdout]    --> src/interpreter.rs:562:13
[INFO] [stdout]     |
[INFO] [stdout] 562 |             last_val = match self.execute(stmt) {
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interpreter`
[INFO] [stdout]   --> src/lox_callable.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn call(&self, interpreter: &mut Interpreter, arguments: Vec<LiteralValue>) -> Result<LiteralValue, InterpreterError> {
[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/lox_callable.rs:19:51
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn call(&self, interpreter: &mut Interpreter, arguments: Vec<LiteralValue>) -> Result<LiteralValue, InterpreterError> {
[INFO] [stdout]    |                                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/lox_callable.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let (mut name, mut params, mut body) = match self.declaration.borrow().deref() {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lox_callable.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let (mut name, mut params, mut body) = match self.declaration.borrow().deref() {
[INFO] [stdout]    |              ----^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lox_callable.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let (mut name, mut params, mut body) = match self.declaration.borrow().deref() {
[INFO] [stdout]    |                        ----^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `at_end` is never read
[INFO] [stdout]  --> src/scanner.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Lexer{
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     at_end: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Get`, `Set`, `Super`, and `This` are never constructed
[INFO] [stdout]   --> src/ast.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub enum Expr {
[INFO] [stdout]    |          ---- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |     Get {
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     Set {
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     Super {
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     This {
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new_get`, `new_set`, `new_super`, and `new_this` are never used
[INFO] [stdout]    --> src/ast.rs:77:12
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl Expr {
[INFO] [stdout]     | --------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 77  |     pub fn new_get(object: Expr, name: Token) -> Expr {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn new_set(object: Expr, name: Token, value: Expr) -> Expr {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn new_super(keyword: Token, method: Token) -> Expr {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn new_this(keyword: Token) -> Expr {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Class` is never constructed
[INFO] [stdout]    --> src/ast.rs:137:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub enum Stmt {
[INFO] [stdout]     |          ---- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 137 |     Class {
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Stmt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_class` is never used
[INFO] [stdout]    --> src/ast.rs:178:12
[INFO] [stdout]     |
[INFO] [stdout] 172 | impl Stmt {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn new_class(name: Token, superclass: Expr, methods: Vec<Stmt>) -> Stmt {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `print` are never used
[INFO] [stdout]   --> src/printer.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl AstPrinter {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 49 |     
[INFO] [stdout] 50 |     pub fn new()->AstPrinter{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn print(&mut self, expr: &mut Expr)->String{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout]    --> src/token.rs:544:12
[INFO] [stdout]     |
[INFO] [stdout] 534 | impl Token {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 544 |     pub fn to_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `token` and `message` are never read
[INFO] [stdout]    --> src/parser.rs:427:5
[INFO] [stdout]     |
[INFO] [stdout] 426 | pub struct ParseError {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 427 |     token: Token,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 428 |     message: String,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `globals` is never read
[INFO] [stdout]   --> src/interpreter.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Interpreter {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 15 |     pub environment: Rc<RefCell<Environment>>,
[INFO] [stdout] 16 |     pub globals: Rc<RefCell<Environment>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unwrap_interpreter_result` is never used
[INFO] [stdout]    --> src/interpreter.rs:618:8
[INFO] [stdout]     |
[INFO] [stdout] 518 | impl Interpreter {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 618 |     fn unwrap_interpreter_result(result: Result<LiteralValue, InterpreterError>) -> Result<LiteralValue, InterpreterError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `full_clone` is never used
[INFO] [stdout]   --> src/environment.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Environment {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn full_clone(environment: &Rc<RefCell<Environment>>, 
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.53s
[INFO] running `Command { std: "docker" "inspect" "e21a77ad4e9f92d6a92768b0d665ee80441e250750e4cf8b44e9031f6ddd729e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e21a77ad4e9f92d6a92768b0d665ee80441e250750e4cf8b44e9031f6ddd729e", kill_on_drop: false }`
[INFO] [stdout] e21a77ad4e9f92d6a92768b0d665ee80441e250750e4cf8b44e9031f6ddd729e
