[INFO] cloning repository https://github.com/lucis-fluxum/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucis-fluxum/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucis-fluxum%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucis-fluxum%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66a1637cff30650c93f85622a4fd68c5f27020ab [INFO] checking lucis-fluxum/advent-of-code against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucis-fluxum%2Fadvent-of-code" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lucis-fluxum/advent-of-code on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lucis-fluxum/advent-of-code [INFO] finished tweaking git repo https://github.com/lucis-fluxum/advent-of-code [INFO] tweaked toml for git repo https://github.com/lucis-fluxum/advent-of-code written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/lucis-fluxum/advent-of-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] [stderr] Downloaded rayon-core v1.6.1 [INFO] [stderr] Downloaded x11 v2.18.1 [INFO] [stderr] Downloaded device_query v0.1.3 [INFO] [stderr] Downloaded num-bigint v0.2.3 [INFO] [stderr] Downloaded num-rational v0.2.2 [INFO] [stderr] Downloaded rayon v1.2.1 [INFO] [stderr] Downloaded permutohedron v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6d2c0c492b4f76b97d2567dd587d1bc4b0d23da4fddb2b4db7346d020a69aea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b6d2c0c492b4f76b97d2567dd587d1bc4b0d23da4fddb2b4db7346d020a69aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6d2c0c492b4f76b97d2567dd587d1bc4b0d23da4fddb2b4db7346d020a69aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6d2c0c492b4f76b97d2567dd587d1bc4b0d23da4fddb2b4db7346d020a69aea", kill_on_drop: false }` [INFO] [stdout] b6d2c0c492b4f76b97d2567dd587d1bc4b0d23da4fddb2b4db7346d020a69aea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17c49377ef34e7b279e0adef29b1e2663f83424c11b04a01f067fdd75fe01286 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "17c49377ef34e7b279e0adef29b1e2663f83424c11b04a01f067fdd75fe01286", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling x11 v2.18.1 [INFO] [stderr] Compiling device_query v0.1.3 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Display`, `Error`, `Formatter` [INFO] [stdout] --> src/day_15_oxygen.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Error, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Error`, `Formatter` [INFO] [stdout] --> src/day_15_oxygen.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Error, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_backward` [INFO] [stdout] --> src/day_15_oxygen/robot.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn move_backward(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/day_01_fuel.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum_fuel_requirements` [INFO] [stdout] --> src/day_01_fuel.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn sum_fuel_requirements() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum_recursive_fuel_requirements` [INFO] [stdout] --> src/day_01_fuel.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn sum_recursive_fuel_requirements() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_fuel_needed` [INFO] [stdout] --> src/day_01_fuel.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_fuel_needed(mass: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/day_02_intcode.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply_fix` [INFO] [stdout] --> src/day_02_intcode.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn apply_fix(intcode: &mut Vec, noun: usize, verb: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute_operations` [INFO] [stdout] --> src/day_02_intcode.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn execute_operations(intcode: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_program` [INFO] [stdout] --> src/day_02_intcode.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn run_program() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_noun_and_verb` [INFO] [stdout] --> src/day_02_intcode.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn find_noun_and_verb() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `manhattan_distance` [INFO] [stdout] --> src/day_03_wires/point.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn manhattan_distance(self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/day_03_wires/wire.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `travel_one` [INFO] [stdout] --> src/day_03_wires/wire.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn travel_one(&mut self, direction: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `travel` [INFO] [stdout] --> src/day_03_wires/wire.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn travel(&mut self, vector: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_intersections` [INFO] [stdout] --> src/day_03_wires/wire.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn find_intersections<'a>(&'a self, other: &'a Wire) -> HashSet<&Point> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/day_03_wires.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_input() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_shortest_intersect_distance` [INFO] [stdout] --> src/day_03_wires.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn find_shortest_intersect_distance() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_shortest_intersect_distance_v2` [INFO] [stdout] --> src/day_03_wires.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn find_shortest_intersect_distance_v2() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/day_04_password.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn get_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digits` [INFO] [stdout] --> src/day_04_password.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_digits(num: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_possible_password` [INFO] [stdout] --> src/day_04_password.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn is_possible_password(candidate: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_possible_password_no_triples` [INFO] [stdout] --> src/day_04_password.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn is_possible_password_no_triples(candidate: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_num_possible_passwords` [INFO] [stdout] --> src/day_04_password.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn find_num_possible_passwords() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_num_possible_passwords_no_triples` [INFO] [stdout] --> src/day_04_password.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn find_num_possible_passwords_no_triples() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/day_05_diagnostic.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_diagnostic_program` [INFO] [stdout] --> src/day_05_diagnostic.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run_diagnostic_program(provided_inputs: Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_or_create_node` [INFO] [stdout] --> src/day_06_orbit_map/graph.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_or_create_node(&mut self, name: String) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_direct_orbits` [INFO] [stdout] --> src/day_06_orbit_map/graph.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn num_direct_orbits(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_indirect_orbits` [INFO] [stdout] --> src/day_06_orbit_map/graph.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn num_indirect_orbits(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/day_06_orbit_map/object.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(name: String) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_num_parents` [INFO] [stdout] --> src/day_06_orbit_map/object.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_num_parents(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_parents` [INFO] [stdout] --> src/day_06_orbit_map/object.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_parents(&self) -> Vec>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_distance_to` [INFO] [stdout] --> src/day_06_orbit_map/object.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_distance_to(&self, other: &Object) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/day_06_orbit_map.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_input() -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `populate_graph` [INFO] [stdout] --> src/day_06_orbit_map.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn populate_graph() -> Graph { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_orbit_counts` [INFO] [stdout] --> src/day_06_orbit_map.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_orbit_counts() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_minimum_orbital_transfers` [INFO] [stdout] --> src/day_06_orbit_map.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_minimum_orbital_transfers() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/day_07_amplifier.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_phases_from` [INFO] [stdout] --> src/day_07_amplifier.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn generate_phases_from(values: &mut [u8]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_maximum_thrust` [INFO] [stdout] --> src/day_07_amplifier.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn find_maximum_thrust() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_maximum_thrust_feedback_loop` [INFO] [stdout] --> src/day_07_amplifier.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn find_maximum_thrust_feedback_loop() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/day_08_image.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_layers` [INFO] [stdout] --> src/day_08_image.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_layers(image_data: &[u8], width: usize, height: usize) -> Vec>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/day_08_image.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const WIDTH: usize = 25; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/day_08_image.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | const HEIGHT: usize = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `verify_integrity` [INFO] [stdout] --> src/day_08_image.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn verify_integrity() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `combine_pixels` [INFO] [stdout] --> src/day_08_image.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn combine_pixels(first: u8, second: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode_image` [INFO] [stdout] --> src/day_08_image.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn decode_image() -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/day_09_boost.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_boost_program` [INFO] [stdout] --> src/day_09_boost.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run_boost_program(provided_inputs: Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dimensions` [INFO] [stdout] --> src/day_10_monitoring/map.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn dimensions(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_asteroids_around` [INFO] [stdout] --> src/day_10_monitoring/map.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn count_asteroids_around(&self, p: (i64, i64)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_slope` [INFO] [stdout] --> src/day_10_monitoring/map.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn calculate_slope(&self, p1: (i64, i64), p2: (i64, i64)) -> Slope { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `all_positions` [INFO] [stdout] --> src/day_10_monitoring/map.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn all_positions(&self) -> Vec<(i64, i64)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `asteroid_positions` [INFO] [stdout] --> src/day_10_monitoring/map.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn asteroid_positions(&self) -> Vec<(i64, i64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance_between` [INFO] [stdout] --> src/day_10_monitoring/map.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn distance_between(p1: (i64, i64), p2: (i64, i64)) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `best_station_pos` [INFO] [stdout] --> src/day_10_monitoring/map.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn best_station_pos(&self) -> (i64, i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zap` [INFO] [stdout] --> src/day_10_monitoring/map.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn zap(&mut self, start: (i64, i64), direction: Slope) -> Option<(i64, i64)> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vaporize_everything` [INFO] [stdout] --> src/day_10_monitoring/map.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn vaporize_everything(&mut self) -> Vec<(i64, i64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/day_10_monitoring.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_input() -> Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_num_asteroids_from_best_pos` [INFO] [stdout] --> src/day_10_monitoring.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_num_asteroids_from_best_pos() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_hundreth_asteroid_result` [INFO] [stdout] --> src/day_10_monitoring.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn two_hundreth_asteroid_result() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Black` [INFO] [stdout] --> src/day_11_paint_robot/color.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `White` [INFO] [stdout] --> src/day_11_paint_robot/color.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/day_11_paint_robot/color.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn from(n: u8) -> Color { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Up` [INFO] [stdout] --> src/day_11_paint_robot/direction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Down` [INFO] [stdout] --> src/day_11_paint_robot/direction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/day_11_paint_robot/direction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/day_11_paint_robot/direction.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate` [INFO] [stdout] --> src/day_11_paint_robot/direction.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn rotate(&mut self, n: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Robot` [INFO] [stdout] --> src/day_11_paint_robot/robot.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Robot { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/day_11_paint_robot/robot.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/day_11_paint_robot/robot.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_one` [INFO] [stdout] --> src/day_11_paint_robot/robot.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn move_one(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `paint_and_turn` [INFO] [stdout] --> src/day_11_paint_robot/robot.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn paint_and_turn(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/day_11_paint_robot.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_panel_count` [INFO] [stdout] --> src/day_11_paint_robot.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_panel_count() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_registration_id` [INFO] [stdout] --> src/day_11_paint_robot.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_registration_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `grid_to_string` [INFO] [stdout] --> src/day_11_paint_robot.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn grid_to_string(grid: Vec>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `All` [INFO] [stdout] --> src/day_12_n_body/moon.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `X` [INFO] [stdout] --> src/day_12_n_body/moon.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | X, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Y` [INFO] [stdout] --> src/day_12_n_body/moon.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Y, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Z` [INFO] [stdout] --> src/day_12_n_body/moon.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Z, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/day_12_n_body/moon.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(position: Vector) -> Moon { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gravitate_to` [INFO] [stdout] --> src/day_12_n_body/moon.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn gravitate_to(&mut self, other: &Moon, axis: Axis) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drift` [INFO] [stdout] --> src/day_12_n_body/moon.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn drift(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `energy` [INFO] [stdout] --> src/day_12_n_body/moon.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn energy(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/day_12_n_body.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_input(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simulate_time_step` [INFO] [stdout] --> src/day_12_n_body.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn simulate_time_step(moons: &mut Vec, axis: Axis) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_energy_after_1000_steps` [INFO] [stdout] --> src/day_12_n_body.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_energy_after_1000_steps() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_period` [INFO] [stdout] --> src/day_12_n_body.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn find_period(moons: &mut Vec, axis: Axis) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gcd` [INFO] [stdout] --> src/day_12_n_body.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn gcd(a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lcm` [INFO] [stdout] --> src/day_12_n_body.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn lcm(a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_steps_for_repeating_state` [INFO] [stdout] --> src/day_12_n_body.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_steps_for_repeating_state(input_file: Option<&str>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Game` [INFO] [stdout] --> src/day_13_arcade/game.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/day_13_arcade/game.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(computer: IntcodeComputer) -> Game { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_screen` [INFO] [stdout] --> src/day_13_arcade/game.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn draw_screen(&mut self, input: Vec, output: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_tile` [INFO] [stdout] --> src/day_13_arcade/game.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn find_tile(&self, tile: Tile) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/day_13_arcade/game.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn run(&mut self, output: bool) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/day_13_arcade/screen.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> Screen { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_tile` [INFO] [stdout] --> src/day_13_arcade/screen.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn draw_tile(&mut self, x: usize, y: usize, tile_id: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/day_13_arcade/tile.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wall` [INFO] [stdout] --> src/day_13_arcade/tile.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Wall, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Block` [INFO] [stdout] --> src/day_13_arcade/tile.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Paddle` [INFO] [stdout] --> src/day_13_arcade/tile.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Paddle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ball` [INFO] [stdout] --> src/day_13_arcade/tile.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Ball, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/day_13_arcade.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_num_block_tiles` [INFO] [stdout] --> src/day_13_arcade.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_num_block_tiles() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_game` [INFO] [stdout] --> src/day_13_arcade.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn run_game() -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Workbench` [INFO] [stdout] --> src/day_14_nanofactory/workbench.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Workbench { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/day_14_nanofactory/workbench.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(equations: HashMap>) -> Workbench { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_dependencies` [INFO] [stdout] --> src/day_14_nanofactory/workbench.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn find_dependencies(&mut self, mut material: Material) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `use_leftovers` [INFO] [stdout] --> src/day_14_nanofactory/workbench.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn use_leftovers(&mut self, needed_material: &mut Material) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_required_ore` [INFO] [stdout] --> src/day_14_nanofactory/workbench.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn find_required_ore(&mut self, material: Material) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/day_14_nanofactory.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_input() -> HashMap> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `min_ore_for_one_fuel` [INFO] [stdout] --> src/day_14_nanofactory.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn min_ore_for_one_fuel() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max_possible_fuel` [INFO] [stdout] --> src/day_14_nanofactory.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn max_possible_fuel() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_backward` [INFO] [stdout] --> src/day_15_oxygen/robot.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn move_backward(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_02_intcode.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | std::mem::replace(&mut intcode[1], noun); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_02_intcode.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | std::mem::replace(&mut intcode[2], verb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_02_intcode.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | std::mem::replace(&mut intcode[dest_index], sum); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_02_intcode.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | std::mem::replace(&mut intcode[dest_index], product); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_11_paint_robot/direction.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | mem::replace(self, new_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_15_oxygen/robot.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | mem::replace(&mut self.facing, old_facing); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intcode_computer.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | mem::replace(&mut self.instructions[dest_index], lhs + rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intcode_computer.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | mem::replace(&mut self.instructions[dest_index], lhs * rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intcode_computer.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | mem::replace(&mut self.instructions[dest_index], input_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intcode_computer.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | mem::replace(&mut self.instructions[dest_index], 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intcode_computer.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | mem::replace(&mut self.instructions[dest_index], 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intcode_computer.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | mem::replace(&mut self.instructions[dest_index], 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intcode_computer.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | mem::replace(&mut self.instructions[dest_index], 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_02_intcode.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | std::mem::replace(&mut intcode[1], noun); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_02_intcode.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | std::mem::replace(&mut intcode[2], verb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_02_intcode.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | std::mem::replace(&mut intcode[dest_index], sum); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_02_intcode.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | std::mem::replace(&mut intcode[dest_index], product); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_11_paint_robot/direction.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | mem::replace(self, new_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_15_oxygen/robot.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | mem::replace(&mut self.facing, old_facing); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intcode_computer.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | mem::replace(&mut self.instructions[dest_index], lhs + rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intcode_computer.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | mem::replace(&mut self.instructions[dest_index], lhs * rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intcode_computer.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | mem::replace(&mut self.instructions[dest_index], input_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intcode_computer.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | mem::replace(&mut self.instructions[dest_index], 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intcode_computer.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | mem::replace(&mut self.instructions[dest_index], 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intcode_computer.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | mem::replace(&mut self.instructions[dest_index], 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intcode_computer.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | mem::replace(&mut self.instructions[dest_index], 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 131 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.53s [INFO] running `Command { std: "docker" "inspect" "17c49377ef34e7b279e0adef29b1e2663f83424c11b04a01f067fdd75fe01286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17c49377ef34e7b279e0adef29b1e2663f83424c11b04a01f067fdd75fe01286", kill_on_drop: false }` [INFO] [stdout] 17c49377ef34e7b279e0adef29b1e2663f83424c11b04a01f067fdd75fe01286