[INFO] cloning repository https://github.com/shradej1/aoc2019
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shradej1/aoc2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshradej1%2Faoc2019", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshradej1%2Faoc2019'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b9f3b3b033d6613a2d61fcb2b1763f09b46d6531
[INFO] checking shradej1/aoc2019 against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshradej1%2Faoc2019" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shradej1/aoc2019
[INFO] finished tweaking git repo https://github.com/shradej1/aoc2019
[INFO] tweaked toml for git repo https://github.com/shradej1/aoc2019 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shradej1/aoc2019 on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shradej1/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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "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 shradej1/aoc2019 against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshradej1%2Faoc2019" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shradej1/aoc2019
[INFO] finished tweaking git repo https://github.com/shradej1/aoc2019
[INFO] tweaked toml for git repo https://github.com/shradej1/aoc2019 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shradej1/aoc2019 on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shradej1/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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-iter v0.1.39
[INFO] [stderr]   Downloaded num v0.2.0
[INFO] [stderr]   Downloaded num-rational v0.2.2
[INFO] [stderr]   Downloaded num-traits v0.2.10
[INFO] [stderr]   Downloaded num-bigint v0.2.3
[INFO] [stderr]   Downloaded num-complex v0.2.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ed878e417b1a5b14d278b9e9177364becf2206e1ec46d7ebe4fa4ce6a87ca712
[INFO] running `Command { std: "docker" "start" "ed878e417b1a5b14d278b9e9177364becf2206e1ec46d7ebe4fa4ce6a87ca712", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed878e417b1a5b14d278b9e9177364becf2206e1ec46d7ebe4fa4ce6a87ca712", 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" "ed878e417b1a5b14d278b9e9177364becf2206e1ec46d7ebe4fa4ce6a87ca712" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed878e417b1a5b14d278b9e9177364becf2206e1ec46d7ebe4fa4ce6a87ca712", 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" "ed878e417b1a5b14d278b9e9177364becf2206e1ec46d7ebe4fa4ce6a87ca712" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling num-bigint v0.2.3
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling num-complex v0.2.3
[INFO] [stderr]     Checking num v0.2.0
[INFO] [stderr]     Checking aoc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> src/day3.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::TryFrom;
[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::iter::FromIterator`
[INFO] [stdout]  --> src/day7.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::FromIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> src/day3.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::TryFrom;
[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::iter::FromIterator`
[INFO] [stdout]  --> src/day7.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::FromIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IntCodeProgram`
[INFO] [stdout]  --> src/day11.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::day2::{IntCodeProgram, IntCodeProgramExecutor, MemContent, ProgramState};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `orig`
[INFO] [stdout]    --> src/day2.rs:281:25
[INFO] [stdout]     |
[INFO] [stdout] 281 |                     let orig = self.relative_base;
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_orig`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]    --> src/day11.rs:173:38
[INFO] [stdout]     |
[INFO] [stdout] 173 |             ProgramState::Terminated(out) => break,
[INFO] [stdout]     |                                      ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/day7.rs:114:38
[INFO] [stdout]     |
[INFO] [stdout] 114 |             ProgramState::Terminated(result) => return amp_e.output.remove(0),
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/day7.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut max = [0, 1, 2, 3, 4];
[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/day7.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut max_output = 0;
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_output`
[INFO] [stdout]    --> src/day7.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut max_output = 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prog`
[INFO] [stdout]    --> src/day7.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let prog = get_amplifier_controller_software();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_prog`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/day8.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         for i in 0..num_layers {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `noun` and `verb` are never read
[INFO] [stdout]    --> src/day2.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct IntCodeProgramExecutor<T> {
[INFO] [stdout]     |            ---------------------- fields in this struct
[INFO] [stdout] 139 |     program: T,
[INFO] [stdout] 140 |     noun: MemContent,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 141 |     verb: MemContent,
[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 `path_length` is never used
[INFO] [stdout]   --> src/day3.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub trait Path {
[INFO] [stdout]    |           ---- method in this trait
[INFO] [stdout] 74 |     fn iterator(&self) -> PathIterator;
[INFO] [stdout] 75 |     fn path_length(&self) -> usize;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AsteroidLocation` is never constructed
[INFO] [stdout]   --> src/day10.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct AsteroidLocation {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/day10.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl AsteroidLocation {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 17 |     fn new(x: usize, y: usize) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AsteroidMap` is never used
[INFO] [stdout]   --> src/day10.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 | trait AsteroidMap {
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NonNan` is never constructed
[INFO] [stdout]    --> src/day10.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout] 113 | struct NonNan(f64);
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/day10.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | impl NonNan {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] 116 |     /// Panics if val is NaN
[INFO] [stdout] 117 |     fn new(val: f64) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_laser_angle` is never used
[INFO] [stdout]    --> src/day10.rs:133:4
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn compute_laser_angle(station_loc: &AsteroidLocation, asteroid_loc: &AsteroidLocation) -> NonNan {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plan_vaporization` is never used
[INFO] [stdout]    --> src/day10.rs:143:4
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn plan_vaporization(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `string_to_asteroid_map` is never used
[INFO] [stdout]    --> src/day10.rs:178:4
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn string_to_asteroid_map(s: &str) -> BTreeSet<AsteroidLocation> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_monitoring_station_position` is never used
[INFO] [stdout]    --> src/day10.rs:192:4
[INFO] [stdout]     |
[INFO] [stdout] 192 | fn calculate_monitoring_station_position(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_asteroid_map` is never used
[INFO] [stdout]    --> src/day10.rs:202:4
[INFO] [stdout]     |
[INFO] [stdout] 202 | fn get_asteroid_map() -> &'static str {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Orientation` is never used
[INFO] [stdout]   --> src/day11.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 31 | enum Orientation {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `left` and `right` are never used
[INFO] [stdout]   --> src/day11.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Orientation {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] 39 |     fn left(&self) -> Self {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn right(&self) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Direction` is never used
[INFO] [stdout]   --> src/day11.rs:59:6
[INFO] [stdout]    |
[INFO] [stdout] 59 | enum Direction {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hull` is never constructed
[INFO] [stdout]   --> src/day11.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | struct Hull {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `painted_count`, `color`, and `paint` are never used
[INFO] [stdout]   --> src/day11.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl Hull {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 80 |     fn new() -> Hull {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     fn painted_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     fn color(&self, tile: &(i32, i32)) -> Color {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     fn paint(&mut self, tile: (i32, i32), c: Color) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Robot` is never constructed
[INFO] [stdout]    --> src/day11.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 125 | struct Robot {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `forward`, and `turn` are never used
[INFO] [stdout]    --> src/day11.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl Robot {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 131 |     fn new() -> Robot {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     fn forward(&mut self) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn turn(&mut self, dir: Direction) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `paint` is never used
[INFO] [stdout]    --> src/day11.rs:155:4
[INFO] [stdout]     |
[INFO] [stdout] 155 | fn paint(hull: &mut Hull) {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_program` is never used
[INFO] [stdout]    --> src/day11.rs:294:4
[INFO] [stdout]     |
[INFO] [stdout] 294 | fn get_program() -> Vec<MemContent> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Body` is never used
[INFO] [stdout]  --> src/day6.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | type Body = String;
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrbitTree` is never constructed
[INFO] [stdout]  --> src/day6.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct OrbitTree {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/day6.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl OrbitTree {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 13 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn from_string_arr(orbits: &[&str]) -> OrbitTree {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn object_in_orbit_around(&mut self, obj: Body, center: Body) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn num_direct_orbits(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn num_indirect_orbits_of_body(&self, body: &Body) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn num_indirect_orbits(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     fn num_direct_and_indirect_orbits(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn intersect(&self, b1: &Body, b2: &Body) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_local_orbits` is never used
[INFO] [stdout]    --> src/day6.rs:155:4
[INFO] [stdout]     |
[INFO] [stdout] 155 | fn get_local_orbits() -> OrbitTree {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AmplifierControllerSoftware` is never constructed
[INFO] [stdout]  --> src/day7.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct AmplifierControllerSoftware {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `default`, and `execute` are never used
[INFO] [stdout]   --> src/day7.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl AmplifierControllerSoftware {
[INFO] [stdout]    | -------------------------------- associated items in this implementation
[INFO] [stdout] 12 |     fn new(program: Vec<MemContent>, phase_setting: MemContent, input_signal: MemContent) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn default(phase_setting: MemContent, input_signal: MemContent) -> Self {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn execute(&mut self) -> MemContent {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_thruster_signal` is never used
[INFO] [stdout]   --> src/day7.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn compute_thruster_signal(prog: &Vec<MemContent>, phase_settings: &[MemContent]) -> MemContent {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `permute` is never used
[INFO] [stdout]   --> src/day7.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn permute(set: &BTreeSet<MemContent>) -> Vec<Vec<MemContent>> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_thruster_signal_with_feedback` is never used
[INFO] [stdout]   --> src/day7.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn compute_thruster_signal_with_feedback(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_max_thrust_signal_settings` is never used
[INFO] [stdout]    --> src/day7.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn search_max_thrust_signal_settings() -> [MemContent; 5] {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_amplifier_controller_software` is never used
[INFO] [stdout]    --> src/day7.rs:235:4
[INFO] [stdout]     |
[INFO] [stdout] 235 | fn get_amplifier_controller_software() -> Vec<MemContent> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Image` is never constructed
[INFO] [stdout]  --> src/day8.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Image {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Pixel` is never used
[INFO] [stdout]   --> src/day8.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum Pixel {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `at`, and `decode` are never used
[INFO] [stdout]   --> src/day8.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Image {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 39 |     fn new(mut pixels: String, width: usize, height: usize) -> Image {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn at(&self, layer: usize, row: usize, col: usize) -> char {
[INFO] [stdout]    |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     fn decode(&self) -> String {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_puzzle_input` is never used
[INFO] [stdout]    --> src/day8.rs:141:4
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn get_puzzle_input() -> &'static str {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_boost_program` is never used
[INFO] [stdout]   --> src/day9.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn get_boost_program() -> Vec<MemContent> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/day3.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn iterator(&self) -> PathIterator;
[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] 74 |     fn iterator(&self) -> PathIterator<'_>;
[INFO] [stdout]    |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/day3.rs:79:17
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn iterator(&self) -> PathIterator {
[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] 79 |     fn iterator(&self) -> PathIterator<'_> {
[INFO] [stdout]    |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/day3.rs:158:25
[INFO] [stdout]     |
[INFO] [stdout] 158 |             _ => panic!(format!("Unexpected direction: {}", dir)),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 158 -             _ => panic!(format!("Unexpected direction: {}", dir)),
[INFO] [stdout] 158 +             _ => panic!("Unexpected direction: {}", dir),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IntCodeProgram`
[INFO] [stdout]  --> src/day11.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::day2::{IntCodeProgram, IntCodeProgramExecutor, MemContent, ProgramState};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `orig`
[INFO] [stdout]    --> src/day2.rs:281:25
[INFO] [stdout]     |
[INFO] [stdout] 281 |                     let orig = self.relative_base;
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_orig`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]    --> src/day3.rs:203:14
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let (p1, p2) = get_paths();
[INFO] [stdout]     |              ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]    --> src/day11.rs:173:38
[INFO] [stdout]     |
[INFO] [stdout] 173 |             ProgramState::Terminated(out) => break,
[INFO] [stdout]     |                                      ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/day6.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let mut orbit_tree = OrbitTree::from_string_arr(&orbits);
[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/day6.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let mut orbit_tree = OrbitTree::from_string_arr(&orbits);
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/day7.rs:114:38
[INFO] [stdout]     |
[INFO] [stdout] 114 |             ProgramState::Terminated(result) => return amp_e.output.remove(0),
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/day7.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut max = [0, 1, 2, 3, 4];
[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/day7.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut max_output = 0;
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_output`
[INFO] [stdout]    --> src/day7.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut max_output = 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prog`
[INFO] [stdout]    --> src/day7.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let prog = get_amplifier_controller_software();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_prog`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/day8.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         for i in 0..num_layers {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `noun` and `verb` are never read
[INFO] [stdout]    --> src/day2.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct IntCodeProgramExecutor<T> {
[INFO] [stdout]     |            ---------------------- fields in this struct
[INFO] [stdout] 139 |     program: T,
[INFO] [stdout] 140 |     noun: MemContent,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 141 |     verb: MemContent,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/day7.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl AmplifierControllerSoftware {
[INFO] [stdout]    | -------------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn default(phase_setting: MemContent, input_signal: MemContent) -> Self {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_max_thrust_signal_settings` is never used
[INFO] [stdout]    --> src/day7.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn search_max_thrust_signal_settings() -> [MemContent; 5] {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `at` is never used
[INFO] [stdout]   --> src/day8.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Image {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn at(&self, layer: usize, row: usize, col: usize) -> char {
[INFO] [stdout]    |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/day3.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn iterator(&self) -> PathIterator;
[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] 74 |     fn iterator(&self) -> PathIterator<'_>;
[INFO] [stdout]    |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/day3.rs:79:17
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn iterator(&self) -> PathIterator {
[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] 79 |     fn iterator(&self) -> PathIterator<'_> {
[INFO] [stdout]    |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/day3.rs:158:25
[INFO] [stdout]     |
[INFO] [stdout] 158 |             _ => panic!(format!("Unexpected direction: {}", dir)),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 158 -             _ => panic!(format!("Unexpected direction: {}", dir)),
[INFO] [stdout] 158 +             _ => panic!("Unexpected direction: {}", dir),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.27s
[INFO] running `Command { std: "docker" "inspect" "ed878e417b1a5b14d278b9e9177364becf2206e1ec46d7ebe4fa4ce6a87ca712", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed878e417b1a5b14d278b9e9177364becf2206e1ec46d7ebe4fa4ce6a87ca712", kill_on_drop: false }`
[INFO] [stdout] ed878e417b1a5b14d278b9e9177364becf2206e1ec46d7ebe4fa4ce6a87ca712
