[INFO] cloning repository https://github.com/Matthias-Fauconneau/aoc2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Matthias-Fauconneau/aoc2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthias-Fauconneau%2Faoc2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthias-Fauconneau%2Faoc2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b97fcd4e19e600c67e8767f08b8568fa0b3516f1 [INFO] checking Matthias-Fauconneau/aoc2023 against try#e983148bd5f0f0db270bfb72149f5e892e68b67f for pr-150322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthias-Fauconneau%2Faoc2023" "/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/Matthias-Fauconneau/aoc2023 [INFO] finished tweaking git repo https://github.com/Matthias-Fauconneau/aoc2023 [INFO] tweaked toml for git repo https://github.com/Matthias-Fauconneau/aoc2023 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Matthias-Fauconneau/aoc2023 on toolchain e983148bd5f0f0db270bfb72149f5e892e68b67f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Matthias-Fauconneau/aoc2023 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" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fehler-macros v1.0.0 [INFO] [stderr] Downloaded fehler v1.0.0 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16921a45cc8c60537169b0857856d2828ecfe58d214f1cfd5316286df0a18921 [INFO] running `Command { std: "docker" "start" "-a" "16921a45cc8c60537169b0857856d2828ecfe58d214f1cfd5316286df0a18921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16921a45cc8c60537169b0857856d2828ecfe58d214f1cfd5316286df0a18921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16921a45cc8c60537169b0857856d2828ecfe58d214f1cfd5316286df0a18921", kill_on_drop: false }` [INFO] [stdout] 16921a45cc8c60537169b0857856d2828ecfe58d214f1cfd5316286df0a18921 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3efd046565ef7f5a0338f9a53aec2a500ccf58275f00cbd7f2465d6e8e874ce [INFO] running `Command { std: "docker" "start" "-a" "e3efd046565ef7f5a0338f9a53aec2a500ccf58275f00cbd7f2465d6e8e874ce", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fehler-macros v1.0.0 [INFO] [stderr] Checking fehler v1.0.0 [INFO] [stderr] Checking advent_of_code v0.9.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `array_windows` has been stable since 1.94.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/bin/18.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(array_windows, get_many_mut)]#![allow(non_snake_case)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `get_many_mut` has been stable since 1.86.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/bin/18.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(array_windows, get_many_mut)]#![allow(non_snake_case)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `array_windows` has been stable since 1.94.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/bin/09.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(array_windows)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> src/bin/21.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | let rows = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | let mut steps = vec![rows.iter().enumerate().find_map(|(i,row)| row.iter().enumerate().find_map(|(j,&c)| (c=='S').then_some(j)).m... [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 4 | let rows: Box<_> = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/bin/21.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | let mut steps = vec![rows.iter().enumerate().find_map(|(i,row)| row.iter().enumerate().find_map(|(j,&c)| (c=='S').then_some(j)).m... [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] 5 | let mut steps = vec![rows.iter().enumerate().find_map(|(i,row): (_, _)| row.iter().enumerate().find_map(|(j,&c)| (c=='S').then_some(j)).map(|j| [i as _,j as _])).unwrap()]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> src/bin/21.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | let rows = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | let mut steps = vec![rows.iter().enumerate().find_map(|(i,row)| row.iter().enumerate().find_map(|(j,&c)| (c=='S').then_some(j)).m... [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 4 | let rows: Box<_> = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> src/bin/21.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | let rows = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | let mut steps = vec![rows.iter().enumerate().find_map(|(i,row)| row.iter().enumerate().find_map(|(j,&c)| (c=='S').then_some(j)).... [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 20 | let rows: Box<_> = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/bin/21.rs:21:57 [INFO] [stdout] | [INFO] [stdout] 21 | let mut steps = vec![rows.iter().enumerate().find_map(|(i,row)| row.iter().enumerate().find_map(|(j,&c)| (c=='S').then_some(j)).... [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] 21 | let mut steps = vec![rows.iter().enumerate().find_map(|(i,row): (_, _)| row.iter().enumerate().find_map(|(j,&c)| (c=='S').then_some(j)).map(|j| [i as _,j as _])).unwrap()]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/bin/21.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | let mut steps = vec![rows.iter().enumerate().find_map(|(i,row)| row.iter().enumerate().find_map(|(j,&c)| (c=='S').then_some(j)).m... [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] 5 | let mut steps = vec![rows.iter().enumerate().find_map(|(i,row): (_, _)| row.iter().enumerate().find_map(|(j,&c)| (c=='S').then_some(j)).map(|j| [i as _,j as _])).unwrap()]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> src/bin/21.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | let rows = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | let mut steps = vec![rows.iter().enumerate().find_map(|(i,row)| row.iter().enumerate().find_map(|(j,&c)| (c=='S').then_some(j)).... [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 20 | let rows: Box<_> = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/bin/21.rs:21:57 [INFO] [stdout] | [INFO] [stdout] 21 | let mut steps = vec![rows.iter().enumerate().find_map(|(i,row)| row.iter().enumerate().find_map(|(j,&c)| (c=='S').then_some(j)).... [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] 21 | let mut steps = vec![rows.iter().enumerate().find_map(|(i,row): (_, _)| row.iter().enumerate().find_map(|(j,&c)| (c=='S').then_some(j)).map(|j| [i as _,j as _])).unwrap()]; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/18.rs:51:90 [INFO] [stdout] | [INFO] [stdout] 51 | walk([rows, columns], trace, [i as isize, j as _]).map(|_| trace.into_iter().filter(|&&x| x).count()) [INFO] [stdout] | -^^ [INFO] [stdout] | || [INFO] [stdout] | |types differ in mutability [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut bool` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing `&` from the pattern [INFO] [stdout] | [INFO] [stdout] 51 - walk([rows, columns], trace, [i as isize, j as _]).map(|_| trace.into_iter().filter(|&&x| x).count()) [INFO] [stdout] 51 + walk([rows, columns], trace, [i as isize, j as _]).map(|_| trace.into_iter().filter(|&x| x).count()) [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 `advent_of_code` (bin "21") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> src/bin/12.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | let lines = input.lines().collect::>(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | println!(""); [INFO] [stdout] 27 | lines.iter().enumerate().map(|(i,line)| { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `lines` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 25 | let lines: Box<_> = input.lines().collect::>(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/bin/12.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | lines.iter().enumerate().map(|(i,line)| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | let (springs, damage) = line.split_once(' ').unwrap(); [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] 27 | lines.iter().enumerate().map(|(i,line): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/12.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | let springs = std::iter::repeat(springs).take(5).collect::>().join("?"); [INFO] [stdout] | ^^^^^^^ cannot infer type of the type parameter `B` declared on the method `collect` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 29 - let springs = std::iter::repeat(springs).take(5).collect::>().join("?"); [INFO] [stdout] 29 + let springs = std::iter::repeat(springs).take(5).collect::>().join("?"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/12.rs:30:50 [INFO] [stdout] | [INFO] [stdout] 30 | let damage = std::iter::repeat(damage).take(5).collect::>().join(","); [INFO] [stdout] | ^^^^^^^ cannot infer type of the type parameter `B` declared on the method `collect` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 30 - let damage = std::iter::repeat(damage).take(5).collect::>().join(","); [INFO] [stdout] 30 + let damage = std::iter::repeat(damage).take(5).collect::>().join(","); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/12.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | let damage = damage.split(',').map(|n| n.parse::().unwrap()).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] 31 | let damage = damage.split(',').map(|n: /* Type */| n.parse::().unwrap()).collect::>(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `array_chunks` [INFO] [stdout] --> src/bin/17.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(array_chunks)] [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 `advent_of_code` (bin "12") due to 5 previous errors [INFO] [stderr] error: could not compile `advent_of_code` (bin "21" test) due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> src/bin/12.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | let lines = input.lines().collect::>(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | println!(""); [INFO] [stdout] 27 | lines.iter().enumerate().map(|(i,line)| { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `lines` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 25 | let lines: Box<_> = input.lines().collect::>(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/bin/12.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | lines.iter().enumerate().map(|(i,line)| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | let (springs, damage) = line.split_once(' ').unwrap(); [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] 27 | lines.iter().enumerate().map(|(i,line): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/12.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | let springs = std::iter::repeat(springs).take(5).collect::>().join("?"); [INFO] [stdout] | ^^^^^^^ cannot infer type of the type parameter `B` declared on the method `collect` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 29 - let springs = std::iter::repeat(springs).take(5).collect::>().join("?"); [INFO] [stdout] 29 + let springs = std::iter::repeat(springs).take(5).collect::>().join("?"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/12.rs:30:50 [INFO] [stdout] | [INFO] [stdout] 30 | let damage = std::iter::repeat(damage).take(5).collect::>().join(","); [INFO] [stdout] | ^^^^^^^ cannot infer type of the type parameter `B` declared on the method `collect` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 30 - let damage = std::iter::repeat(damage).take(5).collect::>().join(","); [INFO] [stdout] 30 + let damage = std::iter::repeat(damage).take(5).collect::>().join(","); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/12.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | let damage = damage.split(',').map(|n| n.parse::().unwrap()).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] 31 | let damage = damage.split(',').map(|n: /* Type */| n.parse::().unwrap()).collect::>(); [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 E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "17" test) due to 1 previous error [INFO] [stderr] error: could not compile `advent_of_code` (bin "12" test) due to 5 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> src/bin/16.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | let ref geometry = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | let ref mut beams = geometry.iter().map(|line| line.iter().map(|_| Vec::new()).collect::>()).collect::>(); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 4 | let ref geometry: Box<_> = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/16.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | let ref mut beams = geometry.iter().map(|line| line.iter().map(|_| Vec::new()).collect::>()).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 | let ref mut beams = geometry.iter().map(|line: /* Type */| line.iter().map(|_| Vec::new()).collect::>()).collect::>(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/16.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | println!("\n{}", beams.iter().format_with("\n", |e,f| f(&e.iter().format_with("", |e,f| f(&match e[..] { [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 | println!("\n{}", beams.iter().format_with("\n", |e: /* Type */,f| f(&e.iter().format_with("", |e,f| f(&match e[..] { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> src/bin/13.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | let image = image.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | let row = || -> usize { [INFO] [stdout] 7 | 'next_row: for i in 1..image.len() { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `image` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 5 | let image: Box<_> = image.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/16.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | beams.into_iter().map(|row| row.into_iter()).flatten().filter(|&e| !e.is_empty()).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] 45 | beams.into_iter().map(|row: /* Type */| row.into_iter()).flatten().filter(|&e| !e.is_empty()).count() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> src/bin/16.rs:45:65 [INFO] [stdout] | [INFO] [stdout] 45 | beams.into_iter().map(|row| row.into_iter()).flatten().filter(|&e| !e.is_empty()).count() [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] 45 | beams.into_iter().map(|row| row.into_iter()).flatten().filter(|&e: &_| !e.is_empty()).count() [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `array_windows` has been stable since 1.94.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/bin/09.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(array_windows)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> src/bin/16.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | let ref geometry = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | (0..geometry.len()).map(|i| ([i, 0], [0, 1])).chain( [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 49 | let ref geometry: Box<_> = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/16.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | let ref mut beams = geometry.iter().map(|line| line.iter().map(|_| Vec::new()).collect::>()).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] 56 | let ref mut beams = geometry.iter().map(|line: /* Type */| line.iter().map(|_| Vec::new()).collect::>()).collect::>(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/16.rs:84:52 [INFO] [stdout] | [INFO] [stdout] 84 | println!("\n{}", beams.iter().format_with("\n", |e,f| f(&e.iter().format_with("", |e,f| f(&match e[..] { [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] 84 | println!("\n{}", beams.iter().format_with("\n", |e: /* Type */,f| f(&e.iter().format_with("", |e,f| f(&match e[..] { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/16.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | beams.into_iter().map(|row| row.into_iter()).flatten().filter(|&e| !e.is_empty()).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] 96 | beams.into_iter().map(|row: /* Type */| row.into_iter()).flatten().filter(|&e| !e.is_empty()).count() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> src/bin/16.rs:96:66 [INFO] [stdout] | [INFO] [stdout] 96 | beams.into_iter().map(|row| row.into_iter()).flatten().filter(|&e| !e.is_empty()).count() [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] 96 | beams.into_iter().map(|row| row.into_iter()).flatten().filter(|&e: &_| !e.is_empty()).count() [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 `advent_of_code` (bin "16" test) due to 10 previous errors [INFO] [stdout] error[E0599]: no method named `get_many_mut` found for struct `Vec<[isize; 2]>` in the current scope [INFO] [stdout] --> src/bin/18.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | let [A,B,C,D] = polygon.get_many_mut([a,b,c,d]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 88 - let [A,B,C,D] = polygon.get_many_mut([a,b,c,d]).unwrap(); [INFO] [stdout] 88 + let [A,B,C,D] = polygon.get_mut([a,b,c,d]).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> src/bin/11.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | let space = input.lines().map(|row| row.chars().collect::>()).collect::>(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | use itertools::Itertools; [INFO] [stdout] 18 | println!("\n{}", space.iter().format_with("\n", |row, f| f(&row.iter().collect::()))); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `space` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 16 | let space: Box<_> = input.lines().map(|row| row.chars().collect::>()).collect::>(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/11.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | println!("\n{}", space.iter().format_with("\n", |row, f| f(&row.iter().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] 18 | println!("\n{}", space.iter().format_with("\n", |row: /* Type */, f| f(&row.iter().collect::()))); [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] --> src/bin/11.rs:23:47 [INFO] [stdout] | [INFO] [stdout] 23 | let galaxies = space.iter().enumerate().map(|(i, row)| row.iter().enumerate().filter_map(move |(j, &c)| (c=='#').then_some([i,j]... [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] 23 | let galaxies = space.iter().enumerate().map(|(i, row): (_, _)| row.iter().enumerate().filter_map(move |(j, &c)| (c=='#').then_some([i,j]))).flatten().collect::>(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/bin/11.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | galaxies.iter().tuple_combinations().map(|(a,b)| a.iter().zip(b).zip([rows_without_galaxies, columns_without_galaxies]).map(|((&... [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] 26 | galaxies.iter().tuple_combinations().map(|(a,b): (_, _)| a.iter().zip(b).zip([rows_without_galaxies, columns_without_galaxies]).map(|((&a,&b), expand)| [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "13" test) due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed for `((&_, &_), _)` [INFO] [stdout] --> src/bin/11.rs:26:127 [INFO] [stdout] | [INFO] [stdout] 26 | ...alaxies.iter().tuple_combinations().map(|(a,b)| a.iter().zip(b).zip([rows_without_galaxies, columns_without_galaxies]).map(|((&a,&b), expand)| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | ... a.abs_diff(b)+(min(a,b)..max(a,b)).filter(|i| expand.contains(i)).count()*(1000000-1)).sum::()).sum::() [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] 26 | galaxies.iter().tuple_combinations().map(|(a,b)| a.iter().zip(b).zip([rows_without_galaxies, columns_without_galaxies]).map(|((&a,&b), expand): ((&_, &_), _)| [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "18") due to 2 previous errors; 2 warnings emitted [INFO] [stdout] error[E0282]: type annotations needed for `((&{type error}, &{type error}), _)` [INFO] [stdout] --> src/bin/11.rs:26:127 [INFO] [stdout] | [INFO] [stdout] 26 | ...ns().map(|(a,b)| a.iter().zip(b).zip([rows_without_galaxies, columns_without_galaxies]).map(|((&a,&b), expand)| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | ...(a,b)).filter(|i| expand.contains(i)).count()*(1000000-1)).sum::()).sum::() [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] 26 | galaxies.iter().tuple_combinations().map(|(a,b)| a.iter().zip(b).zip([rows_without_galaxies, columns_without_galaxies]).map(|((&a,&b), expand): ((&_, &_), _)| [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "11" test) due to 6 previous errors [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> src/bin/16.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | let ref geometry = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | let ref mut beams = geometry.iter().map(|line| line.iter().map(|_| Vec::new()).collect::>()).collect::>(); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 4 | let ref geometry: Box<_> = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/16.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | let ref mut beams = geometry.iter().map(|line| line.iter().map(|_| Vec::new()).collect::>()).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 | let ref mut beams = geometry.iter().map(|line: /* Type */| line.iter().map(|_| Vec::new()).collect::>()).collect::>(); [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/16.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | println!("\n{}", beams.iter().format_with("\n", |e,f| f(&e.iter().format_with("", |e,f| f(&match e[..] { [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 | println!("\n{}", beams.iter().format_with("\n", |e: /* Type */,f| f(&e.iter().format_with("", |e,f| f(&match e[..] { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/16.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | beams.into_iter().map(|row| row.into_iter()).flatten().filter(|&e| !e.is_empty()).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] 45 | beams.into_iter().map(|row: /* Type */| row.into_iter()).flatten().filter(|&e| !e.is_empty()).count() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> src/bin/16.rs:45:65 [INFO] [stdout] | [INFO] [stdout] 45 | beams.into_iter().map(|row| row.into_iter()).flatten().filter(|&e| !e.is_empty()).count() [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] 45 | beams.into_iter().map(|row| row.into_iter()).flatten().filter(|&e: &_| !e.is_empty()).count() [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> src/bin/16.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | let ref geometry = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | (0..geometry.len()).map(|i| ([i, 0], [0, 1])).chain( [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 49 | let ref geometry: Box<_> = input.lines().map(|line| line.chars().collect::>()).collect::>(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/16.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | let ref mut beams = geometry.iter().map(|line| line.iter().map(|_| Vec::new()).collect::>()).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] 56 | let ref mut beams = geometry.iter().map(|line: /* Type */| line.iter().map(|_| Vec::new()).collect::>()).collect::>(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/16.rs:84:52 [INFO] [stdout] | [INFO] [stdout] 84 | println!("\n{}", beams.iter().format_with("\n", |e,f| f(&e.iter().format_with("", |e,f| f(&match e[..] { [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] 84 | println!("\n{}", beams.iter().format_with("\n", |e: /* Type */,f| f(&e.iter().format_with("", |e,f| f(&match e[..] { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/16.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | beams.into_iter().map(|row| row.into_iter()).flatten().filter(|&e| !e.is_empty()).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] 96 | beams.into_iter().map(|row: /* Type */| row.into_iter()).flatten().filter(|&e| !e.is_empty()).count() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> src/bin/16.rs:96:66 [INFO] [stdout] | [INFO] [stdout] 96 | beams.into_iter().map(|row| row.into_iter()).flatten().filter(|&e| !e.is_empty()).count() [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] 96 | beams.into_iter().map(|row| row.into_iter()).flatten().filter(|&e: &_| !e.is_empty()).count() [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 `advent_of_code` (bin "16") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "e3efd046565ef7f5a0338f9a53aec2a500ccf58275f00cbd7f2465d6e8e874ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3efd046565ef7f5a0338f9a53aec2a500ccf58275f00cbd7f2465d6e8e874ce", kill_on_drop: false }` [INFO] [stdout] e3efd046565ef7f5a0338f9a53aec2a500ccf58275f00cbd7f2465d6e8e874ce