[INFO] cloning repository https://github.com/matty316/rlox-compiler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matty316/rlox-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty316%2Frlox-compiler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty316%2Frlox-compiler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e813668b566ef5318db3ef22477a7ed4d76a1294
[INFO] checking matty316/rlox-compiler against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty316%2Frlox-compiler" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/matty316/rlox-compiler on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/matty316/rlox-compiler
[INFO] finished tweaking git repo https://github.com/matty316/rlox-compiler
[INFO] tweaked toml for git repo https://github.com/matty316/rlox-compiler written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/matty316/rlox-compiler 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[ERROR] this task or one of its parent failed!
[ERROR] no output for 300 seconds
[ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace.
[INFO] checking matty316/rlox-compiler against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty316%2Frlox-compiler" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/matty316/rlox-compiler on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/matty316/rlox-compiler
[INFO] finished tweaking git repo https://github.com/matty316/rlox-compiler
[INFO] tweaked toml for git repo https://github.com/matty316/rlox-compiler written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/matty316/rlox-compiler 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking matty316/rlox-compiler against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty316%2Frlox-compiler" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/matty316/rlox-compiler on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/matty316/rlox-compiler
[INFO] finished tweaking git repo https://github.com/matty316/rlox-compiler
[INFO] tweaked toml for git repo https://github.com/matty316/rlox-compiler written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/matty316/rlox-compiler 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 085915471be02753cd02433db2989fa166ca8b966da7fcb9f19609e00e16b9d1
[INFO] running `Command { std: "docker" "start" "-a" "085915471be02753cd02433db2989fa166ca8b966da7fcb9f19609e00e16b9d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "085915471be02753cd02433db2989fa166ca8b966da7fcb9f19609e00e16b9d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "085915471be02753cd02433db2989fa166ca8b966da7fcb9f19609e00e16b9d1", kill_on_drop: false }`
[INFO] [stdout] 085915471be02753cd02433db2989fa166ca8b966da7fcb9f19609e00e16b9d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3997e579edf2b2aa09ecd61942dd4f9ff42dcbeb72c860bb3325ecb2ec882839
[INFO] running `Command { std: "docker" "start" "-a" "3997e579edf2b2aa09ecd61942dd4f9ff42dcbeb72c860bb3325ecb2ec882839", kill_on_drop: false }`
[INFO] [stderr]     Checking rlox-compiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]   --> src/vm.rs:33:40
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub(crate) fn interpret(&mut self, source: &str) -> InterpretResult {
[INFO] [stdout]    |                                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scanner`
[INFO] [stdout]  --> src/compiler.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let scanner = Scanner::new(source);
[INFO] [stdout]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]   --> src/vm.rs:33:40
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub(crate) fn interpret(&mut self, source: &str) -> InterpretResult {
[INFO] [stdout]    |                                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scanner`
[INFO] [stdout]  --> src/compiler.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let scanner = Scanner::new(source);
[INFO] [stdout]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/chunk.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub(crate) enum OpCode {
[INFO] [stdout]    |                 ------ variants in this enum
[INFO] [stdout] 5  |     Constant,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 6  |     Return,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 7  |     Negate,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 8  |     Add,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 9  |     Subtract,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 10 |     Multiply,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 11 |     Divide,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `code`, `constants`, and `lines` are never read
[INFO] [stdout]   --> src/chunk.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) struct Chunk {
[INFO] [stdout]    |                   ----- fields in this struct
[INFO] [stdout] 15 |     pub(crate) code: Vec<u8>,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 16 |     pub(crate) constants: Vec<Value>,
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout] 17 |     pub(crate) lines: Vec<usize>
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write` and `add_constant` are never used
[INFO] [stdout]   --> src/chunk.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Chunk {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub(crate) fn write(&mut self, code: u8, line: usize) {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub(crate) fn add_constant(&mut self, value: Value) -> usize {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `disasassemble_chunk` is never used
[INFO] [stdout]  --> src/debug.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) fn disasassemble_chunk(chunk: &Chunk, name: &str) {
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `disassemble_instruction` is never used
[INFO] [stdout]   --> src/debug.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub(crate) fn disassemble_instruction(chunk: &Chunk, offset: usize) -> usize {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simple_instruction` is never used
[INFO] [stdout]   --> src/debug.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn simple_instruction(name: &str, offset: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `constant_instruction` is never used
[INFO] [stdout]   --> src/debug.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn constant_instruction(name: &str, chunk: &Chunk, offset: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_value` is never used
[INFO] [stdout]   --> src/debug.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub(crate) fn print_value(value: &Value) {
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BinaryOp` is never used
[INFO] [stdout]  --> src/vm.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum BinaryOp {
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `chunk`, `ip`, and `stack` are never read
[INFO] [stdout]   --> src/vm.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) struct VM {
[INFO] [stdout]    |                   -- fields in this struct
[INFO] [stdout] 17 |     chunk: Chunk,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     ip: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 19 |     stack: Vec<Value>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DEBUG` is never used
[INFO] [stdout]   --> src/vm.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | static DEBUG: bool = true;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push`, `pop`, `read_byte`, `read_constant`, `binary_op`, and `run` are never used
[INFO] [stdout]   --> src/vm.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl VM {
[INFO] [stdout]    | ------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn push(&mut self, value: Value) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn pop(&mut self) -> Value {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn read_byte(&mut self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn read_constant(&mut self) -> Value {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn binary_op(&mut self, op: BinaryOp) -> Value {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     fn run(&mut self) -> InterpretResult {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compile` is never used
[INFO] [stdout]  --> src/compiler.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn compile(source: &str) {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `start`, `length`, and `line` are never read
[INFO] [stdout]   --> src/scanner.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub(crate) struct Token {
[INFO] [stdout]    |                   ----- fields in this struct
[INFO] [stdout] 9  |     token_type: TokenType,
[INFO] [stdout] 10 |     start: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     length: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 12 |     line: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/chunk.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub(crate) enum OpCode {
[INFO] [stdout]    |                 ------ variants in this enum
[INFO] [stdout] 5  |     Constant,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 6  |     Return,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 7  |     Negate,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 8  |     Add,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 9  |     Subtract,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 10 |     Multiply,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 11 |     Divide,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `code`, `constants`, and `lines` are never read
[INFO] [stdout]   --> src/chunk.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) struct Chunk {
[INFO] [stdout]    |                   ----- fields in this struct
[INFO] [stdout] 15 |     pub(crate) code: Vec<u8>,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 16 |     pub(crate) constants: Vec<Value>,
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout] 17 |     pub(crate) lines: Vec<usize>
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write` and `add_constant` are never used
[INFO] [stdout]   --> src/chunk.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Chunk {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub(crate) fn write(&mut self, code: u8, line: usize) {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub(crate) fn add_constant(&mut self, value: Value) -> usize {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `disasassemble_chunk` is never used
[INFO] [stdout]  --> src/debug.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) fn disasassemble_chunk(chunk: &Chunk, name: &str) {
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `disassemble_instruction` is never used
[INFO] [stdout]   --> src/debug.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub(crate) fn disassemble_instruction(chunk: &Chunk, offset: usize) -> usize {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simple_instruction` is never used
[INFO] [stdout]   --> src/debug.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn simple_instruction(name: &str, offset: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `constant_instruction` is never used
[INFO] [stdout]   --> src/debug.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn constant_instruction(name: &str, chunk: &Chunk, offset: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_value` is never used
[INFO] [stdout]   --> src/debug.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub(crate) fn print_value(value: &Value) {
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BinaryOp` is never used
[INFO] [stdout]  --> src/vm.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum BinaryOp {
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `chunk`, `ip`, and `stack` are never read
[INFO] [stdout]   --> src/vm.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) struct VM {
[INFO] [stdout]    |                   -- fields in this struct
[INFO] [stdout] 17 |     chunk: Chunk,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     ip: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 19 |     stack: Vec<Value>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DEBUG` is never used
[INFO] [stdout]   --> src/vm.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | static DEBUG: bool = true;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push`, `pop`, `read_byte`, `read_constant`, `binary_op`, and `run` are never used
[INFO] [stdout]   --> src/vm.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl VM {
[INFO] [stdout]    | ------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn push(&mut self, value: Value) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn pop(&mut self) -> Value {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn read_byte(&mut self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn read_constant(&mut self) -> Value {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn binary_op(&mut self, op: BinaryOp) -> Value {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     fn run(&mut self) -> InterpretResult {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compile` is never used
[INFO] [stdout]  --> src/compiler.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn compile(source: &str) {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Scanner` is never constructed
[INFO] [stdout]  --> src/scanner.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) struct Scanner<'a> {
[INFO] [stdout]   |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]  --> src/scanner.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) struct Token {
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/scanner.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) enum TokenType {
[INFO] [stdout]    |                 --------- variants in this enum
[INFO] [stdout] 17 |     // Single-character tokens.
[INFO] [stdout] 18 |     LeftParen, RightParen,
[INFO] [stdout]    |     ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 19 |     LeftBrace, RightBrace,
[INFO] [stdout]    |     ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 20 |     Comma, Dot, Minus, Plus,
[INFO] [stdout]    |     ^^^^^  ^^^  ^^^^^  ^^^^
[INFO] [stdout] 21 |     Semicolon, Slash, Star,
[INFO] [stdout]    |     ^^^^^^^^^  ^^^^^  ^^^^
[INFO] [stdout] 22 |     // One or two character tokens.
[INFO] [stdout] 23 |     Bang, BangEqual,
[INFO] [stdout]    |     ^^^^  ^^^^^^^^^
[INFO] [stdout] 24 |     Equal, EqualEqual,
[INFO] [stdout]    |     ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 25 |     Greater, GreaterEqual,
[INFO] [stdout]    |     ^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 26 |     Less, LessEqual,
[INFO] [stdout]    |     ^^^^  ^^^^^^^^^
[INFO] [stdout] 27 |     // Literals.
[INFO] [stdout] 28 |     Ident, String, Num,
[INFO] [stdout]    |     ^^^^^  ^^^^^^  ^^^
[INFO] [stdout] 29 |     // Keywords.
[INFO] [stdout] 30 |     And, Class, Else, False,
[INFO] [stdout]    |     ^^^  ^^^^^  ^^^^  ^^^^^
[INFO] [stdout] 31 |     For, Fun, If, Nil, Or,
[INFO] [stdout]    |     ^^^  ^^^  ^^  ^^^  ^^
[INFO] [stdout] 32 |     Print, Return, Super, This,
[INFO] [stdout]    |     ^^^^^  ^^^^^^  ^^^^^  ^^^^
[INFO] [stdout] 33 |     True, Var, While,
[INFO] [stdout]    |     ^^^^  ^^^  ^^^^^
[INFO] [stdout] 34 |
[INFO] [stdout] 35 |     Error, Eof
[INFO] [stdout]    |     ^^^^^  ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/scanner.rs:39:19
[INFO] [stdout]     |
[INFO] [stdout] 38  | impl<'a> Scanner<'a> {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 39  |     pub(crate) fn new(source: &'a str) -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48  |     pub(crate) fn scan_token(&mut self) -> Token {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn string(&mut self) -> Token {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn number(&mut self) -> Token {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     fn ident(&mut self) -> Token {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn advance(&mut self) -> char {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     fn check(&mut self, expected: char) -> bool {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     fn skip_whitespace(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     fn peek(&self) -> char {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn peek_next(&self) -> char {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn is_at_end(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     fn make_token(&self, token_type: TokenType) -> Token {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fn error_token(&self, message: &str) -> Token {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     fn ident_type(&mut self) -> TokenType {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     fn check_keyword(&self, start: usize, length: usize, rest: &str, token_type: TokenType) -> TokenType {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |     fn is_digit(c: char) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     fn is_alpha(c: char) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.10s
[INFO] running `Command { std: "docker" "inspect" "3997e579edf2b2aa09ecd61942dd4f9ff42dcbeb72c860bb3325ecb2ec882839", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3997e579edf2b2aa09ecd61942dd4f9ff42dcbeb72c860bb3325ecb2ec882839", kill_on_drop: false }`
[INFO] [stdout] 3997e579edf2b2aa09ecd61942dd4f9ff42dcbeb72c860bb3325ecb2ec882839
