[INFO] cloning repository https://github.com/michalrzak/AoC_22_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michalrzak/AoC_22_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichalrzak%2FAoC_22_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichalrzak%2FAoC_22_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 682ee629b397e5817a3f7ca42fe6cf7dc9facea3 [INFO] checking michalrzak/AoC_22_rust against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichalrzak%2FAoC_22_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michalrzak/AoC_22_rust on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/michalrzak/AoC_22_rust [INFO] finished tweaking git repo https://github.com/michalrzak/AoC_22_rust [INFO] tweaked toml for git repo https://github.com/michalrzak/AoC_22_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/michalrzak/AoC_22_rust 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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58762af3e08a60a7e33d0665b378dcea23361f966ece733a094e1028cc02c1e7 [INFO] running `Command { std: "docker" "start" "-a" "58762af3e08a60a7e33d0665b378dcea23361f966ece733a094e1028cc02c1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58762af3e08a60a7e33d0665b378dcea23361f966ece733a094e1028cc02c1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58762af3e08a60a7e33d0665b378dcea23361f966ece733a094e1028cc02c1e7", kill_on_drop: false }` [INFO] [stdout] 58762af3e08a60a7e33d0665b378dcea23361f966ece733a094e1028cc02c1e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e65eaccfa38c710ab919f1cc90dacbe86a5d7e5398233a1f5cecfb5a851d2dc [INFO] running `Command { std: "docker" "start" "-a" "3e65eaccfa38c710ab919f1cc90dacbe86a5d7e5398233a1f5cecfb5a851d2dc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking advent_of_code_22 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::day_13::day_13_1::solve` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::day_13::day_13_1::solve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/day_03/day_3_2.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/day_05/day_5_1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/day_05/day_5_2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow` [INFO] [stdout] --> src/day_07/day_7_1.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/day_07/day_7_1.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> src/day_09/day_9_2.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, LinkedList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day_11/day_11_1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day_11/day_11_2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToBigUint` [INFO] [stdout] --> src/day_11/day_11_2.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use num_bigint::{BigUint, ToBigUint}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `One` [INFO] [stdout] --> src/day_11/day_11_2.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use num_traits::{Zero, One}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/day_13/day_13_1.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/day_13/day_13_2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/day_15/day_15_2.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::day_13::day_13_1::solve` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::day_13::day_13_1::solve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/day_03/day_3_2.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/day_05/day_5_1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/day_05/day_5_2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow` [INFO] [stdout] --> src/day_07/day_7_1.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/day_07/day_7_1.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> src/day_09/day_9_2.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, LinkedList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day_11/day_11_1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day_11/day_11_2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToBigUint` [INFO] [stdout] --> src/day_11/day_11_2.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use num_bigint::{BigUint, ToBigUint}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `One` [INFO] [stdout] --> src/day_11/day_11_2.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use num_traits::{Zero, One}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/day_13/day_13_1.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/day_13/day_13_2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/day_15/day_15_2.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_05/day_5_1.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | for i in 0..move_count { [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: `ele` [INFO] [stdout] --> src/day_05/day_5_1.rs:16:59 [INFO] [stdout] | [INFO] [stdout] 16 | let mut ship:Vec> = (0..num_of_stacks).map(|ele| Vec::new()).collect::>>(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ele` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_05/day_5_2.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | for i in 0..move_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ele` [INFO] [stdout] --> src/day_05/day_5_2.rs:16:59 [INFO] [stdout] | [INFO] [stdout] 16 | let mut ship:Vec> = (0..num_of_stacks).map(|ele| Vec::new()).collect::>>(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ele` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_path` [INFO] [stdout] --> src/day_07/day_7_1.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut current_path:Vec<&mut Directory> = Vec::from([&mut root]); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_size` [INFO] [stdout] --> src/day_07/day_7_1.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | let file_size: u32 = command_line[0].parse::().expect("file size converted successfully"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_07/day_7_1.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut current_path:Vec<&mut Directory> = Vec::from([&mut root]); [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: value assigned to `not_edge` is never read [INFO] [stdout] --> src/day_08/day_8_1.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | not_edge = false; [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: value assigned to `not_edge` is never read [INFO] [stdout] --> src/day_08/day_8_2.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | not_edge = false; [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/day_09/day_9_2.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_05/day_5_1.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | for i in 0..move_count { [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: `ele` [INFO] [stdout] --> src/day_05/day_5_1.rs:16:59 [INFO] [stdout] | [INFO] [stdout] 16 | let mut ship:Vec> = (0..num_of_stacks).map(|ele| Vec::new()).collect::>>(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ele` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_05/day_5_2.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | for i in 0..move_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ele` [INFO] [stdout] --> src/day_05/day_5_2.rs:16:59 [INFO] [stdout] | [INFO] [stdout] 16 | let mut ship:Vec> = (0..num_of_stacks).map(|ele| Vec::new()).collect::>>(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ele` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_10/day_10_2.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut res: i64 = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_11/day_11_1.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | for i in 0..20 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_path` [INFO] [stdout] --> src/day_07/day_7_1.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut current_path:Vec<&mut Directory> = Vec::from([&mut root]); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_size` [INFO] [stdout] --> src/day_07/day_7_1.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | let file_size: u32 = command_line[0].parse::().expect("file size converted successfully"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret` is never read [INFO] [stdout] --> src/day_11/day_11_2.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let mut ret = BigUint::from(0u32); [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/day_07/day_7_1.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut current_path:Vec<&mut Directory> = Vec::from([&mut root]); [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: value assigned to `not_edge` is never read [INFO] [stdout] --> src/day_08/day_8_1.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | not_edge = false; [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: value assigned to `not_edge` is never read [INFO] [stdout] --> src/day_08/day_8_2.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | not_edge = false; [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/day_09/day_9_2.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_pos` [INFO] [stdout] --> src/day_12/day_12_2.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let a_pos: Vec<(usize, usize)> = find_a(&height_map); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_a_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found` [INFO] [stdout] --> src/day_12/day_12_2.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let mut found = false; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_found` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shortest` [INFO] [stdout] --> src/day_12/day_12_2.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut shortest: u32 = 0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shortest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_10/day_10_2.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut res: i64 = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_11/day_11_1.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | for i in 0..20 { [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/day_12/day_12_2.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let mut found = false; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_12/day_12_2.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let mut shortest: u32 = 0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_after_recursion` [INFO] [stdout] --> src/day_13/day_13_1.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut skip_after_recursion = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_after_recursion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_after_recursion_right` [INFO] [stdout] --> src/day_13/day_13_1.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut skip_after_recursion_right = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_after_recursion_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret` is never read [INFO] [stdout] --> src/day_11/day_11_2.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let mut ret = BigUint::from(0u32); [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/day_13/day_13_1.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut skip_after_recursion = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_13/day_13_1.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let mut skip_after_recursion_right = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_after_recursion` [INFO] [stdout] --> src/day_13/day_13_2.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut skip_after_recursion = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_after_recursion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_after_recursion_right` [INFO] [stdout] --> src/day_13/day_13_2.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut skip_after_recursion_right = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_after_recursion_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_13/day_13_2.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut skip_after_recursion = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_13/day_13_2.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut skip_after_recursion_right = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/day_13/day_13_2.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut res = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_13/day_13_2.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let mut res = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_13/day_13_2.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | let mut ordered = is_right_order(packages[prev], packages[ele]).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sand_falling` is never read [INFO] [stdout] --> src/day_14/day_14_1.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | sand_falling = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sand_falling` is never read [INFO] [stdout] --> src/day_14/day_14_1.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | sand_falling = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_pos` [INFO] [stdout] --> src/day_12/day_12_2.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let a_pos: Vec<(usize, usize)> = find_a(&height_map); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_a_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found` [INFO] [stdout] --> src/day_12/day_12_2.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let mut found = false; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_found` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shortest` [INFO] [stdout] --> src/day_12/day_12_2.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut shortest: u32 = 0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shortest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sand_overflow` [INFO] [stdout] --> src/day_14/day_14_2.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut sand_overflow = false; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sand_overflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sand_falling` is never read [INFO] [stdout] --> src/day_14/day_14_2.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | sand_falling = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sand_falling` is never read [INFO] [stdout] --> src/day_14/day_14_2.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | sand_falling = false; [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/day_12/day_12_2.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let mut found = false; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_12/day_12_2.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let mut shortest: u32 = 0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_after_recursion` [INFO] [stdout] --> src/day_13/day_13_1.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut skip_after_recursion = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_after_recursion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_after_recursion_right` [INFO] [stdout] --> src/day_13/day_13_1.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut skip_after_recursion_right = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_after_recursion_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_14/day_14_2.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut sand_overflow = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x_num` is never read [INFO] [stdout] --> src/day_15/day_15_1.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let mut x_num = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x_num` is never read [INFO] [stdout] --> src/day_15/day_15_1.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | x_num += x_num_dif; [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/day_13/day_13_1.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut skip_after_recursion = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_15/day_15_1.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut x_num_dif = 2; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_13/day_13_1.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let mut skip_after_recursion_right = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/day_02/day_2_2.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn decode(input: char) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_list` and `directory_list` are never read [INFO] [stdout] --> src/day_07/day_7_1.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Directory { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 18 | file_list: Vec<(String, u32)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | directory_list: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Directory` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `substring_ascii` is never used [INFO] [stdout] --> src/day_13/day_13_1.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn substring_ascii<'a>(input: &'a str, start: &str, end: &str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `substring_ascii` is never used [INFO] [stdout] --> src/day_13/day_13_2.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn substring_ascii<'a>(input: &'a str, start: &str, end: &str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_after_recursion` [INFO] [stdout] --> src/day_13/day_13_2.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut skip_after_recursion = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_after_recursion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_after_recursion_right` [INFO] [stdout] --> src/day_13/day_13_2.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut skip_after_recursion_right = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_after_recursion_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_13/day_13_2.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut skip_after_recursion = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_13/day_13_2.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut skip_after_recursion_right = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/day_13/day_13_2.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut res = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_13/day_13_2.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let mut res = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_13/day_13_2.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | let mut ordered = is_right_order(packages[prev], packages[ele]).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sand_falling` is never read [INFO] [stdout] --> src/day_14/day_14_1.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | sand_falling = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sand_falling` is never read [INFO] [stdout] --> src/day_14/day_14_1.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | sand_falling = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sand_overflow` [INFO] [stdout] --> src/day_14/day_14_2.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut sand_overflow = false; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sand_overflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sand_falling` is never read [INFO] [stdout] --> src/day_14/day_14_2.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | sand_falling = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sand_falling` is never read [INFO] [stdout] --> src/day_14/day_14_2.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | sand_falling = false; [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/day_14/day_14_2.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut sand_overflow = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x_num` is never read [INFO] [stdout] --> src/day_15/day_15_1.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let mut x_num = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x_num` is never read [INFO] [stdout] --> src/day_15/day_15_1.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | x_num += x_num_dif; [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/day_15/day_15_1.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut x_num_dif = 2; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/day_02/day_2_2.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn decode(input: char) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_list` and `directory_list` are never read [INFO] [stdout] --> src/day_07/day_7_1.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Directory { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 18 | file_list: Vec<(String, u32)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | directory_list: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Directory` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `substring_ascii` is never used [INFO] [stdout] --> src/day_13/day_13_1.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn substring_ascii<'a>(input: &'a str, start: &str, end: &str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `substring_ascii` is never used [INFO] [stdout] --> src/day_13/day_13_2.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn substring_ascii<'a>(input: &'a str, start: &str, end: &str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.27s [INFO] running `Command { std: "docker" "inspect" "3e65eaccfa38c710ab919f1cc90dacbe86a5d7e5398233a1f5cecfb5a851d2dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e65eaccfa38c710ab919f1cc90dacbe86a5d7e5398233a1f5cecfb5a851d2dc", kill_on_drop: false }` [INFO] [stdout] 3e65eaccfa38c710ab919f1cc90dacbe86a5d7e5398233a1f5cecfb5a851d2dc