[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] checking jostly/advent-of-code-2020 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjostly%2Fadvent-of-code-2020" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jostly/advent-of-code-2020 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/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-3/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 26a9758b144131ad931c1379f74b41b8bec4cd0b0734c8d0008adc2b363cf389
[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" "26a9758b144131ad931c1379f74b41b8bec4cd0b0734c8d0008adc2b363cf389", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "26a9758b144131ad931c1379f74b41b8bec4cd0b0734c8d0008adc2b363cf389", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26a9758b144131ad931c1379f74b41b8bec4cd0b0734c8d0008adc2b363cf389", kill_on_drop: false }`
[INFO] [stdout] 26a9758b144131ad931c1379f74b41b8bec4cd0b0734c8d0008adc2b363cf389
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 62b65a401d67383cbef5a55bdd28d7920d1d8974716a18b4bd906dd460b70802
[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" "62b65a401d67383cbef5a55bdd28d7920d1d8974716a18b4bd906dd460b70802", kill_on_drop: false }`
[INFO] [stderr] Compiling memchr v2.3.4
[INFO] [stderr] Checking regex-syntax v0.6.21
[INFO] [stderr] Checking aho-corasick v0.7.15
[INFO] [stderr] Checking regex v1.4.2
[INFO] [stderr] Checking year-2020 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function is never used: `read_lines`
[INFO] [stdout] --> src/util/mod.rs:8:8
[INFO] [stdout] |
[INFO] [stdout] 8 | pub fn read_lines
(filename: P) -> io::Result>>
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_records`
[INFO] [stdout] --> src/util/mod.rs:14:8
[INFO] [stdout] |
[INFO] [stdout] 14 | pub fn read_records>(filename: P) -> io::Result>> {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_file`
[INFO] [stdout] --> src/util/mod.rs:36:8
[INFO] [stdout] |
[INFO] [stdout] 36 | pub fn read_file(filename: P) -> Result, T::Err>
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `hash_set`
[INFO] [stdout] --> src/util/mod.rs:45:8
[INFO] [stdout] |
[INFO] [stdout] 45 | pub fn hash_set(v: Vec) -> HashSet {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `find_pair`
[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 is never used: `find_2020_in_2`
[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 is never used: `find_2020_in_3`
[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 is never used: `new`
[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 never used: `is_valid`
[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 is never constructed: `Map`
[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 is never used: `new`
[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 is never used: `goal_at`
[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 is never used: `tree_at`
[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 is never used: `count_trees`
[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: field is never read: `trees`
[INFO] [stdout] --> src/day03/mod.rs:39:5
[INFO] [stdout] |
[INFO] [stdout] 39 | trees: HashSet,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `width`
[INFO] [stdout] --> src/day03/mod.rs:40:5
[INFO] [stdout] |
[INFO] [stdout] 40 | width: usize,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `tree_at`
[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: associated function is never used: `is_valid`
[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 is never used: `parse_passports`
[INFO] [stdout] --> src/day04/mod.rs:152:4
[INFO] [stdout] |
[INFO] [stdout] 152 | fn parse_passports(lines: Vec) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `count_answers_in_records`
[INFO] [stdout] --> src/day06/mod.rs:1:4
[INFO] [stdout] |
[INFO] [stdout] 1 | fn count_answers_in_records(records: Vec>, initial: u32, join_func: F) -> u32
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `count_answers`
[INFO] [stdout] --> src/day06/mod.rs:12:4
[INFO] [stdout] |
[INFO] [stdout] 12 | fn count_answers(answers: &[T], initial: u32, join_func: &F) -> u32
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `answer_to_bitfield`
[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: associated function is never used: `from_file`
[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 never used: `is_terminated`
[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 is never used: `execute`
[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 is never used: `handle_operation`
[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 is never used: `swap_at`
[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 is never used: `change_to_terminate`
[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 is never constructed: `Validator`
[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 is never used: `new`
[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 is never used: `check`
[INFO] [stdout] --> src/day09/mod.rs:12:8
[INFO] [stdout] |
[INFO] [stdout] 12 | fn check(&self, numbers: &[i64]) -> Option {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `find_contiguous_set_in_list`
[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 is never used: `differences`
[INFO] [stdout] --> src/day10/mod.rs:4:8
[INFO] [stdout] |
[INFO] [stdout] 4 | pub fn differences(input: &[i32]) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `count_entries`
[INFO] [stdout] --> src/day10/mod.rs:13:8
[INFO] [stdout] |
[INFO] [stdout] 13 | pub fn count_entries(input: &[T]) -> HashMap
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `jolts`
[INFO] [stdout] --> src/day10/mod.rs:24:4
[INFO] [stdout] |
[INFO] [stdout] 24 | fn jolts(mut input: Vec) -> (usize, usize) {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `count_consecutive_ones`
[INFO] [stdout] --> src/day10/mod.rs:32:4
[INFO] [stdout] |
[INFO] [stdout] 32 | fn count_consecutive_ones(diffs: &[i32]) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `combinations`
[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 is never used: `FLOOR`
[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 is never used: `EMPTY_SEAT`
[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 is never used: `TAKEN_SEAT`
[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: variant is never constructed: `Neighbour`
[INFO] [stdout] --> src/day11/mod.rs:12:5
[INFO] [stdout] |
[INFO] [stdout] 12 | Neighbour,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant is never constructed: `Closest`
[INFO] [stdout] --> src/day11/mod.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | Closest,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `seat_algorithm`
[INFO] [stdout] --> src/day11/mod.rs:19:5
[INFO] [stdout] |
[INFO] [stdout] 19 | seat_algorithm: SeatAlgorithm,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `new`
[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 is never used: `from_file`
[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 is never used: `with_seat_algorithm`
[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 is never used: `pos`
[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 is never used: `surrounding_taken_seats`
[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 is never used: `count_taken_seats`
[INFO] [stdout] --> src/day11/mod.rs:96:8
[INFO] [stdout] |
[INFO] [stdout] 96 | fn count_taken_seats(&self) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `iterate`
[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 is never used: `count_occupied_seats`
[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 is never constructed: `Ferry`
[INFO] [stdout] --> src/day12/mod.rs:6:8
[INFO] [stdout] |
[INFO] [stdout] 6 | struct Ferry {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant is never constructed: `North`
[INFO] [stdout] --> src/day12/mod.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 14 | North,
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant is never constructed: `East`
[INFO] [stdout] --> src/day12/mod.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 15 | East,
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant is never constructed: `South`
[INFO] [stdout] --> src/day12/mod.rs:16:5
[INFO] [stdout] |
[INFO] [stdout] 16 | South,
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant is never constructed: `West`
[INFO] [stdout] --> src/day12/mod.rs:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | West,
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `turn_steps`
[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 is never used: `new`
[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 is never used: `go`
[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 is never used: `apply_turn`
[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 is never used: `apply_movement`
[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 is never used: `nav`
[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 is never used: `turn_waypoint`
[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 is never used: `move_waypoint`
[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 is never used: `move_to_waypoint`
[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 is never used: `manhattan_distance`
[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 is never used: `find_next_bus`
[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 is never used: `parse_it`
[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 is never used: `solve_it`
[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 is never used: `solve`
[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 is never constructed: `Mask`
[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 is never used: `new`
[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 is never used: `apply`
[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 is never used: `apply_mem`
[INFO] [stdout] --> src/day14/mod.rs:45:8
[INFO] [stdout] |
[INFO] [stdout] 45 | fn apply_mem(&self, mut address: u64) -> Vec {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `add_mutations`
[INFO] [stdout] --> src/day14/mod.rs:60:8
[INFO] [stdout] |
[INFO] [stdout] 60 | fn add_mutations(out: &mut HashSet, base: u64, floatings: &[u64]) {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `Processor`
[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 is never used: `new`
[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 is never used: `execute`
[INFO] [stdout] --> src/day14/mod.rs:83:8
[INFO] [stdout] |
[INFO] [stdout] 83 | fn execute>(&mut self, src: Vec) -> u64 {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `ProcessorV2`
[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 is never used: `new`
[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 is never used: `execute`
[INFO] [stdout] --> src/day14/mod.rs:118:8
[INFO] [stdout] |
[INFO] [stdout] 118 | fn execute>(&mut self, src: Vec) -> u64 {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 81 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.79s
[INFO] running `Command { std: "docker" "inspect" "62b65a401d67383cbef5a55bdd28d7920d1d8974716a18b4bd906dd460b70802", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62b65a401d67383cbef5a55bdd28d7920d1d8974716a18b4bd906dd460b70802", kill_on_drop: false }`
[INFO] [stdout] 62b65a401d67383cbef5a55bdd28d7920d1d8974716a18b4bd906dd460b70802