[INFO] cloning repository https://github.com/latenssi/aoc-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/latenssi/aoc-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flatenssi%2Faoc-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flatenssi%2Faoc-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5c9a3ac9b1e33c980a3d9f528bd7f9bb730feb7 [INFO] checking latenssi/aoc-rust against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flatenssi%2Faoc-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/latenssi/aoc-rust on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/latenssi/aoc-rust [INFO] finished tweaking git repo https://github.com/latenssi/aoc-rust [INFO] tweaked toml for git repo https://github.com/latenssi/aoc-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/latenssi/aoc-rust 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39bdf7feb0bc16f999bf8d31a45b6afcb064e5d0b9f97e9e361cc94e92cc27ed [INFO] running `Command { std: "docker" "start" "-a" "39bdf7feb0bc16f999bf8d31a45b6afcb064e5d0b9f97e9e361cc94e92cc27ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39bdf7feb0bc16f999bf8d31a45b6afcb064e5d0b9f97e9e361cc94e92cc27ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39bdf7feb0bc16f999bf8d31a45b6afcb064e5d0b9f97e9e361cc94e92cc27ed", kill_on_drop: false }` [INFO] [stdout] 39bdf7feb0bc16f999bf8d31a45b6afcb064e5d0b9f97e9e361cc94e92cc27ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d377e34b2c1e9e42916d1023f02511a3da6451b5ae69e92ba43a90270073e4e5 [INFO] running `Command { std: "docker" "start" "-a" "d377e34b2c1e9e42916d1023f02511a3da6451b5ae69e92ba43a90270073e4e5", kill_on_drop: false }` [INFO] [stderr] Checking aoc-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/y2021/day17/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/y2021/day17/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/y2021/day18/mod.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | Num::P(l, r) => unsafe { write!(f, "[{},{}]", l, r) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/y2021/day18/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day18/mod.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day19/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day19/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day22/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day23/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day23/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day24/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day24/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day25/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day25/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_from_points`, and `len` are never used [INFO] [stdout] --> src/lib/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Shape { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(w: usize, h: usize) -> Shape { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn new_from_points(points: &Vec) -> Shape { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn len(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 69 | pub fn new(x: usize, y: usize) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `left` is never used [INFO] [stdout] --> src/lib/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn left(_: &Shape, p: &Point) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `right` is never used [INFO] [stdout] --> src/lib/mod.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn right(s: &Shape, p: &Point) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `top` is never used [INFO] [stdout] --> src/lib/mod.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn top(_: &Shape, p: &Point) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bottom` is never used [INFO] [stdout] --> src/lib/mod.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn bottom(s: &Shape, p: &Point) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `top_left` is never used [INFO] [stdout] --> src/lib/mod.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn top_left(s: &Shape, p: &Point) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `top_right` is never used [INFO] [stdout] --> src/lib/mod.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn top_right(s: &Shape, p: &Point) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bottom_left` is never used [INFO] [stdout] --> src/lib/mod.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn bottom_left(s: &Shape, p: &Point) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bottom_right` is never used [INFO] [stdout] --> src/lib/mod.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn bottom_right(s: &Shape, p: &Point) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `point_to_i` is never used [INFO] [stdout] --> src/lib/mod.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn point_to_i(s: &Shape, p: &Point) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i_to_point` is never used [INFO] [stdout] --> src/lib/mod.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn i_to_point(s: &Shape, i: usize) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i_at_start` is never used [INFO] [stdout] --> src/lib/mod.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn i_at_start(_: &Shape, i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i_at_end` is never used [INFO] [stdout] --> src/lib/mod.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn i_at_end(s: &Shape, i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `point_at_start` is never used [INFO] [stdout] --> src/lib/mod.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn point_at_start(_: &Shape, p: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `point_at_end` is never used [INFO] [stdout] --> src/lib/mod.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn point_at_end(s: &Shape, p: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NEIGHBOURS_NOT_DIAG` is never used [INFO] [stdout] --> src/lib/mod.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | const NEIGHBOURS_NOT_DIAG: [fn(&Shape, &Point) -> Option; 4] = [top, bottom, left, right]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NEIGHBOURS_DIAG` is never used [INFO] [stdout] --> src/lib/mod.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | const NEIGHBOURS_DIAG: [fn(&Shape, &Point) -> Option; 8] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neighbours` is never used [INFO] [stdout] --> src/lib/mod.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn neighbours(s: &Shape, i: usize, include_diag: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neighbours_2` is never used [INFO] [stdout] --> src/lib/mod.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn neighbours_2(s: &Shape, i: usize, include_diag: bool) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_i` is never used [INFO] [stdout] --> src/lib/mod.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn map_i(from: &Shape, to: &Shape, offset: &Shape, i: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad` is never used [INFO] [stdout] --> src/lib/mod.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn pad(s: &Shape, img: &[T], pad_by: usize, padder: T) -> (Shape, Vec) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> src/lib/mod.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn print_image(s: &Shape, img: &[T]) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bits_to_usize` is never used [INFO] [stdout] --> src/lib/mod.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn bits_to_usize(bits: &[bool]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DijkstraState` is never constructed [INFO] [stdout] --> src/lib/mod.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | struct DijkstraState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dijkstra` is never used [INFO] [stdout] --> src/lib/mod.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn dijkstra(shape: &Shape, start: usize, target: usize, cost_fn: F) -> Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modulo` is never used [INFO] [stdout] --> src/lib/mod.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn modulo(a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `look_behind_1_gt_count` is never used [INFO] [stdout] --> src/y2021/day01/mod.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn look_behind_1_gt_count<'a, T: PartialOrd>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `look_behind_2_sum` is never used [INFO] [stdout] --> src/y2021/day01/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn look_behind_2_sum + Copy + Clone>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day01/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day01/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_point` is never used [INFO] [stdout] --> src/y2021/day02/mod.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn parse_point(input: String) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `travel` is never used [INFO] [stdout] --> src/y2021/day02/mod.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn travel(state: (i32, i32), step: (i32, i32)) -> (i32, i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `travel_with_aim` is never used [INFO] [stdout] --> src/y2021/day02/mod.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn travel_with_aim(state: (i32, i32, i32), step: (i32, i32)) -> (i32, i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flip_y_2` is never used [INFO] [stdout] --> src/y2021/day02/mod.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn flip_y_2(p: (i32, i32)) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flip_y_3` is never used [INFO] [stdout] --> src/y2021/day02/mod.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn flip_y_3(p: (i32, i32, i32)) -> (i32, i32, i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiply_2` is never used [INFO] [stdout] --> src/y2021/day02/mod.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn multiply_2(p: (i32, i32)) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiply_3` is never used [INFO] [stdout] --> src/y2021/day02/mod.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn multiply_3(p: (i32, i32, i32)) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day02/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn puzzle1(input_filename: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day02/mod.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn puzzle2(input_filename: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_to_bin_vec` is never used [INFO] [stdout] --> src/y2021/day03/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn string_to_bin_vec(s: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_ones` is never used [INFO] [stdout] --> src/y2021/day03/mod.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn count_ones(mut state: Vec, current: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `threshold` is never used [INFO] [stdout] --> src/y2021/day03/mod.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn threshold(src: &Vec, limit: usize, remainder: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bin_vec_to_dec` is never used [INFO] [stdout] --> src/y2021/day03/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn bin_vec_to_dec(vec: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day03/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day03/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRID_SIZE` is never used [INFO] [stdout] --> src/y2021/day04/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const GRID_SIZE: usize = 5; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/y2021/day04/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/y2021/day04/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buf_to_board_numbers` is never used [INFO] [stdout] --> src/y2021/day04/mod.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn buf_to_board_numbers(buf: &Vec) -> [usize; GRID_SIZE * GRID_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_game` is never used [INFO] [stdout] --> src/y2021/day04/mod.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn parse_game(input: &Vec) -> Game { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `game_round` is never used [INFO] [stdout] --> src/y2021/day04/mod.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn game_round(game: &mut Game, number: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `game_check_round` is never used [INFO] [stdout] --> src/y2021/day04/mod.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn game_check_round(game: &mut Game) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day04/mod.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day04/mod.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/y2021/day05/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineSegment` is never constructed [INFO] [stdout] --> src/y2021/day05/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct LineSegment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_to_line` is never used [INFO] [stdout] --> src/y2021/day05/mod.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn string_to_line(s: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_is_horizontal` is never used [INFO] [stdout] --> src/y2021/day05/mod.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn line_is_horizontal(l: &LineSegment) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_is_vertical` is never used [INFO] [stdout] --> src/y2021/day05/mod.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn line_is_vertical(l: &LineSegment) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_is_horizontal_or_vertical` is never used [INFO] [stdout] --> src/y2021/day05/mod.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn line_is_horizontal_or_vertical(l: &LineSegment) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_all_points` is never used [INFO] [stdout] --> src/y2021/day05/mod.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn line_all_points(l: &LineSegment) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_overlapping_points` is never used [INFO] [stdout] --> src/y2021/day05/mod.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn count_overlapping_points( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day05/mod.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day05/mod.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tick` is never used [INFO] [stdout] --> src/y2021/day06/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn tick(state: [usize; 9]) -> [usize; 9] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day06/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day06/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binom` is never used [INFO] [stdout] --> src/y2021/day07/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn binom(n: usize, k: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day07/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day07/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_diff` is never used [INFO] [stdout] --> src/y2021/day08/mod.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn vec_diff(a: &Vec, b: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapping` is never used [INFO] [stdout] --> src/y2021/day08/mod.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn mapping(s: &Vec, decoded: &[Vec; 10]) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day08/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day08/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `depth_first_search` is never used [INFO] [stdout] --> src/y2021/day09/mod.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn depth_first_search(values: &Vec, shape: &lib::Shape, i: usize) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day09/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day09/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEGAL_OPEN` is never used [INFO] [stdout] --> src/y2021/day10/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const LEGAL_OPEN: [char; 4] = ['(', '[', '{', '<']; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEGAL_CLOSE` is never used [INFO] [stdout] --> src/y2021/day10/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const LEGAL_CLOSE: [char; 4] = [')', ']', '}', '>']; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_SCORE_CORRUPT` is never used [INFO] [stdout] --> src/y2021/day10/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const ERR_SCORE_CORRUPT: [usize; 4] = [3, 57, 1197, 25137]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_SCORE_INCOMPLETE` is never used [INFO] [stdout] --> src/y2021/day10/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const ERR_SCORE_INCOMPLETE: [usize; 4] = [1, 2, 3, 4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_error_score` is never used [INFO] [stdout] --> src/y2021/day10/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn line_error_score(l: &String) -> Option<(Option, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day10/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day10/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increment_elements` is never used [INFO] [stdout] --> src/y2021/day11/mod.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn increment_elements(by: u8, v: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step_flashed` is never used [INFO] [stdout] --> src/y2021/day11/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn step_flashed(values: &mut Vec, s: &lib::Shape) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day11/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day11/mod.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Edge` is never used [INFO] [stdout] --> src/y2021/day12/mod.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Edge = (String, String); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_count` is never used [INFO] [stdout] --> src/y2021/day12/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn path_count( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day12/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day12/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day13/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day13/mod.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pair` is never used [INFO] [stdout] --> src/y2021/day14/mod.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Pair = (char, char); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_rules` is never used [INFO] [stdout] --> src/y2021/day14/mod.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn parse_rules(input: &Vec) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_pairs` is never used [INFO] [stdout] --> src/y2021/day14/mod.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse_pairs(input: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pair_counts` is never used [INFO] [stdout] --> src/y2021/day14/mod.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn pair_counts(pairs: &Vec) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_step` is never used [INFO] [stdout] --> src/y2021/day14/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn run_step(state: &HashMap, rules: &HashMap) -> HashMap { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_freq` is never used [INFO] [stdout] --> src/y2021/day14/mod.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn char_freq(state: &HashMap, first_char: char) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day14/mod.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day14/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapped_value` is never used [INFO] [stdout] --> src/y2021/day15/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn mapped_value(values: &Vec, orig_shape: &lib::Shape, shape: &lib::Shape, i: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day15/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day15/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEADER_LEN` is never used [INFO] [stdout] --> src/y2021/day16/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const HEADER_LEN: usize = 6; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LITERAL_VALUE_LEN` is never used [INFO] [stdout] --> src/y2021/day16/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const LITERAL_VALUE_LEN: usize = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUB_PACKET_TYPE_0_LEN` is never used [INFO] [stdout] --> src/y2021/day16/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const SUB_PACKET_TYPE_0_LEN: usize = 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUB_PACKET_TYPE_1_LEN` is never used [INFO] [stdout] --> src/y2021/day16/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const SUB_PACKET_TYPE_1_LEN: usize = 11; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUB_PACKET_TYPE_0_END` is never used [INFO] [stdout] --> src/y2021/day16/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SUB_PACKET_TYPE_0_END: usize = HEADER_LEN + 1 + SUB_PACKET_TYPE_0_LEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUB_PACKET_TYPE_1_END` is never used [INFO] [stdout] --> src/y2021/day16/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SUB_PACKET_TYPE_1_END: usize = HEADER_LEN + 1 + SUB_PACKET_TYPE_1_LEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PacketType` is never used [INFO] [stdout] --> src/y2021/day16/mod.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum PacketType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_u8` and `eval` are never used [INFO] [stdout] --> src/y2021/day16/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PacketType { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub fn from_u8(i: u8) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn eval(&self, p: &Packet) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Header` is never constructed [INFO] [stdout] --> src/y2021/day16/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Header { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bits` is never used [INFO] [stdout] --> src/y2021/day16/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Header { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 59 | pub fn from_bits(bits: &[bool]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Packet` is never constructed [INFO] [stdout] --> src/y2021/day16/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct Packet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_hex`, `from_bits`, `version_sum`, and `value` are never used [INFO] [stdout] --> src/y2021/day16/mod.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Packet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 82 | pub fn from_hex(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn from_bits(bits: &[bool]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn version_sum(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn value(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_to_bits` is never used [INFO] [stdout] --> src/y2021/day16/mod.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn hex_to_bits(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day16/mod.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day16/mod.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x1` and `y1` are never read [INFO] [stdout] --> src/y2021/day17/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Area { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 6 | x1: isize, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | x2: isize, [INFO] [stdout] 8 | y1: isize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Area` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `contains_point` are never used [INFO] [stdout] --> src/y2021/day17/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Area { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Area { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn contains_point(&self, p: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_area` is never used [INFO] [stdout] --> src/y2021/day17/mod.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn parse_area(s: &str) -> Area { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day17/mod.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn puzzle1(input_filename: &str) -> isize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day17/mod.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mag`, `split`, `add`, and `explode` are never used [INFO] [stdout] --> src/y2021/day18/mod.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Num { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn mag(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn split(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn add(&mut self, a: usize) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn explode(&mut self) -> Result<(usize, usize), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day19/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn puzzle1(input_filename: &str) -> isize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day19/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn puzzle2(input_filename: &str) -> isize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle` is never used [INFO] [stdout] --> src/y2021/day20/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn puzzle(input_filename: &str, iterations: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enhance` is never used [INFO] [stdout] --> src/y2021/day20/mod.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn enhance(iea: &Vec, padder: &mut char, img: &mut Vec, shape: &mut lib::Shape) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_pos` is never used [INFO] [stdout] --> src/y2021/day21/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_pos(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dirac_slow` is never used [INFO] [stdout] --> src/y2021/day21/mod.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn dirac_slow( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dirac_fast` is never used [INFO] [stdout] --> src/y2021/day21/mod.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn dirac_fast( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day21/mod.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn puzzle1(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day21/mod.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn puzzle2(input_filename: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cuboid` is never constructed [INFO] [stdout] --> src/y2021/day22/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct Cuboid { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `intersect`, and `len` are never used [INFO] [stdout] --> src/y2021/day22/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Cuboid { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 32 | pub fn new() -> Cuboid { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn intersect(&self, other: &Cuboid) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Step` is never constructed [INFO] [stdout] --> src/y2021/day22/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct Step { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_str` are never used [INFO] [stdout] --> src/y2021/day22/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Step { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 68 | pub fn new() -> Step { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn from_str(s: &str) -> Step { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day22/mod.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn puzzle1(input_filename: &str) -> isize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day22/mod.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn puzzle2(input_filename: &str) -> isize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day23/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn puzzle1(input_filename: &str) -> isize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day23/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn puzzle2(input_filename: &str) -> isize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day24/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn puzzle1(input_filename: &str) -> isize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day24/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn puzzle2(input_filename: &str) -> isize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle1` is never used [INFO] [stdout] --> src/y2021/day25/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn puzzle1(input_filename: &str) -> isize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `puzzle2` is never used [INFO] [stdout] --> src/y2021/day25/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn puzzle2(input_filename: &str) -> isize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/y2021/day18/mod.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | Num::P(l, r) => unsafe { write!(f, "[{},{}]", l, r) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/y2021/day18/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day18/mod.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day19/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day19/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day22/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day23/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day23/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day24/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day24/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day25/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/y2021/day25/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let input = lib::read_lines(input_filename); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i_at_start` is never used [INFO] [stdout] --> src/lib/mod.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn i_at_start(_: &Shape, i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i_at_end` is never used [INFO] [stdout] --> src/lib/mod.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn i_at_end(s: &Shape, i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `point_at_start` is never used [INFO] [stdout] --> src/lib/mod.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn point_at_start(_: &Shape, p: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `point_at_end` is never used [INFO] [stdout] --> src/lib/mod.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn point_at_end(s: &Shape, p: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> src/lib/mod.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn print_image(s: &Shape, img: &[T]) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modulo` is never used [INFO] [stdout] --> src/lib/mod.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn modulo(a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mag`, `split`, `add`, and `explode` are never used [INFO] [stdout] --> src/y2021/day18/mod.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Num { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn mag(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn split(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn add(&mut self, a: usize) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn explode(&mut self) -> Result<(usize, usize), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dirac_slow` is never used [INFO] [stdout] --> src/y2021/day21/mod.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn dirac_slow( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2021/day22/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Cuboid { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 32 | pub fn new() -> Cuboid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2021/day22/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Step { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 68 | pub fn new() -> Step { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "d377e34b2c1e9e42916d1023f02511a3da6451b5ae69e92ba43a90270073e4e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d377e34b2c1e9e42916d1023f02511a3da6451b5ae69e92ba43a90270073e4e5", kill_on_drop: false }` [INFO] [stdout] d377e34b2c1e9e42916d1023f02511a3da6451b5ae69e92ba43a90270073e4e5