[INFO] cloning repository https://github.com/billmal071/adventofcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/billmal071/adventofcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillmal071%2Fadventofcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillmal071%2Fadventofcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1004ee6691c9afcd8fd7d88283567964e8f73c30 [INFO] testing billmal071/adventofcode against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillmal071%2Fadventofcode" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/billmal071/adventofcode [INFO] finished tweaking git repo https://github.com/billmal071/adventofcode [INFO] tweaked toml for git repo https://github.com/billmal071/adventofcode written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/billmal071/adventofcode on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/billmal071/adventofcode 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v2.6.4 [INFO] [stderr] Downloaded aho-corasick v1.1.2 [INFO] [stderr] Downloaded regex-syntax v0.8.2 [INFO] [stderr] Downloaded regex v1.10.2 [INFO] [stderr] Downloaded regex-automata v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d84fa05805a227908e6b35e68054954eef4b70262200923ae9b410df60bdc840 [INFO] running `Command { std: "docker" "start" "-a" "d84fa05805a227908e6b35e68054954eef4b70262200923ae9b410df60bdc840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d84fa05805a227908e6b35e68054954eef4b70262200923ae9b410df60bdc840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d84fa05805a227908e6b35e68054954eef4b70262200923ae9b410df60bdc840", kill_on_drop: false }` [INFO] [stdout] d84fa05805a227908e6b35e68054954eef4b70262200923ae9b410df60bdc840 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d1d168ac218c545f1a99d7eaf30504da0bba58af1255ae9fb57e63a70bbf72fd [INFO] running `Command { std: "docker" "start" "-a" "d1d168ac218c545f1a99d7eaf30504da0bba58af1255ae9fb57e63a70bbf72fd", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `io::ErrorKind` and `num::IntErrorKind` [INFO] [stdout] --> src/y2024/aor/aor4.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::ErrorKind, num::IntErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `safe` [INFO] [stdout] --> src/y2024/day2/day2_part1.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let safe: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_safe` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `total_distance_btw_list` is never used [INFO] [stdout] --> src/y2024/day1/day1_part1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn total_distance_btw_list() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `similarity_score` is never used [INFO] [stdout] --> src/y2024/day1/day1_part2.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn similarity_score() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOD_WEIGHT` is never used [INFO] [stdout] --> src/y2024/aor/aor3.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/y2024/aor/aor3.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/y2024/aor/aor3.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Niceness { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Niceness` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kid` is never constructed [INFO] [stdout] --> src/y2024/aor/aor3.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Kid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `is_nice` and `new` are never used [INFO] [stdout] --> src/y2024/aor/aor3.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Kid { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 22 | pub fn is_nice(good_deeds: u32, bad_deeds: u32) -> Niceness { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn new(name: String, good_deeds: u32, bad_deeds: u32) -> Kid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOD_WEIGHT` is never used [INFO] [stdout] --> src/y2024/aor/aor4.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | 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/y2024/aor/aor4.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const BAD_WEIGHT: f32 = 2.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Niceness` is never used [INFO] [stdout] --> src/y2024/aor/aor4.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Niceness { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Niceness` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kid` is never constructed [INFO] [stdout] --> src/y2024/aor/aor4.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | 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/y2024/aor/aor4.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Kid { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 18 | pub fn parse_row(csv_row: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn new(name: String, good_deeds: u32, bad_deeds: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | 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/y2024/aor/aor6.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/y2024/aor/aor7.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | 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/y2024/aor/aor7.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> LogQuery<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(logs: &'a Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn search(&self, keyword: &str) -> Vec<&'a String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn export_to_file(&self, keyword: &str, path: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor9.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl SnowKg { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(kg: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor9.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SnowLb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(lb: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/y2024/aor/aor9.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Snowball(pub i64); [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor9.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Snowball { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(snowballs: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor10.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl SnowKg { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(kg: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor10.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl SnowLb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 29 | pub fn new(lb: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor10.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Snowball { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 45 | pub fn new(snowballs: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/y2024/aor/aor11.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `density` are never used [INFO] [stdout] --> src/y2024/aor/aor11.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Location { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new(x: f64, y: f64, z: f64, area: f64, snow: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn density(&self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_best_location` is never used [INFO] [stdout] --> src/y2024/aor/aor11.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn find_best_location(locations: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor11.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl SnowKg { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 65 | pub fn new(kg: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor11.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl SnowLb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 82 | pub fn new(lb: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor11.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl Snowball { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 99 | pub fn new(snowballs: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.99s [INFO] running `Command { std: "docker" "inspect" "d1d168ac218c545f1a99d7eaf30504da0bba58af1255ae9fb57e63a70bbf72fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d168ac218c545f1a99d7eaf30504da0bba58af1255ae9fb57e63a70bbf72fd", kill_on_drop: false }` [INFO] [stdout] d1d168ac218c545f1a99d7eaf30504da0bba58af1255ae9fb57e63a70bbf72fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2d2a7f00d1f2fcc704e0136463ee4f9fe49be6726efaaf91adf4dffda055524c [INFO] running `Command { std: "docker" "start" "-a" "2d2a7f00d1f2fcc704e0136463ee4f9fe49be6726efaaf91adf4dffda055524c", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `io::ErrorKind` and `num::IntErrorKind` [INFO] [stdout] --> src/y2024/aor/aor4.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::ErrorKind, num::IntErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `safe` [INFO] [stdout] --> src/y2024/day2/day2_part1.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let safe: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_safe` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `total_distance_btw_list` is never used [INFO] [stdout] --> src/y2024/day1/day1_part1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn total_distance_btw_list() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `similarity_score` is never used [INFO] [stdout] --> src/y2024/day1/day1_part2.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn similarity_score() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOD_WEIGHT` is never used [INFO] [stdout] --> src/y2024/aor/aor3.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/y2024/aor/aor3.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/y2024/aor/aor3.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Niceness { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Niceness` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kid` is never constructed [INFO] [stdout] --> src/y2024/aor/aor3.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Kid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `is_nice` and `new` are never used [INFO] [stdout] --> src/y2024/aor/aor3.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Kid { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 22 | pub fn is_nice(good_deeds: u32, bad_deeds: u32) -> Niceness { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn new(name: String, good_deeds: u32, bad_deeds: u32) -> Kid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOD_WEIGHT` is never used [INFO] [stdout] --> src/y2024/aor/aor4.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | 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/y2024/aor/aor4.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const BAD_WEIGHT: f32 = 2.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Niceness` is never used [INFO] [stdout] --> src/y2024/aor/aor4.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Niceness { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Niceness` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kid` is never constructed [INFO] [stdout] --> src/y2024/aor/aor4.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | 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/y2024/aor/aor4.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Kid { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 18 | pub fn parse_row(csv_row: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn new(name: String, good_deeds: u32, bad_deeds: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | 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/y2024/aor/aor6.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/y2024/aor/aor7.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | 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/y2024/aor/aor7.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> LogQuery<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(logs: &'a Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn search(&self, keyword: &str) -> Vec<&'a String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn export_to_file(&self, keyword: &str, path: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor9.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl SnowKg { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(kg: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor9.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SnowLb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(lb: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/y2024/aor/aor9.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Snowball(pub i64); [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor9.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Snowball { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(snowballs: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor10.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl SnowKg { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(kg: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor10.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl SnowLb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 29 | pub fn new(lb: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor10.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Snowball { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 45 | pub fn new(snowballs: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/y2024/aor/aor11.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `density` are never used [INFO] [stdout] --> src/y2024/aor/aor11.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Location { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new(x: f64, y: f64, z: f64, area: f64, snow: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn density(&self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_best_location` is never used [INFO] [stdout] --> src/y2024/aor/aor11.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn find_best_location(locations: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor11.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl SnowKg { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 65 | pub fn new(kg: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor11.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl SnowLb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 82 | pub fn new(lb: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2024/aor/aor11.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl Snowball { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 99 | pub fn new(snowballs: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "2d2a7f00d1f2fcc704e0136463ee4f9fe49be6726efaaf91adf4dffda055524c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d2a7f00d1f2fcc704e0136463ee4f9fe49be6726efaaf91adf4dffda055524c", kill_on_drop: false }` [INFO] [stdout] 2d2a7f00d1f2fcc704e0136463ee4f9fe49be6726efaaf91adf4dffda055524c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3ef82065fb755b382f5570a4bee9b9fc7be23c2bf35da384518cf07f500e1d11 [INFO] running `Command { std: "docker" "start" "-a" "3ef82065fb755b382f5570a4bee9b9fc7be23c2bf35da384518cf07f500e1d11", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `io::ErrorKind` and `num::IntErrorKind` [INFO] [stderr] --> src/y2024/aor/aor4.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{io::ErrorKind, num::IntErrorKind}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `safe` [INFO] [stderr] --> src/y2024/day2/day2_part1.rs:5:9 [INFO] [stderr] | [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] 5 | let safe: Vec = Vec::new(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_safe` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `total_distance_btw_list` is never used [INFO] [stderr] --> src/y2024/day1/day1_part1.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn total_distance_btw_list() -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `similarity_score` is never used [INFO] [stderr] --> src/y2024/day1/day1_part2.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn similarity_score() -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `GOOD_WEIGHT` is never used [INFO] [stderr] --> src/y2024/aor/aor3.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub const GOOD_WEIGHT: f32 = 1.0; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BAD_WEIGHT` is never used [INFO] [stderr] --> src/y2024/aor/aor3.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | pub const BAD_WEIGHT: f32 = 2.0; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Niceness` is never used [INFO] [stderr] --> src/y2024/aor/aor3.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum Niceness { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Niceness` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Kid` is never constructed [INFO] [stderr] --> src/y2024/aor/aor3.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Kid { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `is_nice` and `new` are never used [INFO] [stderr] --> src/y2024/aor/aor3.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl Kid { [INFO] [stderr] | -------- associated functions in this implementation [INFO] [stderr] 22 | pub fn is_nice(good_deeds: u32, bad_deeds: u32) -> Niceness { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn new(name: String, good_deeds: u32, bad_deeds: u32) -> Kid { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `GOOD_WEIGHT` is never used [INFO] [stderr] --> src/y2024/aor/aor4.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | pub const GOOD_WEIGHT: f32 = 1.0; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BAD_WEIGHT` is never used [INFO] [stderr] --> src/y2024/aor/aor4.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const BAD_WEIGHT: f32 = 2.0; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Niceness` is never used [INFO] [stderr] --> src/y2024/aor/aor4.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | pub enum Niceness { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Niceness` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Kid` is never constructed [INFO] [stderr] --> src/y2024/aor/aor4.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Kid { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `parse_row`, `new`, and `is_nice` are never used [INFO] [stderr] --> src/y2024/aor/aor4.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl Kid { [INFO] [stderr] | -------- associated functions in this implementation [INFO] [stderr] 18 | pub fn parse_row(csv_row: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | pub fn new(name: String, good_deeds: u32, bad_deeds: u32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn is_nice(good_deeds: u32, bad_deeds: u32) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `longer_wish` is never used [INFO] [stderr] --> src/y2024/aor/aor6.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn longer_wish<'a>(s1: &'a str, s2: &'a str) -> Option<&'a str> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `LogQuery` is never constructed [INFO] [stderr] --> src/y2024/aor/aor7.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct LogQuery<'a> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `search`, and `export_to_file` are never used [INFO] [stderr] --> src/y2024/aor/aor7.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 12 | impl<'a> LogQuery<'a> { [INFO] [stderr] | --------------------- associated items in this implementation [INFO] [stderr] 13 | pub fn new(logs: &'a Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 17 | pub fn search(&self, keyword: &str) -> Vec<&'a String> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn export_to_file(&self, keyword: &str, path: &str) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/y2024/aor/aor9.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 6 | impl SnowKg { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 7 | pub fn new(kg: f64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/y2024/aor/aor9.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl SnowLb { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 15 | pub fn new(lb: f64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/y2024/aor/aor9.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct Snowball(pub i64); [INFO] [stderr] | -------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/y2024/aor/aor9.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl Snowball { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 23 | pub fn new(snowballs: i64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/y2024/aor/aor10.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl SnowKg { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 9 | pub fn new(kg: f64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/y2024/aor/aor10.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl SnowLb { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 29 | pub fn new(lb: f64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/y2024/aor/aor10.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 44 | impl Snowball { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 45 | pub fn new(snowballs: i64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Location` is never constructed [INFO] [stderr] --> src/y2024/aor/aor11.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Location { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Location` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `density` are never used [INFO] [stderr] --> src/y2024/aor/aor11.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Location { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn new(x: f64, y: f64, z: f64, area: f64, snow: impl Into) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn density(&self) -> f64 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_best_location` is never used [INFO] [stderr] --> src/y2024/aor/aor11.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn find_best_location(locations: Vec) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/y2024/aor/aor11.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 64 | impl SnowKg { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 65 | pub fn new(kg: f64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/y2024/aor/aor11.rs:82:12 [INFO] [stderr] | [INFO] [stderr] 81 | impl SnowLb { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 82 | pub fn new(lb: f64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/y2024/aor/aor11.rs:99:12 [INFO] [stderr] | [INFO] [stderr] 98 | impl Snowball { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 99 | pub fn new(snowballs: i64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `advent_of_code` (bin "advent_of_code" test) generated 30 warnings (run `cargo fix --bin "advent_of_code" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/advent_of_code-4a396de66966446e) [INFO] running `Command { std: "docker" "inspect" "3ef82065fb755b382f5570a4bee9b9fc7be23c2bf35da384518cf07f500e1d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ef82065fb755b382f5570a4bee9b9fc7be23c2bf35da384518cf07f500e1d11", kill_on_drop: false }` [INFO] [stdout] 3ef82065fb755b382f5570a4bee9b9fc7be23c2bf35da384518cf07f500e1d11