[INFO] cloning repository https://github.com/WJehee/aoc2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WJehee/aoc2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWJehee%2Faoc2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWJehee%2Faoc2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a1c99086ceb853cab3d4e2e5b704dcfbad8ef88 [INFO] building WJehee/aoc2024 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWJehee%2Faoc2024" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WJehee/aoc2024 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WJehee/aoc2024 [INFO] finished tweaking git repo https://github.com/WJehee/aoc2024 [INFO] tweaked toml for git repo https://github.com/WJehee/aoc2024 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WJehee/aoc2024 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4a76c77829882dfc00132d4585fe6c980365536f6a06bd1e1d250b589636512 [INFO] running `Command { std: "docker" "start" "-a" "f4a76c77829882dfc00132d4585fe6c980365536f6a06bd1e1d250b589636512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4a76c77829882dfc00132d4585fe6c980365536f6a06bd1e1d250b589636512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4a76c77829882dfc00132d4585fe6c980365536f6a06bd1e1d250b589636512", kill_on_drop: false }` [INFO] [stdout] f4a76c77829882dfc00132d4585fe6c980365536f6a06bd1e1d250b589636512 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe997374eaaf08887744019f59cfa0400f0f83a4cb7ef5073f2df247a6fb473e [INFO] running `Command { std: "docker" "start" "-a" "fe997374eaaf08887744019f59cfa0400f0f83a4cb7ef5073f2df247a6fb473e", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling aoc2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day01.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part_one(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day01.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn part_two(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DIFF` is never used [INFO] [stdout] --> src/day02.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const MAX_DIFF: i32 = 3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day02.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part_one(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day02.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn part_two(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_safe` is never used [INFO] [stdout] --> src/day02.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn is_safe(levels: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/day03.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_string` and `parse_number` are never used [INFO] [stdout] --> src/day03.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Solution { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 7 | fn parse_string<'a>(self: &mut Self, pattern: &'static str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn parse_number(self: &mut Self, max_len: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day03.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn part_one(contents: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day03.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn part_two(contents: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day04.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn part_one(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day04.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn part_two(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_for_x` is never used [INFO] [stdout] --> src/day04.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_for_x(grid: &Vec>, loc: (i32, i32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_in_direction` is never used [INFO] [stdout] --> src/day04.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn find_in_direction(grid: &Vec>, loc: (i32, i32), x_dir: i32, y_dir: i32, chars_to_find: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_surrounding` is never used [INFO] [stdout] --> src/day04.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn find_surrounding(grid: &Vec>, location: (i32, i32), char_to_find: char) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day05.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part_one(rules: &HashMap>, updates: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day05.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn part_two(rules: &HashMap>, mut updates: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day05.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn parse(contents: &str) -> (HashMap>, Vec>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_order` is never used [INFO] [stdout] --> src/day05.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn check_order(rules: &HashMap>, update: &Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day06.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse(contents: &str) -> (Vec>, (usize, usize)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `guard_routine` is never used [INFO] [stdout] --> src/day06.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn guard_routine(map: &Vec>, mut guard_pos: (usize, usize), mut dir: (i32, i32)) -> HashSet<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `guard_check_loop` is never used [INFO] [stdout] --> src/day06.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn guard_check_loop(map: &Vec>, mut guard_pos: (usize, usize), mut dir: (i32, i32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day06.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn part_one(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day06.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn part_two(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Equation` is never constructed [INFO] [stdout] --> src/day07.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Equation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EqItem` is never used [INFO] [stdout] --> src/day07.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum EqItem { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `equals` and `evaluate` are never used [INFO] [stdout] --> src/day07.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Equation { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 12 | fn equals(self: &Self, n: i64, part2: bool) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn evaluate(self: &Self, part2: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day07.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn parse(contents: &str) -> Vec<(i64, Equation)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_equations` is never used [INFO] [stdout] --> src/day07.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn create_equations(mut formulas: Vec) -> Equation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day07.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn part_one(contents: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day07.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn part_two(contents: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day08.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn parse(contents: &str) -> ((i64, i64), HashMap>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `outside_bounds` is never used [INFO] [stdout] --> src/day08.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn outside_bounds((loc_x, loc_y): (i64, i64), height: i64, width: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anodes` is never used [INFO] [stdout] --> src/day08.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_anodes(loc1: (i64, i64), loc2: (i64, i64), distances: (i64, i64)) -> ((i64, i64), (i64, i64)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day08.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn part_one(contents: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day08.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn part_two(contents: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "fe997374eaaf08887744019f59cfa0400f0f83a4cb7ef5073f2df247a6fb473e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe997374eaaf08887744019f59cfa0400f0f83a4cb7ef5073f2df247a6fb473e", kill_on_drop: false }` [INFO] [stdout] fe997374eaaf08887744019f59cfa0400f0f83a4cb7ef5073f2df247a6fb473e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b87131801c0adc1164521706e758c9f3c3bf9d534331423d4e789d9ad5495564 [INFO] running `Command { std: "docker" "start" "-a" "b87131801c0adc1164521706e758c9f3c3bf9d534331423d4e789d9ad5495564", kill_on_drop: false }` [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day01.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part_one(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day01.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn part_two(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DIFF` is never used [INFO] [stdout] --> src/day02.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const MAX_DIFF: i32 = 3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day02.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part_one(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day02.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn part_two(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_safe` is never used [INFO] [stdout] --> src/day02.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn is_safe(levels: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/day03.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_string` and `parse_number` are never used [INFO] [stdout] --> src/day03.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Solution { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 7 | fn parse_string<'a>(self: &mut Self, pattern: &'static str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn parse_number(self: &mut Self, max_len: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day03.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn part_one(contents: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day03.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn part_two(contents: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day04.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn part_one(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day04.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn part_two(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_for_x` is never used [INFO] [stdout] --> src/day04.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_for_x(grid: &Vec>, loc: (i32, i32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_in_direction` is never used [INFO] [stdout] --> src/day04.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn find_in_direction(grid: &Vec>, loc: (i32, i32), x_dir: i32, y_dir: i32, chars_to_find: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_surrounding` is never used [INFO] [stdout] --> src/day04.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn find_surrounding(grid: &Vec>, location: (i32, i32), char_to_find: char) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day05.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part_one(rules: &HashMap>, updates: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day05.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn part_two(rules: &HashMap>, mut updates: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day05.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn parse(contents: &str) -> (HashMap>, Vec>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_order` is never used [INFO] [stdout] --> src/day05.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn check_order(rules: &HashMap>, update: &Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day06.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse(contents: &str) -> (Vec>, (usize, usize)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `guard_routine` is never used [INFO] [stdout] --> src/day06.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn guard_routine(map: &Vec>, mut guard_pos: (usize, usize), mut dir: (i32, i32)) -> HashSet<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `guard_check_loop` is never used [INFO] [stdout] --> src/day06.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn guard_check_loop(map: &Vec>, mut guard_pos: (usize, usize), mut dir: (i32, i32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day06.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn part_one(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day06.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn part_two(contents: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Equation` is never constructed [INFO] [stdout] --> src/day07.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Equation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EqItem` is never used [INFO] [stdout] --> src/day07.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum EqItem { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `equals` and `evaluate` are never used [INFO] [stdout] --> src/day07.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Equation { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 12 | fn equals(self: &Self, n: i64, part2: bool) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn evaluate(self: &Self, part2: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day07.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn parse(contents: &str) -> Vec<(i64, Equation)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_equations` is never used [INFO] [stdout] --> src/day07.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn create_equations(mut formulas: Vec) -> Equation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day07.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn part_one(contents: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day07.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn part_two(contents: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day08.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn parse(contents: &str) -> ((i64, i64), HashMap>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `outside_bounds` is never used [INFO] [stdout] --> src/day08.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn outside_bounds((loc_x, loc_y): (i64, i64), height: i64, width: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anodes` is never used [INFO] [stdout] --> src/day08.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_anodes(loc1: (i64, i64), loc2: (i64, i64), distances: (i64, i64)) -> ((i64, i64), (i64, i64)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day08.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn part_one(contents: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day08.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn part_two(contents: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "b87131801c0adc1164521706e758c9f3c3bf9d534331423d4e789d9ad5495564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b87131801c0adc1164521706e758c9f3c3bf9d534331423d4e789d9ad5495564", kill_on_drop: false }` [INFO] [stdout] b87131801c0adc1164521706e758c9f3c3bf9d534331423d4e789d9ad5495564