[INFO] cloning repository https://github.com/ziriuz84/adventofcode-rust-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ziriuz84/adventofcode-rust-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziriuz84%2Fadventofcode-rust-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziriuz84%2Fadventofcode-rust-2023'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziriuz84%2Fadventofcode-rust-2023: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/ziriuz84/adventofcode-rust-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ziriuz84/adventofcode-rust-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziriuz84%2Fadventofcode-rust-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziriuz84%2Fadventofcode-rust-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f7e3576e54ae0432bfb2a1661a821aa5d76bdae [INFO] checking ziriuz84/adventofcode-rust-2023 against master#9d28fe39763974a96d61232e96ac856735e4cdd6 for pr-139624 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziriuz84%2Fadventofcode-rust-2023" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ziriuz84/adventofcode-rust-2023 on toolchain 9d28fe39763974a96d61232e96ac856735e4cdd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d28fe39763974a96d61232e96ac856735e4cdd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ziriuz84/adventofcode-rust-2023 [INFO] finished tweaking git repo https://github.com/ziriuz84/adventofcode-rust-2023 [INFO] tweaked toml for git repo https://github.com/ziriuz84/adventofcode-rust-2023 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ziriuz84/adventofcode-rust-2023 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" "+9d28fe39763974a96d61232e96ac856735e4cdd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9d28fe39763974a96d61232e96ac856735e4cdd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fbdfe64a7e6939cb7709468eb898e24fca092499ca999fa4196326db361ebd7 [INFO] running `Command { std: "docker" "start" "-a" "1fbdfe64a7e6939cb7709468eb898e24fca092499ca999fa4196326db361ebd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fbdfe64a7e6939cb7709468eb898e24fca092499ca999fa4196326db361ebd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fbdfe64a7e6939cb7709468eb898e24fca092499ca999fa4196326db361ebd7", kill_on_drop: false }` [INFO] [stdout] 1fbdfe64a7e6939cb7709468eb898e24fca092499ca999fa4196326db361ebd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9d28fe39763974a96d61232e96ac856735e4cdd6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c89f903b4d068d733929ba663969de363e91358226b76ff70df0e3ec890460e2 [INFO] running `Command { std: "docker" "start" "-a" "c89f903b4d068d733929ba663969de363e91358226b76ff70df0e3ec890460e2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking grid v0.13.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking transpose v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking advent_of_code v0.9.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::task::Wake` [INFO] [stdout] --> src/bin/06.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Wake; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_node_key` is never read [INFO] [stdout] --> src/bin/08.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut current_node_key: String = String::from(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_node` [INFO] [stdout] --> src/bin/08.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut new_node: String = String::from(""); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `direction` is never read [INFO] [stdout] --> src/bin/08.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let mut direction: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/08.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut new_node: String = String::from(""); [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: unused variable: `input` [INFO] [stdout] --> src/bin/08.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/04.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | for i in 1..counter { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time` is never read [INFO] [stdout] --> src/bin/06.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Runs { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | time: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Runs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/05.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/bin/04.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Card { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Card` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bin/04.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | &total_cards.push(temp_card); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 94 | let _ = &total_cards.push(temp_card); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/03.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/07.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/12.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/12.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_temp` is never read [INFO] [stdout] --> src/bin/09.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut new_temp: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Wake` [INFO] [stdout] --> src/bin/06.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Wake; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/bin/02.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/07.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/01.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut sum = 0; [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: field `time` is never read [INFO] [stdout] --> src/bin/06.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Runs { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | time: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Runs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `digits` [INFO] [stdout] --> src/bin/01.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let digits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_digits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/bin/02.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 14 | // TODO [INFO] [stdout] 15 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_node_key` is never read [INFO] [stdout] --> src/bin/08.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut current_node_key: String = String::from(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_node` [INFO] [stdout] --> src/bin/08.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut new_node: String = String::from(""); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `direction` is never read [INFO] [stdout] --> src/bin/08.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let mut direction: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/11.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | for i in 0..n_rows { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number_rows` [INFO] [stdout] --> src/bin/11.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let number_rows = temp_grid.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number_cols` [INFO] [stdout] --> src/bin/11.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let number_cols = temp_grid[0].len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/11.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | for i in 0..n_rows { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/08.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut new_node: String = String::from(""); [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: unused variable: `input` [INFO] [stdout] --> src/bin/08.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `double_rows_without_char` is never used [INFO] [stdout] --> src/bin/11.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn double_rows_without_char(grid: Vec>, ch: char, n_rows: u64) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_grid` is never used [INFO] [stdout] --> src/bin/11.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn rotate_grid(grid: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/01.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut sum = 0; [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: unused variable: `digits` [INFO] [stdout] --> src/bin/01.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let digits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_digits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `double_columns_without_char` is never used [INFO] [stdout] --> src/bin/11.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn double_columns_without_char(grid: Vec>, ch: char, n_rows: u64) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/bin/10.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let path: HashSet = collect_path(&map); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/bin/02.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/bin/10.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let path: HashSet = collect_path(&map); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_temp` is never read [INFO] [stdout] --> src/bin/09.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut new_temp: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/05.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/bin/02.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 14 | // TODO [INFO] [stdout] 15 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/04.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | for i in 1..counter { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/bin/04.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Card { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Card` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bin/04.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | &total_cards.push(temp_card); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 94 | let _ = &total_cards.push(temp_card); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/03.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_unused` [INFO] [stdout] --> src/bin/03.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let input_unused=" [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_unused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/12.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/12.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/11.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | for i in 0..n_rows { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number_rows` [INFO] [stdout] --> src/bin/11.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let number_rows = temp_grid.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number_cols` [INFO] [stdout] --> src/bin/11.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let number_cols = temp_grid[0].len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/11.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | for i in 0..n_rows { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `double_rows_without_char` is never used [INFO] [stdout] --> src/bin/11.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn double_rows_without_char(grid: Vec>, ch: char, n_rows: u64) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_grid` is never used [INFO] [stdout] --> src/bin/11.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn rotate_grid(grid: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `double_columns_without_char` is never used [INFO] [stdout] --> src/bin/11.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn double_columns_without_char(grid: Vec>, ch: char, n_rows: u64) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.97s [INFO] running `Command { std: "docker" "inspect" "c89f903b4d068d733929ba663969de363e91358226b76ff70df0e3ec890460e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89f903b4d068d733929ba663969de363e91358226b76ff70df0e3ec890460e2", kill_on_drop: false }` [INFO] [stdout] c89f903b4d068d733929ba663969de363e91358226b76ff70df0e3ec890460e2