[INFO] cloning repository https://github.com/TateKennington/Rlox
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TateKennington/Rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTateKennington%2FRlox", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTateKennington%2FRlox'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 18c198c655f56a5b52aa64e1ddcc0422bedb27c9
[INFO] testing TateKennington/Rlox against 1.85.0 for beta-1.86-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTateKennington%2FRlox" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/TateKennington/Rlox on toolchain 1.85.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/TateKennington/Rlox
[INFO] finished tweaking git repo https://github.com/TateKennington/Rlox
[INFO] tweaked toml for git repo https://github.com/TateKennington/Rlox written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/TateKennington/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" "+1.85.0" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.69
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.69
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.69
[INFO] [stderr]   Downloaded quote v1.0.8
[INFO] [stderr]   Downloaded log v0.4.13
[INFO] [stderr]   Downloaded proc-macro2 v1.0.24
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.69
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.69
[INFO] [stderr]   Downloaded syn v1.0.58
[INFO] [stderr]   Downloaded libc v0.2.82
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cace85876fa468d9909b72d5ad14b009314aee43df15e74896797790bf5cf490
[INFO] running `Command { std: "docker" "start" "-a" "cace85876fa468d9909b72d5ad14b009314aee43df15e74896797790bf5cf490", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cace85876fa468d9909b72d5ad14b009314aee43df15e74896797790bf5cf490", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cace85876fa468d9909b72d5ad14b009314aee43df15e74896797790bf5cf490", kill_on_drop: false }`
[INFO] [stdout] cace85876fa468d9909b72d5ad14b009314aee43df15e74896797790bf5cf490
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b20b506975e40638340403f621f60e5d20c8609c22b0d9e07ced0365f8948af
[INFO] running `Command { std: "docker" "start" "-a" "7b20b506975e40638340403f621f60e5d20c8609c22b0d9e07ced0365f8948af", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling syn v1.0.58
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.69
[INFO] [stderr]    Compiling log v0.4.13
[INFO] [stderr]    Compiling wasm-bindgen v0.2.69
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.69
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.69
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.69
[INFO] [stderr]    Compiling console_error_panic_hook v0.1.6
[INFO] [stderr]    Compiling rlox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lox/interpreter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lox/stmt.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/lox.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/interpreter.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             _ => panic!("Unsupported Expr"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/interpreter.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             Expr::Binary { left, right, op } => {
[INFO] [stdout]    |             -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 43 |             Expr::Unary { right, op } => Expr::interpret_unary(right, op, environment),
[INFO] [stdout]    |             ------------------------- matches some of the same values
[INFO] [stdout] 44 |             Expr::Grouping(expr) => expr.interpret(environment),
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] 45 |             Expr::Literal(token) => Expr::interpret_literal(token, environment),
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 61 |             _ => panic!("Unsupported Expr"),
[INFO] [stdout]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `environment`
[INFO] [stdout]   --> src/lox/interpreter.rs:75:41
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn interpret_literal(token: &Token, environment: &mut Box<Environment>) -> Value {
[INFO] [stdout]    |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/stmt.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             _ => panic!("Unsupported Statement"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/stmt.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |             Stmt::Expression(expr) => write!(f, "Expr {}", expr),
[INFO] [stdout]    |             ---------------------- matches some of the same values
[INFO] [stdout] 25 |             Stmt::Print(expr) => write!(f, "Print {}", expr),
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 26 |             Stmt::Var(token) => write!(f, "Var {}", token),
[INFO] [stdout]    |             ---------------- matches some of the same values
[INFO] [stdout] 27 |             Stmt::InitialisedVar(token, expr) => write!(f, "Init Var {} {}", token, expr),
[INFO] [stdout]    |             --------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 31 |             _ => panic!("Unsupported Statement"),
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/stmt.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             _ => panic!("Unsupported Expression"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/stmt.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Stmt::Expression(expr) => {
[INFO] [stdout]    |             ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 42 |             Stmt::Print(expr) => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 45 |             Stmt::Var(token) => {
[INFO] [stdout]    |             ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 52 |             Stmt::InitialisedVar(token, initialiser) => {
[INFO] [stdout]    |             ---------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 83 |             _ => panic!("Unsupported Expression"),
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lox.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut environment = environment::Environment::new();
[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: `program`
[INFO] [stdout]   --> src/lox.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let program = parser.parse();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_prompt` is never used
[INFO] [stdout]   --> src/lox.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn run_prompt() {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_file` is never used
[INFO] [stdout]   --> src/lox.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn run_file(path: &String, output: &mut String) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evaluate_run` is never used
[INFO] [stdout]   --> src/lox.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn evaluate_run(source: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_rpn` is never used
[INFO] [stdout]   --> src/lox/expr.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Expr {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 36 |     pub fn print_rpn(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line` is never read
[INFO] [stdout]   --> src/lox/tokens.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct Token {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub line: usize,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains a brace
[INFO] [stdout]    --> src/lox/parser.rs:130:30
[INFO] [stdout]     |
[INFO] [stdout] 130 |             panic!("Expected } at end of block")
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this message is not used as a format string, but will be in Rust 2021
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to use the message literally
[INFO] [stdout]     |
[INFO] [stdout] 130 |             panic!("{}", "Expected } at end of block")
[INFO] [stdout]     |                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lox/stmt.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 writeln!(output, "{}", expr.interpret(environment));
[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 return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/lox/stmt.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 std::mem::replace(environment, local);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 let _ = std::mem::replace(environment, local);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lox/interpreter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lox/stmt.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/lox.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lox::expr::Expr`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use lox::expr::Expr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TokenType` and `Token`
[INFO] [stdout]  --> src/main.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use lox::tokens::{Token, TokenType};
[INFO] [stdout]   |                   ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/interpreter.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             _ => panic!("Unsupported Expr"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/interpreter.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             Expr::Binary { left, right, op } => {
[INFO] [stdout]    |             -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 43 |             Expr::Unary { right, op } => Expr::interpret_unary(right, op, environment),
[INFO] [stdout]    |             ------------------------- matches some of the same values
[INFO] [stdout] 44 |             Expr::Grouping(expr) => expr.interpret(environment),
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] 45 |             Expr::Literal(token) => Expr::interpret_literal(token, environment),
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 61 |             _ => panic!("Unsupported Expr"),
[INFO] [stdout]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `environment`
[INFO] [stdout]   --> src/lox/interpreter.rs:75:41
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn interpret_literal(token: &Token, environment: &mut Box<Environment>) -> Value {
[INFO] [stdout]    |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/stmt.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             _ => panic!("Unsupported Statement"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/stmt.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |             Stmt::Expression(expr) => write!(f, "Expr {}", expr),
[INFO] [stdout]    |             ---------------------- matches some of the same values
[INFO] [stdout] 25 |             Stmt::Print(expr) => write!(f, "Print {}", expr),
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 26 |             Stmt::Var(token) => write!(f, "Var {}", token),
[INFO] [stdout]    |             ---------------- matches some of the same values
[INFO] [stdout] 27 |             Stmt::InitialisedVar(token, expr) => write!(f, "Init Var {} {}", token, expr),
[INFO] [stdout]    |             --------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 31 |             _ => panic!("Unsupported Statement"),
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/stmt.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             _ => panic!("Unsupported Expression"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/stmt.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Stmt::Expression(expr) => {
[INFO] [stdout]    |             ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 42 |             Stmt::Print(expr) => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 45 |             Stmt::Var(token) => {
[INFO] [stdout]    |             ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 52 |             Stmt::InitialisedVar(token, initialiser) => {
[INFO] [stdout]    |             ---------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 83 |             _ => panic!("Unsupported Expression"),
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lox.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut environment = environment::Environment::new();
[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: `program`
[INFO] [stdout]   --> src/lox.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let program = parser.parse();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evaluate_run` is never used
[INFO] [stdout]   --> src/lox.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn evaluate_run(source: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_rpn` is never used
[INFO] [stdout]   --> src/lox/expr.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Expr {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 36 |     pub fn print_rpn(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line` is never read
[INFO] [stdout]   --> src/lox/tokens.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct Token {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub line: usize,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains a brace
[INFO] [stdout]    --> src/lox/parser.rs:130:30
[INFO] [stdout]     |
[INFO] [stdout] 130 |             panic!("Expected } at end of block")
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this message is not used as a format string, but will be in Rust 2021
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to use the message literally
[INFO] [stdout]     |
[INFO] [stdout] 130 |             panic!("{}", "Expected } at end of block")
[INFO] [stdout]     |                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lox/stmt.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 writeln!(output, "{}", expr.interpret(environment));
[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 return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/lox/stmt.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 std::mem::replace(environment, local);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 let _ = std::mem::replace(environment, local);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.66s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.69
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7`
[INFO] running `Command { std: "docker" "inspect" "7b20b506975e40638340403f621f60e5d20c8609c22b0d9e07ced0365f8948af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b20b506975e40638340403f621f60e5d20c8609c22b0d9e07ced0365f8948af", kill_on_drop: false }`
[INFO] [stdout] 7b20b506975e40638340403f621f60e5d20c8609c22b0d9e07ced0365f8948af
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 20dc68cd3c9246d44ad373d2c17549aae797a484d9d33074cb0ce1244f5d8909
[INFO] running `Command { std: "docker" "start" "-a" "20dc68cd3c9246d44ad373d2c17549aae797a484d9d33074cb0ce1244f5d8909", kill_on_drop: false }`
[INFO] [stderr]    Compiling rlox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lox/interpreter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lox/stmt.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/lox.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/interpreter.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             _ => panic!("Unsupported Expr"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/interpreter.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             Expr::Binary { left, right, op } => {
[INFO] [stdout]    |             -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 43 |             Expr::Unary { right, op } => Expr::interpret_unary(right, op, environment),
[INFO] [stdout]    |             ------------------------- matches some of the same values
[INFO] [stdout] 44 |             Expr::Grouping(expr) => expr.interpret(environment),
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] 45 |             Expr::Literal(token) => Expr::interpret_literal(token, environment),
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 61 |             _ => panic!("Unsupported Expr"),
[INFO] [stdout]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `environment`
[INFO] [stdout]   --> src/lox/interpreter.rs:75:41
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn interpret_literal(token: &Token, environment: &mut Box<Environment>) -> Value {
[INFO] [stdout]    |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/stmt.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             _ => panic!("Unsupported Statement"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/stmt.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |             Stmt::Expression(expr) => write!(f, "Expr {}", expr),
[INFO] [stdout]    |             ---------------------- matches some of the same values
[INFO] [stdout] 25 |             Stmt::Print(expr) => write!(f, "Print {}", expr),
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 26 |             Stmt::Var(token) => write!(f, "Var {}", token),
[INFO] [stdout]    |             ---------------- matches some of the same values
[INFO] [stdout] 27 |             Stmt::InitialisedVar(token, expr) => write!(f, "Init Var {} {}", token, expr),
[INFO] [stdout]    |             --------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 31 |             _ => panic!("Unsupported Statement"),
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/stmt.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             _ => panic!("Unsupported Expression"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/stmt.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Stmt::Expression(expr) => {
[INFO] [stdout]    |             ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 42 |             Stmt::Print(expr) => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 45 |             Stmt::Var(token) => {
[INFO] [stdout]    |             ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 52 |             Stmt::InitialisedVar(token, initialiser) => {
[INFO] [stdout]    |             ---------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 83 |             _ => panic!("Unsupported Expression"),
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lox.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut environment = environment::Environment::new();
[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: `program`
[INFO] [stdout]   --> src/lox.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let program = parser.parse();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_prompt` is never used
[INFO] [stdout]   --> src/lox.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn run_prompt() {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_file` is never used
[INFO] [stdout]   --> src/lox.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn run_file(path: &String, output: &mut String) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evaluate_run` is never used
[INFO] [stdout]   --> src/lox.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn evaluate_run(source: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_rpn` is never used
[INFO] [stdout]   --> src/lox/expr.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Expr {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 36 |     pub fn print_rpn(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line` is never read
[INFO] [stdout]   --> src/lox/tokens.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct Token {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub line: usize,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains a brace
[INFO] [stdout]    --> src/lox/parser.rs:130:30
[INFO] [stdout]     |
[INFO] [stdout] 130 |             panic!("Expected } at end of block")
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this message is not used as a format string, but will be in Rust 2021
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to use the message literally
[INFO] [stdout]     |
[INFO] [stdout] 130 |             panic!("{}", "Expected } at end of block")
[INFO] [stdout]     |                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lox/stmt.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 writeln!(output, "{}", expr.interpret(environment));
[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 return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/lox/stmt.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 std::mem::replace(environment, local);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 let _ = std::mem::replace(environment, local);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lox/interpreter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lox/stmt.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/lox.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lox::expr::Expr`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use lox::expr::Expr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TokenType` and `Token`
[INFO] [stdout]  --> src/main.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use lox::tokens::{Token, TokenType};
[INFO] [stdout]   |                   ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lox/interpreter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lox/stmt.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/lox.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/interpreter.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             _ => panic!("Unsupported Expr"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/interpreter.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             Expr::Binary { left, right, op } => {
[INFO] [stdout]    |             -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 43 |             Expr::Unary { right, op } => Expr::interpret_unary(right, op, environment),
[INFO] [stdout]    |             ------------------------- matches some of the same values
[INFO] [stdout] 44 |             Expr::Grouping(expr) => expr.interpret(environment),
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] 45 |             Expr::Literal(token) => Expr::interpret_literal(token, environment),
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 61 |             _ => panic!("Unsupported Expr"),
[INFO] [stdout]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `environment`
[INFO] [stdout]   --> src/lox/interpreter.rs:75:41
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn interpret_literal(token: &Token, environment: &mut Box<Environment>) -> Value {
[INFO] [stdout]    |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/stmt.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             _ => panic!("Unsupported Statement"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/stmt.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |             Stmt::Expression(expr) => write!(f, "Expr {}", expr),
[INFO] [stdout]    |             ---------------------- matches some of the same values
[INFO] [stdout] 25 |             Stmt::Print(expr) => write!(f, "Print {}", expr),
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 26 |             Stmt::Var(token) => write!(f, "Var {}", token),
[INFO] [stdout]    |             ---------------- matches some of the same values
[INFO] [stdout] 27 |             Stmt::InitialisedVar(token, expr) => write!(f, "Init Var {} {}", token, expr),
[INFO] [stdout]    |             --------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 31 |             _ => panic!("Unsupported Statement"),
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/stmt.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             _ => panic!("Unsupported Expression"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/stmt.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Stmt::Expression(expr) => {
[INFO] [stdout]    |             ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 42 |             Stmt::Print(expr) => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 45 |             Stmt::Var(token) => {
[INFO] [stdout]    |             ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 52 |             Stmt::InitialisedVar(token, initialiser) => {
[INFO] [stdout]    |             ---------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 83 |             _ => panic!("Unsupported Expression"),
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lox.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut environment = environment::Environment::new();
[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: `program`
[INFO] [stdout]   --> src/lox.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let program = parser.parse();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evaluate_run` is never used
[INFO] [stdout]   --> src/lox.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn evaluate_run(source: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_rpn` is never used
[INFO] [stdout]   --> src/lox/expr.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Expr {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 36 |     pub fn print_rpn(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line` is never read
[INFO] [stdout]   --> src/lox/tokens.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct Token {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub line: usize,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains a brace
[INFO] [stdout]    --> src/lox/parser.rs:130:30
[INFO] [stdout]     |
[INFO] [stdout] 130 |             panic!("Expected } at end of block")
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this message is not used as a format string, but will be in Rust 2021
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to use the message literally
[INFO] [stdout]     |
[INFO] [stdout] 130 |             panic!("{}", "Expected } at end of block")
[INFO] [stdout]     |                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lox/stmt.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 writeln!(output, "{}", expr.interpret(environment));
[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 return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/lox/stmt.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 std::mem::replace(environment, local);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 let _ = std::mem::replace(environment, local);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/interpreter.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             _ => panic!("Unsupported Expr"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/interpreter.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             Expr::Binary { left, right, op } => {
[INFO] [stdout]    |             -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 43 |             Expr::Unary { right, op } => Expr::interpret_unary(right, op, environment),
[INFO] [stdout]    |             ------------------------- matches some of the same values
[INFO] [stdout] 44 |             Expr::Grouping(expr) => expr.interpret(environment),
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] 45 |             Expr::Literal(token) => Expr::interpret_literal(token, environment),
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 61 |             _ => panic!("Unsupported Expr"),
[INFO] [stdout]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `environment`
[INFO] [stdout]   --> src/lox/interpreter.rs:75:41
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn interpret_literal(token: &Token, environment: &mut Box<Environment>) -> Value {
[INFO] [stdout]    |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/stmt.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             _ => panic!("Unsupported Statement"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/stmt.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |             Stmt::Expression(expr) => write!(f, "Expr {}", expr),
[INFO] [stdout]    |             ---------------------- matches some of the same values
[INFO] [stdout] 25 |             Stmt::Print(expr) => write!(f, "Print {}", expr),
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 26 |             Stmt::Var(token) => write!(f, "Var {}", token),
[INFO] [stdout]    |             ---------------- matches some of the same values
[INFO] [stdout] 27 |             Stmt::InitialisedVar(token, expr) => write!(f, "Init Var {} {}", token, expr),
[INFO] [stdout]    |             --------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 31 |             _ => panic!("Unsupported Statement"),
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lox/stmt.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             _ => panic!("Unsupported Expression"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/lox/stmt.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Stmt::Expression(expr) => {
[INFO] [stdout]    |             ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 42 |             Stmt::Print(expr) => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 45 |             Stmt::Var(token) => {
[INFO] [stdout]    |             ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 52 |             Stmt::InitialisedVar(token, initialiser) => {
[INFO] [stdout]    |             ---------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 83 |             _ => panic!("Unsupported Expression"),
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lox.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut environment = environment::Environment::new();
[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: `program`
[INFO] [stdout]   --> src/lox.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let program = parser.parse();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_prompt` is never used
[INFO] [stdout]   --> src/lox.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn run_prompt() {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_file` is never used
[INFO] [stdout]   --> src/lox.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn run_file(path: &String, output: &mut String) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evaluate_run` is never used
[INFO] [stdout]   --> src/lox.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn evaluate_run(source: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_rpn` is never used
[INFO] [stdout]   --> src/lox/expr.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Expr {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 36 |     pub fn print_rpn(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line` is never read
[INFO] [stdout]   --> src/lox/tokens.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct Token {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub line: usize,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains a brace
[INFO] [stdout]    --> src/lox/parser.rs:130:30
[INFO] [stdout]     |
[INFO] [stdout] 130 |             panic!("Expected } at end of block")
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this message is not used as a format string, but will be in Rust 2021
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to use the message literally
[INFO] [stdout]     |
[INFO] [stdout] 130 |             panic!("{}", "Expected } at end of block")
[INFO] [stdout]     |                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lox/stmt.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 writeln!(output, "{}", expr.interpret(environment));
[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 return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/lox/stmt.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 std::mem::replace(environment, local);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 let _ = std::mem::replace(environment, local);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.69
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7`
[INFO] running `Command { std: "docker" "inspect" "20dc68cd3c9246d44ad373d2c17549aae797a484d9d33074cb0ce1244f5d8909", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20dc68cd3c9246d44ad373d2c17549aae797a484d9d33074cb0ce1244f5d8909", kill_on_drop: false }`
[INFO] [stdout] 20dc68cd3c9246d44ad373d2c17549aae797a484d9d33074cb0ce1244f5d8909
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.85.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 58c4bfc981fe15d2ca7a5fc89fac7f83f4c582eb133df8e42276597663fa57a3
[INFO] running `Command { std: "docker" "start" "-a" "58c4bfc981fe15d2ca7a5fc89fac7f83f4c582eb133df8e42276597663fa57a3", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::rc::Rc`
[INFO] [stderr]  --> src/lox/interpreter.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::rc::Rc;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::rc::Rc`
[INFO] [stderr]  --> src/lox/stmt.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::rc::Rc;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::rc::Rc`
[INFO] [stderr]   --> src/lox.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::rc::Rc;
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/lox/interpreter.rs:61:13
[INFO] [stderr]    |
[INFO] [stderr] 61 |             _ => panic!("Unsupported Expr"),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/lox/interpreter.rs:61:13
[INFO] [stderr]    |
[INFO] [stderr] 40 |             Expr::Binary { left, right, op } => {
[INFO] [stderr]    |             -------------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 43 |             Expr::Unary { right, op } => Expr::interpret_unary(right, op, environment),
[INFO] [stderr]    |             ------------------------- matches some of the same values
[INFO] [stderr] 44 |             Expr::Grouping(expr) => expr.interpret(environment),
[INFO] [stderr]    |             -------------------- matches some of the same values
[INFO] [stderr] 45 |             Expr::Literal(token) => Expr::interpret_literal(token, environment),
[INFO] [stderr]    |             -------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 61 |             _ => panic!("Unsupported Expr"),
[INFO] [stderr]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `environment`
[INFO] [stderr]   --> src/lox/interpreter.rs:75:41
[INFO] [stderr]    |
[INFO] [stderr] 75 |     fn interpret_literal(token: &Token, environment: &mut Box<Environment>) -> Value {
[INFO] [stderr]    |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/lox/stmt.rs:31:13
[INFO] [stderr]    |
[INFO] [stderr] 31 |             _ => panic!("Unsupported Statement"),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/lox/stmt.rs:31:13
[INFO] [stderr]    |
[INFO] [stderr] 24 |             Stmt::Expression(expr) => write!(f, "Expr {}", expr),
[INFO] [stderr]    |             ---------------------- matches some of the same values
[INFO] [stderr] 25 |             Stmt::Print(expr) => write!(f, "Print {}", expr),
[INFO] [stderr]    |             ----------------- matches some of the same values
[INFO] [stderr] 26 |             Stmt::Var(token) => write!(f, "Var {}", token),
[INFO] [stderr]    |             ---------------- matches some of the same values
[INFO] [stderr] 27 |             Stmt::InitialisedVar(token, expr) => write!(f, "Init Var {} {}", token, expr),
[INFO] [stderr]    |             --------------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 31 |             _ => panic!("Unsupported Statement"),
[INFO] [stderr]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/lox/stmt.rs:83:13
[INFO] [stderr]    |
[INFO] [stderr] 83 |             _ => panic!("Unsupported Expression"),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/lox/stmt.rs:83:13
[INFO] [stderr]    |
[INFO] [stderr] 39 |             Stmt::Expression(expr) => {
[INFO] [stderr]    |             ---------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 42 |             Stmt::Print(expr) => {
[INFO] [stderr]    |             ----------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 45 |             Stmt::Var(token) => {
[INFO] [stderr]    |             ---------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 52 |             Stmt::InitialisedVar(token, initialiser) => {
[INFO] [stderr]    |             ---------------------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 83 |             _ => panic!("Unsupported Expression"),
[INFO] [stderr]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/lox.rs:27:9
[INFO] [stderr]    |
[INFO] [stderr] 27 |     let mut environment = environment::Environment::new();
[INFO] [stderr]    |         ----^^^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `program`
[INFO] [stderr]   --> src/lox.rs:61:9
[INFO] [stderr]    |
[INFO] [stderr] 61 |     let program = parser.parse();
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program`
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_prompt` is never used
[INFO] [stderr]   --> src/lox.rs:13:8
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn run_prompt() {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_file` is never used
[INFO] [stderr]   --> src/lox.rs:26:8
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub fn run_file(path: &String, output: &mut String) {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `evaluate_run` is never used
[INFO] [stderr]   --> src/lox.rs:52:8
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub fn evaluate_run(source: String) {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `print_rpn` is never used
[INFO] [stderr]   --> src/lox/expr.rs:36:12
[INFO] [stderr]    |
[INFO] [stderr] 35 | impl Expr {
[INFO] [stderr]    | --------- method in this implementation
[INFO] [stderr] 36 |     pub fn print_rpn(&self) -> String {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `line` is never read
[INFO] [stderr]   --> src/lox/tokens.rs:64:9
[INFO] [stderr]    |
[INFO] [stderr] 61 | pub struct Token {
[INFO] [stderr]    |            ----- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 64 |     pub line: usize,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: panic message contains a brace
[INFO] [stderr]    --> src/lox/parser.rs:130:30
[INFO] [stderr]     |
[INFO] [stderr] 130 |             panic!("Expected } at end of block")
[INFO] [stderr]     |                              ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this message is not used as a format string, but will be in Rust 2021
[INFO] [stderr]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stderr] help: add a "{}" format string to use the message literally
[INFO] [stderr]     |
[INFO] [stderr] 130 |             panic!("{}", "Expected } at end of block")
[INFO] [stderr]     |                    +++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/lox/stmt.rs:43:17
[INFO] [stderr]    |
[INFO] [stderr] 43 |                 writeln!(output, "{}", expr.interpret(environment));
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/lox/stmt.rs:68:17
[INFO] [stderr]    |
[INFO] [stderr] 68 |                 std::mem::replace(environment, local);
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 68 |                 let _ = std::mem::replace(environment, local);
[INFO] [stderr]    |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rlox` (lib) generated 17 warnings (run `cargo fix --lib -p rlox` to apply 5 suggestions)
[INFO] [stderr] warning: `rlox` (lib test) generated 17 warnings (17 duplicates)
[INFO] [stderr] warning: unused import: `lox::expr::Expr`
[INFO] [stderr]  --> src/main.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use lox::expr::Expr;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `TokenType` and `Token`
[INFO] [stderr]  --> src/main.rs:3:19
[INFO] [stderr]   |
[INFO] [stderr] 3 | use lox::tokens::{Token, TokenType};
[INFO] [stderr]   |                   ^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `evaluate_run` is never used
[INFO] [stderr]   --> src/lox.rs:52:8
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub fn evaluate_run(source: String) {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rlox` (bin "rlox" test) generated 17 warnings (14 duplicates) (run `cargo fix --bin "rlox" --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.69
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rlox-3744023cb225de44)
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rlox-3d9596cbb43a8668)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rlox
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "58c4bfc981fe15d2ca7a5fc89fac7f83f4c582eb133df8e42276597663fa57a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58c4bfc981fe15d2ca7a5fc89fac7f83f4c582eb133df8e42276597663fa57a3", kill_on_drop: false }`
[INFO] [stdout] 58c4bfc981fe15d2ca7a5fc89fac7f83f4c582eb133df8e42276597663fa57a3
