[INFO] cloning repository https://github.com/esphys/aoc-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/esphys/aoc-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesphys%2Faoc-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesphys%2Faoc-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16f430eb907451033567add05d7f4a213e4b7611 [INFO] checking esphys/aoc-2022 against try#9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840 for pr-149518 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesphys%2Faoc-2022" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/esphys/aoc-2022 [INFO] finished tweaking git repo https://github.com/esphys/aoc-2022 [INFO] tweaked toml for git repo https://github.com/esphys/aoc-2022 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/esphys/aoc-2022 on toolchain 9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/esphys/aoc-2022 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" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking esphys/aoc-2022 against try#9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840 for pr-149518 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesphys%2Faoc-2022" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/esphys/aoc-2022 [INFO] finished tweaking git repo https://github.com/esphys/aoc-2022 [INFO] tweaked toml for git repo https://github.com/esphys/aoc-2022 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/esphys/aoc-2022 on toolchain 9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/esphys/aoc-2022 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" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded took v0.1.2 [INFO] [stderr] Downloaded bmp v0.5.0 [INFO] [stderr] Downloaded array_tool v1.0.3 [INFO] [stderr] Downloaded rayon v1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be041505224a9597cd00c2e959d4aa63fec5fbcf2a6ff34bd78ff004925b2eb6 [INFO] running `Command { std: "docker" "start" "-a" "be041505224a9597cd00c2e959d4aa63fec5fbcf2a6ff34bd78ff004925b2eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be041505224a9597cd00c2e959d4aa63fec5fbcf2a6ff34bd78ff004925b2eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be041505224a9597cd00c2e959d4aa63fec5fbcf2a6ff34bd78ff004925b2eb6", kill_on_drop: false }` [INFO] [stdout] be041505224a9597cd00c2e959d4aa63fec5fbcf2a6ff34bd78ff004925b2eb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7857779e01d1b4f2c02db6423704df8515188cb1d0530df76d11695270866a46 [INFO] running `Command { std: "docker" "start" "-a" "7857779e01d1b4f2c02db6423704df8515188cb1d0530df76d11695270866a46", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking array_tool v1.0.3 [INFO] [stderr] Checking took v0.1.2 [INFO] [stderr] Checking bmp v0.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking num_cpus v1.14.0 [INFO] [stderr] Checking rayon v1.6.0 [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/solutions/inputs/day01.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day00.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | include_str!("inputs/day01.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day01.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day00.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let _input = include_str!("inputs/day01.txt").lines().map(|s| {s.parse::().unwrap()}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day01.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day01.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | include_str!("inputs/day01.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day01.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day01.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | include_str!("inputs/day01.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day02.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day02.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | include_str!("inputs/day02.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day02.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day02.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | include_str!("inputs/day02.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day03.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day03.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | include_str!("inputs/day03.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day03.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day03.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | include_str!("inputs/day03.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day04.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day04.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | include_str!("inputs/day04.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day04.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day04.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!("inputs/day04.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day05.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day05.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | include_str!("inputs/day05.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day05.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day05.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | include_str!("inputs/day05.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day06.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day06.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | let input = include_str!("inputs/day06.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day06.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day06.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let input = include_str!("inputs/day06.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day07.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day07.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | include_str!("inputs/day07.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day07.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day07.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | include_str!("inputs/day07.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day08.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day08.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let grid: Grid = include_str!("inputs/day08.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day08.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day08.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | let grid: Grid = include_str!("inputs/day08.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day09.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day09.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | include_str!("inputs/day09.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day09.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day09.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | include_str!("inputs/day09.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day10.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day10.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | include_str!("inputs/day10.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day10.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day10.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 53 | include_str!("inputs/day10.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day11.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day11.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | let mut monkeys: Vec = parse(include_str!("inputs/day11.txt")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day11.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day11.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let mut monkeys: Vec = parse(include_str!("inputs/day11.txt")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day12.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day12.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | let grid: Grid = include_str!("inputs/day12.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day12.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day12.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | let grid: Grid = include_str!("inputs/day12.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day01.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day00.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | include_str!("inputs/day01.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day01.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day00.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let _input = include_str!("inputs/day01.txt").lines().map(|s| {s.parse::().unwrap()}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day01.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day01.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | include_str!("inputs/day01.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day01.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day01.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | include_str!("inputs/day01.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day02.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day02.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | include_str!("inputs/day02.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day02.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day02.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | include_str!("inputs/day02.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day03.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day03.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | include_str!("inputs/day03.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day03.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day03.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | include_str!("inputs/day03.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day04.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day04.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | include_str!("inputs/day04.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day04.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day04.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!("inputs/day04.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day05.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day05.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | include_str!("inputs/day05.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day05.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day05.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | include_str!("inputs/day05.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day06.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day06.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | let input = include_str!("inputs/day06.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day06.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day06.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let input = include_str!("inputs/day06.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day07.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day07.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | include_str!("inputs/day07.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day07.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day07.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | include_str!("inputs/day07.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day08.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day08.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let grid: Grid = include_str!("inputs/day08.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day08.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day08.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | let grid: Grid = include_str!("inputs/day08.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day09.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day09.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | include_str!("inputs/day09.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day09.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day09.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | include_str!("inputs/day09.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day10.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day10.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | include_str!("inputs/day10.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day10.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day10.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 53 | include_str!("inputs/day10.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day11.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day11.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | let mut monkeys: Vec = parse(include_str!("inputs/day11.txt")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day11.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day11.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let mut monkeys: Vec = parse(include_str!("inputs/day11.txt")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day12.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day12.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | let grid: Grid = include_str!("inputs/day12.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/solutions/inputs/day12.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/solutions/day12.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | let grid: Grid = include_str!("inputs/day12.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day00.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | .map(|n| n.parse::().unwrap()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 5 | .map(|n: /* Type */| n.parse::().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day00.rs:15:62 [INFO] [stdout] | [INFO] [stdout] 15 | let _input = include_str!("inputs/day01.txt").lines().map(|s| {s.parse::().unwrap()}); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 15 | let _input = include_str!("inputs/day01.txt").lines().map(|s: /* Type */| {s.parse::().unwrap()}); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day01.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | .for_each(|n| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10 | count += n.parse::().unwrap(); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 6 | .for_each(|n: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day01.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | .for_each(|n| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 32 | count += n.parse::().unwrap(); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 23 | .for_each(|n: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day02.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | .map(|s| { [INFO] [stdout] | ^ [INFO] [stdout] 5 | let bytes = s.as_bytes(); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 4 | .map(|s: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day02.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | .map(|s| { [INFO] [stdout] | ^ [INFO] [stdout] 42 | let bytes = s.as_bytes(); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 41 | .map(|s: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day03.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | .map(|elf| { [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | mask_1 = 0u64; [INFO] [stdout] 8 | let _ = &elf[..elf.len()/2].as_bytes().iter().for_each(|item| { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 6 | .map(|elf: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day00.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | .map(|n| n.parse::().unwrap()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 5 | .map(|n: /* Type */| n.parse::().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day00.rs:15:62 [INFO] [stdout] | [INFO] [stdout] 15 | let _input = include_str!("inputs/day01.txt").lines().map(|s| {s.parse::().unwrap()}); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 15 | let _input = include_str!("inputs/day01.txt").lines().map(|s: /* Type */| {s.parse::().unwrap()}); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day01.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | .for_each(|n| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10 | count += n.parse::().unwrap(); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 6 | .for_each(|n: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day01.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | .for_each(|n| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 32 | count += n.parse::().unwrap(); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 23 | .for_each(|n: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day02.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | .map(|s| { [INFO] [stdout] | ^ [INFO] [stdout] 5 | let bytes = s.as_bytes(); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 4 | .map(|s: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day02.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | .map(|s| { [INFO] [stdout] | ^ [INFO] [stdout] 42 | let bytes = s.as_bytes(); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 41 | .map(|s: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day03.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | .map(|elf| { [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | mask_1 = 0u64; [INFO] [stdout] 8 | let _ = &elf[..elf.len()/2].as_bytes().iter().for_each(|item| { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 6 | .map(|elf: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day03.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | .chunks(3).map(|group| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | mask_accum = u64::MAX; [INFO] [stdout] 26 | group.iter().for_each(|elf| { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | .chunks(3).map(|group: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day03.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | group.iter().for_each(|elf| { [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | mask_tmp = 0u64; [INFO] [stdout] 28 | elf.as_bytes().iter().for_each(|item| { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | group.iter().for_each(|elf: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day03.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | .chunks(3).map(|group| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | mask_accum = u64::MAX; [INFO] [stdout] 26 | group.iter().for_each(|elf| { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | .chunks(3).map(|group: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day03.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | group.iter().for_each(|elf| { [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | mask_tmp = 0u64; [INFO] [stdout] 28 | elf.as_bytes().iter().for_each(|item| { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | group.iter().for_each(|elf: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day04.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | .filter(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | let pair: Vec> = line.split(",") [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 4 | .filter(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day04.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | .map(|ids| { [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | ids.split("-").map(|n| n.parse::().unwrap()).collect() [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 6 | .map(|ids: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day04.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | ids.split("-").map(|n| n.parse::().unwrap()).collect() [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 7 | ids.split("-").map(|n: /* Type */| n.parse::().unwrap()).collect() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day04.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | .filter(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | let pair: Vec> = line.split(",") [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 17 | .filter(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day04.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | .map(|ids| { [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | ids.split("-").map(|n| n.parse::().unwrap()).collect() [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 19 | .map(|ids: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day04.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | ids.split("-").map(|n| n.parse::().unwrap()).collect() [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 20 | ids.split("-").map(|n: /* Type */| n.parse::().unwrap()).collect() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day04.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | .filter(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | let pair: Vec> = line.split(",") [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 4 | .filter(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day04.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | .map(|ids| { [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | ids.split("-").map(|n| n.parse::().unwrap()).collect() [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 6 | .map(|ids: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day04.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | ids.split("-").map(|n| n.parse::().unwrap()).collect() [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 7 | ids.split("-").map(|n: /* Type */| n.parse::().unwrap()).collect() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day04.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | .filter(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | let pair: Vec> = line.split(",") [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 17 | .filter(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day04.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | .map(|ids| { [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | ids.split("-").map(|n| n.parse::().unwrap()).collect() [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 19 | .map(|ids: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day04.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | ids.split("-").map(|n| n.parse::().unwrap()).collect() [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 20 | ids.split("-").map(|n: /* Type */| n.parse::().unwrap()).collect() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day05.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | .lines().for_each(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | if line.is_empty() {} [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 7 | .lines().for_each(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day05.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | .lines().for_each(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | if line.is_empty() {} [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 7 | .lines().for_each(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day05.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | .lines().for_each(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | if line.is_empty() {} [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 58 | .lines().for_each(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day05.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | .lines().for_each(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | if line.is_empty() {} [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 58 | .lines().for_each(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day07.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | .lines().for_each(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | let mut args = line.split(' '); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 8 | .lines().for_each(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day07.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | .lines().for_each(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | let mut args = line.split(' '); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 96 | .lines().for_each(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day07.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | .lines().for_each(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | let mut args = line.split(' '); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 8 | .lines().for_each(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day07.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | .lines().for_each(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | let mut args = line.split(' '); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 96 | .lines().for_each(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day08.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | .map(|l| l.chars() [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 13 | .map(|l: /* Type */| l.chars() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day08.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | .map(|c| c.to_digit(10).unwrap() as i32).collect() [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 14 | .map(|c: /* Type */| c.to_digit(10).unwrap() as i32).collect() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day08.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | .map(|l| l.chars() [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 13 | .map(|l: /* Type */| l.chars() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day08.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | .map(|c| c.to_digit(10).unwrap() as i32).collect() [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 14 | .map(|c: /* Type */| c.to_digit(10).unwrap() as i32).collect() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day08.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | .map(|l| l.chars() [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 104 | .map(|l: /* Type */| l.chars() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day08.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | .map(|l| l.chars() [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 104 | .map(|l: /* Type */| l.chars() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day08.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | .map(|c| c.to_digit(10).unwrap() as i32).collect() [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 105 | .map(|c: /* Type */| c.to_digit(10).unwrap() as i32).collect() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day08.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | .map(|c| c.to_digit(10).unwrap() as i32).collect() [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 105 | .map(|c: /* Type */| c.to_digit(10).unwrap() as i32).collect() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day09.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | .lines().for_each(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | let dir = line.split_once(' ').unwrap().0; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 10 | .lines().for_each(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day09.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | .lines().for_each(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | let dir = line.split_once(' ').unwrap().0; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 10 | .lines().for_each(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day09.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | .lines().for_each(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 56 | let dir = line.split_once(' ').unwrap().0; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 55 | .lines().for_each(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day09.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | .lines().for_each(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 56 | let dir = line.split_once(' ').unwrap().0; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 55 | .lines().for_each(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day10.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | .lines().for_each(|instruction| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | match instruction { [INFO] [stdout] 13 | i if i.starts_with("noop") => { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 11 | .lines().for_each(|instruction: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day10.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | .lines().for_each(|instruction| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 55 | match instruction { [INFO] [stdout] 56 | i if i.starts_with("noop") => { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 54 | .lines().for_each(|instruction: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day10.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | .lines().for_each(|instruction| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | match instruction { [INFO] [stdout] 13 | i if i.starts_with("noop") => { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 11 | .lines().for_each(|instruction: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/day10.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | .lines().for_each(|instruction| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 55 | match instruction { [INFO] [stdout] 56 | i if i.starts_with("noop") => { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 54 | .lines().for_each(|instruction: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/solutions/day12.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | .map(|(y, l)| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | l.bytes() [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 37 | .map(|(y, l): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/solutions/day12.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | .map(|(y, l)| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | l.bytes() [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 37 | .map(|(y, l): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/solutions/day12.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | .map(|(y, l)| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 178 | l.bytes() [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 177 | .map(|(y, l): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/solutions/day12.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | .map(|(y, l)| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 178 | l.bytes() [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 177 | .map(|(y, l): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` (bin "advent-of-code") due to 55 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` (bin "advent-of-code" test) due to 55 previous errors [INFO] running `Command { std: "docker" "inspect" "7857779e01d1b4f2c02db6423704df8515188cb1d0530df76d11695270866a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7857779e01d1b4f2c02db6423704df8515188cb1d0530df76d11695270866a46", kill_on_drop: false }` [INFO] [stdout] 7857779e01d1b4f2c02db6423704df8515188cb1d0530df76d11695270866a46