[INFO] cloning repository https://github.com/Sam647254/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/Sam647254/rust-lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSam647254%2Frust-lox", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSam647254%2Frust-lox'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2177a4865c3b83478b9dd5c0af318ed5abec9abf
[INFO] checking Sam647254/rust-lox against e3607d549209cc9fdfe7e907123b4185210e2c2b for pr-158915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSam647254%2Frust-lox" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Sam647254/rust-lox
[INFO] finished tweaking git repo https://github.com/Sam647254/rust-lox
[INFO] tweaked toml for git repo https://github.com/Sam647254/rust-lox written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Sam647254/rust-lox on toolchain e3607d549209cc9fdfe7e907123b4185210e2c2b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Sam647254/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" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d5891b86480a6a3e94fa3b26624eff5627d8650eef24c360a324d8a942025c86
[INFO] running `Command { std: "docker" "start" "d5891b86480a6a3e94fa3b26624eff5627d8650eef24c360a324d8a942025c86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d5891b86480a6a3e94fa3b26624eff5627d8650eef24c360a324d8a942025c86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d5891b86480a6a3e94fa3b26624eff5627d8650eef24c360a324d8a942025c86" "/opt/rustwide/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d5891b86480a6a3e94fa3b26624eff5627d8650eef24c360a324d8a942025c86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d5891b86480a6a3e94fa3b26624eff5627d8650eef24c360a324d8a942025c86" "/opt/rustwide/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking lox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/main.rs:1:46
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env::args, process::ExitCode, io::{self, stdin, Read, stdout, Write}, fs::File};
[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: `self`
[INFO] [stdout]  --> src/main.rs:1:46
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env::args, process::ExitCode, io::{self, stdin, Read, stdout, Write}, fs::File};
[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: `vm::VM`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use vm::VM;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vm::VM`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use vm::VM;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `btree_map::Values`
[INFO] [stdout]  --> src/vm.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |    collections::{btree_map::Values, LinkedList},
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `btree_map::Values`
[INFO] [stdout]  --> src/vm.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |    collections::{btree_map::Values, LinkedList},
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_chunk` is never used
[INFO] [stdout]   --> src/main.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn test_chunk() -> Chunk {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `constants` and `lines` are never read
[INFO] [stdout]   --> src/chunk.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Chunk {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 16 |    code: Vec<u8>,
[INFO] [stdout] 17 |    constants: Vec<f64>,
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 18 |    lines: Vec<i32>,
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_code`, `add_constant`, `code_size`, `constant`, and `line` are never used
[INFO] [stdout]   --> src/chunk.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Chunk {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |    pub fn add_code(&mut self, code: u8, line: i32) {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |    pub fn add_constant(&mut self, constant: f64) -> usize {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |    pub fn code_size(&self) -> usize {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |    pub fn constant(&self, index: usize) -> &f64 {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |    pub fn line(&self, index: usize) -> &i32 {
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_eof` is never used
[INFO] [stdout]   --> src/compiler/token.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Token<'_> {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 10 |    pub fn is_eof(&self) -> bool {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `disassemble`, `disassemble_instruction`, and `constant_instruction` are never used
[INFO] [stdout]   --> src/debug.rs:4:11
[INFO] [stdout]    |
[INFO] [stdout]  3 | impl Chunk {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout]  4 |    pub fn disassemble(&self, name: &str) {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |    pub fn disassemble_instruction(&self, offset: usize) -> usize {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |    fn constant_instruction(&self, name: &str, offset: usize) -> usize {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simple_instruction` is never used
[INFO] [stdout]   --> src/debug.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn simple_instruction(name: &str, offset: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `chunk`, `ip`, and `stack` are never read
[INFO] [stdout]   --> src/vm.rs:9:4
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct VM {
[INFO] [stdout]    |            -- fields in this struct
[INFO] [stdout]  9 |    chunk: Chunk,
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 10 |    ip: usize,
[INFO] [stdout]    |    ^^
[INFO] [stdout] 11 |    stack: LinkedList<f64>,
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RuntimeError` and `InternalError` are never constructed
[INFO] [stdout]   --> src/vm.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum InterpreterResult {
[INFO] [stdout]    |          ----------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |    RuntimeError,
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 18 |    InternalError(String),
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `run`, `binary_op`, `read_byte`, `read_constant`, and `print_stack` are never used
[INFO] [stdout]    --> src/vm.rs:39:11
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl VM {
[INFO] [stdout]     | ------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  39 |    pub fn run(&mut self) -> InterpreterResult {
[INFO] [stdout]     |           ^^^
[INFO] [stdout] ...
[INFO] [stdout]  87 |    fn binary_op(&mut self, op: &dyn Fn(f64, f64) -> f64) -> Option<()> {
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |    fn read_byte(&mut self) -> u8 {
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |    fn read_constant(&mut self) -> &f64 {
[INFO] [stdout]     |       ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |    fn print_stack(&mut self) {
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_chunk` is never used
[INFO] [stdout]   --> src/main.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn test_chunk() -> Chunk {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/compiler/scanner.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |    pub fn new(source: &str) -> Scanner {
[INFO] [stdout]    |                       ^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 14 |    pub fn new(source: &str) -> Scanner<'_> {
[INFO] [stdout]    |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `constants` and `lines` are never read
[INFO] [stdout]   --> src/chunk.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Chunk {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 16 |    code: Vec<u8>,
[INFO] [stdout] 17 |    constants: Vec<f64>,
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 18 |    lines: Vec<i32>,
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/compiler/scanner.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |    pub fn scan_token(&mut self) -> Token {
[INFO] [stdout]    |                      ^^^^^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 24 |    pub fn scan_token(&mut self) -> Token<'_> {
[INFO] [stdout]    |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/compiler/scanner.rs:78:18
[INFO] [stdout]    |
[INFO] [stdout] 78 |    fn make_token(&self, token_type: TokenType<'a>) -> Token {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here    ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 78 |    fn make_token(&self, token_type: TokenType<'a>) -> Token<'_> {
[INFO] [stdout]    |                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/compiler/scanner.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 |    fn error_token(&self, message: String) -> Token {
[INFO] [stdout]    |                   ^^^^^                      ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 86 |    fn error_token(&self, message: String) -> Token<'_> {
[INFO] [stdout]    |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_code`, `add_constant`, `code_size`, `constant`, and `line` are never used
[INFO] [stdout]   --> src/chunk.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Chunk {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |    pub fn add_code(&mut self, code: u8, line: i32) {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |    pub fn add_constant(&mut self, constant: f64) -> usize {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |    pub fn code_size(&self) -> usize {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |    pub fn constant(&self, index: usize) -> &f64 {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |    pub fn line(&self, index: usize) -> &i32 {
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/compiler/scanner.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 |    fn string(&mut self) -> Token {
[INFO] [stdout]     |              ^^^^^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |              |
[INFO] [stdout]     |              the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 121 |    fn string(&mut self) -> Token<'_> {
[INFO] [stdout]     |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_eof` is never used
[INFO] [stdout]   --> src/compiler/token.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Token<'_> {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 10 |    pub fn is_eof(&self) -> bool {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/compiler/scanner.rs:137:14
[INFO] [stdout]     |
[INFO] [stdout] 137 |    fn number(&mut self) -> Token {
[INFO] [stdout]     |              ^^^^^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |              |
[INFO] [stdout]     |              the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 137 |    fn number(&mut self) -> Token<'_> {
[INFO] [stdout]     |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/compiler/scanner.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout] 158 |    fn identifier(&mut self) -> Token {
[INFO] [stdout]     |                  ^^^^^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 158 |    fn identifier(&mut self) -> Token<'_> {
[INFO] [stdout]     |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `disassemble`, `disassemble_instruction`, and `constant_instruction` are never used
[INFO] [stdout]   --> src/debug.rs:4:11
[INFO] [stdout]    |
[INFO] [stdout]  3 | impl Chunk {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout]  4 |    pub fn disassemble(&self, name: &str) {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |    pub fn disassemble_instruction(&self, offset: usize) -> usize {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |    fn constant_instruction(&self, name: &str, offset: usize) -> usize {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simple_instruction` is never used
[INFO] [stdout]   --> src/debug.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn simple_instruction(name: &str, offset: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `chunk`, `ip`, and `stack` are never read
[INFO] [stdout]   --> src/vm.rs:9:4
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct VM {
[INFO] [stdout]    |            -- fields in this struct
[INFO] [stdout]  9 |    chunk: Chunk,
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 10 |    ip: usize,
[INFO] [stdout]    |    ^^
[INFO] [stdout] 11 |    stack: LinkedList<f64>,
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RuntimeError` and `InternalError` are never constructed
[INFO] [stdout]   --> src/vm.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum InterpreterResult {
[INFO] [stdout]    |          ----------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |    RuntimeError,
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 18 |    InternalError(String),
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `run`, `binary_op`, `read_byte`, `read_constant`, and `print_stack` are never used
[INFO] [stdout]    --> src/vm.rs:39:11
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl VM {
[INFO] [stdout]     | ------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  39 |    pub fn run(&mut self) -> InterpreterResult {
[INFO] [stdout]     |           ^^^
[INFO] [stdout] ...
[INFO] [stdout]  87 |    fn binary_op(&mut self, op: &dyn Fn(f64, f64) -> f64) -> Option<()> {
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |    fn read_byte(&mut self) -> u8 {
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |    fn read_constant(&mut self) -> &f64 {
[INFO] [stdout]     |       ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |    fn print_stack(&mut self) {
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/compiler/scanner.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |    pub fn new(source: &str) -> Scanner {
[INFO] [stdout]    |                       ^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 14 |    pub fn new(source: &str) -> Scanner<'_> {
[INFO] [stdout]    |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/compiler/scanner.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |    pub fn scan_token(&mut self) -> Token {
[INFO] [stdout]    |                      ^^^^^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 24 |    pub fn scan_token(&mut self) -> Token<'_> {
[INFO] [stdout]    |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/compiler/scanner.rs:78:18
[INFO] [stdout]    |
[INFO] [stdout] 78 |    fn make_token(&self, token_type: TokenType<'a>) -> Token {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here    ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 78 |    fn make_token(&self, token_type: TokenType<'a>) -> Token<'_> {
[INFO] [stdout]    |                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/compiler/scanner.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 |    fn error_token(&self, message: String) -> Token {
[INFO] [stdout]    |                   ^^^^^                      ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 86 |    fn error_token(&self, message: String) -> Token<'_> {
[INFO] [stdout]    |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/compiler/scanner.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 |    fn string(&mut self) -> Token {
[INFO] [stdout]     |              ^^^^^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |              |
[INFO] [stdout]     |              the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 121 |    fn string(&mut self) -> Token<'_> {
[INFO] [stdout]     |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/compiler/scanner.rs:137:14
[INFO] [stdout]     |
[INFO] [stdout] 137 |    fn number(&mut self) -> Token {
[INFO] [stdout]     |              ^^^^^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |              |
[INFO] [stdout]     |              the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 137 |    fn number(&mut self) -> Token<'_> {
[INFO] [stdout]     |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/compiler/scanner.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout] 158 |    fn identifier(&mut self) -> Token {
[INFO] [stdout]     |                  ^^^^^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 158 |    fn identifier(&mut self) -> Token<'_> {
[INFO] [stdout]     |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] running `Command { std: "docker" "inspect" "d5891b86480a6a3e94fa3b26624eff5627d8650eef24c360a324d8a942025c86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5891b86480a6a3e94fa3b26624eff5627d8650eef24c360a324d8a942025c86", kill_on_drop: false }`
[INFO] [stdout] d5891b86480a6a3e94fa3b26624eff5627d8650eef24c360a324d8a942025c86
