[INFO] cloning repository https://github.com/santhoshselvan/advent-of-code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/santhoshselvan/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanthoshselvan%2Fadvent-of-code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanthoshselvan%2Fadvent-of-code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ec51fa7d53859e06843275389e3226c30e44c3f1
[INFO] testing santhoshselvan/advent-of-code against beta-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanthoshselvan%2Fadvent-of-code" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/santhoshselvan/advent-of-code on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/santhoshselvan/advent-of-code
[INFO] finished tweaking git repo https://github.com/santhoshselvan/advent-of-code
[INFO] tweaked toml for git repo https://github.com/santhoshselvan/advent-of-code written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/santhoshselvan/advent-of-code already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded svg v0.5.12
[INFO] [stderr]   Downloaded queues v1.1.0
[INFO] [stderr]   Downloaded plotlib v0.4.0
[INFO] [stderr]   Downloaded permutator v0.3.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f1d80e1e068c2c3d68a7cda009d39f37d8fb8bdacfb2fc3cb3fa962ab151ae27
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f1d80e1e068c2c3d68a7cda009d39f37d8fb8bdacfb2fc3cb3fa962ab151ae27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1d80e1e068c2c3d68a7cda009d39f37d8fb8bdacfb2fc3cb3fa962ab151ae27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1d80e1e068c2c3d68a7cda009d39f37d8fb8bdacfb2fc3cb3fa962ab151ae27", kill_on_drop: false }`
[INFO] [stdout] f1d80e1e068c2c3d68a7cda009d39f37d8fb8bdacfb2fc3cb3fa962ab151ae27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f096cd2b34ce06fd23cd3b9df96dd84b1a0a9e59237e5093559fe1462de90cc6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f096cd2b34ce06fd23cd3b9df96dd84b1a0a9e59237e5093559fe1462de90cc6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling serde v1.0.103
[INFO] [stderr]    Compiling cc v1.0.48
[INFO] [stderr]    Compiling piston-float v1.0.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling rayon-core v1.6.1
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling piston-graphics_api_version v0.2.0
[INFO] [stderr]    Compiling regex-syntax v0.6.12
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling termcolor v1.0.5
[INFO] [stderr]    Compiling svg v0.5.12
[INFO] [stderr]    Compiling queues v1.1.0
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling num-bigint v0.2.3
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-complex v0.2.3
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling piston-viewport v1.0.0
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling crossbeam-queue v0.2.0
[INFO] [stderr]    Compiling png v0.15.2
[INFO] [stderr]    Compiling backtrace-sys v0.1.32
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling atty v0.2.13
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling backtrace v0.3.40
[INFO] [stderr]    Compiling rayon v1.2.1
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling libmath v0.2.1
[INFO] [stderr]    Compiling regex v1.3.1
[INFO] [stderr]    Compiling num v0.2.0
[INFO] [stderr]    Compiling permutator v0.3.3
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling jpeg-decoder v0.1.18
[INFO] [stderr]    Compiling serde_derive v1.0.103
[INFO] [stderr]    Compiling failure_derive v0.1.6
[INFO] [stderr]    Compiling tiff v0.3.1
[INFO] [stderr]    Compiling failure v0.1.6
[INFO] [stderr]    Compiling plotlib v0.4.0
[INFO] [stderr]    Compiling image v0.22.3
[INFO] [stderr]    Compiling pistoncore-input v0.28.0
[INFO] [stderr]    Compiling pistoncore-window v0.44.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.49.0
[INFO] [stderr]    Compiling piston v0.49.0
[INFO] [stderr]    Compiling advent-of-code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: static is never used: `DEBUG_SHOW_INPUT_OUTPUT`
[INFO] [stdout]  --> src/intcode.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | static DEBUG_SHOW_INPUT_OUTPUT: bool = false;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `memory_string`
[INFO] [stdout]    --> src/intcode.rs:224:8
[INFO] [stdout]     |
[INFO] [stdout] 224 |     fn memory_string(&self) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/bin/day10_alternate_solution.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::debug`
[INFO] [stdout]  --> src/bin/day10_alternate_solution.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::debug;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/bin/day10_alternate_solution.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num::abs`
[INFO] [stdout]  --> src/bin/day10_alternate_solution.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use num::abs;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::MAX`
[INFO] [stdout]   --> src/bin/day10_alternate_solution.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::f32::MAX;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/bin/day10_alternate_solution.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     ((x1 - x2).abs() + (y1 - y2).abs())
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `permutator::Permutation`
[INFO] [stdout]  --> src/bin/day07_refactored.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use permutator::Permutation;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/bin/day07_refactored.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/bin/day07_refactored.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]  --> src/bin/day07_refactored.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let input = include_str!("../../data/seven.data");
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `DEBUG`
[INFO] [stdout]  --> src/bin/day07_refactored.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | static DEBUG: bool = false;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]  --> src/bin/day12.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `permutator::Permutation`
[INFO] [stdout]  --> src/bin/day12.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use permutator::Permutation;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow`
[INFO] [stdout]  --> src/bin/day12.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::real::Real`
[INFO] [stdout]  --> src/bin/day12.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num_traits::real::Real;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Lines`
[INFO] [stdout]  --> src/bin/day15.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::Lines;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write`, `stdout`
[INFO] [stdout]  --> src/bin/day15.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{stdout, Write};
[INFO] [stdout]   |               ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GenericImageView`, `GenericImage`, `ImageBuffer`, `RgbImage`
[INFO] [stdout]  --> src/bin/day15.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use image::{GenericImage, GenericImageView, ImageBuffer, RgbImage};
[INFO] [stdout]   |             ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/bin/day15.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Lines`
[INFO] [stdout]  --> src/bin/day14.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::Lines;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `intcode::IntCode`
[INFO] [stdout]  --> src/bin/day14.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use intcode::IntCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]  --> src/bin/day14.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]  --> src/bin/day14.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::process::exit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `math::round::ceil`
[INFO] [stdout]  --> src/bin/day14.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use math::round::ceil;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Lines`
[INFO] [stdout]  --> src/bin/day11.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::Lines;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Lines`
[INFO] [stdout]  --> src/bin/day09.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::Lines;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]   --> src/bin/day02_2.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     'outer: for noun in 0..noun_and_verb_limit {
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]   --> src/bin/day02_2.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         'inner: for verb in 0..noun_and_verb_limit {
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `advent_of_code`
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod intcode;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/bin/day03.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 | /     (manhattan_distance(&intersection, &line1.point1) +
[INFO] [stdout] 174 | |         manhattan_distance(&intersection, &line1.point2) ==
[INFO] [stdout] 175 | |         manhattan_distance(&line1.point1, &line1.point2))
[INFO] [stdout]     | |_________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 173 |     manhattan_distance(&intersection, &line1.point1) +
[INFO] [stdout] 174 |         manhattan_distance(&intersection, &line1.point2) ==
[INFO] [stdout] 175 |         manhattan_distance(&line1.point1, &line1.point2)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/bin/day15.rs:227:5
[INFO] [stdout]     |
[INFO] [stdout] 223 | /         return Some((maze_block.last_visited_from.unwrap(),
[INFO] [stdout] 224 | |                      get_opposition_direction(maze_block.last_visited_from_direction.unwrap()),
[INFO] [stdout] 225 | |                      true));
[INFO] [stdout]     | |___________________________- any code following this expression is unreachable
[INFO] [stdout] 226 |       }
[INFO] [stdout] 227 |       unreachable!()
[INFO] [stdout]     |       ^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/bin/day02_2.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut success = false;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intcode`
[INFO] [stdout]   --> src/bin/day11.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let intcode = paint_panels(contents);
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intcode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/day02_2.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut memory: Vec<String> = input.split(',').map(|s| s.to_string()).collect();
[INFO] [stdout]   |         ----^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day02_2.rs:10:51
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn get_noun_and_verb_required_for_expected_output(mut memory: Vec<String>, expected_output: String) -> (i32, i32) {
[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/bin/day02_2.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut success = false;
[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/bin/day15.rs:202:5
[INFO] [stdout]     |
[INFO] [stdout] 202 |     mut maze: &mut HashMap<Position, MazeBlock>,
[INFO] [stdout]     |     ----^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/day15.rs:204:9
[INFO] [stdout]     |
[INFO] [stdout] 204 |     let mut current_position = current_position;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `position`
[INFO] [stdout]   --> src/bin/day15.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     position: Position,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::real::Real`
[INFO] [stdout]  --> src/bin/day03.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use num_traits::real::Real;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/day12.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     for i in 0..times {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_moon_position`
[INFO] [stdout]   --> src/bin/day12.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let initial_moon_position = moons.clone();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_moon_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::real::Real`
[INFO] [stdout]  --> src/bin/day10_alternate_solution.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use num_traits::real::Real;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: floating-point types cannot be used in patterns
[INFO] [stdout]    --> src/bin/day10_alternate_solution.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         0.0 => 0,
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: floating-point types cannot be used in patterns
[INFO] [stdout]    --> src/bin/day10_alternate_solution.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         1.0 => 1,
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: floating-point types cannot be used in patterns
[INFO] [stdout]    --> src/bin/day10_alternate_solution.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         2.0 => 2,
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: floating-point types cannot be used in patterns
[INFO] [stdout]    --> src/bin/day10_alternate_solution.rs:137:10
[INFO] [stdout]     |
[INFO] [stdout] 137 |         -1.0 => 3,
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `abc`
[INFO] [stdout]   --> src/bin/day10_alternate_solution.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 61 |     for (abc, group) in grouped.into_iter() {
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_abc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `immediate_output_mode`
[INFO] [stdout]    --> src/bin/day07.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 100 |     immediate_output_mode: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_immediate_output_mode`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visible_asteroids`
[INFO] [stdout]   --> src/bin/day10_alternate_solution.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let (monitor_asteroid, mut visible_asteroids) =
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible_asteroids`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]    --> src/bin/day10_alternate_solution.rs:116:14
[INFO] [stdout]     |
[INFO] [stdout] 116 |         for (key, group) in grouped {
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day07.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut phase_settings = vec![5, 6, 7, 8, 9];
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/bin/day15.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     queue.add(start);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/bin/day15.rs:85:17
[INFO] [stdout]    |
[INFO] [stdout] 85 |                 queue.add(*neighbour);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/day07.rs:147:5
[INFO] [stdout]     |
[INFO] [stdout] 147 |     mut phase_setting_fed: &mut bool,
[INFO] [stdout]     |     ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_max_thruster_signal_with_one_round_of_amplification`
[INFO] [stdout]   --> src/bin/day07.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn get_max_thruster_signal_with_one_round_of_amplification(input: &str) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent-of-code`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/bin/day14.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 115 | /     loop {
[INFO] [stdout] 116 | |         let ore_used = get_ore_requirement(String::from("FUEL"), mid, &reactions, &mut HashMap::new());
[INFO] [stdout] 117 | |         if ore_used < available_ore && visited_points.contains(&mid) {
[INFO] [stdout] 118 | |             return mid;
[INFO] [stdout] ...   |
[INFO] [stdout] 132 | |         }
[INFO] [stdout] 133 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 134 | 
[INFO] [stdout] 135 |       unreachable!()
[INFO] [stdout]     |       ^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::real::Real`
[INFO] [stdout]  --> src/bin/day14.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use num_traits::real::Real;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day10_alternate_solution.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let (monitor_asteroid, mut visible_asteroids) =
[INFO] [stdout]    |                            ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: floating-point types cannot be used in patterns
[INFO] [stdout]    --> src/bin/day10_alternate_solution.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         0.0 => 0,
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/bin/day10_alternate_solution.rs:107:26
[INFO] [stdout]     |
[INFO] [stdout] 107 |             .map(|x| (x, unsafe { get_clockwise_quadrant(&&x) }))
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `DEBUG`
[INFO] [stdout]   --> src/bin/day10_alternate_solution.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | static DEBUG: bool = true;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/bin/day11.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Page::single(&v).save("./src/out/part11.svg");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `*left_over` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/bin/day14.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let existing_leftover = left_over.get(chemical_name.as_str());
[INFO] [stdout]    |                             --------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 82 |             left_over.insert(chemical_name, leftover_value - units_required);
[INFO] [stdout]    |             ^^^^^^^^^                       -------------- immutable borrow later used here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             mutable borrow occurs here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default
[INFO] [stdout]    = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]    = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `TRACE`
[INFO] [stdout]   --> src/bin/day14.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | static TRACE: bool = true;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `produce_from_trillion_units_of_ore_alternate`
[INFO] [stdout]    --> src/bin/day14.rs:139:4
[INFO] [stdout]     |
[INFO] [stdout] 139 | fn produce_from_trillion_units_of_ore_alternate(reactions: &Vec<Reaction>) -> i64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "f096cd2b34ce06fd23cd3b9df96dd84b1a0a9e59237e5093559fe1462de90cc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f096cd2b34ce06fd23cd3b9df96dd84b1a0a9e59237e5093559fe1462de90cc6", kill_on_drop: false }`
[INFO] [stdout] f096cd2b34ce06fd23cd3b9df96dd84b1a0a9e59237e5093559fe1462de90cc6
