[INFO] cloning repository https://github.com/kevincal1226/advent-of-code-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevincal1226/advent-of-code-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevincal1226%2Fadvent-of-code-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevincal1226%2Fadvent-of-code-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67deb334edb7e9306a01c888867b20a280280411 [INFO] checking kevincal1226/advent-of-code-2024 against try#50f413885985a8b0a0b6ca0766a0aedd45304953 for pr-155657-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevincal1226%2Fadvent-of-code-2024" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kevincal1226/advent-of-code-2024 [INFO] finished tweaking git repo https://github.com/kevincal1226/advent-of-code-2024 [INFO] tweaked toml for git repo https://github.com/kevincal1226/advent-of-code-2024 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kevincal1226/advent-of-code-2024 on toolchain 50f413885985a8b0a0b6ca0766a0aedd45304953 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kevincal1226/advent-of-code-2024 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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 418b872078565a956b103843a5a0dc467f395149b739becdebc7f29529d938d1 [INFO] running `Command { std: "docker" "start" "-a" "418b872078565a956b103843a5a0dc467f395149b739becdebc7f29529d938d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "418b872078565a956b103843a5a0dc467f395149b739becdebc7f29529d938d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "418b872078565a956b103843a5a0dc467f395149b739becdebc7f29529d938d1", kill_on_drop: false }` [INFO] [stdout] 418b872078565a956b103843a5a0dc467f395149b739becdebc7f29529d938d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7edfea9d707d32da62a625201943d0f40132ac43a4a209ae6a9110a1e7cc2277 [INFO] running `Command { std: "docker" "start" "-a" "7edfea9d707d32da62a625201943d0f40132ac43a4a209ae6a9110a1e7cc2277", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking bytemuck v1.20.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Checking multiset v0.0.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking wide v0.7.30 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking scanf v1.2.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking scan_fmt v0.2.6 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Compiling cached_proc_macro v0.23.0 [INFO] [stderr] Checking cached v0.54.0 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::slice` [INFO] [stdout] --> src/day_12.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::slice; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/day_12.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/day_13.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/day_14.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/day_15.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/day_17.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/day_19.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::collections::*` [INFO] [stdout] --> src/day_21.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/day_24.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::*` [INFO] [stdout] --> src/day_25.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/day_6.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::cmp::max` [INFO] [stdout] --> src/day_7.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/day_7.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufRead, BufReader, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/day_7.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/day_7.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | return (backtrack_1(sum, nums, index + 1, curr_sum + nums[index]) [INFO] [stdout] | ^ [INFO] [stdout] 13 | || backtrack_1(sum, nums, index + 1, curr_sum * nums[index])); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 ~ return backtrack_1(sum, nums, index + 1, curr_sum + nums[index]) [INFO] [stdout] 13 ~ || backtrack_1(sum, nums, index + 1, curr_sum * nums[index]) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::slice` [INFO] [stdout] --> src/day_12.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::slice; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/day_12.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/day_13.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/day_14.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/day_15.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/day_17.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/day_19.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::collections::*` [INFO] [stdout] --> src/day_21.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/day_24.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::*` [INFO] [stdout] --> src/day_25.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/day_6.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::cmp::max` [INFO] [stdout] --> src/day_7.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/day_7.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufRead, BufReader, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/day_7.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/day_7.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | return (backtrack_1(sum, nums, index + 1, curr_sum + nums[index]) [INFO] [stdout] | ^ [INFO] [stdout] 13 | || backtrack_1(sum, nums, index + 1, curr_sum * nums[index])); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 ~ return backtrack_1(sum, nums, index + 1, curr_sum + nums[index]) [INFO] [stdout] 13 ~ || backtrack_1(sum, nums, index + 1, curr_sum * nums[index]) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/day_17.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | sscanf!(&reader.next().unwrap().unwrap(), "Program: {}", program); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::sscanf` which comes from the expansion of the macro `sscanf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/day_17.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | sscanf!(&reader.next().unwrap().unwrap(), "Program: {}", program); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::sscanf` which comes from the expansion of the macro `sscanf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): Into>` is not satisfied [INFO] [stdout] --> src/day_17.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | sscanf!(&reader.next().unwrap().unwrap(), "Program: {}", program); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `std::error::Error` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `Box<(dyn std::error::Error + Send + Sync + 'static)>` to implement `From<()>` [INFO] [stdout] = note: required for `()` to implement `Into>` [INFO] [stdout] note: required by a bound in `std::io::Error::new` [INFO] [stdout] --> /rustc/50f413885985a8b0a0b6ca0766a0aedd45304953/library/std/src/io/error.rs:264:4 [INFO] [stdout] = note: this error originates in the macro `$crate::sscanf` which comes from the expansion of the macro `sscanf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): Into>` is not satisfied [INFO] [stdout] --> src/day_17.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | sscanf!(&reader.next().unwrap().unwrap(), "Program: {}", program); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `std::error::Error` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `Box<(dyn std::error::Error + Send + Sync + 'static)>` to implement `From<()>` [INFO] [stdout] = note: required for `()` to implement `Into>` [INFO] [stdout] note: required by a bound in `std::io::Error::new` [INFO] [stdout] --> /rustc/50f413885985a8b0a0b6ca0766a0aedd45304953/library/std/src/io/error.rs:264:4 [INFO] [stdout] = note: this error originates in the macro `$crate::sscanf` which comes from the expansion of the macro `sscanf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_15.rs:127:48 [INFO] [stdout] | [INFO] [stdout] 127 | instructions.iter().enumerate().for_each(|(i, inst)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_15.rs:127:48 [INFO] [stdout] | [INFO] [stdout] 127 | instructions.iter().enumerate().for_each(|(i, inst)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `registers` is never read [INFO] [stdout] --> src/day_17.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | let mut registers: [usize; 3] = [0, 0, 0]; [INFO] [stdout] | ^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 105 | registers = [reg_a_value, 0, 0]; [INFO] [stdout] | ------------------------------- `registers` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_18.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let mut reader = BufReader::new(File::open(file).unwrap()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `registers` is never read [INFO] [stdout] --> src/day_17.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | let mut registers: [usize; 3] = [0, 0, 0]; [INFO] [stdout] | ^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 105 | registers = [reg_a_value, 0, 0]; [INFO] [stdout] | ------------------------------- `registers` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_18.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let mut reader = BufReader::new(File::open(file).unwrap()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_21.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | let mut second_cont_robot: String = first_cont_robot [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_21.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | let mut second_cont_robot: String = first_cont_robot [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `junk` [INFO] [stdout] --> src/day_24.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let junk = a.next().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_junk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `junk` [INFO] [stdout] --> src/day_24.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let junk = a.next().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_junk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/day_25.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn part_2(file: String) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `junk` [INFO] [stdout] --> src/day_24.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let junk = a.next().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_junk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `junk` [INFO] [stdout] --> src/day_24.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let junk = a.next().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_junk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/day_25.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn part_2(file: String) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_9.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | for mut i in (0..bullshit.len()).rev() { [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_9.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | for mut i in (0..bullshit.len()).rev() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (bin "aoc" test) due to 1 previous error; 24 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (bin "aoc") due to 1 previous error; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7edfea9d707d32da62a625201943d0f40132ac43a4a209ae6a9110a1e7cc2277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7edfea9d707d32da62a625201943d0f40132ac43a4a209ae6a9110a1e7cc2277", kill_on_drop: false }` [INFO] [stdout] 7edfea9d707d32da62a625201943d0f40132ac43a4a209ae6a9110a1e7cc2277