[INFO] cloning repository https://github.com/mariusdr/AdventOfCode2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mariusdr/AdventOfCode2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmariusdr%2FAdventOfCode2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmariusdr%2FAdventOfCode2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea8e976ef73c88e9914b80ab4eeaa1358db034e7 [INFO] checking mariusdr/AdventOfCode2022 against master#0f353363965ebf05e0757f7679c800b39c51a07e for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmariusdr%2FAdventOfCode2022" "/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/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/mariusdr/AdventOfCode2022 [INFO] finished tweaking git repo https://github.com/mariusdr/AdventOfCode2022 [INFO] tweaked toml for git repo https://github.com/mariusdr/AdventOfCode2022 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mariusdr/AdventOfCode2022 on toolchain 0f353363965ebf05e0757f7679c800b39c51a07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mariusdr/AdventOfCode2022 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" "+0f353363965ebf05e0757f7679c800b39c51a07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 536eb944a945555cadfd0d9c361b9803c3a66fecddfc45340cc8a84b1e665d79 [INFO] running `Command { std: "docker" "start" "-a" "536eb944a945555cadfd0d9c361b9803c3a66fecddfc45340cc8a84b1e665d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "536eb944a945555cadfd0d9c361b9803c3a66fecddfc45340cc8a84b1e665d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "536eb944a945555cadfd0d9c361b9803c3a66fecddfc45340cc8a84b1e665d79", kill_on_drop: false }` [INFO] [stdout] 536eb944a945555cadfd0d9c361b9803c3a66fecddfc45340cc8a84b1e665d79 [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1657f42601a0a5113e35efca845b9ca6cdc164538a4fdd2e4c673bd0665a821 [INFO] running `Command { std: "docker" "start" "-a" "a1657f42601a0a5113e35efca845b9ca6cdc164538a4fdd2e4c673bd0665a821", kill_on_drop: false }` [INFO] [stderr] Checking AdventOfCode2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/day13/main.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if let Expr::Atom(x) = self && let Expr::Atom(y) = other { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/day13/main.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 105 | if let Expr::Atom(x) = self && let Expr::Atom(y) = other { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/day13/main.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | if let Expr::Atom(x) = self && let Expr::List(_) = other { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/day13/main.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | if let Expr::Atom(x) = self && let Expr::List(_) = other { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/day13/main.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | if let Expr::List(_) = self && let Expr::Atom(y) = other { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/day13/main.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | if let Expr::List(_) = self && let Expr::Atom(y) = other { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/day13/main.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | if let Expr::List(xs) = self && let Expr::List(ys) = other { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/day13/main.rs:116:41 [INFO] [stdout] | [INFO] [stdout] 116 | if let Expr::List(xs) = self && let Expr::List(ys) = other { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/day14/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/day14/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/day12/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/day7/main.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cell::{RefCell, Cell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/day13/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day17/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/day17/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PrefixComponent` [INFO] [stdout] --> src/day17/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::PrefixComponent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `file` [INFO] [stdout] --> src/day6/main.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 58 | let file = File::open(&argv[1])?; [INFO] [stdout] | ---- move occurs because `file` has type `File`, which does not implement the `Copy` trait [INFO] [stdout] 59 | challenge1(file)?; [INFO] [stdout] | ---- value moved here [INFO] [stdout] 60 | challenge2(file)?; [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `challenge1` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/day6/main.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | fn challenge1(file: File) -> std::io::Result<()> { [INFO] [stdout] | ---------- ^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] warning: function `trace_sand_unit` is never used [INFO] [stdout] --> src/day14/main.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn trace_sand_unit(lmap: &LaneMap, p0: Point) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve1` is never used [INFO] [stdout] --> src/day14/main.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn solve1(file: &File) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `xmax` is never read [INFO] [stdout] --> src/day17/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct PointTransform { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 15 | xmin: i64, [INFO] [stdout] 16 | xmax: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bruteforce_assp` and `print` are never used [INFO] [stdout] --> src/day12/main.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | fn bruteforce_assp(&self, source: NodeId, target: NodeId) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve1` is never used [INFO] [stdout] --> src/day18/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn solve1(cubes: &Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `AdventOfCode2022` (bin "day6" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `get_children_mut` and `get_size` are never used [INFO] [stdout] --> src/day7/main.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl FileNode { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn get_children_mut(&mut self) -> Option<&mut Vec>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn get_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse` is never used [INFO] [stdout] --> src/day7/main.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn traverse(root: &Rc>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve1` is never used [INFO] [stdout] --> src/day7/main.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn solve1(root: &Rc>) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_childrens` is never used [INFO] [stdout] --> src/day7/main.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn print_childrens(root: &Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `AdventOfCode2022` (bin "day13" test) due to 8 previous errors; 1 warning emitted [INFO] [stdout] warning: function `solve1` is never used [INFO] [stdout] --> src/day11/main.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn solve1(monkeys: &mut MonkeyTroop) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/day7/main.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cell::{RefCell, Cell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize` is never used [INFO] [stdout] --> src/day9/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn visualize(head: Pos, tails: &[Pos]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day5/main.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | for i in 0..command.mov { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize` is never used [INFO] [stdout] --> src/day9/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn visualize(head: Pos, tails: &[Pos]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_multiple` is never used [INFO] [stdout] --> src/day5/main.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn move_multiple(stacks: &mut Vec>, cnt: usize, from_idx: usize, to_idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `challenge2` is never used [INFO] [stdout] --> src/day5/main.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn challenge2(filepath: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/day14/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/day14/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `file` [INFO] [stdout] --> src/day6/main.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 58 | let file = File::open(&argv[1])?; [INFO] [stdout] | ---- move occurs because `file` has type `File`, which does not implement the `Copy` trait [INFO] [stdout] 59 | challenge1(file)?; [INFO] [stdout] | ---- value moved here [INFO] [stdout] 60 | challenge2(file)?; [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `challenge1` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/day6/main.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | fn challenge1(file: File) -> std::io::Result<()> { [INFO] [stdout] | ---------- ^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day5/main.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | for i in 0..command.mov { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] warning: function `move_multiple` is never used [INFO] [stdout] --> src/day5/main.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn move_multiple(stacks: &mut Vec>, cnt: usize, from_idx: usize, to_idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `challenge2` is never used [INFO] [stdout] --> src/day5/main.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn challenge2(filepath: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `AdventOfCode2022` (bin "day6") due to 1 previous error [INFO] [stdout] warning: methods `get_children_mut` and `get_size` are never used [INFO] [stdout] --> src/day7/main.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl FileNode { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn get_children_mut(&mut self) -> Option<&mut Vec>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn get_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse` is never used [INFO] [stdout] --> src/day7/main.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn traverse(root: &Rc>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve1` is never used [INFO] [stdout] --> src/day7/main.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn solve1(root: &Rc>) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_childrens` is never used [INFO] [stdout] --> src/day7/main.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn print_childrens(root: &Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace_sand_unit` is never used [INFO] [stdout] --> src/day14/main.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn trace_sand_unit(lmap: &LaneMap, p0: Point) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve1` is never used [INFO] [stdout] --> src/day14/main.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn solve1(file: &File) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a1657f42601a0a5113e35efca845b9ca6cdc164538a4fdd2e4c673bd0665a821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1657f42601a0a5113e35efca845b9ca6cdc164538a4fdd2e4c673bd0665a821", kill_on_drop: false }` [INFO] [stdout] a1657f42601a0a5113e35efca845b9ca6cdc164538a4fdd2e4c673bd0665a821