[INFO] cloning repository https://github.com/noxware/aoc-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noxware/aoc-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoxware%2Faoc-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoxware%2Faoc-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c86072bf78c56d47a64f208987740a70247d552f [INFO] testing noxware/aoc-2024 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoxware%2Faoc-2024" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/noxware/aoc-2024 [INFO] finished tweaking git repo https://github.com/noxware/aoc-2024 [INFO] tweaked toml for git repo https://github.com/noxware/aoc-2024 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/noxware/aoc-2024 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/noxware/aoc-2024 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itertools v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccdbfe86c389e7c8424787a0e7e40a14c7218776aad6f813de716cc4112cbc04 [INFO] running `Command { std: "docker" "start" "-a" "ccdbfe86c389e7c8424787a0e7e40a14c7218776aad6f813de716cc4112cbc04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccdbfe86c389e7c8424787a0e7e40a14c7218776aad6f813de716cc4112cbc04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccdbfe86c389e7c8424787a0e7e40a14c7218776aad6f813de716cc4112cbc04", kill_on_drop: false }` [INFO] [stdout] ccdbfe86c389e7c8424787a0e7e40a14c7218776aad6f813de716cc4112cbc04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d582b6ee8e94267eaf036c1f7ea2e39459f91b8af4e28659569ba720bb7766c2 [INFO] running `Command { std: "docker" "start" "-a" "d582b6ee8e94267eaf036c1f7ea2e39459f91b8af4e28659569ba720bb7766c2", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling aoc-2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day3.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d3p2.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let input = include_str!("../../inputs/day3.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day7.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d7p2.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let input = include_str!("../../inputs/day7.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day2.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d2p2.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | let input = include_str!("../../inputs/day2.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day9.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d9p1.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | let input = include_str!("../../inputs/day9.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day8.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d8p1.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | let input = include_str!("../../inputs/day8.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day2.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d2p1.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | let input = include_str!("../../inputs/day2.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day6.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d6p1.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let input = include_str!("../../inputs/day6.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day4.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d4p1.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let input = include_str!("../../inputs/day4.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day5.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d5p1.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | let input = include_str!("../../inputs/day5.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d2p1.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | let reports = input.split('\n').filter(|l| !l.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] 4 | let reports = input.split('\n').filter(|l: /* Type */| !l.is_empty()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day1.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d1p1.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | let input = include_str!("../../inputs/day1.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d2p1.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | let safe = reports.filter(|l| { [INFO] [stdout] | ^ [INFO] [stdout] 6 | let levels = l [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 | let safe = reports.filter(|l: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d2p1.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | .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] 8 | .map(|n: /* Type */| n.parse::().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d2p2.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | let reports = input.split('\n').filter(|l| !l.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] 4 | let reports = input.split('\n').filter(|l: /* Type */| !l.is_empty()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d2p2.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | let safe = reports.filter(|l| { [INFO] [stdout] | ^ [INFO] [stdout] 6 | let levels = l [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 | let safe = reports.filter(|l: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d2p2.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | .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] 8 | .map(|n: /* Type */| n.parse::().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day6.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d6p2.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let input = include_str!("../../inputs/day6.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day3.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d3p1.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | let input = include_str!("../../inputs/day3.txt"); [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 `aoc-2024` (bin "d2p2") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d1p1.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | for line in input.lines().filter(|l| !l.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 | for line in input.lines().filter(|l: /* Type */| !l.is_empty()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day10.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d10p2.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let input = include_str!("../../inputs/day10.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d5p1.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let rules = rules [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d5p1.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | .filter(|r| !r.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] 8 | .filter(|r: /* Type */| !r.is_empty()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d5p1.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | .map(|r| r.split_once('|').expect("invalid format")) [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] 9 | .map(|r: /* Type */| r.split_once('|').expect("invalid format")) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/bin/d5p1.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | .map(|(before, after)| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | ( [INFO] [stdout] 12 | before.parse::().expect("not a before number"), [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] 10 | .map(|(before, after): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `({type error}, _)` [INFO] [stdout] --> src/bin/d5p1.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | .map(|(before, after)| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | after.parse::().expect("not an after number"), [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] 10 | .map(|(before, after): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d5p1.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let updates = updates.split("\n").filter(|u| !u.is_empty()).map(|u| { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d3p1.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | .filter_map(|m| { [INFO] [stdout] | ^ [INFO] [stdout] 8 | let Some(closing) = m.find(")") else { [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 | .filter_map(|m: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d3p1.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let Ok(a) = a.parse::() else { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d5p1.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | let updates = updates.split("\n").filter(|u| !u.is_empty()).map(|u| { [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] 18 | let updates = updates.split("\n").filter(|u: /* Type */| !u.is_empty()).map(|u| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d3p1.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let Ok(b) = b.parse::() else { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d5p1.rs:18:70 [INFO] [stdout] | [INFO] [stdout] 18 | let updates = updates.split("\n").filter(|u| !u.is_empty()).map(|u| { [INFO] [stdout] | ^ [INFO] [stdout] 19 | u.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] 18 | let updates = updates.split("\n").filter(|u| !u.is_empty()).map(|u: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d5p1.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|page| page.parse::().expect("not a page number")) [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 | .map(|page: /* Type */| page.parse::().expect("not a page number")) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d5p1.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | let valid_updates = updates.filter(|pages| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | rules.iter().all(|(before, after)| { [INFO] [stdout] 26 | let Some(before) = pages.iter().position(|p| p == before) else { [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 | let valid_updates = updates.filter(|pages: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d5p1.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | let middle_pages = valid_updates.map(|pages| pages[pages.len() / 2]); [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] 38 | let middle_pages = valid_updates.map(|pages: /* Type */| pages[pages.len() / 2]); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day9.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d9p2.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let input = include_str!("../../inputs/day9.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d1p1.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | let mut split = line.split_whitespace(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2024` (bin "d3p1") due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day10.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d10p1.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let input = include_str!("../../inputs/day10.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2024` (bin "d5p1") due to 12 previous errors [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day1.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/d1p2.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | let input = include_str!("../../inputs/day1.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d1p1.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | let distances = left.iter().zip(right.iter()).map(|(l, r)| (l - r).abs()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2024` (bin "d3p2") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d1p2.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | for line in input.lines().filter(|l| !l.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 | for line in input.lines().filter(|l: /* Type */| !l.is_empty()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2024` (bin "d2p1") due to 4 previous errors [INFO] [stderr] error: could not compile `aoc-2024` (bin "d6p2") due to 1 previous error [INFO] [stderr] error: could not compile `aoc-2024` (bin "d1p1") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/d1p2.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | let mut split = line.split_whitespace(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2024` (bin "d4p1") due to 1 previous error [INFO] [stderr] error: could not compile `aoc-2024` (bin "d6p1") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2024` (bin "d1p2") due to 3 previous errors [INFO] [stderr] error: could not compile `aoc-2024` (bin "d9p1") due to 1 previous error [INFO] [stderr] error: could not compile `aoc-2024` (bin "d7p2") due to 1 previous error [INFO] [stderr] error: could not compile `aoc-2024` (bin "d9p2") due to 1 previous error [INFO] [stderr] error: could not compile `aoc-2024` (bin "d8p1") due to 1 previous error [INFO] [stderr] error: could not compile `aoc-2024` (bin "d10p2") due to 1 previous error [INFO] [stderr] error: could not compile `aoc-2024` (bin "d10p1") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "d582b6ee8e94267eaf036c1f7ea2e39459f91b8af4e28659569ba720bb7766c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d582b6ee8e94267eaf036c1f7ea2e39459f91b8af4e28659569ba720bb7766c2", kill_on_drop: false }` [INFO] [stdout] d582b6ee8e94267eaf036c1f7ea2e39459f91b8af4e28659569ba720bb7766c2