[INFO] cloning repository https://github.com/jameshc2001/aoc_2017_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jameshc2001/aoc_2017_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjameshc2001%2Faoc_2017_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjameshc2001%2Faoc_2017_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffe2fae8aef73796d5fa6c25c1f8b751a8d9ff20 [INFO] checking jameshc2001/aoc_2017_rust/ffe2fae8aef73796d5fa6c25c1f8b751a8d9ff20 against master#35d55b34bffd51384ac430cc20852b7d16dd5a90 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjameshc2001%2Faoc_2017_rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jameshc2001/aoc_2017_rust [INFO] finished tweaking git repo https://github.com/jameshc2001/aoc_2017_rust [INFO] tweaked toml for git repo https://github.com/jameshc2001/aoc_2017_rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jameshc2001/aoc_2017_rust on toolchain 35d55b34bffd51384ac430cc20852b7d16dd5a90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jameshc2001/aoc_2017_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3864fe055f06681e4b83e53b1719448ad10d213eb4cdf76d55c5892f84f37f8f [INFO] running `Command { std: "docker" "start" "-a" "3864fe055f06681e4b83e53b1719448ad10d213eb4cdf76d55c5892f84f37f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3864fe055f06681e4b83e53b1719448ad10d213eb4cdf76d55c5892f84f37f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3864fe055f06681e4b83e53b1719448ad10d213eb4cdf76d55c5892f84f37f8f", kill_on_drop: false }` [INFO] [stdout] 3864fe055f06681e4b83e53b1719448ad10d213eb4cdf76d55c5892f84f37f8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cd6303c93e14fb3639983607e37cceea2e4525193364a1c716c83adf5cefb16 [INFO] running `Command { std: "docker" "start" "-a" "0cd6303c93e14fb3639983607e37cceea2e4525193364a1c716c83adf5cefb16", kill_on_drop: false }` [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Checking aoc_2017 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Action` is never used [INFO] [stdout] --> src/day08.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/day08.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Action { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn from_string(input: &str) -> Action { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Condition` is never constructed [INFO] [stdout] --> src/day08.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Condition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day08.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Condition { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 22 | pub fn new(register: String, operation: String, amount: i32) -> Condition { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/day08.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/day08.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 35 | pub fn from_string(input: String) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `captcha_sum` is never used [INFO] [stdout] --> src/day01.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn captcha_sum(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `half_way_captcha_sum` is never used [INFO] [stdout] --> src/day01.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn half_way_captcha_sum(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `captcha_sum_for_interval` is never used [INFO] [stdout] --> src/day01.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn captcha_sum_for_interval(input: &str, half_len: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checksum` is never used [INFO] [stdout] --> src/day02.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn checksum(input: &str, method: F) -> i32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_line` is never used [INFO] [stdout] --> src/day02.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_line(line: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_max_difference_checksum` is never used [INFO] [stdout] --> src/day02.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn min_max_difference_checksum(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `division_checksum` is never used [INFO] [stdout] --> src/day02.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn division_checksum(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_to_access_port` is never used [INFO] [stdout] --> src/day03.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn distance_to_access_port(target_num: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_largest` is never used [INFO] [stdout] --> src/day03.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn next_largest(target_num: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_num_from_neighbours` is never used [INFO] [stdout] --> src/day03.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_num_from_neighbours(grid: &HashMap, location: &Coord2D) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ORIGIN` is never used [INFO] [stdout] --> src/shared/coord_2d.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ORIGIN: Coord2D = Coord2D { x: 0, y: 0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEFT` is never used [INFO] [stdout] --> src/shared/coord_2d.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const LEFT: Coord2D = Coord2D { x: -1, y: 0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RIGHT` is never used [INFO] [stdout] --> src/shared/coord_2d.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const RIGHT: Coord2D = Coord2D { x: 1, y: 0 }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UP` is never used [INFO] [stdout] --> src/shared/coord_2d.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const UP: Coord2D = Coord2D { x: 0, y: 1 }; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DOWN` is never used [INFO] [stdout] --> src/shared/coord_2d.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const DOWN: Coord2D = Coord2D { x: 0, y: -1 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEFT_UP` is never used [INFO] [stdout] --> src/shared/coord_2d.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const LEFT_UP: Coord2D = Coord2D { x: -1, y: 1 }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RIGHT_UP` is never used [INFO] [stdout] --> src/shared/coord_2d.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const RIGHT_UP: Coord2D = Coord2D { x: 1, y: 1 }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEFT_DOWN` is never used [INFO] [stdout] --> src/shared/coord_2d.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const LEFT_DOWN: Coord2D = Coord2D { x: -1, y: -1 }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RIGHT_DOWN` is never used [INFO] [stdout] --> src/shared/coord_2d.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const RIGHT_DOWN: Coord2D = Coord2D { x: 1, y: -1}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIRECTIONS` is never used [INFO] [stdout] --> src/shared/coord_2d.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const DIRECTIONS: [&Coord2D; 4] = [&LEFT, &RIGHT, &UP, &DOWN]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALL_DIRECTIONS` is never used [INFO] [stdout] --> src/shared/coord_2d.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const ALL_DIRECTIONS: [&Coord2D; 8] = [&LEFT, &RIGHT, &UP, &DOWN, &LEFT_UP, &RIGHT_UP, &LEFT_DOWN, &RIGHT_DOWN]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_of_valid_passphrases` is never used [INFO] [stdout] --> src/day04.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn num_of_valid_passphrases(passphrases: &str, passphrase_validator: F) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_passphrase` is never used [INFO] [stdout] --> src/day04.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn is_valid_passphrase(passphrase: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_advanced_passphrase` is never used [INFO] [stdout] --> src/day04.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn is_valid_advanced_passphrase(passphrase: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ordered_word` is never used [INFO] [stdout] --> src/day04.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn ordered_word(word: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `steps_to_escape` is never used [INFO] [stdout] --> src/day05.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn steps_to_escape(input: &str, rule: F) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/day05.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn parse_input(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `steps_to_escape_simple` is never used [INFO] [stdout] --> src/day05.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn steps_to_escape_simple(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `steps_to_escape_advanced` is never used [INFO] [stdout] --> src/day05.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn steps_to_escape_advanced(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_memory_banks` is never used [INFO] [stdout] --> src/day06.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn get_memory_banks(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index_of_highest` is never used [INFO] [stdout] --> src/day06.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn index_of_highest(memory_banks: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redistribute` is never used [INFO] [stdout] --> src/day06.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn redistribute(memory_banks: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redistributions_to_duplicate` is never used [INFO] [stdout] --> src/day06.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn redistributions_to_duplicate(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_of_cycle` is never used [INFO] [stdout] --> src/day06.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn length_of_cycle(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REGEX` is never used [INFO] [stdout] --> src/day07.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | static REGEX: Lazy = Lazy::new(|| { Regex::new("\\w+").unwrap() }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tower` is never constructed [INFO] [stdout] --> src/day07.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Tower { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_towers_from_input` is never used [INFO] [stdout] --> src/day07.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_towers_from_input(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tower_from_line` is never used [INFO] [stdout] --> src/day07.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_tower_from_line(line: &str) -> Tower { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bottom_tower` is never used [INFO] [stdout] --> src/day07.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_bottom_tower(towers: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bottom_tower_from_input` is never used [INFO] [stdout] --> src/day07.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_bottom_tower_from_input(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_total_weights_for_towers` is never used [INFO] [stdout] --> src/day07.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_total_weights_for_towers(towers: &Vec) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_total_weight` is never used [INFO] [stdout] --> src/day07.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_total_weight(towers: &HashMap<&String, &Tower>, current_tower: &String, weights: &mut HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TowerAndTotal` is never constructed [INFO] [stdout] --> src/day07.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct TowerAndTotal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_correct_weight_for_bad_tower` is never used [INFO] [stdout] --> src/day07.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_correct_weight_for_bad_tower(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Action` is never used [INFO] [stdout] --> src/day08.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/day08.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Action { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn from_string(input: &str) -> Action { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Condition` is never constructed [INFO] [stdout] --> src/day08.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Condition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day08.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Condition { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 22 | pub fn new(register: String, operation: String, amount: i32) -> Condition { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/day08.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/day08.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 35 | pub fn from_string(input: String) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.96s [INFO] running `Command { std: "docker" "inspect" "0cd6303c93e14fb3639983607e37cceea2e4525193364a1c716c83adf5cefb16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd6303c93e14fb3639983607e37cceea2e4525193364a1c716c83adf5cefb16", kill_on_drop: false }` [INFO] [stdout] 0cd6303c93e14fb3639983607e37cceea2e4525193364a1c716c83adf5cefb16