[INFO] cloning repository https://github.com/3digitdev/aoc2015 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/3digitdev/aoc2015" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3digitdev%2Faoc2015", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3digitdev%2Faoc2015'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e464f8942465c02783a737994e60e90a38283220 [INFO] checking 3digitdev/aoc2015 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3digitdev%2Faoc2015" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/3digitdev/aoc2015 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/3digitdev/aoc2015 [INFO] finished tweaking git repo https://github.com/3digitdev/aoc2015 [INFO] tweaked toml for git repo https://github.com/3digitdev/aoc2015 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/3digitdev/aoc2015 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fancy-regex v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] ed89d1105d5022ef6f6450339aaf01f0e17637489cf2ca2c49cbaccdc1414e6b [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" "ed89d1105d5022ef6f6450339aaf01f0e17637489cf2ca2c49cbaccdc1414e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed89d1105d5022ef6f6450339aaf01f0e17637489cf2ca2c49cbaccdc1414e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed89d1105d5022ef6f6450339aaf01f0e17637489cf2ca2c49cbaccdc1414e6b", kill_on_drop: false }` [INFO] [stdout] ed89d1105d5022ef6f6450339aaf01f0e17637489cf2ca2c49cbaccdc1414e6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 964f877fb577e2e1852e663189755d4941fc019157209648ce2eb2fa4bb6f975 [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" "964f877fb577e2e1852e663189755d4941fc019157209648ce2eb2fa4bb6f975", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking bit-vec v0.6.2 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking fancy-regex v0.4.1 [INFO] [stderr] Checking aoc2015 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/floor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> src/instructions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/delivery.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp`, `fmt` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fs, fmt, cmp}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/floor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> src/instructions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/delivery.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp`, `fmt` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fs, fmt, cmp}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | for i in 0..zeroes { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Floor` [INFO] [stdout] --> src/floor.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Floor { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/floor.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Floor { Floor { value: 0 }} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/floor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn print(&self) { println!("Floor {}", self.value); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `up` [INFO] [stdout] --> src/floor.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn up(&mut self) { self.value += 1; } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `down` [INFO] [stdout] --> src/floor.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn down(&mut self) { self.value -= 1; } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_char` [INFO] [stdout] --> src/floor.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse_char(&mut self, c: char) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_instructions` [INFO] [stdout] --> src/floor.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse_instructions(&mut self, instructions: &mut Instructions) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instructions.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new() -> Instructions{ Instructions { position: 0, text: vec![] } } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_file` [INFO] [stdout] --> src/instructions.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_file(&mut self, path: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Present` [INFO] [stdout] --> src/present.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Present { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/present.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new((l, w, h): (i32, i32, i32)) -> Present { Present { l, w, h} } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `smallest_sides` [INFO] [stdout] --> src/present.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn smallest_sides(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `surface_area` [INFO] [stdout] --> src/present.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn surface_area(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ribbon` [INFO] [stdout] --> src/present.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn ribbon(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Santa` [INFO] [stdout] --> src/delivery.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Santa { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/delivery.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Santa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_if_new` [INFO] [stdout] --> src/delivery.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn add_if_new(&mut self, coords: (i32, i32)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_instruction` [INFO] [stdout] --> src/delivery.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn parse_instruction(&mut self, instruction: char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_instructions` [INFO] [stdout] --> src/delivery.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn parse_instructions(&mut self, instructions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `houses_found` [INFO] [stdout] --> src/delivery.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn houses_found(&self) -> usize { self.delivered_to.len() } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unique_against` [INFO] [stdout] --> src/delivery.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn unique_against(&mut self, other: &Santa) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_5` [INFO] [stdout] --> src/main.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn day_5() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_4` [INFO] [stdout] --> src/main.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn day_4() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_digest` [INFO] [stdout] --> src/main.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn find_digest(zeroes: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_3` [INFO] [stdout] --> src/main.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn day_3() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_2` [INFO] [stdout] --> src/main.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn day_2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_1` [INFO] [stdout] --> src/main.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn day_1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | for i in 0..zeroes { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Floor` [INFO] [stdout] --> src/floor.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Floor { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/floor.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Floor { Floor { value: 0 }} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.98s [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/floor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn print(&self) { println!("Floor {}", self.value); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `up` [INFO] [stdout] --> src/floor.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn up(&mut self) { self.value += 1; } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `down` [INFO] [stdout] --> src/floor.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn down(&mut self) { self.value -= 1; } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_char` [INFO] [stdout] --> src/floor.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse_char(&mut self, c: char) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_instructions` [INFO] [stdout] --> src/floor.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse_instructions(&mut self, instructions: &mut Instructions) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instructions.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new() -> Instructions{ Instructions { position: 0, text: vec![] } } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_file` [INFO] [stdout] --> src/instructions.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_file(&mut self, path: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Present` [INFO] [stdout] --> src/present.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Present { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/present.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new((l, w, h): (i32, i32, i32)) -> Present { Present { l, w, h} } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `smallest_sides` [INFO] [stdout] --> src/present.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn smallest_sides(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `surface_area` [INFO] [stdout] --> src/present.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn surface_area(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ribbon` [INFO] [stdout] --> src/present.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn ribbon(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Santa` [INFO] [stdout] --> src/delivery.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Santa { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/delivery.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Santa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_if_new` [INFO] [stdout] --> src/delivery.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn add_if_new(&mut self, coords: (i32, i32)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_instruction` [INFO] [stdout] --> src/delivery.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn parse_instruction(&mut self, instruction: char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_instructions` [INFO] [stdout] --> src/delivery.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn parse_instructions(&mut self, instructions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `houses_found` [INFO] [stdout] --> src/delivery.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn houses_found(&self) -> usize { self.delivered_to.len() } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unique_against` [INFO] [stdout] --> src/delivery.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn unique_against(&mut self, other: &Santa) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_5` [INFO] [stdout] --> src/main.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn day_5() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_4` [INFO] [stdout] --> src/main.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn day_4() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_digest` [INFO] [stdout] --> src/main.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn find_digest(zeroes: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_3` [INFO] [stdout] --> src/main.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn day_3() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_2` [INFO] [stdout] --> src/main.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn day_2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_1` [INFO] [stdout] --> src/main.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn day_1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "964f877fb577e2e1852e663189755d4941fc019157209648ce2eb2fa4bb6f975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "964f877fb577e2e1852e663189755d4941fc019157209648ce2eb2fa4bb6f975", kill_on_drop: false }` [INFO] [stdout] 964f877fb577e2e1852e663189755d4941fc019157209648ce2eb2fa4bb6f975