[INFO] cloning repository https://github.com/mbrizic/aoc2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mbrizic/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbrizic%2Faoc2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbrizic%2Faoc2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 128d0243b28878ae8a4b0c0c08f5fd0c07f745b9 [INFO] checking mbrizic/aoc2021 against try#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbrizic%2Faoc2021" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mbrizic/aoc2021 [INFO] finished tweaking git repo https://github.com/mbrizic/aoc2021 [INFO] tweaked toml for git repo https://github.com/mbrizic/aoc2021 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mbrizic/aoc2021 on toolchain 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mbrizic/aoc2021 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" "+8a0378607d6b34c242e3bfa75554871be641864b" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e5db3cbaf5046cb6a7954de21cbcf14803ac0b4a30fa8495cee8611c3ff33d9 [INFO] running `Command { std: "docker" "start" "-a" "1e5db3cbaf5046cb6a7954de21cbcf14803ac0b4a30fa8495cee8611c3ff33d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e5db3cbaf5046cb6a7954de21cbcf14803ac0b4a30fa8495cee8611c3ff33d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e5db3cbaf5046cb6a7954de21cbcf14803ac0b4a30fa8495cee8611c3ff33d9", kill_on_drop: false }` [INFO] [stdout] 1e5db3cbaf5046cb6a7954de21cbcf14803ac0b4a30fa8495cee8611c3ff33d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5fc649ac767265c4f561849624820688d2dfa6568e1af8b8c86d7125bc1c562 [INFO] running `Command { std: "docker" "start" "-a" "d5fc649ac767265c4f561849624820688d2dfa6568e1af8b8c86d7125bc1c562", kill_on_drop: false }` [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/task_07/solution.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{vec, convert::TryInto}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/task_09/solution.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/task_11/solution.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/task_07/solution.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{vec, convert::TryInto}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/task_09/solution.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/task_11/solution.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/task_05/solution.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | for i in 0..number_of_moves { [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/task_05/solution.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | for (i, row) in points.iter().enumerate() { [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/task_05/solution.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | for i in 0..number_of_moves { [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/task_05/solution.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | for (i, row) in points.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fuel_costs` [INFO] [stdout] --> src/task_07/solution.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | fuel_costs: &[i32], [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fuel_costs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fuel_costs` [INFO] [stdout] --> src/task_07/solution.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | fuel_costs: &[i32], [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fuel_costs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/task_08/solution.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | .find(|(index, code)| (*code).eq(c)) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/task_08/solution.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | .find(|(index, code)| (*code).eq(c)) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/task_09/solution.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | fn calculate_basin_size(rows: &Vec>, row_size: i32, row_index: usize, column_index: usize) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row_size` [INFO] [stdout] --> src/task_09/solution.rs:107:47 [INFO] [stdout] | [INFO] [stdout] 107 | fn calculate_basin_size(rows: &Vec>, row_size: i32, row_index: usize, column_index: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row_index` [INFO] [stdout] --> src/task_09/solution.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | fn calculate_basin_size(rows: &Vec>, row_size: i32, row_index: usize, column_index: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column_index` [INFO] [stdout] --> src/task_09/solution.rs:107:80 [INFO] [stdout] | [INFO] [stdout] 107 | fn calculate_basin_size(rows: &Vec>, row_size: i32, row_index: usize, column_index: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/task_09/solution.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut res = 1; [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: `rows` [INFO] [stdout] --> src/task_09/solution.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | fn calculate_basin_size(rows: &Vec>, row_size: i32, row_index: usize, column_index: usize) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row_size` [INFO] [stdout] --> src/task_09/solution.rs:107:47 [INFO] [stdout] | [INFO] [stdout] 107 | fn calculate_basin_size(rows: &Vec>, row_size: i32, row_index: usize, column_index: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row_index` [INFO] [stdout] --> src/task_09/solution.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | fn calculate_basin_size(rows: &Vec>, row_size: i32, row_index: usize, column_index: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column_index` [INFO] [stdout] --> src/task_09/solution.rs:107:80 [INFO] [stdout] | [INFO] [stdout] 107 | fn calculate_basin_size(rows: &Vec>, row_size: i32, row_index: usize, column_index: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/task_09/solution.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut res = 1; [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/task_11/solution.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 0..100 { [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/task_11/solution.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_basin_size` is never used [INFO] [stdout] --> src/task_09/solution.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn calculate_basin_size(rows: &Vec>, row_size: i32, row_index: usize, column_index: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_basin_size` is never used [INFO] [stdout] --> src/task_09/solution.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn calculate_basin_size(rows: &Vec>, row_size: i32, row_index: usize, column_index: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "d5fc649ac767265c4f561849624820688d2dfa6568e1af8b8c86d7125bc1c562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5fc649ac767265c4f561849624820688d2dfa6568e1af8b8c86d7125bc1c562", kill_on_drop: false }` [INFO] [stdout] d5fc649ac767265c4f561849624820688d2dfa6568e1af8b8c86d7125bc1c562