[INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/commit-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024/hooks/commit-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024/branches/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmbtechdev/advent_of_rust_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20d8d017913e6048d5198a55da8da308818fd8c9 [INFO] checking dmbtechdev/advent_of_rust_2024 against master#d14d202262d13df896b0c624b0cec6e4bfde631a for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmbtechdev%2Fadvent_of_rust_2024" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] finished tweaking git repo https://github.com/dmbtechdev/advent_of_rust_2024 [INFO] tweaked toml for git repo https://github.com/dmbtechdev/advent_of_rust_2024 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dmbtechdev/advent_of_rust_2024 on toolchain d14d202262d13df896b0c624b0cec6e4bfde631a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dmbtechdev/advent_of_rust_2024 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" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14f885376f2ce93807308a467effb0d0223a6a5af47668254140a9fffa1c8370 [INFO] running `Command { std: "docker" "start" "-a" "14f885376f2ce93807308a467effb0d0223a6a5af47668254140a9fffa1c8370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14f885376f2ce93807308a467effb0d0223a6a5af47668254140a9fffa1c8370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f885376f2ce93807308a467effb0d0223a6a5af47668254140a9fffa1c8370", kill_on_drop: false }` [INFO] [stdout] 14f885376f2ce93807308a467effb0d0223a6a5af47668254140a9fffa1c8370 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fe7aeb6e4c054dc52c67ad3c0a853c1ef2cde5a8a062fd44faf12920a696e54 [INFO] running `Command { std: "docker" "start" "-a" "7fe7aeb6e4c054dc52c67ad3c0a853c1ef2cde5a8a062fd44faf12920a696e54", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_rust_2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/day8.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::{Write,BufWriter}}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/day8.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::{Write,BufWriter}}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nice` is never read [INFO] [stdout] --> src/day23.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let (mut nice,_) = (0,0); [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: function `main` is never used [INFO] [stdout] --> src/day1.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attach_message_to_present` is never used [INFO] [stdout] --> src/day1.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn attach_message_to_present(message: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day2.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attach_message_to_present` is never used [INFO] [stdout] --> src/day2.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn attach_message_to_present(message: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOD_WEIGHT` is never used [INFO] [stdout] --> src/day3.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const GOOD_WEIGHT: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BAD_WEIGHT` is never used [INFO] [stdout] --> src/day3.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const BAD_WEIGHT: f32 = 2.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_nice` is never used [INFO] [stdout] --> src/day3.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn is_nice(good_deeds: u32, bad_deeds: u32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOD_WEIGHT` is never used [INFO] [stdout] --> src/day4.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const GOOD_WEIGHT: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BAD_WEIGHT` is never used [INFO] [stdout] --> src/day4.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const BAD_WEIGHT: f32 = 2.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Niceness` is never used [INFO] [stdout] --> src/day4.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Niceness { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kid` is never constructed [INFO] [stdout] --> src/day4.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Kid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `is_nice` are never used [INFO] [stdout] --> src/day4.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Kid { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 23 | pub fn new(name: String, good_deeds: u32, bad_deeds: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_nice(good_deeds: u32, bad_deeds: u32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOD_WEIGHT` is never used [INFO] [stdout] --> src/day5.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const GOOD_WEIGHT: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BAD_WEIGHT` is never used [INFO] [stdout] --> src/day5.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const BAD_WEIGHT: f32 = 2.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Niceness` is never used [INFO] [stdout] --> src/day5.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Niceness { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kid` is never constructed [INFO] [stdout] --> src/day5.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Kid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_row`, `new`, and `is_nice` are never used [INFO] [stdout] --> src/day5.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Kid { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 16 | pub fn parse_row(csv_row: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn new(name: String, good_deeds: u32, bad_deeds: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn is_nice(good_deeds: u32, bad_deeds: u32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longer_wish` is never used [INFO] [stdout] --> src/day6.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn longer_wish<'a>(s1: &'a str, s2: &'a str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogQuery` is never constructed [INFO] [stdout] --> src/day7.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct LogQuery<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `search` are never used [INFO] [stdout] --> src/day7.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> LogQuery<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(logs:&'a Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn search(&self, input:&str) -> Vec<&'a String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogQuery` is never constructed [INFO] [stdout] --> src/day8.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct LogQuery<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `search`, and `export_to_file` are never used [INFO] [stdout] --> src/day8.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl<'a> LogQuery<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(logs: &'a Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn search(&self, keyword: &str) -> Vec<&'a String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn export_to_file(&self, keyword: &str, path: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_KG` is never used [INFO] [stdout] --> src/day9.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const SNOWBALL_WEIGHT_KG: f64 = 0.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_LB` is never used [INFO] [stdout] --> src/day9.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const SNOWBALL_WEIGHT_LB: f64 = 0.441; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowKg` is never constructed [INFO] [stdout] --> src/day9.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SnowKg(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day9.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl SnowKg { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 5 | pub fn new(kg: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowLb` is never constructed [INFO] [stdout] --> src/day9.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SnowLb(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day9.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl SnowLb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(lb: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Snowball` is never constructed [INFO] [stdout] --> src/day9.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Snowball(pub i64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day9.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Snowball { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(snowballs: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_KG` is never used [INFO] [stdout] --> src/day10.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SNOWBALL_WEIGHT_KG: f64 = 0.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_LB` is never used [INFO] [stdout] --> src/day10.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const SNOWBALL_WEIGHT_LB: f64 = 0.441; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowKg` is never constructed [INFO] [stdout] --> src/day10.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SnowKg(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day10.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SnowKg { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(kg: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowLb` is never constructed [INFO] [stdout] --> src/day10.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct SnowLb(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day10.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl SnowLb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(lb: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Snowball` is never constructed [INFO] [stdout] --> src/day10.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Snowball(pub i64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day10.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Snowball { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 51 | pub fn new(snowballs: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/day11.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `density` are never used [INFO] [stdout] --> src/day11.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Location { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new(x: f64, y: f64, z: f64, area: f64, snow: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn density(&self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_best_location` is never used [INFO] [stdout] --> src/day11.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn find_best_location(locations: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_KG` is never used [INFO] [stdout] --> src/day11.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | const SNOWBALL_WEIGHT_KG: f64 = 0.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_LB` is never used [INFO] [stdout] --> src/day11.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const SNOWBALL_WEIGHT_LB: f64 = 0.441; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowKg` is never constructed [INFO] [stdout] --> src/day11.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct SnowKg(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day11.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl SnowKg { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 57 | pub fn new(kg: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowLb` is never constructed [INFO] [stdout] --> src/day11.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct SnowLb(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day11.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl SnowLb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 70 | pub fn new(lb: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Snowball` is never constructed [INFO] [stdout] --> src/day11.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Snowball(pub i64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day11.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Snowball { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 83 | pub fn new(snowballs: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_most_dense_location` is never used [INFO] [stdout] --> src/day12.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn find_most_dense_location(locations: &Vec) -> Result<&Location, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_nearest_location` is never used [INFO] [stdout] --> src/day12.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn find_nearest_location(locations: &[Location]) -> Result<&Location, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_KG` is never used [INFO] [stdout] --> src/day12.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const SNOWBALL_WEIGHT_KG: f64 = 0.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_LB` is never used [INFO] [stdout] --> src/day12.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const SNOWBALL_WEIGHT_LB: f64 = 0.441; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowKg` is never constructed [INFO] [stdout] --> src/day12.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct SnowKg(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day12.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl SnowKg { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 42 | pub fn new(kg: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowLb` is never constructed [INFO] [stdout] --> src/day12.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct SnowLb(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day12.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl SnowLb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 59 | pub fn new(lb: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Snowball` is never constructed [INFO] [stdout] --> src/day12.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Snowball(pub i64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day12.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Snowball { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 76 | pub fn new(snowballs: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/day12.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `density` are never used [INFO] [stdout] --> src/day12.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl Location { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 113 | pub fn new(x: f64, y: f64, z: f64, area: f64, snow: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn density(&self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseError` is never used [INFO] [stdout] --> src/day13.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kid` is never constructed [INFO] [stdout] --> src/day13.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Kid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `parse_row`, and `is_nice` are never used [INFO] [stdout] --> src/day13.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Kid { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 36 | pub fn new(name: String, good_deeds: u32, bad_deeds: u32) -> Kid { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn parse_row(csv_row: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn is_nice(good_deeds: u32, bad_deeds: u32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOD_WEIGHT` is never used [INFO] [stdout] --> src/day13.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const GOOD_WEIGHT: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BAD_WEIGHT` is never used [INFO] [stdout] --> src/day13.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | pub const BAD_WEIGHT: f32 = 2.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Niceness` is never used [INFO] [stdout] --> src/day13.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum Niceness { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KidsGift` is never constructed [INFO] [stdout] --> src/day14.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct KidsGift { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElvesGift` is never constructed [INFO] [stdout] --> src/day14.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ElvesGift { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReindeerGift` is never constructed [INFO] [stdout] --> src/day14.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ReindeerGift { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_gift` is never used [INFO] [stdout] --> src/day14.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn display_gift(gift: &T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day14.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Gift` is never used [INFO] [stdout] --> src/day15.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Gift // 2. Finish the trait definition // [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KidsGift` is never constructed [INFO] [stdout] --> src/day15.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct KidsGift { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElvesGift` is never constructed [INFO] [stdout] --> src/day15.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ElvesGift { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReindeerGift` is never constructed [INFO] [stdout] --> src/day15.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ReindeerGift { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prepare_gift` is never used [INFO] [stdout] --> src/day15.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn prepare_gift(gift: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day15.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kid` is never constructed [INFO] [stdout] --> src/day16.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Kid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reindeer` is never constructed [INFO] [stdout] --> src/day16.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Reindeer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf` is never constructed [INFO] [stdout] --> src/day16.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Giftable` is never used [INFO] [stdout] --> src/day16.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait Giftable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Gift` is never used [INFO] [stdout] --> src/day16.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub trait Gift { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Santa` is never constructed [INFO] [stdout] --> src/day16.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Santa; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `give_gift` is never used [INFO] [stdout] --> src/day16.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl Santa { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 96 | pub fn give_gift(&self, recipient: &mut T, gift: &U) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KidsGift` is never constructed [INFO] [stdout] --> src/day16.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct KidsGift { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElvesGift` is never constructed [INFO] [stdout] --> src/day16.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct ElvesGift { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReindeerGift` is never constructed [INFO] [stdout] --> src/day16.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct ReindeerGift { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prepare_gift` is never used [INFO] [stdout] --> src/day16.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn prepare_gift(gift: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day16.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHRISTMAS_EMOJIS` is never used [INFO] [stdout] --> src/day17.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const CHRISTMAS_EMOJIS: [char; 4] = ['🎅', '🤶', '🎄', '🎁']; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Anonymized` is never used [INFO] [stdout] --> src/day17.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Anonymized { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day17.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sleigh` is never constructed [INFO] [stdout] --> src/day18.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Sleigh { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SleighBuilder` is never constructed [INFO] [stdout] --> src/day18.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SleighBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `color`, `engine`, `gift_capacity`, `magical_enhancements`, and `build` are never used [INFO] [stdout] --> src/day18.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SleighBuilder { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 18 | // Your code here... [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn color(mut self, color: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn engine(mut self, engine: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn gift_capacity(mut self, gift_capacity: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn magical_enhancements(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn build(self) -> Sleigh { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `color`, `engine`, `gift_capacity`, and `magical_enhancements` are never used [INFO] [stdout] --> src/day18.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Sleigh { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 92 | pub fn color(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn engine(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn gift_capacity(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn magical_enhancements(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day18.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> src/day19.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Empty; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ready` is never constructed [INFO] [stdout] --> src/day19.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Ready; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flying` is never constructed [INFO] [stdout] --> src/day19.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Flying; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sleigh` is never constructed [INFO] [stdout] --> src/day19.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Sleigh { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `load` are never used [INFO] [stdout] --> src/day19.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Sleigh { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 40 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn load(self) -> Sleigh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_off` and `unload` are never used [INFO] [stdout] --> src/day19.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Sleigh { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 50 | pub fn take_off(self) -> Sleigh { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn unload(self) -> Sleigh { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `land` is never used [INFO] [stdout] --> src/day19.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Sleigh { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 60 | pub fn land(self) -> Sleigh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> src/day20.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Empty; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ready` is never constructed [INFO] [stdout] --> src/day20.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ready; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flying` is never constructed [INFO] [stdout] --> src/day20.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Flying; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Status` is never used [INFO] [stdout] --> src/day20.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sleigh` is never constructed [INFO] [stdout] --> src/day20.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Sleigh { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `status` is never used [INFO] [stdout] --> src/day20.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Sleigh { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 38 | pub fn status(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `load` are never used [INFO] [stdout] --> src/day20.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Sleigh { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 44 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn load(self) -> Sleigh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_off` and `unload` are never used [INFO] [stdout] --> src/day20.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Sleigh { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 54 | pub fn take_off(self) -> Sleigh { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn unload(self) -> Sleigh { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `land` is never used [INFO] [stdout] --> src/day20.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Sleigh { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 64 | pub fn land(self) -> Sleigh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TempFile` is never constructed [INFO] [stdout] --> src/day21.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TempFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, `read_to_string`, `path`, and `file` are never used [INFO] [stdout] --> src/day21.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl TempFile { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 27 | [INFO] [stdout] 28 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn write(&self, data: &[u8]) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn read_to_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn file(&self) -> &File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TempFile` is never constructed [INFO] [stdout] --> src/day22.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TempFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, `read_from_cache`, `read_to_string`, `path`, and `file` are never used [INFO] [stdout] --> src/day22.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TempFile { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn write(&mut self, data: &[u8]) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn read_from_cache(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn read_to_string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn file(&self) -> &File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SantaList` is never constructed [INFO] [stdout] --> src/day23.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SantaList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `remove`, `get`, `count`, and `list_by_behavior` are never used [INFO] [stdout] --> src/day23.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl SantaList { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 10 | // 2. Implement the new method [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn add(&mut self, name: &str, behavior: bool) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn remove(&mut self, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get(&self, name: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn count(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn list_by_behavior(&self, behavior: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day23.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SleighTask` is never used [INFO] [stdout] --> src/day24.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait SleighTask: Send { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SantaSleighQueue` is never constructed [INFO] [stdout] --> src/day24.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SantaSleighQueue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `enqueue`, and `get_task` are never used [INFO] [stdout] --> src/day24.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SantaSleighQueue { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 15 | // 2. Define the `new` constructor [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn enqueue(&self, task: Box) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_task(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElfTask` is never constructed [INFO] [stdout] --> src/day24.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ElfTask { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day24.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl ElfTask { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 39 | // 6. Define the `new` constructor [INFO] [stdout] 40 | pub fn new(name: &str, urgency: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReindeerTask` is never constructed [INFO] [stdout] --> src/day24.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ReindeerTask { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day24.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl ReindeerTask { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 61 | // 8. Define the `new` constructor [INFO] [stdout] 62 | pub fn new(name: &str, weight: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day24.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nice` is never read [INFO] [stdout] --> src/day23.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let (mut nice,_) = (0,0); [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: function `main` is never used [INFO] [stdout] --> src/day1.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attach_message_to_present` is never used [INFO] [stdout] --> src/day1.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn attach_message_to_present(message: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day2.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attach_message_to_present` is never used [INFO] [stdout] --> src/day2.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn attach_message_to_present(message: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOD_WEIGHT` is never used [INFO] [stdout] --> src/day3.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const GOOD_WEIGHT: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BAD_WEIGHT` is never used [INFO] [stdout] --> src/day3.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const BAD_WEIGHT: f32 = 2.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_nice` is never used [INFO] [stdout] --> src/day3.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn is_nice(good_deeds: u32, bad_deeds: u32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOD_WEIGHT` is never used [INFO] [stdout] --> src/day4.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const GOOD_WEIGHT: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BAD_WEIGHT` is never used [INFO] [stdout] --> src/day4.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const BAD_WEIGHT: f32 = 2.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Niceness` is never used [INFO] [stdout] --> src/day4.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Niceness { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kid` is never constructed [INFO] [stdout] --> src/day4.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Kid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `is_nice` are never used [INFO] [stdout] --> src/day4.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Kid { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 23 | pub fn new(name: String, good_deeds: u32, bad_deeds: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_nice(good_deeds: u32, bad_deeds: u32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOD_WEIGHT` is never used [INFO] [stdout] --> src/day5.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const GOOD_WEIGHT: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BAD_WEIGHT` is never used [INFO] [stdout] --> src/day5.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const BAD_WEIGHT: f32 = 2.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Niceness` is never used [INFO] [stdout] --> src/day5.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Niceness { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kid` is never constructed [INFO] [stdout] --> src/day5.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Kid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_row`, `new`, and `is_nice` are never used [INFO] [stdout] --> src/day5.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Kid { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 16 | pub fn parse_row(csv_row: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn new(name: String, good_deeds: u32, bad_deeds: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn is_nice(good_deeds: u32, bad_deeds: u32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longer_wish` is never used [INFO] [stdout] --> src/day6.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn longer_wish<'a>(s1: &'a str, s2: &'a str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogQuery` is never constructed [INFO] [stdout] --> src/day7.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct LogQuery<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `search` are never used [INFO] [stdout] --> src/day7.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> LogQuery<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(logs:&'a Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn search(&self, input:&str) -> Vec<&'a String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogQuery` is never constructed [INFO] [stdout] --> src/day8.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct LogQuery<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `search`, and `export_to_file` are never used [INFO] [stdout] --> src/day8.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl<'a> LogQuery<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(logs: &'a Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn search(&self, keyword: &str) -> Vec<&'a String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn export_to_file(&self, keyword: &str, path: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_KG` is never used [INFO] [stdout] --> src/day9.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const SNOWBALL_WEIGHT_KG: f64 = 0.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_LB` is never used [INFO] [stdout] --> src/day9.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const SNOWBALL_WEIGHT_LB: f64 = 0.441; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowKg` is never constructed [INFO] [stdout] --> src/day9.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SnowKg(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day9.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl SnowKg { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 5 | pub fn new(kg: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowLb` is never constructed [INFO] [stdout] --> src/day9.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SnowLb(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day9.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl SnowLb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(lb: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Snowball` is never constructed [INFO] [stdout] --> src/day9.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Snowball(pub i64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day9.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Snowball { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(snowballs: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_KG` is never used [INFO] [stdout] --> src/day10.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SNOWBALL_WEIGHT_KG: f64 = 0.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_LB` is never used [INFO] [stdout] --> src/day10.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const SNOWBALL_WEIGHT_LB: f64 = 0.441; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowKg` is never constructed [INFO] [stdout] --> src/day10.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SnowKg(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day10.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SnowKg { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(kg: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowLb` is never constructed [INFO] [stdout] --> src/day10.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct SnowLb(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day10.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl SnowLb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(lb: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Snowball` is never constructed [INFO] [stdout] --> src/day10.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Snowball(pub i64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day10.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Snowball { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 51 | pub fn new(snowballs: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/day11.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `density` are never used [INFO] [stdout] --> src/day11.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Location { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new(x: f64, y: f64, z: f64, area: f64, snow: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn density(&self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_best_location` is never used [INFO] [stdout] --> src/day11.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn find_best_location(locations: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_KG` is never used [INFO] [stdout] --> src/day11.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | const SNOWBALL_WEIGHT_KG: f64 = 0.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_LB` is never used [INFO] [stdout] --> src/day11.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const SNOWBALL_WEIGHT_LB: f64 = 0.441; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowKg` is never constructed [INFO] [stdout] --> src/day11.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct SnowKg(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day11.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl SnowKg { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 57 | pub fn new(kg: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowLb` is never constructed [INFO] [stdout] --> src/day11.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct SnowLb(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day11.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl SnowLb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 70 | pub fn new(lb: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Snowball` is never constructed [INFO] [stdout] --> src/day11.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Snowball(pub i64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day11.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Snowball { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 83 | pub fn new(snowballs: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_most_dense_location` is never used [INFO] [stdout] --> src/day12.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn find_most_dense_location(locations: &Vec) -> Result<&Location, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_nearest_location` is never used [INFO] [stdout] --> src/day12.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn find_nearest_location(locations: &[Location]) -> Result<&Location, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_KG` is never used [INFO] [stdout] --> src/day12.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const SNOWBALL_WEIGHT_KG: f64 = 0.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNOWBALL_WEIGHT_LB` is never used [INFO] [stdout] --> src/day12.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const SNOWBALL_WEIGHT_LB: f64 = 0.441; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowKg` is never constructed [INFO] [stdout] --> src/day12.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct SnowKg(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day12.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl SnowKg { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 42 | pub fn new(kg: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnowLb` is never constructed [INFO] [stdout] --> src/day12.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct SnowLb(pub f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day12.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl SnowLb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 59 | pub fn new(lb: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Snowball` is never constructed [INFO] [stdout] --> src/day12.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Snowball(pub i64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day12.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Snowball { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 76 | pub fn new(snowballs: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/day12.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `density` are never used [INFO] [stdout] --> src/day12.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl Location { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 113 | pub fn new(x: f64, y: f64, z: f64, area: f64, snow: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn density(&self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseError` is never used [INFO] [stdout] --> src/day13.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kid` is never constructed [INFO] [stdout] --> src/day13.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Kid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `parse_row`, and `is_nice` are never used [INFO] [stdout] --> src/day13.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Kid { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 36 | pub fn new(name: String, good_deeds: u32, bad_deeds: u32) -> Kid { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn parse_row(csv_row: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn is_nice(good_deeds: u32, bad_deeds: u32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOD_WEIGHT` is never used [INFO] [stdout] --> src/day13.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const GOOD_WEIGHT: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BAD_WEIGHT` is never used [INFO] [stdout] --> src/day13.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | pub const BAD_WEIGHT: f32 = 2.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Niceness` is never used [INFO] [stdout] --> src/day13.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum Niceness { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KidsGift` is never constructed [INFO] [stdout] --> src/day14.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct KidsGift { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElvesGift` is never constructed [INFO] [stdout] --> src/day14.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ElvesGift { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReindeerGift` is never constructed [INFO] [stdout] --> src/day14.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ReindeerGift { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_gift` is never used [INFO] [stdout] --> src/day14.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn display_gift(gift: &T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day14.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Gift` is never used [INFO] [stdout] --> src/day15.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Gift // 2. Finish the trait definition // [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KidsGift` is never constructed [INFO] [stdout] --> src/day15.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct KidsGift { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElvesGift` is never constructed [INFO] [stdout] --> src/day15.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ElvesGift { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReindeerGift` is never constructed [INFO] [stdout] --> src/day15.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ReindeerGift { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prepare_gift` is never used [INFO] [stdout] --> src/day15.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn prepare_gift(gift: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day15.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kid` is never constructed [INFO] [stdout] --> src/day16.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Kid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reindeer` is never constructed [INFO] [stdout] --> src/day16.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Reindeer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf` is never constructed [INFO] [stdout] --> src/day16.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Giftable` is never used [INFO] [stdout] --> src/day16.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait Giftable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Gift` is never used [INFO] [stdout] --> src/day16.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub trait Gift { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Santa` is never constructed [INFO] [stdout] --> src/day16.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Santa; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `give_gift` is never used [INFO] [stdout] --> src/day16.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl Santa { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 96 | pub fn give_gift(&self, recipient: &mut T, gift: &U) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KidsGift` is never constructed [INFO] [stdout] --> src/day16.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct KidsGift { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElvesGift` is never constructed [INFO] [stdout] --> src/day16.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct ElvesGift { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReindeerGift` is never constructed [INFO] [stdout] --> src/day16.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct ReindeerGift { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prepare_gift` is never used [INFO] [stdout] --> src/day16.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn prepare_gift(gift: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day16.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHRISTMAS_EMOJIS` is never used [INFO] [stdout] --> src/day17.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const CHRISTMAS_EMOJIS: [char; 4] = ['🎅', '🤶', '🎄', '🎁']; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Anonymized` is never used [INFO] [stdout] --> src/day17.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Anonymized { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day17.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sleigh` is never constructed [INFO] [stdout] --> src/day18.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Sleigh { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SleighBuilder` is never constructed [INFO] [stdout] --> src/day18.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SleighBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `color`, `engine`, `gift_capacity`, `magical_enhancements`, and `build` are never used [INFO] [stdout] --> src/day18.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SleighBuilder { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 18 | // Your code here... [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn color(mut self, color: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn engine(mut self, engine: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn gift_capacity(mut self, gift_capacity: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn magical_enhancements(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn build(self) -> Sleigh { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `color`, `engine`, `gift_capacity`, and `magical_enhancements` are never used [INFO] [stdout] --> src/day18.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Sleigh { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 92 | pub fn color(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn engine(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn gift_capacity(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn magical_enhancements(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day18.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> src/day19.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Empty; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ready` is never constructed [INFO] [stdout] --> src/day19.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Ready; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flying` is never constructed [INFO] [stdout] --> src/day19.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Flying; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sleigh` is never constructed [INFO] [stdout] --> src/day19.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Sleigh { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `load` are never used [INFO] [stdout] --> src/day19.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Sleigh { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 40 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn load(self) -> Sleigh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_off` and `unload` are never used [INFO] [stdout] --> src/day19.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Sleigh { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 50 | pub fn take_off(self) -> Sleigh { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn unload(self) -> Sleigh { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `land` is never used [INFO] [stdout] --> src/day19.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Sleigh { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 60 | pub fn land(self) -> Sleigh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> src/day20.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Empty; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ready` is never constructed [INFO] [stdout] --> src/day20.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ready; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flying` is never constructed [INFO] [stdout] --> src/day20.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Flying; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Status` is never used [INFO] [stdout] --> src/day20.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sleigh` is never constructed [INFO] [stdout] --> src/day20.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Sleigh { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `status` is never used [INFO] [stdout] --> src/day20.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Sleigh { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 38 | pub fn status(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `load` are never used [INFO] [stdout] --> src/day20.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Sleigh { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 44 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn load(self) -> Sleigh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_off` and `unload` are never used [INFO] [stdout] --> src/day20.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Sleigh { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 54 | pub fn take_off(self) -> Sleigh { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn unload(self) -> Sleigh { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `land` is never used [INFO] [stdout] --> src/day20.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Sleigh { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 64 | pub fn land(self) -> Sleigh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TempFile` is never constructed [INFO] [stdout] --> src/day21.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TempFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, `read_to_string`, `path`, and `file` are never used [INFO] [stdout] --> src/day21.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl TempFile { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 27 | [INFO] [stdout] 28 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn write(&self, data: &[u8]) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn read_to_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn file(&self) -> &File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TempFile` is never constructed [INFO] [stdout] --> src/day22.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TempFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, `read_from_cache`, `read_to_string`, `path`, and `file` are never used [INFO] [stdout] --> src/day22.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TempFile { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn write(&mut self, data: &[u8]) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn read_from_cache(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn read_to_string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn file(&self) -> &File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SantaList` is never constructed [INFO] [stdout] --> src/day23.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SantaList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `remove`, `get`, `count`, and `list_by_behavior` are never used [INFO] [stdout] --> src/day23.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl SantaList { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 10 | // 2. Implement the new method [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn add(&mut self, name: &str, behavior: bool) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn remove(&mut self, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get(&self, name: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn count(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn list_by_behavior(&self, behavior: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day23.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SleighTask` is never used [INFO] [stdout] --> src/day24.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait SleighTask: Send { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SantaSleighQueue` is never constructed [INFO] [stdout] --> src/day24.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SantaSleighQueue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `enqueue`, and `get_task` are never used [INFO] [stdout] --> src/day24.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SantaSleighQueue { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 15 | // 2. Define the `new` constructor [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn enqueue(&self, task: Box) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_task(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElfTask` is never constructed [INFO] [stdout] --> src/day24.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ElfTask { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day24.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl ElfTask { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 39 | // 6. Define the `new` constructor [INFO] [stdout] 40 | pub fn new(name: &str, urgency: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReindeerTask` is never constructed [INFO] [stdout] --> src/day24.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ReindeerTask { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day24.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl ReindeerTask { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 61 | // 8. Define the `new` constructor [INFO] [stdout] 62 | pub fn new(name: &str, weight: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day24.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "7fe7aeb6e4c054dc52c67ad3c0a853c1ef2cde5a8a062fd44faf12920a696e54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fe7aeb6e4c054dc52c67ad3c0a853c1ef2cde5a8a062fd44faf12920a696e54", kill_on_drop: false }` [INFO] [stdout] 7fe7aeb6e4c054dc52c67ad3c0a853c1ef2cde5a8a062fd44faf12920a696e54