[INFO] cloning repository https://github.com/grapeape38/Advent-of-Code-2019-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grapeape38/Advent-of-Code-2019-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrapeape38%2FAdvent-of-Code-2019-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrapeape38%2FAdvent-of-Code-2019-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 701ef07da8dd6499be1dc8f95d355f8d141b36ad [INFO] checking grapeape38/Advent-of-Code-2019-Rust against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrapeape38%2FAdvent-of-Code-2019-Rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grapeape38/Advent-of-Code-2019-Rust on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/grapeape38/Advent-of-Code-2019-Rust [INFO] finished tweaking git repo https://github.com/grapeape38/Advent-of-Code-2019-Rust [INFO] tweaked toml for git repo https://github.com/grapeape38/Advent-of-Code-2019-Rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/grapeape38/Advent-of-Code-2019-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f079d60dc2151b319d81736d9b40e8d8c4c5f47a59f992035362237aec3398d [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" "5f079d60dc2151b319d81736d9b40e8d8c4c5f47a59f992035362237aec3398d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f079d60dc2151b319d81736d9b40e8d8c4c5f47a59f992035362237aec3398d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f079d60dc2151b319d81736d9b40e8d8c4c5f47a59f992035362237aec3398d", kill_on_drop: false }` [INFO] [stdout] 5f079d60dc2151b319d81736d9b40e8d8c4c5f47a59f992035362237aec3398d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a39503428eb04975a09ad4e62a0b1d027a9f3f687d2a7740dc934cc1bf8920e [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" "9a39503428eb04975a09ad4e62a0b1d027a9f3f687d2a7740dc934cc1bf8920e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking AdventOfCode2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/days/day1.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/days/day1.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn day1(file: &mut File) -> Result<(i32), Box> { [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: `self` [INFO] [stdout] --> src/days/day2.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/days/day3.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/days/day4.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/days/day4.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn day4(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/days/day6.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/days/day6.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn day6(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/days/day8.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | fn part1(img: &Vec) -> Result<(i32), Box> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/days/day8.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn day8(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/days/day9.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/days/day10.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/days/day10.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn day10(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/days/day11.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/days/day11.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/days/mod.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub type DayFn = fn(&mut File) -> Result<(i32), Box>; [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/days/day1.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/days/day1.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn day1(file: &mut File) -> Result<(i32), Box> { [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: `self` [INFO] [stdout] --> src/days/day2.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/days/day3.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/days/day4.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/days/day4.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn day4(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/days/day6.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/days/day6.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn day6(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/days/day8.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | fn part1(img: &Vec) -> Result<(i32), Box> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/days/day8.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn day8(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/days/day9.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/days/day10.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/days/day10.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn day10(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/days/day11.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/days/day11.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/days/mod.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub type DayFn = fn(&mut File) -> Result<(i32), Box>; [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_increasing_p1` [INFO] [stdout] --> src/days/day4.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn gen_increasing_p1(digit: usize, n_digit: usize, prev_same: (bool, bool), double: bool, min_max_digits: (&[usize], &[usize]), count: &m... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_increasing_p1` [INFO] [stdout] --> src/days/day4.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn gen_increasing_p1(digit: usize, n_digit: usize, prev_same: (bool, bool), double: bool, min_max_digits: (&[usize], &[usize]), count: &m... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `AdventOfCode2019` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `advent_of_code2019` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `day_fns` should have an upper case name [INFO] [stdout] --> src/days/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const day_fns: &[DayFn] = &[day1::day1, day2::day2, day3::day3, day4::day4, day5::day5, day6::day6, day7::day7, day8::day8, day9::day... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `DAY_FNS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `AdventOfCode2019` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `advent_of_code2019` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `day_fns` should have an upper case name [INFO] [stdout] --> src/days/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const day_fns: &[DayFn] = &[day1::day1, day2::day2, day3::day3, day4::day4, day5::day5, day6::day6, day7::day7, day8::day8, day9::day... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `DAY_FNS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.81s [INFO] running `Command { std: "docker" "inspect" "9a39503428eb04975a09ad4e62a0b1d027a9f3f687d2a7740dc934cc1bf8920e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a39503428eb04975a09ad4e62a0b1d027a9f3f687d2a7740dc934cc1bf8920e", kill_on_drop: false }` [INFO] [stdout] 9a39503428eb04975a09ad4e62a0b1d027a9f3f687d2a7740dc934cc1bf8920e