[INFO] cloning repository https://github.com/alexttyip/advent-of-code-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexttyip/advent-of-code-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexttyip%2Fadvent-of-code-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexttyip%2Fadvent-of-code-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d8c324b41c75826d5546eccfab1ae54664decaf [INFO] checking alexttyip/advent-of-code-2024/2d8c324b41c75826d5546eccfab1ae54664decaf against master#c8a31b780d5415358566a20b94912620a3f27067 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexttyip%2Fadvent-of-code-2024" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alexttyip/advent-of-code-2024 [INFO] finished tweaking git repo https://github.com/alexttyip/advent-of-code-2024 [INFO] tweaked toml for git repo https://github.com/alexttyip/advent-of-code-2024 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alexttyip/advent-of-code-2024 on toolchain c8a31b780d5415358566a20b94912620a3f27067 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alexttyip/advent-of-code-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" "+c8a31b780d5415358566a20b94912620a3f27067" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.1.31 [INFO] [stderr] Downloaded rustls v0.23.15 [INFO] [stderr] Downloaded tokio v1.41.0 [INFO] [stderr] Downloaded libc v0.2.161 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6a419d9a31ab5c0130214ce8439dd75c72fad575bd40ec004fde0e2b8fbc806 [INFO] running `Command { std: "docker" "start" "-a" "d6a419d9a31ab5c0130214ce8439dd75c72fad575bd40ec004fde0e2b8fbc806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6a419d9a31ab5c0130214ce8439dd75c72fad575bd40ec004fde0e2b8fbc806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6a419d9a31ab5c0130214ce8439dd75c72fad575bd40ec004fde0e2b8fbc806", kill_on_drop: false }` [INFO] [stdout] d6a419d9a31ab5c0130214ce8439dd75c72fad575bd40ec004fde0e2b8fbc806 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 891d264596b827b95b481303091a37bdc61e005497c0bc062e2ab34c375c090e [INFO] running `Command { std: "docker" "start" "-a" "891d264596b827b95b481303091a37bdc61e005497c0bc062e2ab34c375c090e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking hyper v1.5.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.8 [INFO] [stderr] Checking advent-of-code-2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/bin/day07/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day07/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | include_str!("input.txt").lines().map(|line| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day04/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day04/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | include_str!("input.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day22/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day22/main.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | for line in include_str!("input.txt").lines() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day22/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day22/main.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | for line in include_str!("input.txt").lines() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day22" test) due to 4 previous errors [INFO] [stdout] error: couldn't read `src/bin/day13/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day13/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | let file = include_str!("input.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day04/main.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | .map(|line| line.chars().collect_vec()) [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] 27 | .map(|line: /* Type */| line.chars().collect_vec()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day13") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day22/main.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | let num = line.parse::().unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day02" test) due to 7 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day22/main.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let num = line.parse::().unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day02/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day02/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | include_str!("input.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day02/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day02/main.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | for line in include_str!("input.txt").lines() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day02/main.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | .filter_map(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | line.split_ascii_whitespace() [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 | .filter_map(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/bin/day02/main.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | .try_fold(0, |signum, (s1, s2)| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | let diff = s2.parse::().ok()? - s1.parse::().ok()?; [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] 17 | .try_fold(0, |signum, (s1, s2): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})` [INFO] [stdout] --> src/bin/day02/main.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | .try_fold(0, |signum, (s1, s2)| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | let diff = s2.parse::().ok()? - s1.parse::().ok()?; [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] 17 | .try_fold(0, |signum, (s1, s2): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day02/main.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let diffs = line [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day02/main.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | .filter_map(|s| s.parse::().ok()) [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] 33 | .filter_map(|s: /* Type */| s.parse::().ok()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day15/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day15/main.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | let file = include_str!("input.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day15/input2.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day15/main.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | let file = include_str!("input2.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/day07/main.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | include_str!("input.txt").lines().map(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | let mut ns = line [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 | include_str!("input.txt").lines().map(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day07/main.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | .filter_map(|s| s.parse::().ok()); [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] 16 | .filter_map(|s: /* Type */| s.parse::().ok()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day06/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day06/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | for (x, line) in include_str!("input.txt").lines().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day12/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day12/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | for (x, line) in include_str!("input.txt").lines().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day04/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day04/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | include_str!("input.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day06/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | for (y, c) in line.chars().enumerate() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day04" test) due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day04/main.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | .map(|line| line.chars().collect_vec()) [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] 27 | .map(|line: /* Type */| line.chars().collect_vec()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day12/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day12/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | for (x, line) in include_str!("input.txt").lines().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day19/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day19/main.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | let (stripes_str, towels_str) = include_str!("input.txt").split_once("\n\n").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day12/main.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | for (y, c) in line.chars().enumerate() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day12/main.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | for (y, c) in line.chars().enumerate() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day16/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day16/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | for (x, line) in include_str!("input.txt").lines().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day07" test) due to 3 previous errors [INFO] [stdout] error: couldn't read `src/bin/day16/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day16/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | for (x, line) in include_str!("input.txt").lines().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day11/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day11/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | let mut state: HashMap = include_str!("input.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day19/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let stripes = stripes_str [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day19/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | .map(|s| s.to_owned()) [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 | .map(|s: /* Type */| s.to_owned()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day19/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | (stripes, towels_str.to_owned()) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [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-2024` (bin "day06" test) due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day16/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | for (y, c) in line.chars().enumerate() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/day23/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day23/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | for line in include_str!("input.txt").lines() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [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-2024` (bin "day16") due to 2 previous errors [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/day11/main.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | .filter_map(|s| Some((s.parse::().ok()?, 1))) [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 | .filter_map(|s: /* Type */| Some((s.parse::().ok()?, 1))) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day16/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | for (y, c) in line.chars().enumerate() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day19") due to 4 previous errors [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day04") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day23/main.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let (lhs, rhs) = line.split_once("-").unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day23/main.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let lhs = lhs.to_string(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day23/main.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let rhs = rhs.to_string(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day12" test) due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [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-2024` (bin "day11") due to 2 previous errors [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day12") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day15") due to 2 previous errors [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day23") due to 4 previous errors [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day16" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "891d264596b827b95b481303091a37bdc61e005497c0bc062e2ab34c375c090e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "891d264596b827b95b481303091a37bdc61e005497c0bc062e2ab34c375c090e", kill_on_drop: false }` [INFO] [stdout] 891d264596b827b95b481303091a37bdc61e005497c0bc062e2ab34c375c090e