[INFO] cloning repository https://github.com/chris-hinson/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/chris-hinson/Advent-of-Code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchris-hinson%2FAdvent-of-Code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchris-hinson%2FAdvent-of-Code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f075a69ef7259d3c0cb35d64e47c0e493d8f7baa [INFO] testing chris-hinson/Advent-of-Code against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchris-hinson%2FAdvent-of-Code" "/workspace/builds/worker-119/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-119/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chris-hinson/Advent-of-Code on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chris-hinson/Advent-of-Code [INFO] finished tweaking git repo https://github.com/chris-hinson/Advent-of-Code [INFO] tweaked toml for git repo https://github.com/chris-hinson/Advent-of-Code written to /workspace/builds/worker-119/source/Cargo.toml [INFO] crate git repo https://github.com/chris-hinson/Advent-of-Code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [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-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23713e3726eebc182d82ce7f330b6ab901bc7d98cfb4ff9c92b7bbaadae76d38 [INFO] running `Command { std: "docker" "start" "-a" "23713e3726eebc182d82ce7f330b6ab901bc7d98cfb4ff9c92b7bbaadae76d38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23713e3726eebc182d82ce7f330b6ab901bc7d98cfb4ff9c92b7bbaadae76d38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23713e3726eebc182d82ce7f330b6ab901bc7d98cfb4ff9c92b7bbaadae76d38", kill_on_drop: false }` [INFO] [stdout] 23713e3726eebc182d82ce7f330b6ab901bc7d98cfb4ff9c92b7bbaadae76d38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3e5bcf82b61fa0eba973b08a89c375c9e43ce6c69d580db241f220acddae4e8 [INFO] running `Command { std: "docker" "start" "-a" "e3e5bcf82b61fa0eba973b08a89c375c9e43ce6c69d580db241f220acddae4e8", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling AoC v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/bin/day24.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0267]: `continue` inside of a closure [INFO] [stdout] --> src/bin/day24.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 186 | (low..high).into_par_iter().for_each(|code| { [INFO] [stdout] | ------ enclosing closure [INFO] [stdout] ... [INFO] [stdout] 189 | continue; [INFO] [stdout] | ^^^^^^^^ cannot `continue` inside of a closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0267]: `continue` inside of a closure [INFO] [stdout] --> src/bin/day24.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 186 | (low..high).into_par_iter().for_each(|code| { [INFO] [stdout] | ------ enclosing closure [INFO] [stdout] ... [INFO] [stdout] 197 | continue; [INFO] [stdout] | ^^^^^^^^ cannot `continue` inside of a closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0267]: `break` inside of a closure [INFO] [stdout] --> src/bin/day24.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 186 | (low..high).into_par_iter().for_each(|code| { [INFO] [stdout] | ------ enclosing closure [INFO] [stdout] ... [INFO] [stdout] 204 | break; [INFO] [stdout] | ^^^^^ cannot `break` inside of a closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/bin/day6.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/bin/day25.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | ... Some(val) => col + 1, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/bin/day25.rs:87:38 [INFO] [stdout] | [INFO] [stdout] 87 | ... Some(val) => row + 1, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/bin/day9.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | for (j, val) in row.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reactor` [INFO] [stdout] --> src/bin/day22.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let reactor: Vec>> = vec![vec![vec![false; 100]; 100]; 100]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reactor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_point` [INFO] [stdout] --> src/bin/day9.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let cur_point = low_point; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `low_point` [INFO] [stdout] --> src/bin/day9.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut low_point = true; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_low_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0267`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/bin/day6.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point_val` [INFO] [stdout] --> src/bin/day9.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let point_val = map[row][col]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day14.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut polymer = contents.remove(0); [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/bin/day6.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut fish: Vec = contents [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] [stderr] error: could not compile `AoC` due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function is never used: `gen_points` [INFO] [stdout] --> src/bin/day22.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn gen_points(bounds: (i32, i32, i32, i32, i32, i32)) -> Vec<(i32, i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pointsGen` should have a snake case name [INFO] [stdout] --> src/bin/day5.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn pointsGen(p1: (i32, i32), p2: (i32, i32)) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `points_gen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day9.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let mut low_point = true; [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] error[E0515]: cannot return value referencing function parameter `map` [INFO] [stdout] --> src/bin/day9.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 165 | let right = match &map.get(row) { [INFO] [stdout] | ------------ `map` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 186 | return (up, right, down, left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `map` [INFO] [stdout] --> src/bin/day9.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 181 | let down = match &map.get(row + 1) { [INFO] [stdout] | ---------------- `map` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 186 | return (up, right, down, left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `map` [INFO] [stdout] --> src/bin/day9.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 174 | match &map.get(row - 1) { [INFO] [stdout] | ---------------- `map` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 186 | return (up, right, down, left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `map` [INFO] [stdout] --> src/bin/day9.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 158 | match &map.get(row) { [INFO] [stdout] | ------------ `map` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 186 | return (up, right, down, left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day3.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | for (i, line) in lines_vec.iter().enumerate() { [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] [stderr] error: could not compile `AoC` due to 5 previous errors; 5 warnings emitted [INFO] [stdout] warning: unused variable: `inv_lines` [INFO] [stdout] --> src/bin/day3_take2.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut inv_lines: Vec<&str> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inv_lines` [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/day3.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut lines_vec: Vec = lines [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/bin/day3_take2.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut inv_lines: Vec<&str> = Vec::new(); [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: crate `AoC` 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: `ao_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day11.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | for (i, row) in octo.iter_mut().enumerate() { [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: `j` [INFO] [stdout] --> src/bin/day11.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | for (j, col) in row.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e3e5bcf82b61fa0eba973b08a89c375c9e43ce6c69d580db241f220acddae4e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3e5bcf82b61fa0eba973b08a89c375c9e43ce6c69d580db241f220acddae4e8", kill_on_drop: false }` [INFO] [stdout] e3e5bcf82b61fa0eba973b08a89c375c9e43ce6c69d580db241f220acddae4e8