[INFO] cloning repository https://github.com/pscheidler/AoC1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pscheidler/AoC1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpscheidler%2FAoC1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpscheidler%2FAoC1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 437cd9db8001ad8f37b779adb86f2a8c13e4c332 [INFO] checking pscheidler/AoC1 against try#cd420d8bda33494ba3cc45048d5f067484a32b94 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpscheidler%2FAoC1" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pscheidler/AoC1 on toolchain cd420d8bda33494ba3cc45048d5f067484a32b94 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pscheidler/AoC1 [INFO] finished tweaking git repo https://github.com/pscheidler/AoC1 [INFO] tweaked toml for git repo https://github.com/pscheidler/AoC1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pscheidler/AoC1 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" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b774ba9eb5867fc61d04b24ca4578da2fcf2bd6458c3341d1b42fee7fc552a59 [INFO] running `Command { std: "docker" "start" "-a" "b774ba9eb5867fc61d04b24ca4578da2fcf2bd6458c3341d1b42fee7fc552a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b774ba9eb5867fc61d04b24ca4578da2fcf2bd6458c3341d1b42fee7fc552a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b774ba9eb5867fc61d04b24ca4578da2fcf2bd6458c3341d1b42fee7fc552a59", kill_on_drop: false }` [INFO] [stdout] b774ba9eb5867fc61d04b24ca4578da2fcf2bd6458c3341d1b42fee7fc552a59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66b6849b298ad099963149da65ddb58c0cb43e857f8ab05b8da07275ad38bbdb [INFO] running `Command { std: "docker" "start" "-a" "66b6849b298ad099963149da65ddb58c0cb43e857f8ab05b8da07275ad38bbdb", kill_on_drop: false }` [INFO] [stderr] Checking AdventOfCode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DEBUG_MIN` [INFO] [stdout] --> src/day02.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::common::{DEBUG_MIN, DEBUG_OFF, DEBUG_ALL}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DEBUG_MIN` [INFO] [stdout] --> src/day03.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::common::{DEBUG_OFF, DEBUG_MIN, DEBUG_ALL}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEBUG_ALL` and `DEBUG_MIN` [INFO] [stdout] --> src/day04.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::common::{DEBUG_OFF, DEBUG_MIN, DEBUG_ALL}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEBUG_ALL` and `DEBUG_MIN` [INFO] [stdout] --> src/day05.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::common::{DEBUG_OFF, DEBUG_MIN, DEBUG_ALL}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Unknown` [INFO] [stdout] --> src/day05.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::day05::GenericLine::{Vertical, Unknown, Horizontal, Diagonal}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEBUG_ALL` and `DEBUG_MIN` [INFO] [stdout] --> src/day07.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::common::{DEBUG_OFF, DEBUG_MIN, DEBUG_ALL}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/main.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::common::{*}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DEBUG_MIN` [INFO] [stdout] --> src/day02.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::common::{DEBUG_MIN, DEBUG_OFF, DEBUG_ALL}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DEBUG_MIN` [INFO] [stdout] --> src/day03.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::common::{DEBUG_OFF, DEBUG_MIN, DEBUG_ALL}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEBUG_ALL` and `DEBUG_MIN` [INFO] [stdout] --> src/day04.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::common::{DEBUG_OFF, DEBUG_MIN, DEBUG_ALL}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEBUG_ALL` and `DEBUG_MIN` [INFO] [stdout] --> src/day05.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::common::{DEBUG_OFF, DEBUG_MIN, DEBUG_ALL}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Unknown` [INFO] [stdout] --> src/day05.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::day05::GenericLine::{Vertical, Unknown, Horizontal, Diagonal}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEBUG_ALL` and `DEBUG_MIN` [INFO] [stdout] --> src/day07.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::common::{DEBUG_OFF, DEBUG_MIN, DEBUG_ALL}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/main.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::common::{*}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day01.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | for index in 0..buffer_len { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day01.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | for index in 0..buffer_len { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [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/day04.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut active_board = board_list.last_mut().expect("Could not access"); [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/day04.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut active_board = board_list.last_mut().expect("Could not access"); [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: `intersect_count` [INFO] [stdout] --> src/day05.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | let intersect_count = value.iter().count(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersect_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `counter` [INFO] [stdout] --> src/day05.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let mut counter: i32 = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day05.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let mut counter: i32 = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intersect_count` [INFO] [stdout] --> src/day05.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | let intersect_count = value.iter().count(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersect_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug_level` [INFO] [stdout] --> src/day05.rs:292:10 [INFO] [stdout] | [INFO] [stdout] 292 | fn day05(debug_level: u8, file_in: &str, use_diags: bool) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `counter` [INFO] [stdout] --> src/day05.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let mut counter: i32 = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day05.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let mut counter: i32 = 0; [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/day05.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | let mut lines = io::BufReader::new(file).lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `counter` [INFO] [stdout] --> src/day06.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | for counter in 0..days { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug_level` [INFO] [stdout] --> src/day05.rs:292:10 [INFO] [stdout] | [INFO] [stdout] 292 | fn day05(debug_level: u8, file_in: &str, use_diags: bool) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `counter` [INFO] [stdout] --> src/day06.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | for counter in 0..days { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day05.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | let mut lines = io::BufReader::new(file).lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `counter` [INFO] [stdout] --> src/day06.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | for counter in 0..days { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `counter` [INFO] [stdout] --> src/day06.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | for counter in 0..days { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day08.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | for i in 1..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day08.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | for i in 1..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/day04.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | if row_index >= 5 || row_index < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `select_helper_init` should have an upper case name [INFO] [stdout] --> src/day04.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | const select_helper_init: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SELECT_HELPER_INIT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `init_value` should have an upper case name [INFO] [stdout] --> src/day04.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | const init_value: NumberStatus = Unselected(0); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `INIT_VALUE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/day04.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | if row_index >= 5 || row_index < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `select_helper_init` should have an upper case name [INFO] [stdout] --> src/day04.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | const select_helper_init: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SELECT_HELPER_INIT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `init_value` should have an upper case name [INFO] [stdout] --> src/day04.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | const init_value: NumberStatus = Unselected(0); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `INIT_VALUE` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "66b6849b298ad099963149da65ddb58c0cb43e857f8ab05b8da07275ad38bbdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66b6849b298ad099963149da65ddb58c0cb43e857f8ab05b8da07275ad38bbdb", kill_on_drop: false }` [INFO] [stdout] 66b6849b298ad099963149da65ddb58c0cb43e857f8ab05b8da07275ad38bbdb