[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] testing ruudjelinssen/aoc2020 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruudjelinssen%2Faoc2020" "/workspace/builds/worker-64/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-64/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ruudjelinssen/aoc2020 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-64/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98abac48f347e6e944dcf2b9283fb2a2e100a8161ac062dc794b4cdca4d783c1 [INFO] running `Command { std: "docker" "start" "-a" "98abac48f347e6e944dcf2b9283fb2a2e100a8161ac062dc794b4cdca4d783c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98abac48f347e6e944dcf2b9283fb2a2e100a8161ac062dc794b4cdca4d783c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98abac48f347e6e944dcf2b9283fb2a2e100a8161ac062dc794b4cdca4d783c1", kill_on_drop: false }` [INFO] [stdout] 98abac48f347e6e944dcf2b9283fb2a2e100a8161ac062dc794b4cdca4d783c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54c7db2464ab8823b12269c595c245bc002a041c914fcb42b07cbf915cc7598e [INFO] running `Command { std: "docker" "start" "-a" "54c7db2464ab8823b12269c595c245bc002a041c914fcb42b07cbf915cc7598e", kill_on_drop: false }` [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling 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: field is never read: `seats` [INFO] [stdout] --> src/days/eleven.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | seats: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Ferry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/eleven.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: field is never read: `bag_type` [INFO] [stdout] --> src/days/seven.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | bag_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/seven.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contains` [INFO] [stdout] --> src/days/seven.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | contains: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/seven.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contains_set` [INFO] [stdout] --> src/days/seven.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | contains_set: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/seven.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/twelve.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/twelve.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/twelve.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/twelve.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `direction` [INFO] [stdout] --> src/days/twelve.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | direction: Direction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Ferry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/twelve.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/days/twelve.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | position: (i64, i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Ferry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/twelve.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `waypoint` [INFO] [stdout] --> src/days/twelve.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | waypoint: (i64, i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Ferry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/twelve.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.30s [INFO] running `Command { std: "docker" "inspect" "54c7db2464ab8823b12269c595c245bc002a041c914fcb42b07cbf915cc7598e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54c7db2464ab8823b12269c595c245bc002a041c914fcb42b07cbf915cc7598e", kill_on_drop: false }` [INFO] [stdout] 54c7db2464ab8823b12269c595c245bc002a041c914fcb42b07cbf915cc7598e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1943064ff45bd30758a1a9e868ad485215488fee21d04c082473ea9cb205198c [INFO] running `Command { std: "docker" "start" "-a" "1943064ff45bd30758a1a9e868ad485215488fee21d04c082473ea9cb205198c", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: field is never read: `bag_type` [INFO] [stdout] --> src/days/seven.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | bag_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/seven.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contains` [INFO] [stdout] --> src/days/seven.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | contains: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/seven.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contains_set` [INFO] [stdout] --> src/days/seven.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | contains_set: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/seven.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.81s [INFO] running `Command { std: "docker" "inspect" "1943064ff45bd30758a1a9e868ad485215488fee21d04c082473ea9cb205198c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1943064ff45bd30758a1a9e868ad485215488fee21d04c082473ea9cb205198c", kill_on_drop: false }` [INFO] [stdout] 1943064ff45bd30758a1a9e868ad485215488fee21d04c082473ea9cb205198c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f2589e9ff69c5f2f9d9cd1dc258c28dccb051dde608d8d0d6bc266d630c98089 [INFO] running `Command { std: "docker" "start" "-a" "f2589e9ff69c5f2f9d9cd1dc258c28dccb051dde608d8d0d6bc266d630c98089", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: constant is never used: `FILENAME` [INFO] [stderr] --> src/days/eight.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | const FILENAME: &str = "inputs/inputday8"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ACC` [INFO] [stderr] --> src/days/eight.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | ACC, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `JMP` [INFO] [stderr] --> src/days/eight.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | JMP, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NOP` [INFO] [stderr] --> src/days/eight.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | NOP, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Instruction` [INFO] [stderr] --> src/days/eight.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | struct Instruction { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_line` [INFO] [stderr] --> src/days/eight.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn from_line(line: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/days/eight.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn solve() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/days/eight.rs:45:4 [INFO] [stderr] | [INFO] [stderr] 45 | fn part1(instructions: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/days/eight.rs:72:4 [INFO] [stderr] | [INFO] [stderr] 72 | fn part2(instructions: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static is never used: `FILENAME` [INFO] [stderr] --> src/days/eleven.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | static FILENAME: &str = "inputs/inputday11"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/days/eleven.rs:226:8 [INFO] [stderr] | [INFO] [stderr] 226 | pub fn solve() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `FILENAME` [INFO] [stderr] --> src/days/five.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | const FILENAME: &str = "inputs/inputday5"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/days/five.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn solve() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `FILENAME` [INFO] [stderr] --> src/days/four.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | const FILENAME: &str = "inputs/inputday4"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/days/four.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn solve() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `process_passport` [INFO] [stderr] --> src/days/four.rs:29:4 [INFO] [stderr] | [INFO] [stderr] 29 | fn process_passport(pass: &str, re: &Regex, extra_checks: bool) -> Result<(), &'static str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static is never used: `FILENAME` [INFO] [stderr] --> src/days/nine.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | static FILENAME: &str = "inputs/inputday9"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PART1_PREAMBLE` [INFO] [stderr] --> src/days/nine.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | const PART1_PREAMBLE: usize = 25; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/days/nine.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn solve() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static is never used: `FILENAME` [INFO] [stderr] --> src/days/one.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | static FILENAME: &str = "inputs/inputday1"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/days/one.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn solve() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_solution` [INFO] [stderr] --> src/days/one.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | fn get_solution(input: &str, combs: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static is never used: `FILENAME` [INFO] [stderr] --> src/days/seven.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | static FILENAME: &str = "inputs/inputday7"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bag_type` [INFO] [stderr] --> src/days/seven.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | bag_type: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Rule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/days/seven.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `contains` [INFO] [stderr] --> src/days/seven.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | contains: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Rule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/days/seven.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `contains_set` [INFO] [stderr] --> src/days/seven.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | contains_set: HashSet, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Rule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/days/seven.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/days/seven.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn solve() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `process_line` [INFO] [stderr] --> src/days/seven.rs:47:4 [INFO] [stderr] | [INFO] [stderr] 47 | fn process_line(line: &str) -> Rule { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `bags_needed` [INFO] [stderr] --> src/days/seven.rs:73:4 [INFO] [stderr] | [INFO] [stderr] 73 | fn bags_needed(rules: &Vec, bag_type: &String, total: &mut i32) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static is never used: `FILENAME` [INFO] [stderr] --> src/days/six.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | static FILENAME: &str = "inputs/inputday6"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/days/six.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn solve() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static is never used: `FILENAME` [INFO] [stderr] --> src/days/ten.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | static FILENAME: &str = "inputs/inputday10"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/days/ten.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn solve() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `FILENAME` [INFO] [stderr] --> src/days/three.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | const FILENAME: &str = "inputs/inputday3"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `TREE` [INFO] [stderr] --> src/days/three.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | const TREE: char = '#'; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/days/three.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn solve() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `calc_slope` [INFO] [stderr] --> src/days/three.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn calc_slope(input: &String, right: usize, down: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static is never used: `FILENAME` [INFO] [stderr] --> src/days/twelve.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | static FILENAME: &str = "inputs/inputday12"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/days/twelve.rs:148:8 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn solve() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `FILENAME` [INFO] [stderr] --> src/days/two.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | const FILENAME: &str = "inputs/inputday2"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/days/two.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn solve() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `line_valid_part1` [INFO] [stderr] --> src/days/two.rs:32:4 [INFO] [stderr] | [INFO] [stderr] 32 | fn line_valid_part1(re: &Regex, line: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `line_valid_part2` [INFO] [stderr] --> src/days/two.rs:44:4 [INFO] [stderr] | [INFO] [stderr] 44 | fn line_valid_part2(re: &Regex, line: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `aoc2020` (bin "aoc2020" test) generated 43 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.25s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aoc2020-5a899e9cbf42e4ff) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test days::nine::tests::example_part2 ... ok [INFO] [stdout] test days::eleven::tests::part2_example ... ok [INFO] [stdout] test days::ten::tests::part1_example ... ok [INFO] [stdout] test days::eleven::tests::part1_example ... ok [INFO] [stdout] test days::nine::tests::example_part1 ... ok [INFO] [stdout] test days::ten::tests::part2_example ... ok [INFO] [stdout] test days::thirteen::tests::example_part1 ... ok [INFO] [stdout] test days::thirteen::tests::example_part2 ... ok [INFO] [stdout] test days::twelve::tests::example_part2 ... ok [INFO] [stdout] test days::twelve::tests::example_part1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f2589e9ff69c5f2f9d9cd1dc258c28dccb051dde608d8d0d6bc266d630c98089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2589e9ff69c5f2f9d9cd1dc258c28dccb051dde608d8d0d6bc266d630c98089", kill_on_drop: false }` [INFO] [stdout] f2589e9ff69c5f2f9d9cd1dc258c28dccb051dde608d8d0d6bc266d630c98089