[INFO] cloning repository https://github.com/im-alfa/AdventOfCode2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/im-alfa/AdventOfCode2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fim-alfa%2FAdventOfCode2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fim-alfa%2FAdventOfCode2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17ceaf54f09a024aa321877e88b234514898bb47 [INFO] checking im-alfa/AdventOfCode2024/17ceaf54f09a024aa321877e88b234514898bb47 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fim-alfa%2FAdventOfCode2024" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/im-alfa/AdventOfCode2024 [INFO] finished tweaking git repo https://github.com/im-alfa/AdventOfCode2024 [INFO] tweaked toml for git repo https://github.com/im-alfa/AdventOfCode2024 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/im-alfa/AdventOfCode2024 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/im-alfa/AdventOfCode2024 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bbdae6b147944ffa8bd0cdff69686f7c7f61a134bd7479bc5bd54b53643eef5 [INFO] running `Command { std: "docker" "start" "-a" "6bbdae6b147944ffa8bd0cdff69686f7c7f61a134bd7479bc5bd54b53643eef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bbdae6b147944ffa8bd0cdff69686f7c7f61a134bd7479bc5bd54b53643eef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bbdae6b147944ffa8bd0cdff69686f7c7f61a134bd7479bc5bd54b53643eef5", kill_on_drop: false }` [INFO] [stdout] 6bbdae6b147944ffa8bd0cdff69686f7c7f61a134bd7479bc5bd54b53643eef5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 478c8ff60745ac3869715a396c78bc561d86e8a208827074b8b4b51b61bb29ae [INFO] running `Command { std: "docker" "start" "-a" "478c8ff60745ac3869715a396c78bc561d86e8a208827074b8b4b51b61bb29ae", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking day4a v0.1.0 (/opt/rustwide/workdir/crates/day4a) [INFO] [stderr] Checking day10b v0.1.0 (/opt/rustwide/workdir/crates/day10b) [INFO] [stderr] Checking day4b v0.1.0 (/opt/rustwide/workdir/crates/day4b) [INFO] [stderr] Checking day6a v0.1.0 (/opt/rustwide/workdir/crates/day6a) [INFO] [stderr] Checking day8b v0.1.0 (/opt/rustwide/workdir/crates/day8b) [INFO] [stderr] Checking day8a v0.1.0 (/opt/rustwide/workdir/crates/day8a) [INFO] [stderr] Checking day1b v0.1.0 (/opt/rustwide/workdir/crates/day1b) [INFO] [stderr] Checking day10a v0.1.0 (/opt/rustwide/workdir/crates/day10a) [INFO] [stdout] error: couldn't read `crates/day4b/src/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> crates/day4b/src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let lines = include_bytes!("input.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `crates/day1b/src/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> crates/day1b/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | include_str!("input.txt").lines().for_each(|l| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `crates/day4a/src/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> crates/day4a/src/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let lines = include_bytes!("input.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `crates/day10b/src/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> crates/day10b/src/main.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | let data = include_bytes!("input.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `crates/day8b/src/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> crates/day8b/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | include_bytes!("input.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `crates/day10b/src/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> crates/day10b/src/main.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | let data = include_bytes!("input.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/day1b/src/main.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | include_str!("input.txt").lines().for_each(|l| { [INFO] [stdout] | ^ [INFO] [stdout] 9 | let mut iter = l.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 | include_str!("input.txt").lines().for_each(|l: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/day4a/src/main.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|l| l.windows(4).filter(|b| b == XMAS || b == SAMX).count()) [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] 51 | .map(|l: /* Type */| l.windows(4).filter(|b| b == XMAS || b == SAMX).count()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/day4a/src/main.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let x_pos = line [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/day4b/src/main.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let a_pos = line [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 `day4a` (bin "day4a" test) due to 3 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] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: couldn't read `crates/day8a/src/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> crates/day8a/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | include_bytes!("input.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day1b` (bin "day1b") due to 2 previous errors [INFO] [stdout] error: couldn't read `crates/day6a/src/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> crates/day6a/src/main.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let mut input = include_bytes!("input.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> crates/day10b/src/main.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | .fold(Vec::new(), |mut acc, (y, line)| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | line.iter().enumerate().for_each(|(x, &byte)| { [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] 44 | .fold(Vec::new(), |mut acc, (y, line): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/day10b/src/main.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | .fold(Vec::new(), |mut acc, (y, line)| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | acc.push((x, y)); [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] 44 | .fold(Vec::new(), |mut acc: /* Type */, (y, line)| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> crates/day10b/src/main.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | .fold(Vec::new(), |mut acc, (y, line)| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | line.iter().enumerate().for_each(|(x, &byte)| { [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] 44 | .fold(Vec::new(), |mut acc, (y, line): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/day10b/src/main.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | .fold(Vec::new(), |mut acc, (y, line)| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | acc.push((x, y)); [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] 44 | .fold(Vec::new(), |mut acc: /* Type */, (y, line)| { [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 `day10b` (bin "day10b" test) due to 3 previous errors [INFO] [stderr] error: could not compile `day4b` (bin "day4b") due to 2 previous errors [INFO] [stdout] error: couldn't read `crates/day6a/src/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> crates/day6a/src/main.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let mut input = include_bytes!("input.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, &_)` [INFO] [stdout] --> crates/day6a/src/main.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | .find_map(|(posy, &ref b)| match b.iter().position(|&b| b == b'^') { [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] 58 | .find_map(|(posy, &ref b): (_, &_)| match b.iter().position(|&b| b == b'^') { [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 for `(_, _)` [INFO] [stdout] --> crates/day8a/src/main.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | |mut acc: HashMap<&u8, Vec<_>>, (posy, b)| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | b.iter().enumerate().for_each(|(posx, b)| { [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] 18 | |mut acc: HashMap<&u8, Vec<_>>, (posy, b): (_, _)| { [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 for `(_, _)` [INFO] [stdout] --> crates/day8b/src/main.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | |mut acc: HashMap<&u8, Vec<_>>, (posy, b)| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | b.iter().enumerate().for_each(|(posx, b)| { [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] 18 | |mut acc: HashMap<&u8, Vec<_>>, (posy, b): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day10b` (bin "day10b") due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day6a` (bin "day6a" test) due to 2 previous errors [INFO] [stdout] error: couldn't read `crates/day10a/src/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> crates/day10a/src/main.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | let data = include_bytes!("input.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day8b` (bin "day8b") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> crates/day10a/src/main.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | .fold(Vec::new(), |mut acc, (y, line)| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 48 | line.iter().enumerate().for_each(|(x, &byte)| { [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] 47 | .fold(Vec::new(), |mut acc, (y, line): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/day10a/src/main.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | .fold(Vec::new(), |mut acc, (y, line)| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | acc.push((x, y)); [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] 47 | .fold(Vec::new(), |mut acc: /* Type */, (y, line)| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day10a` (bin "day10a") due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, &_)` [INFO] [stdout] --> crates/day6a/src/main.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | .find_map(|(posy, &ref b)| match b.iter().position(|&b| b == b'^') { [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] 58 | .find_map(|(posy, &ref b): (_, &_)| match b.iter().position(|&b| b == b'^') { [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 `day8a` (bin "day8a") 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 `day6a` (bin "day6a") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "478c8ff60745ac3869715a396c78bc561d86e8a208827074b8b4b51b61bb29ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "478c8ff60745ac3869715a396c78bc561d86e8a208827074b8b4b51b61bb29ae", kill_on_drop: false }` [INFO] [stdout] 478c8ff60745ac3869715a396c78bc561d86e8a208827074b8b4b51b61bb29ae