[INFO] cloning repository https://github.com/ruudjelinssen/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ruudjelinssen/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruudjelinssen%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruudjelinssen%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46fb834b0012e6c272403f30b852ea10aa1da288 [INFO] checking ruudjelinssen/aoc2020 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruudjelinssen%2Faoc2020" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ruudjelinssen/aoc2020 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ruudjelinssen/aoc2020 [INFO] finished tweaking git repo https://github.com/ruudjelinssen/aoc2020 [INFO] tweaked toml for git repo https://github.com/ruudjelinssen/aoc2020 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/ruudjelinssen/aoc2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8f4fb25d17554a297d9f1a68cc8717f1a7bcca66c6ecc0a041c73085deeda621 [INFO] running `Command { std: "docker" "start" "-a" "8f4fb25d17554a297d9f1a68cc8717f1a7bcca66c6ecc0a041c73085deeda621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f4fb25d17554a297d9f1a68cc8717f1a7bcca66c6ecc0a041c73085deeda621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f4fb25d17554a297d9f1a68cc8717f1a7bcca66c6ecc0a041c73085deeda621", kill_on_drop: false }` [INFO] [stdout] 8f4fb25d17554a297d9f1a68cc8717f1a7bcca66c6ecc0a041c73085deeda621 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93ed6d78e5a50d1bc753241a6382942cbe6188a766963c3252f79c17d8c0f647 [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" "93ed6d78e5a50d1bc753241a6382942cbe6188a766963c3252f79c17d8c0f647", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking aoc2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant is never used: `FILENAME` [INFO] [stdout] --> src/days/eight.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const FILENAME: &str = "inputs/inputday8"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ACC` [INFO] [stdout] --> src/days/eight.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ACC, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JMP` [INFO] [stdout] --> src/days/eight.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | JMP, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NOP` [INFO] [stdout] --> src/days/eight.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | NOP, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Instruction` [INFO] [stdout] --> src/days/eight.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_line` [INFO] [stdout] --> src/days/eight.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_line(line: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/eight.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/days/eight.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn part1(instructions: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/days/eight.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn part2(instructions: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILENAME` [INFO] [stdout] --> src/days/eleven.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | static FILENAME: &str = "inputs/inputday11"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DIRECTIONS` [INFO] [stdout] --> src/days/eleven.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / const DIRECTIONS: [(isize, isize); 8] = [ [INFO] [stdout] 6 | | (-1, -1), [INFO] [stdout] 7 | | (-1, 0), [INFO] [stdout] 8 | | (-1, 1), [INFO] [stdout] ... | [INFO] [stdout] 13 | | (1, 1), [INFO] [stdout] 14 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `round_part1` [INFO] [stdout] --> src/days/eleven.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn round_part1(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `round_part2` [INFO] [stdout] --> src/days/eleven.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn round_part2(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_neighbours` [INFO] [stdout] --> src/days/eleven.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | fn get_neighbours(&self, row: usize, column: usize) -> Vec<&Seat> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_visible_seats` [INFO] [stdout] --> src/days/eleven.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | fn get_visible_seats(&self, row: usize, column: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_first_seat_hit` [INFO] [stdout] --> src/days/eleven.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | fn get_first_seat_hit(&self, row: isize, column: isize, direction: (isize, isize)) -> Seat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_occupied_seats` [INFO] [stdout] --> src/days/eleven.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | fn count_occupied_seats(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/eleven.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/days/eleven.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn part1(input: &str) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/days/eleven.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn part2(input: &str) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FILENAME` [INFO] [stdout] --> src/days/five.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const FILENAME: &str = "inputs/inputday5"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/five.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FILENAME` [INFO] [stdout] --> src/days/four.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const FILENAME: &str = "inputs/inputday4"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/four.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_passport` [INFO] [stdout] --> src/days/four.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn process_passport(pass: &str, re: &Regex, extra_checks: bool) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILENAME` [INFO] [stdout] --> src/days/nine.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | static FILENAME: &str = "inputs/inputday9"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PART1_PREAMBLE` [INFO] [stdout] --> src/days/nine.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const PART1_PREAMBLE: usize = 25; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/nine.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/days/nine.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn part1(numbers: &[u64], preamble: usize) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/days/nine.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn part2(numbers: &[u64], target: u64) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILENAME` [INFO] [stdout] --> src/days/one.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | static FILENAME: &str = "inputs/inputday1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/one.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_solution` [INFO] [stdout] --> src/days/one.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_solution(input: &str, combs: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILENAME` [INFO] [stdout] --> src/days/seven.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static FILENAME: &str = "inputs/inputday7"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/seven.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_line` [INFO] [stdout] --> src/days/seven.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn process_line(line: &str) -> Rule { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bags_needed` [INFO] [stdout] --> src/days/seven.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn bags_needed(rules: &Vec, bag_type: &String, total: &mut i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILENAME` [INFO] [stdout] --> src/days/six.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | static FILENAME: &str = "inputs/inputday6"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/six.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILENAME` [INFO] [stdout] --> src/days/ten.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | static FILENAME: &str = "inputs/inputday10"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/ten.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/days/ten.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn part1(input: &[u64]) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/days/ten.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn part2(input: &[u64]) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2_count` [INFO] [stdout] --> src/days/ten.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn part2_count(sorted: &[u64], current: usize, mem_table: &mut HashMap) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FILENAME` [INFO] [stdout] --> src/days/three.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const FILENAME: &str = "inputs/inputday3"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TREE` [INFO] [stdout] --> src/days/three.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const TREE: char = '#'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/three.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_slope` [INFO] [stdout] --> src/days/three.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn calc_slope(input: &String, right: usize, down: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILENAME` [INFO] [stdout] --> src/days/twelve.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static FILENAME: &str = "inputs/inputday12"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `N` [INFO] [stdout] --> src/days/twelve.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | N, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `E` [INFO] [stdout] --> src/days/twelve.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | E, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `S` [INFO] [stdout] --> src/days/twelve.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | S, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `W` [INFO] [stdout] --> src/days/twelve.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | W, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/days/twelve.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `do_action` [INFO] [stdout] --> src/days/twelve.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn do_action(&mut self, action: Action) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `do_waypoint` [INFO] [stdout] --> src/days/twelve.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | fn do_waypoint(&mut self, action: Action) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [INFO] [stdout] --> src/days/twelve.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | fn distance(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/twelve.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/days/twelve.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn part1(input: &str) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/days/twelve.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn part2(input: &str) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FILENAME` [INFO] [stdout] --> src/days/two.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const FILENAME: &str = "inputs/inputday2"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/two.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `line_valid_part1` [INFO] [stdout] --> src/days/two.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn line_valid_part1(re: &Regex, line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `line_valid_part2` [INFO] [stdout] --> src/days/two.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn line_valid_part2(re: &Regex, line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FILENAME` [INFO] [stdout] --> src/days/eight.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const FILENAME: &str = "inputs/inputday8"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ACC` [INFO] [stdout] --> src/days/eight.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ACC, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JMP` [INFO] [stdout] --> src/days/eight.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | JMP, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NOP` [INFO] [stdout] --> src/days/eight.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | NOP, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Instruction` [INFO] [stdout] --> src/days/eight.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_line` [INFO] [stdout] --> src/days/eight.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_line(line: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/eight.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/days/eight.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn part1(instructions: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/days/eight.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn part2(instructions: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILENAME` [INFO] [stdout] --> src/days/eleven.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | static FILENAME: &str = "inputs/inputday11"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/eleven.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FILENAME` [INFO] [stdout] --> src/days/five.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const FILENAME: &str = "inputs/inputday5"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/five.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FILENAME` [INFO] [stdout] --> src/days/four.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const FILENAME: &str = "inputs/inputday4"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/four.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_passport` [INFO] [stdout] --> src/days/four.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn process_passport(pass: &str, re: &Regex, extra_checks: bool) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILENAME` [INFO] [stdout] --> src/days/nine.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | static FILENAME: &str = "inputs/inputday9"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PART1_PREAMBLE` [INFO] [stdout] --> src/days/nine.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const PART1_PREAMBLE: usize = 25; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/nine.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILENAME` [INFO] [stdout] --> src/days/one.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | static FILENAME: &str = "inputs/inputday1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/one.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_solution` [INFO] [stdout] --> src/days/one.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_solution(input: &str, combs: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILENAME` [INFO] [stdout] --> src/days/seven.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static FILENAME: &str = "inputs/inputday7"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/seven.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_line` [INFO] [stdout] --> src/days/seven.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn process_line(line: &str) -> Rule { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bags_needed` [INFO] [stdout] --> src/days/seven.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn bags_needed(rules: &Vec, bag_type: &String, total: &mut i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILENAME` [INFO] [stdout] --> src/days/six.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | static FILENAME: &str = "inputs/inputday6"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/six.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILENAME` [INFO] [stdout] --> src/days/ten.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | static FILENAME: &str = "inputs/inputday10"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/ten.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FILENAME` [INFO] [stdout] --> src/days/three.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const FILENAME: &str = "inputs/inputday3"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TREE` [INFO] [stdout] --> src/days/three.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const TREE: char = '#'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/three.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_slope` [INFO] [stdout] --> src/days/three.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn calc_slope(input: &String, right: usize, down: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILENAME` [INFO] [stdout] --> src/days/twelve.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static FILENAME: &str = "inputs/inputday12"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/twelve.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FILENAME` [INFO] [stdout] --> src/days/two.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const FILENAME: &str = "inputs/inputday2"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/days/two.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `line_valid_part1` [INFO] [stdout] --> src/days/two.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn line_valid_part1(re: &Regex, line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `line_valid_part2` [INFO] [stdout] --> src/days/two.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn line_valid_part2(re: &Regex, line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.31s [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "93ed6d78e5a50d1bc753241a6382942cbe6188a766963c3252f79c17d8c0f647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ed6d78e5a50d1bc753241a6382942cbe6188a766963c3252f79c17d8c0f647", kill_on_drop: false }` [INFO] [stdout] 93ed6d78e5a50d1bc753241a6382942cbe6188a766963c3252f79c17d8c0f647