[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] checking santhoshselvan/advent-of-code against master#893fadd11a52aa26fc19c67ee1b79f03d6a1bed3 for pr-77153 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanthoshselvan%2Fadvent-of-code" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/santhoshselvan/advent-of-code on toolchain 893fadd11a52aa26fc19c67ee1b79f03d6a1bed3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "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-10/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" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 993c00b1af9722be478d7d25cdb0e247ffd8f359458baa8a575e3434f990d271 [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" "993c00b1af9722be478d7d25cdb0e247ffd8f359458baa8a575e3434f990d271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "993c00b1af9722be478d7d25cdb0e247ffd8f359458baa8a575e3434f990d271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "993c00b1af9722be478d7d25cdb0e247ffd8f359458baa8a575e3434f990d271", kill_on_drop: false }` [INFO] [stdout] 993c00b1af9722be478d7d25cdb0e247ffd8f359458baa8a575e3434f990d271 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c07231ea1cc144e39f6f2c2fcdda5c7f623c0ba6e1d897c3cc059eabe792e5be [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" "c07231ea1cc144e39f6f2c2fcdda5c7f623c0ba6e1d897c3cc059eabe792e5be", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking svg v0.5.12 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.7.0 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking pistoncore-input v0.28.0 [INFO] [stderr] Checking png v0.15.2 [INFO] [stderr] Checking crossbeam-epoch v0.8.0 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking plotlib v0.4.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking libmath v0.2.1 [INFO] [stderr] Checking rayon-core v1.6.1 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking permutator v0.3.3 [INFO] [stderr] Checking pistoncore-window v0.44.0 [INFO] [stderr] Checking pistoncore-event_loop v0.49.0 [INFO] [stderr] Checking piston v0.49.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::intcode` [INFO] [stdout] --> src/intcode.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 235 | use crate::intcode::IntCode; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `intcode`? [INFO] [stdout] [INFO] [stdout] [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] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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: 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] 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: `std::f32::MAX` [INFO] [stdout] --> src/bin/day06.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: `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] error: only functions may be used as tests [INFO] [stdout] --> src/bin/day11.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / mod tests { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | #![test] [INFO] [stdout] 98 | | [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [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: 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: `crate::paint_panels` [INFO] [stdout] --> src/bin/day11.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | use crate::paint_panels; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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/day13.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/day13.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/day13.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericImageView`, `GenericImage`, `RgbImage` [INFO] [stdout] --> src/bin/day13.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{GenericImage, GenericImageView, ImageBuffer, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ [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: 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 = 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: 1 warning emitted [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, 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: unused import: `std::str::Lines` [INFO] [stdout] --> src/bin/day13.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/day13.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/day13.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericImageView`, `GenericImage`, `RgbImage` [INFO] [stdout] --> src/bin/day13.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{GenericImage, GenericImageView, ImageBuffer, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day04.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut digits: Vec = num.to_string().chars().map(|d| d.to_digit(10).unwrap()).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: 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: field is never read: `width` [INFO] [stdout] --> src/bin/day08.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/bin/day08.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/bin/day08.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/bin/day08.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_number_of_pixels_not_matching` [INFO] [stdout] --> src/bin/day08.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn get_number_of_pixels_not_matching(&self, num: i8) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day13.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 0..3 { [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: `i` [INFO] [stdout] --> src/bin/day13.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day13.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut img = ImageBuffer::from_fn(44 * 7, 25 * 7, |x, y| { [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 variable: `i` [INFO] [stdout] --> src/bin/day13.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 0..3 { [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: function is never used: `draw_tiles` [INFO] [stdout] --> src/bin/day13.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn draw_tiles(contents: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day13.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day13.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut img = ImageBuffer::from_fn(44 * 7, 25 * 7, |x, y| { [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: function is never used: `draw_tiles` [INFO] [stdout] --> src/bin/day13.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn draw_tiles(contents: &str) { [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: `intersection` [INFO] [stdout] --> src/bin/day03.rs:222:31 [INFO] [stdout] | [INFO] [stdout] 222 | let (is_intersecting, intersection) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intersection` [INFO] [stdout] --> src/bin/day03.rs:230:31 [INFO] [stdout] | [INFO] [stdout] 230 | let (is_intersecting, intersection) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intersection` [INFO] [stdout] --> src/bin/day03.rs:238:31 [INFO] [stdout] | [INFO] [stdout] 238 | let (is_intersecting, intersection) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance1` [INFO] [stdout] --> src/bin/day03.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | let distance1 = distance_travelled_by_lines_to_reach_point( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/day08.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | write!(f, "{}", x.to_string()); [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] = 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 `std::result::Result` that must be used [INFO] [stdout] --> src/bin/day08.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | write!(f, "{}", x.to_string()); [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] = 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c07231ea1cc144e39f6f2c2fcdda5c7f623c0ba6e1d897c3cc059eabe792e5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c07231ea1cc144e39f6f2c2fcdda5c7f623c0ba6e1d897c3cc059eabe792e5be", kill_on_drop: false }` [INFO] [stdout] c07231ea1cc144e39f6f2c2fcdda5c7f623c0ba6e1d897c3cc059eabe792e5be