[INFO] cloning repository https://github.com/jostly/advent-of-code-2020
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jostly/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjostly%2Fadvent-of-code-2020", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjostly%2Fadvent-of-code-2020'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b9c24a3f1addc94a48d7f346ee2e8c4b7cf9e752
[INFO] testing jostly/advent-of-code-2020 against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjostly%2Fadvent-of-code-2020" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jostly/advent-of-code-2020 on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jostly/advent-of-code-2020
[INFO] finished tweaking git repo https://github.com/jostly/advent-of-code-2020
[INFO] tweaked toml for git repo https://github.com/jostly/advent-of-code-2020 written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/jostly/advent-of-code-2020 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b8a51513233788dbdec49bcf2436b8e86ca4cdbed41308a49f6d665848993074
[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" "b8a51513233788dbdec49bcf2436b8e86ca4cdbed41308a49f6d665848993074", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b8a51513233788dbdec49bcf2436b8e86ca4cdbed41308a49f6d665848993074", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8a51513233788dbdec49bcf2436b8e86ca4cdbed41308a49f6d665848993074", kill_on_drop: false }`
[INFO] [stdout] b8a51513233788dbdec49bcf2436b8e86ca4cdbed41308a49f6d665848993074
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9848cbc12c4a97424ae6d6763015b0b76e55f7a054f32af23fd2a659f9204131
[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" "9848cbc12c4a97424ae6d6763015b0b76e55f7a054f32af23fd2a659f9204131", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling year-2020 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `read_lines` is never used
[INFO] [stdout]  --> src/util/mod.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn read_lines<P>(filename: P) -> io::Result<io::Lines<io::BufReader<File>>>
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_records` is never used
[INFO] [stdout]   --> src/util/mod.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn read_records<P: AsRef<Path>>(filename: P) -> io::Result<Vec<Vec<String>>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_file` is never used
[INFO] [stdout]   --> src/util/mod.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn read_file<T, P>(filename: P) -> Result<Vec<T>, T::Err>
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_set` is never used
[INFO] [stdout]   --> src/util/mod.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn hash_set<T: Eq + Hash>(v: Vec<T>) -> HashSet<T> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_pair` is never used
[INFO] [stdout]  --> src/day01/mod.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn find_pair(target: i64, head: i64, tail: &[i64]) -> Option<(i64, i64)> {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_2020_in_2` is never used
[INFO] [stdout]   --> src/day01/mod.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn find_2020_in_2(numbers: &[i64]) -> Option<(i64, i64)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_2020_in_3` is never used
[INFO] [stdout]   --> src/day01/mod.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn find_2020_in_3(numbers: &[i64]) -> Option<(i64, i64, i64)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/day02/mod.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn new(input: &str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_valid` is never used
[INFO] [stdout]   --> src/day02/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn is_valid(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Map` is never constructed
[INFO] [stdout]  --> src/day03/mod.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Map {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/day03/mod.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn new(filename: &str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `goal_at` is never used
[INFO] [stdout]   --> src/day03/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn goal_at(&self, row: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `tree_at` is never used
[INFO] [stdout]   --> src/day03/mod.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn tree_at(&self, row: usize, column: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `count_trees` is never used
[INFO] [stdout]   --> src/day03/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn count_trees(&self, delta_row: usize, delta_column: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `trees` and `width` are never read
[INFO] [stdout]   --> src/day03/mod.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Line {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 39 |     trees: HashSet<usize>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 40 |     width: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `tree_at` is never used
[INFO] [stdout]   --> src/day03/mod.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn tree_at(&self, i: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `fields` is never read
[INFO] [stdout]    --> src/day04/mod.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 134 | struct Passport {
[INFO] [stdout]     |        -------- field in this struct
[INFO] [stdout] 135 |     fields: HashSet<Field>
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_valid` is never used
[INFO] [stdout]    --> src/day04/mod.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn is_valid(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_passports` is never used
[INFO] [stdout]    --> src/day04/mod.rs:152:4
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn parse_passports(lines: Vec<Line>) -> Vec<Passport> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_answers_in_records` is never used
[INFO] [stdout]  --> src/day06/mod.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn count_answers_in_records<F>(records: Vec<Vec<String>>, initial: u32, join_func: F) -> u32
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_answers` is never used
[INFO] [stdout]   --> src/day06/mod.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn count_answers<T, F>(answers: &[T], initial: u32, join_func: &F) -> u32
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `answer_to_bitfield` is never used
[INFO] [stdout]   --> src/day06/mod.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn answer_to_bitfield(s: &str) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `program`, `counter` and `accumulator` are never read
[INFO] [stdout]   --> src/day08/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Processor {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 28 |     program: Vec<Instruction>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 29 |     counter: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 30 |     accumulator: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Processor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_file` is never used
[INFO] [stdout]   --> src/day08/mod.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn from_file(filename: &str) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_terminated` is never used
[INFO] [stdout]   --> src/day08/mod.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn is_terminated(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `execute` is never used
[INFO] [stdout]   --> src/day08/mod.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn execute(&mut self) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `handle_operation` is never used
[INFO] [stdout]   --> src/day08/mod.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn handle_operation(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `swap_at` is never used
[INFO] [stdout]   --> src/day08/mod.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn swap_at(&mut self, index: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `change_to_terminate` is never used
[INFO] [stdout]   --> src/day08/mod.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn change_to_terminate(self) -> (Self, usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Validator` is never constructed
[INFO] [stdout]  --> src/day09/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Validator {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/day09/mod.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn new(preamble: usize) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `check` is never used
[INFO] [stdout]   --> src/day09/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn check(&self, numbers: &[i64]) -> Option<i64> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_contiguous_set_in_list` is never used
[INFO] [stdout]   --> src/day09/mod.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn find_contiguous_set_in_list(list: &[i64], target: i64) -> Option<&[i64]> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `differences` is never used
[INFO] [stdout]  --> src/day10/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn differences(input: &[i32]) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_entries` is never used
[INFO] [stdout]   --> src/day10/mod.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn count_entries<T>(input: &[T]) -> HashMap<T, usize>
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `jolts` is never used
[INFO] [stdout]   --> src/day10/mod.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn jolts(mut input: Vec<i32>) -> (usize, usize) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_consecutive_ones` is never used
[INFO] [stdout]   --> src/day10/mod.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn count_consecutive_ones(diffs: &[i32]) -> Vec<usize> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `combinations` is never used
[INFO] [stdout]   --> src/day10/mod.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn combinations(consec: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLOOR` is never used
[INFO] [stdout]  --> src/day11/mod.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | const FLOOR: u8 = '.' as u8;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMPTY_SEAT` is never used
[INFO] [stdout]  --> src/day11/mod.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | const EMPTY_SEAT: u8 = 'L' as u8;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TAKEN_SEAT` is never used
[INFO] [stdout]  --> src/day11/mod.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | const TAKEN_SEAT: u8 = '#' as u8;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Neighbour` and `Closest` are never constructed
[INFO] [stdout]   --> src/day11/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum SeatAlgorithm {
[INFO] [stdout]    |      ------------- variants in this enum
[INFO] [stdout] 12 |     Neighbour,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 13 |     Closest,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SeatAlgorithm` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `seat_algorithm` is never read
[INFO] [stdout]   --> src/day11/mod.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct WaitingArea {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     seat_algorithm: SeatAlgorithm,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/day11/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn new(data: &[String]) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_file` is never used
[INFO] [stdout]   --> src/day11/mod.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn from_file(filename: &str) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_seat_algorithm` is never used
[INFO] [stdout]   --> src/day11/mod.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn with_seat_algorithm(mut self, seat_algorithm: SeatAlgorithm) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pos` is never used
[INFO] [stdout]   --> src/day11/mod.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn pos(&self, row: i32, column: i32) -> u8 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `surrounding_taken_seats` is never used
[INFO] [stdout]   --> src/day11/mod.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn surrounding_taken_seats(&self, row: i32, column: i32) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `count_taken_seats` is never used
[INFO] [stdout]   --> src/day11/mod.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn count_taken_seats(&self) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `iterate` is never used
[INFO] [stdout]    --> src/day11/mod.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn iterate(&mut self) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `count_occupied_seats` is never used
[INFO] [stdout]    --> src/day11/mod.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn count_occupied_seats(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ferry` is never constructed
[INFO] [stdout]  --> src/day12/mod.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Ferry {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `North`, `East`, `South` and `West` are never constructed
[INFO] [stdout]   --> src/day12/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum Direction {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 14 |     North,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     East,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     South,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     West,
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `turn_steps` is never used
[INFO] [stdout]   --> src/day12/mod.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn turn_steps(&self, mut steps: i32) -> Direction {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/day12/mod.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `go` is never used
[INFO] [stdout]   --> src/day12/mod.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn go(&mut self, instruction: &str) {
[INFO] [stdout]    |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `apply_turn` is never used
[INFO] [stdout]   --> src/day12/mod.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn apply_turn(&mut self, turns: i32) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `apply_movement` is never used
[INFO] [stdout]   --> src/day12/mod.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn apply_movement(&mut self, direction: Direction, distance: i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `nav` is never used
[INFO] [stdout]    --> src/day12/mod.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn nav(&mut self, instruction: &str) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `turn_waypoint` is never used
[INFO] [stdout]    --> src/day12/mod.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn turn_waypoint(&mut self, mut turns: i32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `move_waypoint` is never used
[INFO] [stdout]    --> src/day12/mod.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 |     fn move_waypoint(&mut self, direction: Direction, distance: i32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `move_to_waypoint` is never used
[INFO] [stdout]    --> src/day12/mod.rs:163:8
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn move_to_waypoint(&mut self, times: i32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `manhattan_distance` is never used
[INFO] [stdout]    --> src/day12/mod.rs:170:8
[INFO] [stdout]     |
[INFO] [stdout] 170 |     fn manhattan_distance(&self) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_next_bus` is never used
[INFO] [stdout]  --> src/day13/mod.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn find_next_bus(timestamp: u128, buses: &[u128]) -> (u128, u128) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_it` is never used
[INFO] [stdout]   --> src/day13/mod.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse_it(s: &str) -> Vec<(u128, u128)> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_it` is never used
[INFO] [stdout]   --> src/day13/mod.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn solve_it(parameters: &[(u128, u128)]) -> u128 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/day13/mod.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn solve(s: &str) -> u128 {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mask` is never constructed
[INFO] [stdout]  --> src/day14/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Mask {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/day14/mod.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn new(mask: &str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `apply` is never used
[INFO] [stdout]   --> src/day14/mod.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn apply(&self, value: u64) -> u64 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `apply_mem` is never used
[INFO] [stdout]   --> src/day14/mod.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn apply_mem(&self, mut address: u64) -> Vec<u64> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_mutations` is never used
[INFO] [stdout]   --> src/day14/mod.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn add_mutations(out: &mut HashSet<u64>, base: u64, floatings: &[u64]) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Processor` is never constructed
[INFO] [stdout]   --> src/day14/mod.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct Processor {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/day14/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `execute` is never used
[INFO] [stdout]   --> src/day14/mod.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn execute<T: Into<String>>(&mut self, src: Vec<T>) -> u64 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProcessorV2` is never constructed
[INFO] [stdout]    --> src/day14/mod.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | struct ProcessorV2 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/day14/mod.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `execute` is never used
[INFO] [stdout]    --> src/day14/mod.rs:118:8
[INFO] [stdout]     |
[INFO] [stdout] 118 |     fn execute<T: Into<String>>(&mut self, src: Vec<T>) -> u64 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 78 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.56s
[INFO] running `Command { std: "docker" "inspect" "9848cbc12c4a97424ae6d6763015b0b76e55f7a054f32af23fd2a659f9204131", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9848cbc12c4a97424ae6d6763015b0b76e55f7a054f32af23fd2a659f9204131", kill_on_drop: false }`
[INFO] [stdout] 9848cbc12c4a97424ae6d6763015b0b76e55f7a054f32af23fd2a659f9204131
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a74d71d964e322a9f32e5468d3c9d44fdecb1939d5401fbd72e31486a3747c5e
[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" "a74d71d964e322a9f32e5468d3c9d44fdecb1939d5401fbd72e31486a3747c5e", kill_on_drop: false }`
[INFO] [stderr]    Compiling year-2020 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 4.88s
[INFO] running `Command { std: "docker" "inspect" "a74d71d964e322a9f32e5468d3c9d44fdecb1939d5401fbd72e31486a3747c5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a74d71d964e322a9f32e5468d3c9d44fdecb1939d5401fbd72e31486a3747c5e", kill_on_drop: false }`
[INFO] [stdout] a74d71d964e322a9f32e5468d3c9d44fdecb1939d5401fbd72e31486a3747c5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", 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] ba064423331b5b1e2c1dcf2cde253bea0cc416243d51fc87b97ad05c3df6d525
[INFO] running `Command { std: "docker" "start" "-a" "ba064423331b5b1e2c1dcf2cde253bea0cc416243d51fc87b97ad05c3df6d525", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/year_2020-aac97b4d08d43ac5)
[INFO] [stdout] 
[INFO] [stdout] running 63 tests
[INFO] [stdout] test day01::tests::part_1 ... ok
[INFO] [stdout] test day02::tests::matching_password_and_policy_is_valid ... ok
[INFO] [stdout] test day02::tests::parse_policy ... ok
[INFO] [stdout] test day02::tests::too_few_chars_password_and_policy_is_not_valid ... ok
[INFO] [stdout] test day02::tests::parse_password_and_policy ... ok
[INFO] [stdout] test day02::tests::too_many_chars_password_and_policy_is_not_valid ... ok
[INFO] [stdout] test day06::tests::count_answers_in_test_file_2 ... ok
[INFO] [stdout] test day04::tests::parse_field ... ok
[INFO] [stdout] test day03::tests::read_map_line ... ok
[INFO] [stdout] test day04::tests::parse_line ... ok
[INFO] [stdout] test day06::tests::count_answers_in_test_file_1 ... ok
[INFO] [stdout] test day08::tests::parse_instruction ... ok
[INFO] [stdout] test day05::tests::convert_to_seat_id ... ok
[INFO] [stdout] test day08::tests::processor_from_file ... ok
[INFO] [stdout] test day09::tests::find_set ... ok
[INFO] [stdout] test day07::tests::parse_bag ... ok
[INFO] [stdout] test day08::tests::part_2 ... ok
[INFO] [stdout] test day03::tests::count_trees ... ok
[INFO] [stdout] test day08::tests::change_to_terminate ... ok
[INFO] [stdout] test day09::tests::validate_small_example ... ok
[INFO] [stdout] test day07::tests::parse_bag_manifest ... ok
[INFO] [stdout] test day09::tests::part_1 ... ok
[INFO] [stdout] test day10::tests::larger_example ... ok
[INFO] [stdout] test day10::tests::part_2 ... ok
[INFO] [stdout] test day10::tests::permutations ... ok
[INFO] [stdout] test day10::tests::jolting_difference ... ok
[INFO] [stdout] test day10::tests::test_combinations ... ok
[INFO] [stdout] test day10::tests::part_1 ... ok
[INFO] [stdout] test day12::tests::move_east ... ok
[INFO] [stdout] test day11::tests::small_area_1 ... ok
[INFO] [stdout] test day11::tests::small_area_2 ... ok
[INFO] [stdout] test day12::tests::move_north ... ok
[INFO] [stdout] test day12::tests::move_west ... ok
[INFO] [stdout] test day12::tests::multiple_movements ... ok
[INFO] [stdout] test day08::tests::part_1 ... ok
[INFO] [stdout] test day12::tests::part_1 ... ok
[INFO] [stdout] test day12::tests::part_2 ... ok
[INFO] [stdout] test day12::tests::move_south ... ok
[INFO] [stdout] test day06::tests::part_1 ... ok
[INFO] [stdout] test day13::tests::buses ... ok
[INFO] [stdout] test day13::tests::part_1 ... ok
[INFO] [stdout] test day13::tests::part_2 ... ok
[INFO] [stdout] test day13::tests::solve_mod ... ok
[INFO] [stdout] test day12::tests::turn_left ... ok
[INFO] [stdout] test day12::tests::turn_right ... ok
[INFO] [stdout] test day12::tests::move_forward ... ok
[INFO] [stdout] test day12::tests::waypoint ... ok
[INFO] [stdout] test day14::tests::v2 ... ok
[INFO] [stdout] test day14::tests::set_and_clear ... ok
[INFO] [stdout] test day14::tests::program ... ok
[INFO] [stdout] test day06::tests::part_2 ... ok
[INFO] [stdout] test day14::tests::part_1 ... ok
[INFO] [stdout] test day05::tests::part_2 ... ok
[INFO] [stdout] test day05::tests::part_1 ... ok
[INFO] [stdout] test day01::tests::part_2 ... ok
[INFO] [stdout] test day07::tests::part_2 ... ok
[INFO] [stdout] test day07::tests::part_1 ... ok
[INFO] [stdout] test day09::tests::part_2 ... ok
[INFO] [stdout] test day11::tests::part_1 ... ok
[INFO] [stdout] test day14::tests::part_2 ... ok
[INFO] [stdout] test day02::tests::read_passwords ... ok
[INFO] [stdout] test day11::tests::part_2 ... ok
[INFO] [stdout] test day04::tests::reduce_to_passports ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 63 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.39s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ba064423331b5b1e2c1dcf2cde253bea0cc416243d51fc87b97ad05c3df6d525", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba064423331b5b1e2c1dcf2cde253bea0cc416243d51fc87b97ad05c3df6d525", kill_on_drop: false }`
[INFO] [stdout] ba064423331b5b1e2c1dcf2cde253bea0cc416243d51fc87b97ad05c3df6d525
