[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] testing grapeape38/Advent-of-Code-2019-Rust against nightly-2025-01-18 for randomize-layout-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrapeape38%2FAdvent-of-Code-2019-Rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grapeape38/Advent-of-Code-2019-Rust on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-width v0.1.6 [INFO] [stderr] Downloaded atty v0.2.13 [INFO] [stderr] Downloaded strsim v0.8.0 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded textwrap v0.11.0 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b4a9eb64ca72af63357242706a243f488a812ea776b047be92c1c24ee9f6509 [INFO] running `Command { std: "docker" "start" "-a" "4b4a9eb64ca72af63357242706a243f488a812ea776b047be92c1c24ee9f6509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b4a9eb64ca72af63357242706a243f488a812ea776b047be92c1c24ee9f6509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b4a9eb64ca72af63357242706a243f488a812ea776b047be92c1c24ee9f6509", kill_on_drop: false }` [INFO] [stdout] 4b4a9eb64ca72af63357242706a243f488a812ea776b047be92c1c24ee9f6509 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a605c2cdb340f901a88bd03210980c402f571e32093fed164f04063f474917eb [INFO] running `Command { std: "docker" "start" "-a" "a605c2cdb340f901a88bd03210980c402f571e32093fed164f04063f474917eb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4 - pub fn day1(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] 4 + pub fn day1(file: &mut File) -> Result> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - pub fn day4(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] 59 + pub fn day4(file: &mut File) -> Result> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - pub fn day6(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] 54 + pub fn day6(file: &mut File) -> Result> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - fn part1(img: &Vec) -> Result<(i32), Box> { [INFO] [stdout] 11 + fn part1(img: &Vec) -> Result> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - pub fn day8(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] 41 + pub fn day8(file: &mut File) -> Result> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - pub fn day10(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] 23 + pub fn day10(file: &mut File) -> Result> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub type DayFn = fn(&mut File) -> Result<(i32), Box>; [INFO] [stdout] 16 + pub type DayFn = fn(&mut File) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_increasing_p1` is never used [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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.97s [INFO] running `Command { std: "docker" "inspect" "a605c2cdb340f901a88bd03210980c402f571e32093fed164f04063f474917eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a605c2cdb340f901a88bd03210980c402f571e32093fed164f04063f474917eb", kill_on_drop: false }` [INFO] [stdout] a605c2cdb340f901a88bd03210980c402f571e32093fed164f04063f474917eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd94ef1dd87b6fd27b5ea8d06144ab13122a300ecf09059f420e161515e5c87f [INFO] running `Command { std: "docker" "start" "-a" "dd94ef1dd87b6fd27b5ea8d06144ab13122a300ecf09059f420e161515e5c87f", kill_on_drop: false }` [INFO] [stderr] Compiling 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4 - pub fn day1(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] 4 + pub fn day1(file: &mut File) -> Result> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - pub fn day4(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] 59 + pub fn day4(file: &mut File) -> Result> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - pub fn day6(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] 54 + pub fn day6(file: &mut File) -> Result> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - fn part1(img: &Vec) -> Result<(i32), Box> { [INFO] [stdout] 11 + fn part1(img: &Vec) -> Result> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - pub fn day8(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] 41 + pub fn day8(file: &mut File) -> Result> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - pub fn day10(file: &mut File) -> Result<(i32), Box> { [INFO] [stdout] 23 + pub fn day10(file: &mut File) -> Result> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub type DayFn = fn(&mut File) -> Result<(i32), Box>; [INFO] [stdout] 16 + pub type DayFn = fn(&mut File) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_increasing_p1` is never used [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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.47s [INFO] running `Command { std: "docker" "inspect" "dd94ef1dd87b6fd27b5ea8d06144ab13122a300ecf09059f420e161515e5c87f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd94ef1dd87b6fd27b5ea8d06144ab13122a300ecf09059f420e161515e5c87f", kill_on_drop: false }` [INFO] [stdout] dd94ef1dd87b6fd27b5ea8d06144ab13122a300ecf09059f420e161515e5c87f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d840877efa5fa2fc8afd66a6177f378488081a5f7a44903221748dd50e1e5393 [INFO] running `Command { std: "docker" "start" "-a" "d840877efa5fa2fc8afd66a6177f378488081a5f7a44903221748dd50e1e5393", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/days/day1.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/days/day1.rs:4:40 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn day1(file: &mut File) -> Result<(i32), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 4 - pub fn day1(file: &mut File) -> Result<(i32), Box> { [INFO] [stderr] 4 + pub fn day1(file: &mut File) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/days/day2.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/days/day3.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/days/day4.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/days/day4.rs:59:40 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn day4(file: &mut File) -> Result<(i32), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 59 - pub fn day4(file: &mut File) -> Result<(i32), Box> { [INFO] [stderr] 59 + pub fn day4(file: &mut File) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/days/day6.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/days/day6.rs:54:40 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn day6(file: &mut File) -> Result<(i32), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 54 - pub fn day6(file: &mut File) -> Result<(i32), Box> { [INFO] [stderr] 54 + pub fn day6(file: &mut File) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/days/day8.rs:11:35 [INFO] [stderr] | [INFO] [stderr] 11 | fn part1(img: &Vec) -> Result<(i32), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 11 - fn part1(img: &Vec) -> Result<(i32), Box> { [INFO] [stderr] 11 + fn part1(img: &Vec) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/days/day8.rs:41:40 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn day8(file: &mut File) -> Result<(i32), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 41 - pub fn day8(file: &mut File) -> Result<(i32), Box> { [INFO] [stderr] 41 + pub fn day8(file: &mut File) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/days/day9.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/days/day10.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/days/day10.rs:23:41 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn day10(file: &mut File) -> Result<(i32), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 23 - pub fn day10(file: &mut File) -> Result<(i32), Box> { [INFO] [stderr] 23 + pub fn day10(file: &mut File) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/days/day11.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{self, BufRead, BufReader}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/days/day11.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/days/mod.rs:16:42 [INFO] [stderr] | [INFO] [stderr] 16 | pub type DayFn = fn(&mut File) -> Result<(i32), Box>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 16 - pub type DayFn = fn(&mut File) -> Result<(i32), Box>; [INFO] [stderr] 16 + pub type DayFn = fn(&mut File) -> Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function `gen_increasing_p1` is never used [INFO] [stderr] --> src/days/day4.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | fn gen_increasing_p1(digit: usize, n_digit: usize, prev_same: (bool, bool), double: bool, min_max_digits: (&[usize], &[usize]), count: &m... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `day_fns` should have an upper case name [INFO] [stderr] --> src/days/mod.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `DAY_FNS` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `AdventOfCode2019` (bin "AdventOfCode2019" test) generated 18 warnings (run `cargo fix --bin "AdventOfCode2019" --tests` to apply 15 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/AdventOfCode2019-5a425026e07bbbab) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d840877efa5fa2fc8afd66a6177f378488081a5f7a44903221748dd50e1e5393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d840877efa5fa2fc8afd66a6177f378488081a5f7a44903221748dd50e1e5393", kill_on_drop: false }` [INFO] [stdout] d840877efa5fa2fc8afd66a6177f378488081a5f7a44903221748dd50e1e5393