[INFO] cloning repository https://github.com/loziuu/aoc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/loziuu/aoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floziuu%2Faoc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floziuu%2Faoc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5fa3ce0de7ba8871ec200a376b96bf4aff9c3593 [INFO] building loziuu/aoc against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floziuu%2Faoc" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/loziuu/aoc on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/loziuu/aoc [INFO] finished tweaking git repo https://github.com/loziuu/aoc [INFO] tweaked toml for git repo https://github.com/loziuu/aoc written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/loziuu/aoc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc41cbc4c1944810f60f9e69e1b41326ec7a4af6e5c86d802aa198e52a164793 [INFO] running `Command { std: "docker" "start" "-a" "cc41cbc4c1944810f60f9e69e1b41326ec7a4af6e5c86d802aa198e52a164793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc41cbc4c1944810f60f9e69e1b41326ec7a4af6e5c86d802aa198e52a164793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc41cbc4c1944810f60f9e69e1b41326ec7a4af6e5c86d802aa198e52a164793", kill_on_drop: false }` [INFO] [stdout] cc41cbc4c1944810f60f9e69e1b41326ec7a4af6e5c86d802aa198e52a164793 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2fb86e5dcc6a77750b78b7a7809e996e5486d8a9c9df63af5eb4d976fffc20a [INFO] running `Command { std: "docker" "start" "-a" "c2fb86e5dcc6a77750b78b7a7809e996e5486d8a9c9df63af5eb4d976fffc20a", kill_on_drop: false }` [INFO] [stderr] Compiling aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/eleven/first.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eight::first` [INFO] [stdout] --> src/eleven/first.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::eight::first; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/fifteen/second.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | hash::Hash, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/twentyfour/first.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::read_to_string, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_n_bytes` [INFO] [stdout] --> src/eighteen/second.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | fn traverse(n: usize, bytes: Vec<(usize, usize)>, first_n_bytes: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_n_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/seven/first.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut count = 1; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/seven/first.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut count = 1; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file` is never used [INFO] [stdout] --> src/main.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn file(name: &str) -> File { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elapsed` is never used [INFO] [stdout] --> src/main.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn elapsed(func: T) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/eight/first.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn execute(file: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/eight/first.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn calc(matrix: Vec>) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/eight/first.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn add(x: i32, y: i32, dx: i32, dy: i32, m: i32, n: i32, set: &mut HashSet<(i32, i32)>) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/eight/second.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn execute(file: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/eight/second.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn calc(matrix: Vec>) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/eight/second.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn add(x: i32, y: i32, dx: i32, dy: i32, m: i32, n: i32, set: &mut HashSet<(i32, i32)>) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Path` is never used [INFO] [stdout] --> src/eighteen/first.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Path = (usize, usize, usize); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR` is never used [INFO] [stdout] --> src/eighteen/first.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const DIR: [(i32, i32); 4] = [(-1, 0), (0, 1), (1, 0), (0, -1)]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/eighteen/first.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse` is never used [INFO] [stdout] --> src/eighteen/first.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn traverse(n: usize, bytes: Vec<(usize, usize)>, first_n_bytes: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_point` is never used [INFO] [stdout] --> src/eighteen/first.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn next_point(x: usize, y: usize, dir: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Path` is never used [INFO] [stdout] --> src/eighteen/second.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Path = (usize, usize, usize); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR` is never used [INFO] [stdout] --> src/eighteen/second.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const DIR: [(i32, i32); 4] = [(-1, 0), (0, 1), (1, 0), (0, -1)]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/eighteen/second.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn execute(file_path: &str) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse` is never used [INFO] [stdout] --> src/eighteen/second.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn traverse(n: usize, bytes: Vec<(usize, usize)>, first_n_bytes: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_traverse` is never used [INFO] [stdout] --> src/eighteen/second.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn can_traverse(n: usize, matrix: &[Vec]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_point` is never used [INFO] [stdout] --> src/eighteen/second.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn next_point(x: usize, y: usize, dir: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/eleven/first.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn execute(file: &str, blinks: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_after` is never used [INFO] [stdout] --> src/eleven/first.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn calc_after(stones: &[usize], blinks: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/eleven/first.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn calc( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR` is never used [INFO] [stdout] --> src/fifteen/first.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const DIR: [(i32, i32); 4] = [(-1, 0), (0, 1), (1, 0), (0, -1)]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/fifteen/first.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse` is never used [INFO] [stdout] --> src/fifteen/first.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn traverse(matrix: &mut Vec>, dirs: &[char]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_cell` is never used [INFO] [stdout] --> src/fifteen/first.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn move_cell(i: usize, j: usize, dir: usize, matrix: &mut Vec>) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_dir` is never used [INFO] [stdout] --> src/fifteen/first.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn to_dir(ch: char) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_matrix` is never used [INFO] [stdout] --> src/fifteen/first.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn print_matrix(matrix: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR` is never used [INFO] [stdout] --> src/fifteen/second.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const DIR: [(i32, i32); 4] = [(-1, 0), (0, 1), (1, 0), (0, -1)]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/fifteen/second.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse` is never used [INFO] [stdout] --> src/fifteen/second.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn traverse(matrix: &mut Vec>, dirs: &[char]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_dir` is never used [INFO] [stdout] --> src/fifteen/second.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn to_dir(ch: char) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_matrix` is never used [INFO] [stdout] --> src/fifteen/second.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn print_matrix(matrix: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Graph` is never used [INFO] [stdout] --> src/five/first.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Graph = HashMap>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/five/first.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn execute(file: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/five/first.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn check(updates: &[i32], g: &Graph) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Graph` is never used [INFO] [stdout] --> src/five/second.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Graph = HashMap>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/five/second.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn execute(file: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/five/second.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn check(updates: &[i32], g: &Graph) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `order` is never used [INFO] [stdout] --> src/five/second.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn order(mut update: Vec, g: &Graph) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WORD` is never used [INFO] [stdout] --> src/four/first.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const WORD: [char; 4] = ['X', 'M', 'A', 'S']; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR` is never used [INFO] [stdout] --> src/four/first.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const DIR: [(i32, i32); 8] = [ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/four/first.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn execute(file: File) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/four/first.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn calc(matrix: &[Vec]) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs_fwd` is never used [INFO] [stdout] --> src/four/first.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn dfs_fwd(i: i32, j: i32, matrix: &[Vec]) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WORD` is never used [INFO] [stdout] --> src/four/second.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const WORD: [char; 4] = ['X', 'M', 'A', 'S']; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR` is never used [INFO] [stdout] --> src/four/second.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const DIR: [(i32, i32); 8] = [ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/four/second.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn execute(file: File) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/four/second.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn calc(matrix: &Vec>) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `left` is never used [INFO] [stdout] --> src/four/second.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn left(i: usize, j: usize, matrix: &[Vec]) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `right` is never used [INFO] [stdout] --> src/four/second.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn right(i: usize, j: usize, matrix: &[Vec]) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Tuple` is never used [INFO] [stdout] --> src/fourteen/first.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Tuple = (i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/fourteen/first.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_quadrant` is never used [INFO] [stdout] --> src/fourteen/first.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn count_quadrant(positions: &[(i32, i32)], x_bounds: (i32, i32), y_bounds: (i32, i32)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `final_position` is never used [INFO] [stdout] --> src/fourteen/first.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn final_position(pos: Tuple, velo: Tuple, m: i32, n: i32, seconds: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modulo` is never used [INFO] [stdout] --> src/fourteen/first.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn modulo(dividend: i32, divisor: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Tuple` is never used [INFO] [stdout] --> src/fourteen/second.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Tuple = (i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/fourteen/second.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn execute(file_path: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_position` is never used [INFO] [stdout] --> src/fourteen/second.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn next_position(pos: Tuple, velo: Tuple, m: i32, n: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modulo` is never used [INFO] [stdout] --> src/fourteen/second.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn modulo(dividend: i32, divisor: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/nine/first.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checksum` is never used [INFO] [stdout] --> src/nine/first.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn checksum(disk_map: &str) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Block` is never used [INFO] [stdout] --> src/nine/second.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/nine/second.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checksum` is never used [INFO] [stdout] --> src/nine/second.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn checksum(disk_map: &str) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/nineteen/first.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_towels_ref` is never used [INFO] [stdout] --> src/nineteen/first.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn collect_towels_ref(mut available: Vec<&str>, target: Vec<&str>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_target` is never used [INFO] [stdout] --> src/nineteen/first.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn check_target(target: &str, available: &mut [&str], cache: &mut HashMap) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_target_no_repeat` is never used [INFO] [stdout] --> src/nineteen/first.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn check_target_no_repeat( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/nineteen/second.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_towels_ref` is never used [INFO] [stdout] --> src/nineteen/second.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn collect_towels_ref(mut available: Vec<&str>, target: Vec<&str>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_target` is never used [INFO] [stdout] --> src/nineteen/second.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn check_target(target: &str, available: &mut [&str], cache: &mut HashMap) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_target_no_repeat` is never used [INFO] [stdout] --> src/nineteen/second.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn check_target_no_repeat( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/one/first.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn execute(file_name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/one/second.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn execute(file_name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/seven/first.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn execute(file: &str) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_evaluate` is never used [INFO] [stdout] --> src/seven/first.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn can_evaluate(i: usize, value: i64, values: &[i32], target: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/seven/second.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn execute(file: &str) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_evaluate` is never used [INFO] [stdout] --> src/seven/second.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn can_evaluate(i: usize, value: i64, values: &[i32], target: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concat` is never used [INFO] [stdout] --> src/seven/second.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn concat(a: i64, b: i64) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Computer` is never constructed [INFO] [stdout] --> src/seventeen/first.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Computer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/seventeen/first.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Computer { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 11 | fn new(reg_a: i32, reg_b: i32, reg_c: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn adv(&mut self, operand: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn bxl(&mut self, operand: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn bst(&mut self, operand: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn jnz(&mut self, operand: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn bxc(&mut self, _: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn out(&mut self, operand: u8) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn bdv(&mut self, operand: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn cdv(&mut self, operand: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn bump_ip(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn combo_operator(&self, operand: u8) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn run(&mut self, program: Vec) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/seventeen/first.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn execute(file_path: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR` is never used [INFO] [stdout] --> src/six/first.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const DIR: [(i32, i32); 4] = [(-1, 0), (0, 1), (1, 0), (0, -1)]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/six/first.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn execute(file: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mark_patroled` is never used [INFO] [stdout] --> src/six/first.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn mark_patroled(matrix: &mut [Vec]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse` is never used [INFO] [stdout] --> src/six/first.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn traverse(i: i32, j: i32, dir: usize, matrix: &mut [Vec]) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next` is never used [INFO] [stdout] --> src/six/first.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn next(dir: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR` is never used [INFO] [stdout] --> src/six/second.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const DIR: [(i32, i32); 4] = [(-1, 0), (0, 1), (1, 0), (0, -1)]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/six/second.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn execute(file: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mark_patroled` is never used [INFO] [stdout] --> src/six/second.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn mark_patroled(matrix: &mut [Vec]) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse` is never used [INFO] [stdout] --> src/six/second.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn traverse(i: i32, j: i32, dir: usize, matrix: &mut [Vec]) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_loop` is never used [INFO] [stdout] --> src/six/second.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn has_loop( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next` is never used [INFO] [stdout] --> src/six/second.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn next(dir: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR` is never used [INFO] [stdout] --> src/sixteen/first.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const DIR: [(i32, i32); 4] = [(-1, 0), (0, 1), (1, 0), (0, -1)]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Node` is never used [INFO] [stdout] --> src/sixteen/first.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type Node = (usize, usize); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Path` is never constructed [INFO] [stdout] --> src/sixteen/first.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `zero` and `make_move` are never used [INFO] [stdout] --> src/sixteen/first.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Path { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 32 | fn zero(x: usize, y: usize) -> Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn make_move(&self, x: usize, y: usize, cost: usize, dir: usize) -> Path { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/sixteen/first.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/sixteen/first.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn solve(maze: Vec>) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clockwise` is never used [INFO] [stdout] --> src/sixteen/first.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn clockwise(dir: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `counterwise` is never used [INFO] [stdout] --> src/sixteen/first.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn counterwise(dir: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_point` is never used [INFO] [stdout] --> src/sixteen/first.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn next_point(x: usize, y: usize, dir: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR` is never used [INFO] [stdout] --> src/sixteen/second.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const DIR: [(i32, i32); 4] = [(-1, 0), (0, 1), (1, 0), (0, -1)]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Node` is never used [INFO] [stdout] --> src/sixteen/second.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type Node = (usize, usize); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Path` is never constructed [INFO] [stdout] --> src/sixteen/second.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `zero` and `make_move` are never used [INFO] [stdout] --> src/sixteen/second.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Path { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 32 | fn zero(x: usize, y: usize) -> Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn make_move(&self, x: usize, y: usize, cost: usize, dir: usize) -> Path { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/sixteen/second.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/sixteen/second.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn solve(mut maze: Vec>) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `backtrack` is never used [INFO] [stdout] --> src/sixteen/second.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn backtrack( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clockwise` is never used [INFO] [stdout] --> src/sixteen/second.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn clockwise(dir: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `counterwise` is never used [INFO] [stdout] --> src/sixteen/second.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn counterwise(dir: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse` is never used [INFO] [stdout] --> src/sixteen/second.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn reverse(dir: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_point` is never used [INFO] [stdout] --> src/sixteen/second.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn next_point(x: usize, y: usize, dir: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/sixteen/second.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn add(x: usize, y: i32) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dir_to_char` is never used [INFO] [stdout] --> src/sixteen/second.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn dir_to_char(dir: usize) -> char { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/ten/first.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn execute(file_name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trails` is never used [INFO] [stdout] --> src/ten/first.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn trails(matrix: &[Vec]) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_trails` is never used [INFO] [stdout] --> src/ten/first.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn count_trails( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/ten/second.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn execute(file_name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trails` is never used [INFO] [stdout] --> src/ten/second.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn trails(matrix: &[Vec]) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_trails` is never used [INFO] [stdout] --> src/ten/second.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn count_trails( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Tuple` is never used [INFO] [stdout] --> src/thirteen/first.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Tuple = (i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/thirteen/first.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn execute(file: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/thirteen/first.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn calc(a: Tuple, b: Tuple, prize: Tuple) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse` is never used [INFO] [stdout] --> src/thirteen/first.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn traverse(a: Tuple, b: Tuple, prize: Tuple) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Tuple` is never used [INFO] [stdout] --> src/thirteen/second.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Tuple = (i64, i64); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OFFSET` is never used [INFO] [stdout] --> src/thirteen/second.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const OFFSET: i64 = 10000000000000; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/thirteen/second.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn execute(file: &str) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/thirteen/second.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn calc(a: Tuple, b: Tuple, prize: Tuple) -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse` is never used [INFO] [stdout] --> src/thirteen/second.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn traverse(a: Tuple, b: Tuple, prize: Tuple) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFFER_SIZE` is never used [INFO] [stdout] --> src/three/first.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const BUFFER_SIZE: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reader` is never constructed [INFO] [stdout] --> src/three/first.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Reader { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/three/first.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Reader { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 16 | pub fn from_file(file: File) -> Reader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get_next(&mut self) -> Option<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn mul(&mut self) -> Option<(i32, i32)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_number(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn expect(&mut self, expected: u8) -> Option<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn get_pointer(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn get_and_bump_pointer(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/three/first.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn execute(file: File) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFFER_SIZE` is never used [INFO] [stdout] --> src/three/second.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const BUFFER_SIZE: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reader` is never constructed [INFO] [stdout] --> src/three/second.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Reader { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/three/second.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Reader { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 17 | pub fn from_file(file: File) -> Reader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_next(&mut self) -> Option<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn do_or_dont(&mut self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn mul(&mut self) -> Option<(i32, i32)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn get_number(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn expect(&mut self, expected: u8) -> Option<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn expect_bool(&mut self, expected: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn get_pointer(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn get_and_bump_pointer(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/three/second.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn execute(file: File) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/twelve/first.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn execute(file: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/twelve/first.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn calc(matrix: &[Vec]) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs` is never used [INFO] [stdout] --> src/twelve/first.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn dfs( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/twelve/second.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn execute(file: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/twelve/second.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn calc(matrix: &[Vec]) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs` is never used [INFO] [stdout] --> src/twelve/second.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn dfs( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_in_bounds` is never used [INFO] [stdout] --> src/twelve/second.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn is_in_bounds(i: i32, j: i32, m: usize, n: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_sides` is never used [INFO] [stdout] --> src/twelve/second.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn calc_sides(set: &HashSet<(i32, i32, i32)>) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calc` is never used [INFO] [stdout] --> src/twentyfour/second.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Gate { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 13 | pub fn calc(&self, a: bool, b: bool) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gate` is never read [INFO] [stdout] --> src/twentyfour/second.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Formula { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 34 | gate: Gate, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/twentyfour/second.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | Value(bool), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 50 | Value(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Graph` is never used [INFO] [stdout] --> src/twentythree/first.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Graph = HashMap>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/twentythree/first.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_contains_host_with_t` is never used [INFO] [stdout] --> src/twentythree/first.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn group_contains_host_with_t(key: &str, graph: &Graph, groups: &mut HashSet>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Graph` is never used [INFO] [stdout] --> src/twentythree/second.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Graph = HashMap>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/twentythree/second.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn execute(file_path: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_contains_host_with_t` is never used [INFO] [stdout] --> src/twentythree/second.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn group_contains_host_with_t(key: &str, graph: &Graph, groups: &mut HashSet>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/two/first.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn execute(file_name: File) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid` is never used [INFO] [stdout] --> src/two/first.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn is_valid(level: &[i32]) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_dp` is never used [INFO] [stdout] --> src/two/first.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn check_dp(level: &[i32], range: RangeInclusive) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DECREASING` is never used [INFO] [stdout] --> src/two/second.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const DECREASING: RangeInclusive = -3..=-1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INCREASING` is never used [INFO] [stdout] --> src/two/second.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const INCREASING: RangeInclusive = 1..=3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/two/second.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn execute(file_name: File) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid` is never used [INFO] [stdout] --> src/two/second.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn is_valid(level: &[i32]) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_dp` is never used [INFO] [stdout] --> src/two/second.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn check_dp(level: &[i32], range: RangeInclusive, skippable: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "c2fb86e5dcc6a77750b78b7a7809e996e5486d8a9c9df63af5eb4d976fffc20a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2fb86e5dcc6a77750b78b7a7809e996e5486d8a9c9df63af5eb4d976fffc20a", kill_on_drop: false }` [INFO] [stdout] c2fb86e5dcc6a77750b78b7a7809e996e5486d8a9c9df63af5eb4d976fffc20a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a06cc5dfec6ac5eb1a37c7902bd357b9eb8e132391fae0ce4fcc1f73064c8598 [INFO] running `Command { std: "docker" "start" "-a" "a06cc5dfec6ac5eb1a37c7902bd357b9eb8e132391fae0ce4fcc1f73064c8598", kill_on_drop: false }` [INFO] [stderr] Compiling aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/eleven/first.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eight::first` [INFO] [stdout] --> src/eleven/first.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::eight::first; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/fifteen/second.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | hash::Hash, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/twentyfour/first.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::read_to_string, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_n_bytes` [INFO] [stdout] --> src/eighteen/second.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | fn traverse(n: usize, bytes: Vec<(usize, usize)>, first_n_bytes: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_n_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/seven/first.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut count = 1; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/seven/first.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut count = 1; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file` is never used [INFO] [stdout] --> src/main.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn file(name: &str) -> File { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elapsed` is never used [INFO] [stdout] --> src/main.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn elapsed(func: T) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/eighteen/first.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/eighteen/second.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn execute(file_path: &str) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/eleven/first.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn execute(file: &str, blinks: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_matrix` is never used [INFO] [stdout] --> src/fifteen/first.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn print_matrix(matrix: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_matrix` is never used [INFO] [stdout] --> src/fifteen/second.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn print_matrix(matrix: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/four/first.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn execute(file: File) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WORD` is never used [INFO] [stdout] --> src/four/second.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const WORD: [char; 4] = ['X', 'M', 'A', 'S']; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR` is never used [INFO] [stdout] --> src/four/second.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const DIR: [(i32, i32); 8] = [ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/four/second.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn execute(file: File) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Tuple` is never used [INFO] [stdout] --> src/fourteen/first.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Tuple = (i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/fourteen/first.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_quadrant` is never used [INFO] [stdout] --> src/fourteen/first.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn count_quadrant(positions: &[(i32, i32)], x_bounds: (i32, i32), y_bounds: (i32, i32)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `final_position` is never used [INFO] [stdout] --> src/fourteen/first.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn final_position(pos: Tuple, velo: Tuple, m: i32, n: i32, seconds: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modulo` is never used [INFO] [stdout] --> src/fourteen/first.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn modulo(dividend: i32, divisor: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Tuple` is never used [INFO] [stdout] --> src/fourteen/second.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Tuple = (i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/fourteen/second.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn execute(file_path: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_position` is never used [INFO] [stdout] --> src/fourteen/second.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn next_position(pos: Tuple, velo: Tuple, m: i32, n: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modulo` is never used [INFO] [stdout] --> src/fourteen/second.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn modulo(dividend: i32, divisor: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/nine/first.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/nine/second.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/nineteen/first.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_target_no_repeat` is never used [INFO] [stdout] --> src/nineteen/first.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn check_target_no_repeat( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/nineteen/second.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn execute(file_path: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_target_no_repeat` is never used [INFO] [stdout] --> src/nineteen/second.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn check_target_no_repeat( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/one/first.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn execute(file_name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/one/second.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn execute(file_name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/seventeen/first.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn execute(file_path: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dir_to_char` is never used [INFO] [stdout] --> src/sixteen/second.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn dir_to_char(dir: usize) -> char { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/ten/first.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn execute(file_name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/ten/second.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn execute(file_name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/thirteen/first.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn execute(file: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Tuple` is never used [INFO] [stdout] --> src/thirteen/second.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Tuple = (i64, i64); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OFFSET` is never used [INFO] [stdout] --> src/thirteen/second.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const OFFSET: i64 = 10000000000000; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/thirteen/second.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn execute(file: &str) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/thirteen/second.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn calc(a: Tuple, b: Tuple, prize: Tuple) -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse` is never used [INFO] [stdout] --> src/thirteen/second.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn traverse(a: Tuple, b: Tuple, prize: Tuple) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFFER_SIZE` is never used [INFO] [stdout] --> src/three/first.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const BUFFER_SIZE: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reader` is never constructed [INFO] [stdout] --> src/three/first.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Reader { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/three/first.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Reader { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 16 | pub fn from_file(file: File) -> Reader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get_next(&mut self) -> Option<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn mul(&mut self) -> Option<(i32, i32)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_number(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn expect(&mut self, expected: u8) -> Option<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn get_pointer(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn get_and_bump_pointer(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/three/first.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn execute(file: File) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFFER_SIZE` is never used [INFO] [stdout] --> src/three/second.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const BUFFER_SIZE: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reader` is never constructed [INFO] [stdout] --> src/three/second.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Reader { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/three/second.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Reader { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 17 | pub fn from_file(file: File) -> Reader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_next(&mut self) -> Option<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn do_or_dont(&mut self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn mul(&mut self) -> Option<(i32, i32)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn get_number(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn expect(&mut self, expected: u8) -> Option<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn expect_bool(&mut self, expected: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn get_pointer(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn get_and_bump_pointer(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/three/second.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn execute(file: File) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/twelve/first.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn execute(file: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/twelve/second.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn execute(file: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calc` is never used [INFO] [stdout] --> src/twentyfour/second.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Gate { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 13 | pub fn calc(&self, a: bool, b: bool) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gate` is never read [INFO] [stdout] --> src/twentyfour/second.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Formula { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 34 | gate: Gate, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/twentyfour/second.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | Value(bool), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 50 | Value(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Graph` is never used [INFO] [stdout] --> src/twentythree/second.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Graph = HashMap>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/twentythree/second.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn execute(file_path: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_contains_host_with_t` is never used [INFO] [stdout] --> src/twentythree/second.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn group_contains_host_with_t(key: &str, graph: &Graph, groups: &mut HashSet>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/two/first.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn execute(file_name: File) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid` is never used [INFO] [stdout] --> src/two/first.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn is_valid(level: &[i32]) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_dp` is never used [INFO] [stdout] --> src/two/first.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn check_dp(level: &[i32], range: RangeInclusive) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/two/second.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn execute(file_name: File) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "a06cc5dfec6ac5eb1a37c7902bd357b9eb8e132391fae0ce4fcc1f73064c8598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a06cc5dfec6ac5eb1a37c7902bd357b9eb8e132391fae0ce4fcc1f73064c8598", kill_on_drop: false }` [INFO] [stdout] a06cc5dfec6ac5eb1a37c7902bd357b9eb8e132391fae0ce4fcc1f73064c8598