[INFO] cloning repository https://github.com/sthilden/advent_of_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sthilden/advent_of_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsthilden%2Fadvent_of_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsthilden%2Fadvent_of_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe5054dfbb044bef1039272a63a67080e9376a33 [INFO] checking sthilden/advent_of_code against master#fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsthilden%2Fadvent_of_code" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sthilden/advent_of_code on toolchain fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sthilden/advent_of_code [INFO] finished tweaking git repo https://github.com/sthilden/advent_of_code [INFO] tweaked toml for git repo https://github.com/sthilden/advent_of_code written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sthilden/advent_of_code 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" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking sthilden/advent_of_code against try#e35e259478581c01033b8da67214c0d376859a32 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsthilden%2Fadvent_of_code" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sthilden/advent_of_code on toolchain e35e259478581c01033b8da67214c0d376859a32 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sthilden/advent_of_code [INFO] finished tweaking git repo https://github.com/sthilden/advent_of_code [INFO] tweaked toml for git repo https://github.com/sthilden/advent_of_code written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sthilden/advent_of_code 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" "+e35e259478581c01033b8da67214c0d376859a32" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking sthilden/advent_of_code against try#e35e259478581c01033b8da67214c0d376859a32 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsthilden%2Fadvent_of_code" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sthilden/advent_of_code on toolchain e35e259478581c01033b8da67214c0d376859a32 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sthilden/advent_of_code [INFO] finished tweaking git repo https://github.com/sthilden/advent_of_code [INFO] tweaked toml for git repo https://github.com/sthilden/advent_of_code written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sthilden/advent_of_code 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" "+e35e259478581c01033b8da67214c0d376859a32" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2940b17f07551547601c336ff5321831f6a8527a766bbe79ab969790f7cac589 [INFO] running `Command { std: "docker" "start" "-a" "2940b17f07551547601c336ff5321831f6a8527a766bbe79ab969790f7cac589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2940b17f07551547601c336ff5321831f6a8527a766bbe79ab969790f7cac589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2940b17f07551547601c336ff5321831f6a8527a766bbe79ab969790f7cac589", kill_on_drop: false }` [INFO] [stdout] 2940b17f07551547601c336ff5321831f6a8527a766bbe79ab969790f7cac589 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 985b75c11b03514bc5bbf5141e44a654312b0e96f39886231c690576d01bbf1c [INFO] running `Command { std: "docker" "start" "-a" "985b75c11b03514bc5bbf5141e44a654312b0e96f39886231c690576d01bbf1c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking adevent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/year2023/day3.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::BTreeMap, fs, path::Path, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/year2023/day8.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::integer::lcm` [INFO] [stdout] --> src/year2023/day8.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num::integer::lcm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/year2023/day3.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::BTreeMap, fs, path::Path, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/year2023/day8.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::integer::lcm` [INFO] [stdout] --> src/year2023/day8.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num::integer::lcm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_pos` is never read [INFO] [stdout] --> src/year2023/day10.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | let mut prev_pos = pos; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_pos` is never read [INFO] [stdout] --> src/year2023/day10.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | let mut prev_pos = pos; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/year2023/day8.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut positions: Vec<&str> = map [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/year2023/day8.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut positions: Vec<&str> = map [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day1.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, `Left`, and `Right` are never constructed [INFO] [stdout] --> src/year2023/day10.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 5 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_direction` is never used [INFO] [stdout] --> src/year2023/day10.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn new_direction(c: char, dir: Direction) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_position` is never used [INFO] [stdout] --> src/year2023/day10.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn new_position( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day10.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day1.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, `Left`, and `Right` are never constructed [INFO] [stdout] --> src/year2023/day10.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 5 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Path`, `Left`, `Right`, and `None` are never constructed [INFO] [stdout] --> src/year2023/day10.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 150 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 151 | Path, [INFO] [stdout] | ^^^^ [INFO] [stdout] 152 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 153 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 154 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_direction` is never used [INFO] [stdout] --> src/year2023/day10.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn new_direction(c: char, dir: Direction) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_color` is never used [INFO] [stdout] --> src/year2023/day10.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn set_color(map: &mut Vec>, i: usize, j: usize, color: Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_left_right` is never used [INFO] [stdout] --> src/year2023/day10.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn get_left_right(map: &Vec>, i: usize, j: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_position` is never used [INFO] [stdout] --> src/year2023/day10.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn new_position( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day10.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_color_map` is never used [INFO] [stdout] --> src/year2023/day10.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn update_color_map(color_map: &mut Vec>, dir: Direction, pos: (usize, usize)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day10.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/year2023/day11.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn distance(g1: (usize, usize), g2: (usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/year2023/day11.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn solve(expansion_factor: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Path`, `Left`, `Right`, and `None` are never constructed [INFO] [stdout] --> src/year2023/day10.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 150 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 151 | Path, [INFO] [stdout] | ^^^^ [INFO] [stdout] 152 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 153 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 154 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day11.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day11.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_color` is never used [INFO] [stdout] --> src/year2023/day10.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn set_color(map: &mut Vec>, i: usize, j: usize, color: Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_left_right` is never used [INFO] [stdout] --> src/year2023/day10.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn get_left_right(map: &Vec>, i: usize, j: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Operational`, `Damaged`, and `Unknown` are never constructed [INFO] [stdout] --> src/year2023/day12.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum Spring { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 5 | Operational, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | Damaged, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spring` 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: function `is_valid` is never used [INFO] [stdout] --> src/year2023/day12.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn is_valid(list: &Vec, groups: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_color_map` is never used [INFO] [stdout] --> src/year2023/day10.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn update_color_map(color_map: &mut Vec>, dir: Direction, pos: (usize, usize)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/year2023/day12.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn solve(list: &Vec, groups: &Vec) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day10.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day12.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/year2023/day11.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn distance(g1: (usize, usize), g2: (usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/year2023/day11.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn solve(expansion_factor: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day12.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day11.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day11.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ash` and `Rock` are never constructed [INFO] [stdout] --> src/year2023/day13.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum Item { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Ash, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | Rock, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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: fields `rows` and `columns` are never read [INFO] [stdout] --> src/year2023/day13.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Pattern { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | rows: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | columns: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` 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: variants `Operational`, `Damaged`, and `Unknown` are never constructed [INFO] [stdout] --> src/year2023/day12.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum Spring { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 5 | Operational, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | Damaged, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spring` 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 function `new` is never used [INFO] [stdout] --> src/year2023/day13.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pattern { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid` is never used [INFO] [stdout] --> src/year2023/day12.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn is_valid(list: &Vec, groups: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_symmtery_one_dimension` is never used [INFO] [stdout] --> src/year2023/day13.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_symmtery_one_dimension(items: &Vec>, avoid: Option) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/year2023/day12.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn solve(list: &Vec, groups: &Vec) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_symmetry` is never used [INFO] [stdout] --> src/year2023/day13.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn find_symmetry(pattern: &Pattern) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day12.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swapItem` is never used [INFO] [stdout] --> src/year2023/day13.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn swapItem(item: Item) -> Item { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day12.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_smudged_symmetry` is never used [INFO] [stdout] --> src/year2023/day13.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn find_smudged_symmetry(pattern: &Pattern) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/year2023/day13.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn read_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ash` and `Rock` are never constructed [INFO] [stdout] --> src/year2023/day13.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum Item { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Ash, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | Rock, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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: function `problem1` is never used [INFO] [stdout] --> src/year2023/day13.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day13.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rows` and `columns` are never read [INFO] [stdout] --> src/year2023/day13.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Pattern { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | rows: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | columns: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` 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: variants `RoundRock`, `SquareRock`, and `Nothing` are never constructed [INFO] [stdout] --> src/year2023/day14.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum Item { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 8 | RoundRock, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | SquareRock, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | Nothing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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 function `new` is never used [INFO] [stdout] --> src/year2023/day13.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pattern { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/year2023/day14.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Platform { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_symmtery_one_dimension` is never used [INFO] [stdout] --> src/year2023/day13.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_symmtery_one_dimension(items: &Vec>, avoid: Option) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/year2023/day14.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn read_input() -> Platform { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_symmetry` is never used [INFO] [stdout] --> src/year2023/day13.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn find_symmetry(pattern: &Pattern) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day14.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swapItem` is never used [INFO] [stdout] --> src/year2023/day13.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn swapItem(item: Item) -> Item { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_platform` is never used [INFO] [stdout] --> src/year2023/day14.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn print_platform(platform: &Platform) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_smudged_symmetry` is never used [INFO] [stdout] --> src/year2023/day13.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn find_smudged_symmetry(pattern: &Pattern) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_cycle` is never used [INFO] [stdout] --> src/year2023/day14.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn do_cycle(platform: &mut Platform) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/year2023/day13.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn read_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_hash` is never used [INFO] [stdout] --> src/year2023/day14.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn calculate_hash(t: &T) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day14.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day16.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day2.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day13.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day2.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day13.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_symbol` is never used [INFO] [stdout] --> src/year2023/day3.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn is_symbol(schematics: &Vec>, row_inx: usize, col_inx: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_part_number` is never used [INFO] [stdout] --> src/year2023/day3.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn is_part_number( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_part_number` is never used [INFO] [stdout] --> src/year2023/day3.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_part_number( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RoundRock`, `SquareRock`, and `Nothing` are never constructed [INFO] [stdout] --> src/year2023/day14.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum Item { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 8 | RoundRock, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | SquareRock, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | Nothing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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: function `problem1` is never used [INFO] [stdout] --> src/year2023/day3.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/year2023/day14.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Platform { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_for_gear` is never used [INFO] [stdout] --> src/year2023/day3.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn check_for_gear( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/year2023/day14.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn read_input() -> Platform { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day14.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_platform` is never used [INFO] [stdout] --> src/year2023/day14.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn print_platform(platform: &Platform) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_for_gears` is never used [INFO] [stdout] --> src/year2023/day3.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn check_for_gears( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_cycle` is never used [INFO] [stdout] --> src/year2023/day14.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn do_cycle(platform: &mut Platform) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day3.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_hash` is never used [INFO] [stdout] --> src/year2023/day14.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn calculate_hash(t: &T) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day4.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day14.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day4.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day16.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day2.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day2.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_symbol` is never used [INFO] [stdout] --> src/year2023/day3.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn is_symbol(schematics: &Vec>, row_inx: usize, col_inx: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_part_number` is never used [INFO] [stdout] --> src/year2023/day3.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn is_part_number( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/year2023/day5.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum MapType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 6 | SeedToSoil, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | SoilToFertilizer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | FertilizerToWater, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | WaterToLight, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | LightToTemperature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | TemperatureToHumidity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | HumidityToLocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MapType` 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: function `get_part_number` is never used [INFO] [stdout] --> src/year2023/day3.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_part_number( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `name_to_map_type` is never used [INFO] [stdout] --> src/year2023/day5.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn name_to_map_type(name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day3.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map` is never used [INFO] [stdout] --> src/year2023/day5.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn map(source: u64, map: &Vec<(u64, u64, u64)>) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_for_gear` is never used [INFO] [stdout] --> src/year2023/day3.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn check_for_gear( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map2` is never used [INFO] [stdout] --> src/year2023/day5.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn map2(sources: &Vec<(u64, u64)>, map: &Vec<(u64, u64, u64)>) -> Vec<(u64, u64)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_for_gears` is never used [INFO] [stdout] --> src/year2023/day3.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn check_for_gears( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day5.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day5.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute` is never used [INFO] [stdout] --> src/year2023/day6.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn compute(time: &Vec, dist: &Vec) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day6.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day3.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day6.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day4.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day4.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/year2023/day5.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum MapType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 6 | SeedToSoil, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | SoilToFertilizer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | FertilizerToWater, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | WaterToLight, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | LightToTemperature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | TemperatureToHumidity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | HumidityToLocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MapType` 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: function `name_to_map_type` is never used [INFO] [stdout] --> src/year2023/day5.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn name_to_map_type(name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/year2023/day7.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 5 | V2, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | V3, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | V4, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | V5, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | V6, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | V7, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | V8, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | V9, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | T, [INFO] [stdout] | ^ [INFO] [stdout] 14 | J, [INFO] [stdout] | ^ [INFO] [stdout] 15 | Q, [INFO] [stdout] | ^ [INFO] [stdout] 16 | K, [INFO] [stdout] | ^ [INFO] [stdout] 17 | A, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: function `map` is never used [INFO] [stdout] --> src/year2023/day5.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn map(source: u64, map: &Vec<(u64, u64, u64)>) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_char` and `joker_value` are never used [INFO] [stdout] --> src/year2023/day7.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Value { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 21 | fn from_char(c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn joker_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map2` is never used [INFO] [stdout] --> src/year2023/day5.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn map2(sources: &Vec<(u64, u64)>, map: &Vec<(u64, u64, u64)>) -> Vec<(u64, u64)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day5.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day5.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/year2023/day7.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 61 | HighCard, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 62 | OnePair, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 63 | TwoPair, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 64 | ThreeOfAKind, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 65 | FullHouse, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | FourOfAKind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | FiveOfAKind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: function `compute` is never used [INFO] [stdout] --> src/year2023/day6.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn compute(time: &Vec, dist: &Vec) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day6.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_cards` and `from_cards_with_joker` are never used [INFO] [stdout] --> src/year2023/day7.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 70 | impl Type { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 71 | fn from_cards(cards: &[Value; 5]) -> Type { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn from_cards_with_joker(cards: &[Value; 5]) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day6.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_cards`, `from_str`, and `from_str_with_joker` are never used [INFO] [stdout] --> src/year2023/day7.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl Hand { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 136 | fn get_cards(s: &str) -> Option<[Value; 5]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn from_str_with_joker(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day7.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day7.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rem_first_and_last` is never used [INFO] [stdout] --> src/year2023/day8.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn rem_first_and_last(value: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `L` and `R` are never constructed [INFO] [stdout] --> src/year2023/day8.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 15 | L, [INFO] [stdout] | ^ [INFO] [stdout] 16 | R, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day8.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day8.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/year2023/day9.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn solve(contents: &str, reverse: bool) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day9.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/year2023/day7.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 5 | V2, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | V3, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | V4, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | V5, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | V6, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | V7, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | V8, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | V9, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | T, [INFO] [stdout] | ^ [INFO] [stdout] 14 | J, [INFO] [stdout] | ^ [INFO] [stdout] 15 | Q, [INFO] [stdout] | ^ [INFO] [stdout] 16 | K, [INFO] [stdout] | ^ [INFO] [stdout] 17 | A, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: function `problem2` is never used [INFO] [stdout] --> src/year2023/day9.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swapItem` should have a snake case name [INFO] [stdout] --> src/year2023/day13.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn swapItem(item: Item) -> Item { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `swap_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_char` and `joker_value` are never used [INFO] [stdout] --> src/year2023/day7.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Value { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 21 | fn from_char(c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn joker_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/year2023/day7.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 61 | HighCard, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 62 | OnePair, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 63 | TwoPair, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 64 | ThreeOfAKind, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 65 | FullHouse, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | FourOfAKind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | FiveOfAKind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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 functions `from_cards` and `from_cards_with_joker` are never used [INFO] [stdout] --> src/year2023/day7.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 70 | impl Type { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 71 | fn from_cards(cards: &[Value; 5]) -> Type { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn from_cards_with_joker(cards: &[Value; 5]) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_cards`, `from_str`, and `from_str_with_joker` are never used [INFO] [stdout] --> src/year2023/day7.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl Hand { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 136 | fn get_cards(s: &str) -> Option<[Value; 5]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn from_str_with_joker(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day7.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day7.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rem_first_and_last` is never used [INFO] [stdout] --> src/year2023/day8.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn rem_first_and_last(value: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `L` and `R` are never constructed [INFO] [stdout] --> src/year2023/day8.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 15 | L, [INFO] [stdout] | ^ [INFO] [stdout] 16 | R, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day8.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day8.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/year2023/day9.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn solve(contents: &str, reverse: bool) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1` is never used [INFO] [stdout] --> src/year2023/day9.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn problem1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2` is never used [INFO] [stdout] --> src/year2023/day9.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn problem2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swapItem` should have a snake case name [INFO] [stdout] --> src/year2023/day13.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn swapItem(item: Item) -> Item { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `swap_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 79 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 79 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.36s [INFO] running `Command { std: "docker" "inspect" "985b75c11b03514bc5bbf5141e44a654312b0e96f39886231c690576d01bbf1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "985b75c11b03514bc5bbf5141e44a654312b0e96f39886231c690576d01bbf1c", kill_on_drop: false }` [INFO] [stdout] 985b75c11b03514bc5bbf5141e44a654312b0e96f39886231c690576d01bbf1c