[INFO] cloning repository https://github.com/jdmeyer3/adventofcode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jdmeyer3/adventofcode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdmeyer3%2Fadventofcode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdmeyer3%2Fadventofcode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed2d6962d5f3dfcfffafa194440443123d755524 [INFO] testing jdmeyer3/adventofcode2020 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%2Fjdmeyer3%2Fadventofcode2020" "/workspace/builds/worker-95/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-95/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jdmeyer3/adventofcode2020 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/jdmeyer3/adventofcode2020 [INFO] finished tweaking git repo https://github.com/jdmeyer3/adventofcode2020 [INFO] tweaked toml for git repo https://github.com/jdmeyer3/adventofcode2020 written to /workspace/builds/worker-95/source/Cargo.toml [INFO] crate git repo https://github.com/jdmeyer3/adventofcode2020 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] 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-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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] 8215fac420fcb3fe988eded9a0c9484a7cb0c164fb11ef77fbd9df21ce40c537 [INFO] running `Command { std: "docker" "start" "-a" "8215fac420fcb3fe988eded9a0c9484a7cb0c164fb11ef77fbd9df21ce40c537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8215fac420fcb3fe988eded9a0c9484a7cb0c164fb11ef77fbd9df21ce40c537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8215fac420fcb3fe988eded9a0c9484a7cb0c164fb11ef77fbd9df21ce40c537", kill_on_drop: false }` [INFO] [stdout] 8215fac420fcb3fe988eded9a0c9484a7cb0c164fb11ef77fbd9df21ce40c537 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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] 396b6f63c20e217e2aeb8b118d243a9c68c0d57a5c337fdcd59313acea6d650f [INFO] running `Command { std: "docker" "start" "-a" "396b6f63c20e217e2aeb8b118d243a9c68c0d57a5c337fdcd59313acea6d650f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling advent2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/bin/day13.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bus_id` is never read [INFO] [stdout] --> src/bin/day13.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut bus_id: usize = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pt2` [INFO] [stdout] --> src/bin/day13.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn pt2() {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `answer` [INFO] [stdout] --> src/bin/day6.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let answer: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/bin/day11.rs:279:85 [INFO] [stdout] | [INFO] [stdout] 279 | println!("{:?}", seating.seats.iter().filter(|&f| *f == Seat::Occupied).count()) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 282 | let input = std::fs::read_to_string("input/day11").unwrap(); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Formatter` [INFO] [stdout] --> src/bin/day11.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/bin/day4.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level`, `error`, `info`, `log_enabled` [INFO] [stdout] --> src/bin/day4.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{debug, error, log_enabled, info, Level}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> src/bin/day12.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/bin/day12.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Match` [INFO] [stdout] --> src/bin/day12.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use regex::{Match, Regex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::internal::Inst` [INFO] [stdout] --> src/bin/day12.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use regex::internal::Inst; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/bin/day12.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/bin/day12.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/day12.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | let turn = (num / 90); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - let turn = (num / 90); [INFO] [stdout] 168 + let turn = num / 90; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/day12.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | let turn = (num / 90); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - let turn = (num / 90); [INFO] [stdout] 172 + let turn = num / 90; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exec` [INFO] [stdout] --> src/bin/day8.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let exec = self.execute(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_exec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/bin/day3.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day4.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut cred_arr: Vec<&str> = creds.split(" ").collect(); [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: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent2020` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field is never read: `inst` [INFO] [stdout] --> src/bin/day12.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | inst: Vec<(Navigation, usize)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `WaypointInstructions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/day12.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ship_route` [INFO] [stdout] --> src/bin/day12.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | ship_route: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WaypointInstructions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/day12.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `waypoint` [INFO] [stdout] --> src/bin/day12.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | waypoint: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WaypointInstructions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/day12.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Direction` should have an upper case name [INFO] [stdout] --> src/bin/day12.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | static ref Direction: Vec = vec![Cardinal::East, Cardinal::South, Cardinal::West, Cardinal::North]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `DIRECTION` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day10.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | for (i, j) in self.0.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] [stdout] warning: unused variable: `perms` [INFO] [stdout] --> src/bin/day10.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let perms = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_perms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/bin/day5.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/day5.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let half = ((self.0 + self.1) / 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - let half = ((self.0 + self.1) / 2); [INFO] [stdout] 41 + let half = (self.0 + self.1) / 2; [INFO] [stdout] | [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: 1 warning 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "396b6f63c20e217e2aeb8b118d243a9c68c0d57a5c337fdcd59313acea6d650f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "396b6f63c20e217e2aeb8b118d243a9c68c0d57a5c337fdcd59313acea6d650f", kill_on_drop: false }` [INFO] [stdout] 396b6f63c20e217e2aeb8b118d243a9c68c0d57a5c337fdcd59313acea6d650f