[INFO] cloning repository https://github.com/LaurensKubat/rust-lox
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LaurensKubat/rust-lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurensKubat%2Frust-lox", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurensKubat%2Frust-lox'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 12f0540dfeca6450ac97a22f9b1eed6986e96a64
[INFO] checking LaurensKubat/rust-lox against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurensKubat%2Frust-lox" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LaurensKubat/rust-lox
[INFO] finished tweaking git repo https://github.com/LaurensKubat/rust-lox
[INFO] tweaked toml for git repo https://github.com/LaurensKubat/rust-lox written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LaurensKubat/rust-lox on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LaurensKubat/rust-lox already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7979911f4cb83ff78c75862e36b4d2ac1ecb8a7d47ec78d3a0eb66e08638bd91
[INFO] running `Command { std: "docker" "start" "-a" "7979911f4cb83ff78c75862e36b4d2ac1ecb8a7d47ec78d3a0eb66e08638bd91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7979911f4cb83ff78c75862e36b4d2ac1ecb8a7d47ec78d3a0eb66e08638bd91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7979911f4cb83ff78c75862e36b4d2ac1ecb8a7d47ec78d3a0eb66e08638bd91", kill_on_drop: false }`
[INFO] [stdout] 7979911f4cb83ff78c75862e36b4d2ac1ecb8a7d47ec78d3a0eb66e08638bd91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 171480c28a7a7ff385319b24bd87a2fe757edbff9b18b858ddfe027ea839b58f
[INFO] running `Command { std: "docker" "start" "-a" "171480c28a7a7ff385319b24bd87a2fe757edbff9b18b858ddfe027ea839b58f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.124
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling siphasher v0.3.10
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]    Compiling phf_macros v0.10.0
[INFO] [stderr]     Checking phf v0.10.1
[INFO] [stderr]     Checking rust-lox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::tokentype`
[INFO] [stdout]  --> src/ast.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::tokentype;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Literal` and `TokenType`
[INFO] [stdout]  --> src/ast.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::tokentype::{Literal, TokenType};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write`
[INFO] [stdout]  --> src/ast.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::{write, Display, Formatter};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Eof`
[INFO] [stdout]  --> src/scanner.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::tokentype::TokenType::{Eof, Identifier};
[INFO] [stdout]   |                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write`
[INFO] [stdout]  --> src/tokentype.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{write, Formatter};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::tokentype`
[INFO] [stdout]  --> src/ast.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::tokentype;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write`
[INFO] [stdout]  --> src/ast.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::{write, Display, Formatter};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Eof`
[INFO] [stdout]  --> src/scanner.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::tokentype::TokenType::{Eof, Identifier};
[INFO] [stdout]   |                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write`
[INFO] [stdout]  --> src/tokentype.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{write, Formatter};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/ast.rs:61:34
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Expression::Assign { name, expr } => todo!(),
[INFO] [stdout]    |                                  ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]   --> src/ast.rs:61:40
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Expression::Assign { name, expr } => todo!(),
[INFO] [stdout]    |                                        ^^^^ help: try ignoring the field: `expr: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/interpreter.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut expr = self.comparison();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/interpreter.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let mut expr = self.term();
[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/interpreter.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let mut expr = self.factor();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/scanner.rs:145:17
[INFO] [stdout]     |
[INFO] [stdout] 145 |             let c = self.advance();
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Expression` is never used
[INFO] [stdout]  --> src/ast.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) enum Expression {
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Visitor` is never used
[INFO] [stdout]   --> src/ast.rs:89:18
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub(crate) trait Visitor<T> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/interpreter.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub(crate) enum Error {
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Errors` is never used
[INFO] [stdout]   --> src/interpreter.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | type Errors = Vec<Error>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tokens` and `current` are never read
[INFO] [stdout]   --> src/interpreter.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Interpreter {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     tokens: Vec<Token>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 15 |     current: usize,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/interpreter.rs:23:19
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl Interpreter {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  23 |     pub(crate) fn parse(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  27 |     fn expression(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  31 |     fn equality(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     fn comparison(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     fn term(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     fn factor(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn unary(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn primary(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     fn check_and_consume(&mut self, token_types: &[TokenType]) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     fn check(&self, token_type: &TokenType) -> bool {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn consume(&mut self, expected: TokenType) -> Result<&Token, Errors> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     fn synchronize(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     fn advance(&mut self) -> &Token {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     fn peek(&self) -> &Token {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     fn previous(&self) -> &Token {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 268 |     fn is_at_end(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `interpreter` and `had_runtime_error` are never read
[INFO] [stdout]  --> src/lox.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Lox {
[INFO] [stdout]   |            --- fields in this struct
[INFO] [stdout] 5 |     pub interpreter: Interpreter,
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 6 |     pub had_error: bool,
[INFO] [stdout] 7 |     pub had_runtime_error: bool,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `error` is never used
[INFO] [stdout]   --> src/lox.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Lox {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub(crate) fn error(&mut self, line: usize, message: &str) {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `kind` and `line` are never read
[INFO] [stdout]  --> src/token.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) struct Token {
[INFO] [stdout]   |                   ----- fields in this struct
[INFO] [stdout] 6 |     pub(crate) kind: TokenType,
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     pub(crate) line: usize,
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Token` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> src/scanner.rs:112:38
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     self.error_token(format!("unexpected character '{}' ", c).parse().unwrap())
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-lox` (bin "rust-lox") due to 1 previous error; 20 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/ast.rs:61:34
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Expression::Assign { name, expr } => todo!(),
[INFO] [stdout]    |                                  ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]   --> src/ast.rs:61:40
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Expression::Assign { name, expr } => todo!(),
[INFO] [stdout]    |                                        ^^^^ help: try ignoring the field: `expr: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/interpreter.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut expr = self.comparison();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/interpreter.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let mut expr = self.term();
[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/interpreter.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let mut expr = self.factor();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/scanner.rs:145:17
[INFO] [stdout]     |
[INFO] [stdout] 145 |             let c = self.advance();
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/scanner.rs:433:13
[INFO] [stdout]     |
[INFO] [stdout] 433 |         let mut scanner = Scanner::new(source);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/ast.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub(crate) enum Expression {
[INFO] [stdout]    |                 ---------- variants in this enum
[INFO] [stdout]  8 |     Assign {
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     Call {
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     Get {
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     Logical {
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     Set {
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     Super {
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     This {
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     Unary {
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     Variable {
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/interpreter.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub(crate) enum Error {
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Errors` is never used
[INFO] [stdout]   --> src/interpreter.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | type Errors = Vec<Error>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tokens` and `current` are never read
[INFO] [stdout]   --> src/interpreter.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Interpreter {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     tokens: Vec<Token>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 15 |     current: usize,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/interpreter.rs:23:19
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl Interpreter {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  23 |     pub(crate) fn parse(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  27 |     fn expression(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  31 |     fn equality(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     fn comparison(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     fn term(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     fn factor(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn unary(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn primary(&mut self) -> Result<Expression, Errors> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     fn check_and_consume(&mut self, token_types: &[TokenType]) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     fn check(&self, token_type: &TokenType) -> bool {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn consume(&mut self, expected: TokenType) -> Result<&Token, Errors> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     fn synchronize(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     fn advance(&mut self) -> &Token {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     fn peek(&self) -> &Token {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     fn previous(&self) -> &Token {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 268 |     fn is_at_end(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `interpreter` and `had_runtime_error` are never read
[INFO] [stdout]  --> src/lox.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Lox {
[INFO] [stdout]   |            --- fields in this struct
[INFO] [stdout] 5 |     pub interpreter: Interpreter,
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 6 |     pub had_error: bool,
[INFO] [stdout] 7 |     pub had_runtime_error: bool,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `error` is never used
[INFO] [stdout]   --> src/lox.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Lox {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub(crate) fn error(&mut self, line: usize, message: &str) {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line` is never read
[INFO] [stdout]  --> src/token.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) struct Token {
[INFO] [stdout]   |                   ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     pub(crate) line: usize,
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Token` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> src/scanner.rs:112:38
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     self.error_token(format!("unexpected character '{}' ", c).parse().unwrap())
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-lox` (bin "rust-lox" test) due to 1 previous error; 19 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "171480c28a7a7ff385319b24bd87a2fe757edbff9b18b858ddfe027ea839b58f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "171480c28a7a7ff385319b24bd87a2fe757edbff9b18b858ddfe027ea839b58f", kill_on_drop: false }`
[INFO] [stdout] 171480c28a7a7ff385319b24bd87a2fe757edbff9b18b858ddfe027ea839b58f
