[INFO] cloning repository https://github.com/nickdavies/advent-of-code-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nickdavies/advent-of-code-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickdavies%2Fadvent-of-code-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickdavies%2Fadvent-of-code-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] facf3a512bd7803e56f67b8b53db201374a2c8c1 [INFO] testing nickdavies/advent-of-code-2022 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickdavies%2Fadvent-of-code-2022" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/nickdavies/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/nickdavies/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/nickdavies/advent-of-code-2022 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nickdavies/advent-of-code-2022 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/nickdavies/advent-of-code-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/nickdavies/advent-of-code.git` [INFO] [stderr] Updating git repository `https://github.com/nickdavies/aoc-lib.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded either v1.9.0 [INFO] [stderr] Downloaded anyhow v1.0.75 [INFO] [stderr] Downloaded num-traits v0.2.17 [INFO] [stderr] Downloaded indexmap v2.1.0 [INFO] [stderr] Downloaded memchr v2.6.4 [INFO] [stderr] Downloaded itertools v0.12.0 [INFO] [stderr] Downloaded petgraph v0.6.4 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01f9606b59fc620eeeb2a7f1d27fe96e24a5a5b1daea44e32eba1902c3ee15ca [INFO] running `Command { std: "docker" "start" "-a" "01f9606b59fc620eeeb2a7f1d27fe96e24a5a5b1daea44e32eba1902c3ee15ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01f9606b59fc620eeeb2a7f1d27fe96e24a5a5b1daea44e32eba1902c3ee15ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01f9606b59fc620eeeb2a7f1d27fe96e24a5a5b1daea44e32eba1902c3ee15ca", kill_on_drop: false }` [INFO] [stdout] 01f9606b59fc620eeeb2a7f1d27fe96e24a5a5b1daea44e32eba1902c3ee15ca [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eef21c1fac038f87d296b891db284ea75bf4246484f9fc14022babbe6c195a45 [INFO] running `Command { std: "docker" "start" "-a" "eef21c1fac038f87d296b891db284ea75bf4246484f9fc14022babbe6c195a45", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling aoc-lib v0.1.0 (https://github.com/nickdavies/aoc-lib.git#b36ba54b) [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling advent-of-code v0.10.0 (https://github.com/nickdavies/advent-of-code.git#462a71d4) [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling aoc_solutions v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `parse` in `aoc_lib` [INFO] [stdout] --> src/bin/03.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use aoc_lib::parse::preamble::*; [INFO] [stdout] | ^^^^^ could not find `parse` in `aoc_lib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `parse` in `aoc_lib` [INFO] [stdout] --> src/bin/09.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use aoc_lib::parse::preamble::*; [INFO] [stdout] | ^^^^^ could not find `parse` in `aoc_lib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `parse` in `aoc_lib` [INFO] [stdout] --> src/bin/04.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use aoc_lib::parse::preamble::*; [INFO] [stdout] | ^^^^^ could not find `parse` in `aoc_lib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `parse` in `aoc_lib` [INFO] [stdout] --> src/bin/01.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use aoc_lib::parse::preamble::*; [INFO] [stdout] | ^^^^^ could not find `parse` in `aoc_lib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `parse` in `aoc_lib` [INFO] [stdout] --> src/bin/02.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use aoc_lib::parse::preamble::*; [INFO] [stdout] | ^^^^^ could not find `parse` in `aoc_lib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aoc_lib::grid::CountingMap` [INFO] [stdout] --> src/bin/08.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use aoc_lib::grid::{CountingMap, Direction, Map}; [INFO] [stdout] | ^^^^^^^^^^^ no `CountingMap` in `grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LineSplitter` in this scope [INFO] [stdout] --> src/bin/09.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | LineSplitter, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ParseFromStr` in this scope [INFO] [stdout] --> src/bin/09.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | ParseFromStr, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LineSplitter` in this scope [INFO] [stdout] --> src/bin/03.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | LineSplitter, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Identity` in this scope [INFO] [stdout] --> src/bin/03.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | SplitMiddle(Chars(Identity), Chars(Identity)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Identity` in this scope [INFO] [stdout] --> src/bin/03.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | SplitMiddle(Chars(Identity), Chars(Identity)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LineSplitter` in this scope [INFO] [stdout] --> src/bin/03.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | parse_input(LineSplitter, Chars(Identity), input).context("failed to parse input")?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Identity` in this scope [INFO] [stdout] --> src/bin/03.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | parse_input(LineSplitter, Chars(Identity), input).context("failed to parse input")?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `aoc_lib::grid::Map` in the current scope [INFO] [stdout] --> src/bin/08.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | let map: Map = Map::parse(input, |c| c.to_digit(10).context("failed to parse digit")) [INFO] [stdout] | ^^^^^ function or associated item not found in `aoc_lib::grid::Map<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/08.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | let map: Map = Map::parse(input, |c| c.to_digit(10).context("failed to parse digit")) [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 | let map: Map = Map::parse(input, |c: /* Type */| c.to_digit(10).context("failed to parse digit")) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ParseFn` in this scope [INFO] [stdout] --> src/bin/09.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | SingleChar(ParseFn(|c| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `aoc_lib::grid::Map` in the current scope [INFO] [stdout] --> src/bin/08.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | let map: Map = Map::parse(input, |c| c.to_digit(10).context("failed to parse digit")) [INFO] [stdout] | ^^^^^ function or associated item not found in `aoc_lib::grid::Map<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/08.rs:36:44 [INFO] [stdout] | [INFO] [stdout] 36 | let map: Map = Map::parse(input, |c| c.to_digit(10).context("failed to parse digit")) [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] 36 | let map: Map = Map::parse(input, |c: /* Type */| c.to_digit(10).context("failed to parse digit")) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SingleChar` in this scope [INFO] [stdout] --> src/bin/09.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | SingleChar(ParseFn(|c| { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ParseTuple2` in this scope [INFO] [stdout] --> src/bin/09.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | ParseTuple2( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_input` in this scope [INFO] [stdout] --> src/bin/09.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | parse_input( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/08.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | let mut current = loc.clone(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ParseFromStr` in this scope [INFO] [stdout] --> src/bin/01.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | ParseVec(ParseFromStr), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ParseFromStr` in this scope [INFO] [stdout] --> src/bin/01.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | ParseVec(ParseFromStr), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LineSplitter` in this scope [INFO] [stdout] --> src/bin/04.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | LineSplitter, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ParseFromStr` in this scope [INFO] [stdout] --> src/bin/04.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | ParseTuple2(ParseFromStr, ParseFromStr, "-"), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ParseFromStr` in this scope [INFO] [stdout] --> src/bin/04.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | ParseTuple2(ParseFromStr, ParseFromStr, "-"), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ParseFromStr` in this scope [INFO] [stdout] --> src/bin/04.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | ParseTuple2(ParseFromStr, ParseFromStr, "-"), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ParseFromStr` in this scope [INFO] [stdout] --> src/bin/04.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | ParseTuple2(ParseFromStr, ParseFromStr, "-"), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineGroupSplitter` [INFO] [stdout] --> src/bin/01.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | LineGroupSplitter::blankline(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `LineGroupSplitter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ParseVec` in this scope [INFO] [stdout] --> src/bin/01.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | ParseVec(ParseFromStr), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_input` in this scope [INFO] [stdout] --> src/bin/01.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | let data: Vec> = parse_input( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Chars` in this scope [INFO] [stdout] --> src/bin/03.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | SplitMiddle(Chars(Identity), Chars(Identity)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Chars` in this scope [INFO] [stdout] --> src/bin/03.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | SplitMiddle(Chars(Identity), Chars(Identity)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ParseTuple2` in this scope [INFO] [stdout] --> src/bin/04.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ParseTuple2(ParseFromStr, ParseFromStr, "-"), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ParseTuple2` in this scope [INFO] [stdout] --> src/bin/04.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | ParseTuple2(ParseFromStr, ParseFromStr, "-"), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ParseTuple2` in this scope [INFO] [stdout] --> src/bin/04.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | ParseTuple2( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SplitMiddle` in this scope [INFO] [stdout] --> src/bin/03.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | SplitMiddle(Chars(Identity), Chars(Identity)), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_input` in this scope [INFO] [stdout] --> src/bin/03.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | let data: Vec<(Vec, Vec)> = parse_input( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_input` in this scope [INFO] [stdout] --> src/bin/04.rs:24:47 [INFO] [stdout] | [INFO] [stdout] 24 | let data: Vec<((u32, u32), (u32, u32))> = parse_input( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/01.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | Ok(data.into_iter().map(|e| e.into_iter().sum()).max()) [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 | Ok(data.into_iter().map(|e: /* Type */| e.into_iter().sum()).max()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineGroupSplitter` [INFO] [stdout] --> src/bin/01.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | LineGroupSplitter::blankline(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `LineGroupSplitter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ParseVec` in this scope [INFO] [stdout] --> src/bin/01.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ParseVec(ParseFromStr), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_input` in this scope [INFO] [stdout] --> src/bin/01.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | let data: Vec> = parse_input( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/01.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | h.push(elf.into_iter().sum()); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LineSplitter` in this scope [INFO] [stdout] --> src/bin/02.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | LineSplitter, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_solutions` (bin "08") due to 6 previous errors [INFO] [stdout] error[E0425]: cannot find value `TryFromChar` in this scope [INFO] [stdout] --> src/bin/02.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | ParseTuple2(SingleChar(TryFromChar), SingleChar(TryFromChar), " "), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `TryFromChar` in this scope [INFO] [stdout] --> src/bin/02.rs:106:57 [INFO] [stdout] | [INFO] [stdout] 106 | ParseTuple2(SingleChar(TryFromChar), SingleChar(TryFromChar), " "), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LineSplitter` in this scope [INFO] [stdout] --> src/bin/02.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | LineSplitter, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TryFromChar` in this scope [INFO] [stdout] --> src/bin/02.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | ParseTuple2(SingleChar(TryFromChar), SingleChar(TryFromChar), " "), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TryFromChar` in this scope [INFO] [stdout] --> src/bin/02.rs:123:57 [INFO] [stdout] | [INFO] [stdout] 123 | ParseTuple2(SingleChar(TryFromChar), SingleChar(TryFromChar), " "), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `aoc_lib::grid::Map` in the current scope [INFO] [stdout] --> src/bin/12.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | *cost_map.get_mut(¤t) = Some(dist); [INFO] [stdout] | ^^^^^^^ method not found in `aoc_lib::grid::Map>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 24 | *cost_map.0.get_mut(¤t) = Some(dist); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/03.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let l: BTreeSet = l.into_iter().collect(); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/03.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | let r: BTreeSet = r.into_iter().collect(); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Chars` in this scope [INFO] [stdout] --> src/bin/03.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | parse_input(LineSplitter, Chars(Identity), input).context("failed to parse input")?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_input` in this scope [INFO] [stdout] --> src/bin/03.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | parse_input(LineSplitter, Chars(Identity), input).context("failed to parse input")?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `aoc_lib::grid::Map` in the current scope [INFO] [stdout] --> src/bin/12.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | let mut heights: Map = Map::parse(input, |c| Ok::(c as u32)).unwrap(); [INFO] [stdout] | ^^^^^ function or associated item not found in `aoc_lib::grid::Map<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/03.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | assert!(chunk.len() == 3); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_solutions` (bin "09") due to 7 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_solutions` (bin "04") due to 10 previous errors [INFO] [stderr] error: could not compile `aoc_solutions` (bin "01") due to 11 previous errors [INFO] [stderr] error: could not compile `aoc_solutions` (bin "03") due to 15 previous errors [INFO] [stderr] error: could not compile `aoc_solutions` (bin "12") due to 2 previous errors [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SingleChar` in this scope [INFO] [stdout] --> src/bin/02.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | ParseTuple2(SingleChar(TryFromChar), SingleChar(TryFromChar), " "), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SingleChar` in this scope [INFO] [stdout] --> src/bin/02.rs:106:46 [INFO] [stdout] | [INFO] [stdout] 106 | ParseTuple2(SingleChar(TryFromChar), SingleChar(TryFromChar), " "), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ParseTuple2` in this scope [INFO] [stdout] --> src/bin/02.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | ParseTuple2(SingleChar(TryFromChar), SingleChar(TryFromChar), " "), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_input` in this scope [INFO] [stdout] --> src/bin/02.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | let data: Vec<(Turn, Turn)> = parse_input( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/02.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | let outcome = me.vs(&op); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SingleChar` in this scope [INFO] [stdout] --> src/bin/02.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | ParseTuple2(SingleChar(TryFromChar), SingleChar(TryFromChar), " "), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SingleChar` in this scope [INFO] [stdout] --> src/bin/02.rs:123:46 [INFO] [stdout] | [INFO] [stdout] 123 | ParseTuple2(SingleChar(TryFromChar), SingleChar(TryFromChar), " "), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ParseTuple2` in this scope [INFO] [stdout] --> src/bin/02.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | ParseTuple2(SingleChar(TryFromChar), SingleChar(TryFromChar), " "), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_input` in this scope [INFO] [stdout] --> src/bin/02.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | let data: Vec<(Turn, Outcome)> = parse_input( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/02.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | let me = &op.force_outcome(&outcome); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/02.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | out += me.score() + outcome.score(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_solutions` (bin "02") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "eef21c1fac038f87d296b891db284ea75bf4246484f9fc14022babbe6c195a45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef21c1fac038f87d296b891db284ea75bf4246484f9fc14022babbe6c195a45", kill_on_drop: false }` [INFO] [stdout] eef21c1fac038f87d296b891db284ea75bf4246484f9fc14022babbe6c195a45