[INFO] cloning repository https://github.com/SijmenSchoon/aoc2019
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SijmenSchoon/aoc2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSijmenSchoon%2Faoc2019", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSijmenSchoon%2Faoc2019'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 853b884723b85619e97eca2ae1b541b73165e7cd
[INFO] checking SijmenSchoon/aoc2019 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSijmenSchoon%2Faoc2019" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SijmenSchoon/aoc2019
[INFO] finished tweaking git repo https://github.com/SijmenSchoon/aoc2019
[INFO] tweaked toml for git repo https://github.com/SijmenSchoon/aoc2019 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SijmenSchoon/aoc2019 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SijmenSchoon/aoc2019 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-traits v0.2.10
[INFO] [stderr]   Downloaded text_io v0.1.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 943d4f071b3487551325de0c590d8c7f9ee46b0170fbc59536eec932a7cf8c5a
[INFO] running `Command { std: "docker" "start" "-a" "943d4f071b3487551325de0c590d8c7f9ee46b0170fbc59536eec932a7cf8c5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "943d4f071b3487551325de0c590d8c7f9ee46b0170fbc59536eec932a7cf8c5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "943d4f071b3487551325de0c590d8c7f9ee46b0170fbc59536eec932a7cf8c5a", kill_on_drop: false }`
[INFO] [stdout] 943d4f071b3487551325de0c590d8c7f9ee46b0170fbc59536eec932a7cf8c5a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dad04be14ff668b241177313640706cdaf7c2708e9478b55550cc958a65e5c0b
[INFO] running `Command { std: "docker" "start" "-a" "dad04be14ff668b241177313640706cdaf7c2708e9478b55550cc958a65e5c0b", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]     Checking regex-syntax v0.6.12
[INFO] [stderr]     Checking text_io v0.1.7
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]     Checking aho-corasick v0.7.6
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking regex v1.3.1
[INFO] [stderr]     Checking aoc2019 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `VecDeque`
[INFO] [stdout]  --> 07/main.rs:1:45
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BinaryHeap, HashMap, VecDeque};
[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: `try_read` and `try_scan`
[INFO] [stdout]  --> 07/main.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use text_io::{try_read, try_scan};
[INFO] [stdout]   |               ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip`
[INFO] [stdout]    --> 07/main.rs:141:33
[INFO] [stdout]     |
[INFO] [stdout] 141 |     fn fetch_instruction(&self, ip: usize) -> Option<Instruction> {
[INFO] [stdout]     |                                 ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `phase`
[INFO] [stdout]    --> 07/main.rs:219:15
[INFO] [stdout]     |
[INFO] [stdout] 219 | fn run_cached(phase: i64, value: i64, mem: &Vec<i64>, cache: &mut HashMap<(i64, i64), i64>) -> i64 {
[INFO] [stdout]     |               ^^^^^ help: if this is intentional, prefix it with an underscore: `_phase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> 07/main.rs:219:27
[INFO] [stdout]     |
[INFO] [stdout] 219 | fn run_cached(phase: i64, value: i64, mem: &Vec<i64>, cache: &mut HashMap<(i64, i64), i64>) -> i64 {
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mem`
[INFO] [stdout]    --> 07/main.rs:219:39
[INFO] [stdout]     |
[INFO] [stdout] 219 | fn run_cached(phase: i64, value: i64, mem: &Vec<i64>, cache: &mut HashMap<(i64, i64), i64>) -> i64 {
[INFO] [stdout]     |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_mem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cache`
[INFO] [stdout]    --> 07/main.rs:219:55
[INFO] [stdout]     |
[INFO] [stdout] 219 | fn run_cached(phase: i64, value: i64, mem: &Vec<i64>, cache: &mut HashMap<(i64, i64), i64>) -> i64 {
[INFO] [stdout]     |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fetch_instruction` is never used
[INFO] [stdout]    --> 07/main.rs:141:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl Interpreter {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 141 |     fn fetch_instruction(&self, ip: usize) -> Option<Instruction> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]  --> 04/main.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     for i in 0..5 {
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> 13/main.rs:296:40
[INFO] [stdout]     |
[INFO] [stdout] 296 |             ParameterMode::Relative => (parameter.value + self.relative_base),
[INFO] [stdout]     |                                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 296 -             ParameterMode::Relative => (parameter.value + self.relative_base),
[INFO] [stdout] 296 +             ParameterMode::Relative => parameter.value + self.relative_base ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `try_read` and `try_scan`
[INFO] [stdout]  --> 05/main.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use text_io::{try_read, try_scan};
[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 variable: `ip`
[INFO] [stdout]    --> 05/main.rs:123:33
[INFO] [stdout]     |
[INFO] [stdout] 123 |     fn fetch_instruction(&self, ip: usize) -> Option<Instruction> {
[INFO] [stdout]     |                                 ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]  --> 05/main.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn get(mem: &Vec<i64>, (mode, value): (i64, i64)) -> Option<i64> {
[INFO] [stdout]   |    ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_mut` is never used
[INFO] [stdout]   --> 05/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn get_mut(mem: &mut Vec<i64>, (mode, value): (i64, i64)) -> Option<&mut i64> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Interpreter` is never constructed
[INFO] [stdout]    --> 05/main.rs:118:8
[INFO] [stdout]     |
[INFO] [stdout] 118 | struct Interpreter {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `fetch_instruction` and `run` are never used
[INFO] [stdout]    --> 05/main.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 122 | impl Interpreter {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 123 |     fn fetch_instruction(&self, ip: usize) -> Option<Instruction> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn run(&mut self) {}
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> 09/main.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{BufRead, BufReader, Write};
[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: `Display`
[INFO] [stdout]  --> 14/main.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Formatter};
[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: `VecDeque`
[INFO] [stdout]  --> 10/main.rs:1:46
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, BinaryHeap, VecDeque};
[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: `BufRead`
[INFO] [stdout]  --> 08/main.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{BufRead, Read};
[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: `VecDeque`
[INFO] [stdout]  --> 07/main.rs:1:45
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BinaryHeap, HashMap, VecDeque};
[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: `try_read` and `try_scan`
[INFO] [stdout]  --> 07/main.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use text_io::{try_read, try_scan};
[INFO] [stdout]   |               ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip`
[INFO] [stdout]    --> 07/main.rs:141:33
[INFO] [stdout]     |
[INFO] [stdout] 141 |     fn fetch_instruction(&self, ip: usize) -> Option<Instruction> {
[INFO] [stdout]     |                                 ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `phase`
[INFO] [stdout]    --> 07/main.rs:219:15
[INFO] [stdout]     |
[INFO] [stdout] 219 | fn run_cached(phase: i64, value: i64, mem: &Vec<i64>, cache: &mut HashMap<(i64, i64), i64>) -> i64 {
[INFO] [stdout]     |               ^^^^^ help: if this is intentional, prefix it with an underscore: `_phase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> 07/main.rs:219:27
[INFO] [stdout]     |
[INFO] [stdout] 219 | fn run_cached(phase: i64, value: i64, mem: &Vec<i64>, cache: &mut HashMap<(i64, i64), i64>) -> i64 {
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mem`
[INFO] [stdout]    --> 07/main.rs:219:39
[INFO] [stdout]     |
[INFO] [stdout] 219 | fn run_cached(phase: i64, value: i64, mem: &Vec<i64>, cache: &mut HashMap<(i64, i64), i64>) -> i64 {
[INFO] [stdout]     |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_mem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cache`
[INFO] [stdout]    --> 07/main.rs:219:55
[INFO] [stdout]     |
[INFO] [stdout] 219 | fn run_cached(phase: i64, value: i64, mem: &Vec<i64>, cache: &mut HashMap<(i64, i64), i64>) -> i64 {
[INFO] [stdout]     |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run` is never used
[INFO] [stdout]    --> 13/main.rs:277:12
[INFO] [stdout]     |
[INFO] [stdout] 142 | impl Interpreter {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn run(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> 14/main.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let mut required_ore = 0;
[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: method `fetch_instruction` is never used
[INFO] [stdout]    --> 07/main.rs:141:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl Interpreter {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 141 |     fn fetch_instruction(&self, ip: usize) -> Option<Instruction> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `required_ore`
[INFO] [stdout]   --> 14/main.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let mut required_ore = 0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_ore`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `steps` should have an upper case name
[INFO] [stdout]   --> 12/main.rs:94:11
[INFO] [stdout]    |
[INFO] [stdout] 94 |     const steps: usize = 1000;
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 94 -     const steps: usize = 1000;
[INFO] [stdout] 94 +     const STEPS: usize = 1000;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> 11/main.rs:316:40
[INFO] [stdout]     |
[INFO] [stdout] 316 |             ParameterMode::Relative => (parameter.value + self.relative_base),
[INFO] [stdout]     |                                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 316 -             ParameterMode::Relative => (parameter.value + self.relative_base),
[INFO] [stdout] 316 +             ParameterMode::Relative => parameter.value + self.relative_base ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]  --> 04/main.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     for i in 0..5 {
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> 01/01.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, BufRead};
[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: `try_read` and `try_scan`
[INFO] [stdout]  --> 05/main.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use text_io::{try_read, try_scan};
[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: `VecDeque`
[INFO] [stdout]  --> 10/main.rs:1:46
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{BTreeMap, BinaryHeap, VecDeque};
[INFO] [stdout]   |                                              ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> 11/main.rs:316:40
[INFO] [stdout]     |
[INFO] [stdout] 316 |             ParameterMode::Relative => (parameter.value + self.relative_base),
[INFO] [stdout]     |                                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 316 -             ParameterMode::Relative => (parameter.value + self.relative_base),
[INFO] [stdout] 316 +             ParameterMode::Relative => parameter.value + self.relative_base ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> 15/main.rs:335:40
[INFO] [stdout]     |
[INFO] [stdout] 335 |             ParameterMode::Relative => (parameter.value + self.relative_base),
[INFO] [stdout]     |                                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 335 -             ParameterMode::Relative => (parameter.value + self.relative_base),
[INFO] [stdout] 335 +             ParameterMode::Relative => parameter.value + self.relative_base ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip`
[INFO] [stdout]    --> 05/main.rs:123:33
[INFO] [stdout]     |
[INFO] [stdout] 123 |     fn fetch_instruction(&self, ip: usize) -> Option<Instruction> {
[INFO] [stdout]     |                                 ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> 02/main.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, BufRead};
[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]  --> 02/main.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, BufRead};
[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: `std::time::Instant`
[INFO] [stdout]  --> 02/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::time::Instant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout]  --> 02/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::time::Instant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]  --> 05/main.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn get(mem: &Vec<i64>, (mode, value): (i64, i64)) -> Option<i64> {
[INFO] [stdout]   |    ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_mut` is never used
[INFO] [stdout]   --> 05/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn get_mut(mem: &mut Vec<i64>, (mode, value): (i64, i64)) -> Option<&mut i64> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Interpreter` is never constructed
[INFO] [stdout]    --> 05/main.rs:118:8
[INFO] [stdout]     |
[INFO] [stdout] 118 | struct Interpreter {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `fetch_instruction` and `run` are never used
[INFO] [stdout]    --> 05/main.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 122 | impl Interpreter {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 123 |     fn fetch_instruction(&self, ip: usize) -> Option<Instruction> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn run(&mut self) {}
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> 08/main.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{BufRead, Read};
[INFO] [stdout]   |               ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run` is never used
[INFO] [stdout]    --> 11/main.rs:297:12
[INFO] [stdout]     |
[INFO] [stdout] 163 | impl Interpreter {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 297 |     pub fn run(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> 01/01.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, BufRead};
[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: `Display`
[INFO] [stdout]  --> 14/main.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Formatter};
[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]  --> 09/main.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{BufRead, BufReader, Write};
[INFO] [stdout]   |                                   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run` is never used
[INFO] [stdout]    --> 11/main.rs:297:12
[INFO] [stdout]     |
[INFO] [stdout] 163 | impl Interpreter {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 297 |     pub fn run(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> 13/main.rs:296:40
[INFO] [stdout]     |
[INFO] [stdout] 296 |             ParameterMode::Relative => (parameter.value + self.relative_base),
[INFO] [stdout]     |                                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 296 -             ParameterMode::Relative => (parameter.value + self.relative_base),
[INFO] [stdout] 296 +             ParameterMode::Relative => parameter.value + self.relative_base ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> 15/main.rs:335:40
[INFO] [stdout]     |
[INFO] [stdout] 335 |             ParameterMode::Relative => (parameter.value + self.relative_base),
[INFO] [stdout]     |                                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 335 -             ParameterMode::Relative => (parameter.value + self.relative_base),
[INFO] [stdout] 335 +             ParameterMode::Relative => parameter.value + self.relative_base ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `steps` should have an upper case name
[INFO] [stdout]   --> 12/main.rs:94:11
[INFO] [stdout]    |
[INFO] [stdout] 94 |     const steps: usize = 1000;
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 94 -     const steps: usize = 1000;
[INFO] [stdout] 94 +     const STEPS: usize = 1000;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> 14/main.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let mut required_ore = 0;
[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: unused variable: `required_ore`
[INFO] [stdout]   --> 14/main.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let mut required_ore = 0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_ore`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run` is never used
[INFO] [stdout]    --> 13/main.rs:277:12
[INFO] [stdout]     |
[INFO] [stdout] 142 | impl Interpreter {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn run(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `reverse` and `coords` are never used
[INFO] [stdout]   --> 15/main.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Movement {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] 27 |     fn reverse(&self) -> Self {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn coords(&self) -> (i64, i64) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run` is never used
[INFO] [stdout]    --> 15/main.rs:316:12
[INFO] [stdout]     |
[INFO] [stdout] 176 | impl Interpreter {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 316 |     pub fn run(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_map` is never used
[INFO] [stdout]    --> 15/main.rs:352:4
[INFO] [stdout]     |
[INFO] [stdout] 352 | fn draw_map(
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `reverse` and `coords` are never used
[INFO] [stdout]   --> 15/main.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Movement {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] 27 |     fn reverse(&self) -> Self {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn coords(&self) -> (i64, i64) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run` is never used
[INFO] [stdout]    --> 15/main.rs:316:12
[INFO] [stdout]     |
[INFO] [stdout] 176 | impl Interpreter {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 316 |     pub fn run(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_map` is never used
[INFO] [stdout]    --> 15/main.rs:352:4
[INFO] [stdout]     |
[INFO] [stdout] 352 | fn draw_map(
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.13s
[INFO] running `Command { std: "docker" "inspect" "dad04be14ff668b241177313640706cdaf7c2708e9478b55550cc958a65e5c0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dad04be14ff668b241177313640706cdaf7c2708e9478b55550cc958a65e5c0b", kill_on_drop: false }`
[INFO] [stdout] dad04be14ff668b241177313640706cdaf7c2708e9478b55550cc958a65e5c0b
