[INFO] cloning repository https://github.com/darrenburns/adventofcode2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darrenburns/adventofcode2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarrenburns%2Fadventofcode2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarrenburns%2Fadventofcode2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 59ad8479a9e48a33003f4f2d57599470e2a2e95a [INFO] checking darrenburns/adventofcode2018 against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarrenburns%2Fadventofcode2018" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/darrenburns/adventofcode2018 [INFO] finished tweaking git repo https://github.com/darrenburns/adventofcode2018 [INFO] tweaked toml for git repo https://github.com/darrenburns/adventofcode2018 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/darrenburns/adventofcode2018 on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/darrenburns/adventofcode2018 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1223fc36e36e3c1ba19bc3df00c6b0ca9ae5e9fc12c8ef27a5e8f71ee921be93 [INFO] running `Command { std: "docker" "start" "-a" "1223fc36e36e3c1ba19bc3df00c6b0ca9ae5e9fc12c8ef27a5e8f71ee921be93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1223fc36e36e3c1ba19bc3df00c6b0ca9ae5e9fc12c8ef27a5e8f71ee921be93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1223fc36e36e3c1ba19bc3df00c6b0ca9ae5e9fc12c8ef27a5e8f71ee921be93", kill_on_drop: false }` [INFO] [stdout] 1223fc36e36e3c1ba19bc3df00c6b0ca9ae5e9fc12c8ef27a5e8f71ee921be93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3df02a19251877dc01be42d49a704ff045380f1f1f70383b56e54ab39ee43077 [INFO] running `Command { std: "docker" "start" "-a" "3df02a19251877dc01be42d49a704ff045380f1f1f70383b56e54ab39ee43077", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking arrayvec v0.4.8 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking uuid v0.7.1 [INFO] [stderr] Checking scan_fmt v0.1.3 [INFO] [stderr] Checking adventofcode2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> src/six.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::BorrowMut` [INFO] [stdout] --> src/six.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/seven.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BinaryHeap` [INFO] [stdout] --> src/seven.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::BinaryHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/ten.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/eleven.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | for search_square_size in (0..GRID_SQUARE_SIZE) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - for search_square_size in (0..GRID_SQUARE_SIZE) { [INFO] [stdout] 34 + for search_square_size in 0..GRID_SQUARE_SIZE { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> src/six.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::BorrowMut` [INFO] [stdout] --> src/six.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/seven.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BinaryHeap` [INFO] [stdout] --> src/seven.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::BinaryHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/ten.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/eleven.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | for search_square_size in (0..GRID_SQUARE_SIZE) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - for search_square_size in (0..GRID_SQUARE_SIZE) { [INFO] [stdout] 34 + for search_square_size in 0..GRID_SQUARE_SIZE { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/three.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut split_line = line.split_whitespace(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/three.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut split_line = line.split_whitespace(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/four.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | _ => () [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/four.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 24 | Act::StartShift => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 34 | Act::FallAsleep => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 37 | Act::WakeUp => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 43 | _ => () [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gid` [INFO] [stdout] --> src/four.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | let (gid, _, most_popular_minute, _) = sleepiest_guard.unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `most_popular_minute` [INFO] [stdout] --> src/four.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | let (gid, _, most_popular_minute, _) = sleepiest_guard.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_most_popular_minute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/four.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | _ => () [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/four.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 24 | Act::StartShift => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 34 | Act::FallAsleep => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 37 | Act::WakeUp => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 43 | _ => () [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gid` [INFO] [stdout] --> src/four.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | let (gid, _, most_popular_minute, _) = sleepiest_guard.unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `most_popular_minute` [INFO] [stdout] --> src/four.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | let (gid, _, most_popular_minute, _) = sleepiest_guard.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_most_popular_minute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point_id` [INFO] [stdout] --> src/six.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | let (point_id, &area_of_territory) = grid.iter() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/six.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | .map(|(col_idx, cell)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point_id` [INFO] [stdout] --> src/six.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | let (point_id, &area_of_territory) = grid.iter() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/six.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | let mut distances = points.iter() [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/six.rs:229:41 [INFO] [stdout] | [INFO] [stdout] 229 | .filter(move |(col_idx, cell)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_idx` [INFO] [stdout] --> src/six.rs:234:27 [INFO] [stdout] | [INFO] [stdout] 234 | .filter(|(col_idx, cell)| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_idx` [INFO] [stdout] --> src/six.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | .map(|(col_idx, cell)| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/six.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | .map(|(col_idx, cell)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/six.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | let mut distances = points.iter() [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/six.rs:229:41 [INFO] [stdout] | [INFO] [stdout] 229 | .filter(move |(col_idx, cell)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_idx` [INFO] [stdout] --> src/six.rs:234:27 [INFO] [stdout] | [INFO] [stdout] 234 | .filter(|(col_idx, cell)| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_idx` [INFO] [stdout] --> src/six.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | .map(|(col_idx, cell)| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ten.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut stars: Vec = BufReader::new(File::open(PATH_TO_INPUT).unwrap()).lines() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ten.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut stars: Vec = BufReader::new(File::open(PATH_TO_INPUT).unwrap()).lines() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/twelve.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut notes_map = lines.fold(HashMap::new(), |mut map, line| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pot_num` [INFO] [stdout] --> src/twelve.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | .filter(|&(pot_num, ch)| ch == '#') [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pot_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_frequency` is never used [INFO] [stdout] --> src/one.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn calculate_frequency() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_repeated_frequency` is never used [INFO] [stdout] --> src/one.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn first_repeated_frequency() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RepeatCounts` is never constructed [INFO] [stdout] --> src/two.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct RepeatCounts { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_checksum` is never used [INFO] [stdout] --> src/two.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn calculate_checksum() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_common_letters` is never used [INFO] [stdout] --> src/two.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn find_common_letters() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_single_char_difference` is never used [INFO] [stdout] --> src/two.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn has_single_char_difference(left: &str, right: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_common_chars` is never used [INFO] [stdout] --> src/two.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn get_common_chars(left: &str, right: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Tiles` is never used [INFO] [stdout] --> src/three.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Tiles = Vec>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/three.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dimension` is never constructed [INFO] [stdout] --> src/three.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Dimension { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Claim` is never constructed [INFO] [stdout] --> src/three.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Claim { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_num_square_inches_overlapping` is never used [INFO] [stdout] --> src/three.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn find_num_square_inches_overlapping() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialise_claim` is never used [INFO] [stdout] --> src/three.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn deserialise_claim(line: &str) -> Claim { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_layer_to_tiles` is never used [INFO] [stdout] --> src/three.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn add_layer_to_tiles(tiles: &mut Tiles, claim: &Claim) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_overlaps` is never used [INFO] [stdout] --> src/three.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn count_overlaps(tiles: &Tiles) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `END_OF_TIMESTAMP_INDEX` is never used [INFO] [stdout] --> src/four.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const END_OF_TIMESTAMP_INDEX: usize = 19; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checksum` is never used [INFO] [stdout] --> src/four.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn checksum() -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Act` is never used [INFO] [stdout] --> src/four.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | enum Act { StartShift, FallAsleep, WakeUp } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POLYMER_FILE` is never used [INFO] [stdout] --> src/five.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const POLYMER_FILE: &'static str = "src/files/five/polymer.txt"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNITS` is never used [INFO] [stdout] --> src/five.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const UNITS: &'static str = "abcdefghijklmnopqrstuvwxyz"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_of_final_string` is never used [INFO] [stdout] --> src/five.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn length_of_final_string() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `react` is never used [INFO] [stdout] --> src/five.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn react(polymer: String) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `react_filtered` is never used [INFO] [stdout] --> src/five.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn react_filtered(polymer: &String, skip: char) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `polar_opposites` is never used [INFO] [stdout] --> src/five.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn polar_opposites(a: char, b: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `react_with_unit` is never used [INFO] [stdout] --> src/five.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn react_with_unit(polymer: &mut String, unit: char) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COORDS_FILE` is never used [INFO] [stdout] --> src/six.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const COORDS_FILE: &'static str = "src/files/six/coords.txt"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MANHATTAN_LIMIT` is never used [INFO] [stdout] --> src/six.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const MANHATTAN_LIMIT: i32 = 10000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Grid` is never used [INFO] [stdout] --> src/six.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | type Grid = Vec>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GridCell` is never used [INFO] [stdout] --> src/six.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum GridCell { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `point`, `in_territory_of`, `id`, `get_territory_id`, `row`, and `col` are never used [INFO] [stdout] --> src/six.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl GridCell { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 31 | fn point(row: usize, col: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn in_territory_of(point_id: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn id(&self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn get_territory_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn row(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn col(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_largest_area` is never used [INFO] [stdout] --> src/six.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_largest_area() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_region` is never used [INFO] [stdout] --> src/six.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn find_region() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_grid` is never used [INFO] [stdout] --> src/six.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn build_grid(points: &Vec) -> Grid { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_points_from_coords_file` is never used [INFO] [stdout] --> src/six.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn load_points_from_coords_file() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_grid_with` is never used [INFO] [stdout] --> src/six.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn fill_grid_with(points: &Vec, height: usize, width: usize) -> Grid { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `populate_closest_points` is never used [INFO] [stdout] --> src/six.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn populate_closest_points(points: &Vec, grid: &mut Grid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `points_with_infinite_territory` is never used [INFO] [stdout] --> src/six.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn points_with_infinite_territory(grid: &Grid) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `manhattan_distance` is never used [INFO] [stdout] --> src/six.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn manhattan_distance(point: &GridCell, target_row: usize, target_col: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTIONS_FILE` is never used [INFO] [stdout] --> src/seven.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const INSTRUCTIONS_FILE: &'static str = "src/files/seven/instructions.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHABET` is never used [INFO] [stdout] --> src/seven.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const ALPHABET: &'static str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dependency` is never constructed [INFO] [stdout] --> src/seven.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Dependency { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_instruction_ordering` is never used [INFO] [stdout] --> src/seven.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_instruction_ordering() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_non_blocked` is never used [INFO] [stdout] --> src/seven.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn get_next_non_blocked( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dependencies_from_file` is never used [INFO] [stdout] --> src/seven.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn get_dependencies_from_file() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TREE_FILE` is never used [INFO] [stdout] --> src/eight.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const TREE_FILE: &'static str = "src/files/eight/tree.txt"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/eight.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_metadata` is never used [INFO] [stdout] --> src/eight.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn sum_metadata(node: &Node) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_metadata_part_two` is never used [INFO] [stdout] --> src/eight.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn sum_metadata_part_two(node: &Node) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_sum` is never used [INFO] [stdout] --> src/eight.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn calculate_sum() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_value_of_root` is never used [INFO] [stdout] --> src/eight.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn calculate_value_of_root() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_node` is never used [INFO] [stdout] --> src/eight.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 47 | fn get_node(iter: &mut impl Iterator) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_tree_data` is never used [INFO] [stdout] --> src/eight.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn load_tree_data() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_PLAYERS` is never used [INFO] [stdout] --> src/nine.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const NUM_PLAYERS: usize = 432; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LAST_MARBLE_VALUE` is never used [INFO] [stdout] --> src/nine.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const LAST_MARBLE_VALUE: usize = 71019; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `winning_elf_score` is never used [INFO] [stdout] --> src/nine.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn winning_elf_score() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRUNE_HEIGHT` is never used [INFO] [stdout] --> src/ten.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const PRUNE_HEIGHT: i32 = 15; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRUNE_WIDTH` is never used [INFO] [stdout] --> src/ten.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PRUNE_WIDTH: i32 = 100; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PATH_TO_INPUT` is never used [INFO] [stdout] --> src/ten.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const PATH_TO_INPUT: &'static str = "src/files/ten/stars.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Star` is never constructed [INFO] [stdout] --> src/ten.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Star { position: (i32, i32), velocity: (i32, i32) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Sky` is never used [INFO] [stdout] --> src/ten.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | type Sky = Vec>; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/twelve.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut notes_map = lines.fold(HashMap::new(), |mut map, line| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_sky` is never used [INFO] [stdout] --> src/ten.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn print_sky(sky: &Sky) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_message` is never used [INFO] [stdout] --> src/ten.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn find_message() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sky_of` is never used [INFO] [stdout] --> src/ten.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn create_sky_of(stars: &Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRID_SERIAL_NUMBER` is never used [INFO] [stdout] --> src/eleven.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const GRID_SERIAL_NUMBER: usize = 2866; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pot_num` [INFO] [stdout] --> src/twelve.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | .filter(|&(pot_num, ch)| ch == '#') [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pot_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRID_SQUARE_SIZE` is never used [INFO] [stdout] --> src/eleven.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const GRID_SQUARE_SIZE: usize = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEARCH_SQUARE_SIZE` is never used [INFO] [stdout] --> src/eleven.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const SEARCH_SQUARE_SIZE: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FuelCell` is never constructed [INFO] [stdout] --> src/eleven.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FuelCell { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_frequency` is never used [INFO] [stdout] --> src/one.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn calculate_frequency() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_optimal_cell_coords` is never used [INFO] [stdout] --> src/eleven.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn get_optimal_cell_coords() -> FuelCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_GENERATIONS` is never used [INFO] [stdout] --> src/twelve.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const NUM_GENERATIONS: i32 = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_repeated_frequency` is never used [INFO] [stdout] --> src/one.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn first_repeated_frequency() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RepeatCounts` is never constructed [INFO] [stdout] --> src/two.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct RepeatCounts { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_checksum` is never used [INFO] [stdout] --> src/two.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn calculate_checksum() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_common_letters` is never used [INFO] [stdout] --> src/two.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn find_common_letters() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_single_char_difference` is never used [INFO] [stdout] --> src/two.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn has_single_char_difference(left: &str, right: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_common_chars` is never used [INFO] [stdout] --> src/two.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn get_common_chars(left: &str, right: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Tiles` is never used [INFO] [stdout] --> src/three.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Tiles = Vec>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/three.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dimension` is never constructed [INFO] [stdout] --> src/three.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Dimension { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Claim` is never constructed [INFO] [stdout] --> src/three.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Claim { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_num_square_inches_overlapping` is never used [INFO] [stdout] --> src/three.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn find_num_square_inches_overlapping() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialise_claim` is never used [INFO] [stdout] --> src/three.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn deserialise_claim(line: &str) -> Claim { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_layer_to_tiles` is never used [INFO] [stdout] --> src/three.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn add_layer_to_tiles(tiles: &mut Tiles, claim: &Claim) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_overlaps` is never used [INFO] [stdout] --> src/three.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn count_overlaps(tiles: &Tiles) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `END_OF_TIMESTAMP_INDEX` is never used [INFO] [stdout] --> src/four.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const END_OF_TIMESTAMP_INDEX: usize = 19; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checksum` is never used [INFO] [stdout] --> src/four.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn checksum() -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Act` is never used [INFO] [stdout] --> src/four.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | enum Act { StartShift, FallAsleep, WakeUp } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POLYMER_FILE` is never used [INFO] [stdout] --> src/five.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const POLYMER_FILE: &'static str = "src/files/five/polymer.txt"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNITS` is never used [INFO] [stdout] --> src/five.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const UNITS: &'static str = "abcdefghijklmnopqrstuvwxyz"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_of_final_string` is never used [INFO] [stdout] --> src/five.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn length_of_final_string() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `react` is never used [INFO] [stdout] --> src/five.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn react(polymer: String) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `react_filtered` is never used [INFO] [stdout] --> src/five.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn react_filtered(polymer: &String, skip: char) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `polar_opposites` is never used [INFO] [stdout] --> src/five.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn polar_opposites(a: char, b: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `react_with_unit` is never used [INFO] [stdout] --> src/five.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn react_with_unit(polymer: &mut String, unit: char) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COORDS_FILE` is never used [INFO] [stdout] --> src/six.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const COORDS_FILE: &'static str = "src/files/six/coords.txt"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MANHATTAN_LIMIT` is never used [INFO] [stdout] --> src/six.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const MANHATTAN_LIMIT: i32 = 10000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Grid` is never used [INFO] [stdout] --> src/six.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | type Grid = Vec>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GridCell` is never used [INFO] [stdout] --> src/six.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum GridCell { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `point`, `in_territory_of`, `id`, `get_territory_id`, `row`, and `col` are never used [INFO] [stdout] --> src/six.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl GridCell { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 31 | fn point(row: usize, col: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn in_territory_of(point_id: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn id(&self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn get_territory_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn row(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn col(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_largest_area` is never used [INFO] [stdout] --> src/six.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_largest_area() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_region` is never used [INFO] [stdout] --> src/six.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn find_region() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_grid` is never used [INFO] [stdout] --> src/six.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn build_grid(points: &Vec) -> Grid { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_points_from_coords_file` is never used [INFO] [stdout] --> src/six.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn load_points_from_coords_file() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_grid_with` is never used [INFO] [stdout] --> src/six.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn fill_grid_with(points: &Vec, height: usize, width: usize) -> Grid { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `populate_closest_points` is never used [INFO] [stdout] --> src/six.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn populate_closest_points(points: &Vec, grid: &mut Grid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `points_with_infinite_territory` is never used [INFO] [stdout] --> src/six.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn points_with_infinite_territory(grid: &Grid) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `manhattan_distance` is never used [INFO] [stdout] --> src/six.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn manhattan_distance(point: &GridCell, target_row: usize, target_col: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTIONS_FILE` is never used [INFO] [stdout] --> src/seven.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const INSTRUCTIONS_FILE: &'static str = "src/files/seven/instructions.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHABET` is never used [INFO] [stdout] --> src/seven.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const ALPHABET: &'static str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dependency` is never constructed [INFO] [stdout] --> src/seven.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Dependency { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_instruction_ordering` is never used [INFO] [stdout] --> src/seven.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_instruction_ordering() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_non_blocked` is never used [INFO] [stdout] --> src/seven.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn get_next_non_blocked( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dependencies_from_file` is never used [INFO] [stdout] --> src/seven.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn get_dependencies_from_file() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TREE_FILE` is never used [INFO] [stdout] --> src/eight.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const TREE_FILE: &'static str = "src/files/eight/tree.txt"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/eight.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_metadata` is never used [INFO] [stdout] --> src/eight.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn sum_metadata(node: &Node) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_metadata_part_two` is never used [INFO] [stdout] --> src/eight.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn sum_metadata_part_two(node: &Node) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_sum` is never used [INFO] [stdout] --> src/eight.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn calculate_sum() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_value_of_root` is never used [INFO] [stdout] --> src/eight.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn calculate_value_of_root() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_node` is never used [INFO] [stdout] --> src/eight.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 47 | fn get_node(iter: &mut impl Iterator) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_tree_data` is never used [INFO] [stdout] --> src/eight.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn load_tree_data() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_PLAYERS` is never used [INFO] [stdout] --> src/nine.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const NUM_PLAYERS: usize = 432; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LAST_MARBLE_VALUE` is never used [INFO] [stdout] --> src/nine.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const LAST_MARBLE_VALUE: usize = 71019; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `winning_elf_score` is never used [INFO] [stdout] --> src/nine.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn winning_elf_score() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRUNE_HEIGHT` is never used [INFO] [stdout] --> src/ten.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const PRUNE_HEIGHT: i32 = 15; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRUNE_WIDTH` is never used [INFO] [stdout] --> src/ten.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PRUNE_WIDTH: i32 = 100; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PATH_TO_INPUT` is never used [INFO] [stdout] --> src/ten.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const PATH_TO_INPUT: &'static str = "src/files/ten/stars.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Star` is never constructed [INFO] [stdout] --> src/ten.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Star { position: (i32, i32), velocity: (i32, i32) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Sky` is never used [INFO] [stdout] --> src/ten.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | type Sky = Vec>; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_sky` is never used [INFO] [stdout] --> src/ten.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn print_sky(sky: &Sky) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_message` is never used [INFO] [stdout] --> src/ten.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn find_message() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sky_of` is never used [INFO] [stdout] --> src/ten.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn create_sky_of(stars: &Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRID_SERIAL_NUMBER` is never used [INFO] [stdout] --> src/eleven.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const GRID_SERIAL_NUMBER: usize = 2866; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRID_SQUARE_SIZE` is never used [INFO] [stdout] --> src/eleven.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const GRID_SQUARE_SIZE: usize = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEARCH_SQUARE_SIZE` is never used [INFO] [stdout] --> src/eleven.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const SEARCH_SQUARE_SIZE: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FuelCell` is never constructed [INFO] [stdout] --> src/eleven.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FuelCell { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_optimal_cell_coords` is never used [INFO] [stdout] --> src/eleven.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn get_optimal_cell_coords() -> FuelCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_GENERATIONS` is never used [INFO] [stdout] --> src/twelve.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const NUM_GENERATIONS: i32 = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.46s [INFO] running `Command { std: "docker" "inspect" "3df02a19251877dc01be42d49a704ff045380f1f1f70383b56e54ab39ee43077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3df02a19251877dc01be42d49a704ff045380f1f1f70383b56e54ab39ee43077", kill_on_drop: false }` [INFO] [stdout] 3df02a19251877dc01be42d49a704ff045380f1f1f70383b56e54ab39ee43077