[INFO] cloning repository https://github.com/StckOverflw/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/StckOverflw/aoc-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStckOverflw%2Faoc-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStckOverflw%2Faoc-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4f997df108d575301839dc22ff8a270c177a2ce [INFO] checking StckOverflw/aoc-2022 against try#4e55a504843955c97eb06907c71f6f3e99208021 for pr-146978 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStckOverflw%2Faoc-2022" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/StckOverflw/aoc-2022 [INFO] finished tweaking git repo https://github.com/StckOverflw/aoc-2022 [INFO] tweaked toml for git repo https://github.com/StckOverflw/aoc-2022 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/StckOverflw/aoc-2022 on toolchain 4e55a504843955c97eb06907c71f6f3e99208021 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/StckOverflw/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" "+4e55a504843955c97eb06907c71f6f3e99208021" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 297f0c4171919cbe80f35cb316a439388d97fbb0f74c8d6025057bbc2bd5abc5 [INFO] running `Command { std: "docker" "start" "-a" "297f0c4171919cbe80f35cb316a439388d97fbb0f74c8d6025057bbc2bd5abc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "297f0c4171919cbe80f35cb316a439388d97fbb0f74c8d6025057bbc2bd5abc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "297f0c4171919cbe80f35cb316a439388d97fbb0f74c8d6025057bbc2bd5abc5", kill_on_drop: false }` [INFO] [stdout] 297f0c4171919cbe80f35cb316a439388d97fbb0f74c8d6025057bbc2bd5abc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9377127497d976ea0494c637a961f5bea8c20c6b0bd371217b7e51d449513607 [INFO] running `Command { std: "docker" "start" "-a" "9377127497d976ea0494c637a961f5bea8c20c6b0bd371217b7e51d449513607", kill_on_drop: false }` [INFO] [stderr] Checking aoc-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/bin/../../input/day10.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day10.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | let input = include_str!("../../input/day10.txt").lines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/day10.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day10.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | let input = include_str!("../../input/day10.txt").lines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/day11.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day11.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let input = include_str!("../../input/day11.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/day14.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day14.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let input = include_str!("../../input/day14.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/day6.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day06.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let input = include_str!("../../input/day6.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/day3.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day03.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | let input = include_str!("../../input/day3.txt").lines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/day15.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day15.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let input = include_str!("../../input/day15.txt").lines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/day15.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day15.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let input = include_str!("../../input/day15.txt").lines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day10.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | if instruction.starts_with("addx") { [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day10.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | if instruction.starts_with("addx") { [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day03.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | .map(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | let (first, second) = line.split_at(line.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] 7 | .map(|line: /* Type */| { [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] [stdout] error: couldn't read `src/bin/../../input/day12.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day12.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | let mut input: Vec> = include_str!("../../input/day12.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/day2.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day02.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | let input = include_str!("../../input/day2.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/day8.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day08.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | let input = include_str!("../../input/day8.txt").lines(); [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-2022` (bin "day06") due to 1 previous error [INFO] [stdout] error: couldn't read `src/bin/../../input/day5.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day05.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let input = include_str!("../../input/day5.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't read `src/bin/../../input/day7.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day07.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let input = include_str!("../../input/day7.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/day11.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day11.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let input = include_str!("../../input/day11.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/day6.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day06.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let input = include_str!("../../input/day6.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day11.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | .map(|monkey| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | let mut monkey = monkey.lines(); [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(|monkey: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day11.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | .map(|x| x.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] 18 | .map(|x: /* Type */| x.parse().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2022` (bin "day03" test) due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day15.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | .map(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | let mut parts = 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] 7 | .map(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2022` (bin "day10" test) due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day15.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | .map(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | let mut parts = 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] 7 | .map(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/day7.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day07.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let input = include_str!("../../input/day7.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day08.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | .map(|a| { [INFO] [stdout] | ^ [INFO] [stdout] 6 | a.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] 5 | .map(|a: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day02.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | .map(|line| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | let split: Vec<&str> = line.split(' ').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] 5 | .map(|line: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2022` (bin "day10") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day12.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | .map(|line| line.chars().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(|line: /* Type */| line.chars().collect()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day12.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | for (j, c) in row.iter().enumerate() { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day14.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | let coordinates: Vec<(usize, usize)> = line [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day08.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | .map(|char| char.to_string().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] 7 | .map(|char: /* Type */| char.to_string().parse().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day08.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | for (column_index, tree) in trees.clone().into_iter().enumerate() { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day08.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | for (column_index, tree) in trees.clone().into_iter().enumerate() { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day14.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | .map(|s| { [INFO] [stdout] | ^ [INFO] [stdout] 18 | let mut split = s.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 | .map(|s: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day14.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let min = x1.min(x2); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/bin/day12.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | .flat_map(|(i, row)| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | row.iter().enumerate().filter_map(move |(j, c)| { [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] 39 | .flat_map(|(i, row): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day14.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | let min = y1.min(y2); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day05.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(char) = crate_line.chars().nth(index) { [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[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day05.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | crate_lines.insert(char.to_string().parse().unwrap(), crate_chars); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day05.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | .map(|line| line.to_string()) [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] 56 | .map(|line: /* Type */| line.to_string()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day05.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|instruction_str| instruction_str.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] 57 | .map(|instruction_str: /* Type */| instruction_str.parse().unwrap()) [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] [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] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day11.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | .map(|monkey| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | let mut monkey = monkey.lines(); [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(|monkey: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day11.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | .map(|x| x.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] 18 | .map(|x: /* Type */| x.parse().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2022` (bin "day11" test) due to 3 previous errors [INFO] [stderr] error: could not compile `aoc-2022` (bin "day06" test) due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day07.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if line.starts_with("$ cd") { [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 `aoc-2022` (bin "day02" test) 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 `aoc-2022` (bin "day08" test) due to 5 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/day07.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if line.starts_with("$ cd") { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2022` (bin "day05") due to 5 previous errors [INFO] [stderr] error: could not compile `aoc-2022` (bin "day14" test) due to 5 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] [stderr] error: could not compile `aoc-2022` (bin "day12") due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2022` (bin "day15") due to 2 previous errors [INFO] [stderr] error: could not compile `aoc-2022` (bin "day07") due to 2 previous errors [INFO] [stderr] error: could not compile `aoc-2022` (bin "day11") due to 3 previous errors [INFO] [stderr] error: could not compile `aoc-2022` (bin "day15" test) due to 2 previous errors [INFO] [stderr] error: could not compile `aoc-2022` (bin "day07" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "9377127497d976ea0494c637a961f5bea8c20c6b0bd371217b7e51d449513607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9377127497d976ea0494c637a961f5bea8c20c6b0bd371217b7e51d449513607", kill_on_drop: false }` [INFO] [stdout] 9377127497d976ea0494c637a961f5bea8c20c6b0bd371217b7e51d449513607