[INFO] cloning repository https://github.com/ParkerHitch/AdventOfCode2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ParkerHitch/AdventOfCode2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParkerHitch%2FAdventOfCode2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParkerHitch%2FAdventOfCode2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8152647b1b5517bf84590837bde01c4c9807b4d3 [INFO] checking ParkerHitch/AdventOfCode2024 against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParkerHitch%2FAdventOfCode2024" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ParkerHitch/AdventOfCode2024 [INFO] finished tweaking git repo https://github.com/ParkerHitch/AdventOfCode2024 [INFO] tweaked toml for git repo https://github.com/ParkerHitch/AdventOfCode2024 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ParkerHitch/AdventOfCode2024 on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ParkerHitch/AdventOfCode2024 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 820f0cb69554ea138d159b29741430b9c622fdf519c9f62fa6cb6fc29061d816 [INFO] running `Command { std: "docker" "start" "820f0cb69554ea138d159b29741430b9c622fdf519c9f62fa6cb6fc29061d816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "820f0cb69554ea138d159b29741430b9c622fdf519c9f62fa6cb6fc29061d816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "820f0cb69554ea138d159b29741430b9c622fdf519c9f62fa6cb6fc29061d816" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "820f0cb69554ea138d159b29741430b9c622fdf519c9f62fa6cb6fc29061d816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "820f0cb69554ea138d159b29741430b9c622fdf519c9f62fa6cb6fc29061d816" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking aoc_util v0.1.0 (/opt/rustwide/workdir/aoc_util) [INFO] [stderr] Checking splr v0.17.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking AdventOfCode2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/bin/D22.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | .map(|(a,b)| ((*b as i8-*a as i8))) [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] 97 - .map(|(a,b)| ((*b as i8-*a as i8))) [INFO] [stdout] 97 + .map(|(a,b)| (*b as i8-*a as i8)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OPEN_D` should have an upper camel case name [INFO] [stdout] --> src/bin/D3.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | OPEN_D, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `OpenD` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OPEN_M` should have an upper camel case name [INFO] [stdout] --> src/bin/D3.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | OPEN_M, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `OpenM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::isize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D20.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::{Debug, Display}, isize, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D20.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::{Debug, Display}, isize, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D10.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::VecDeque, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D21.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D11.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, VecDeque}, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D12.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D6.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D25.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D16.rs:3:66 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::{BinaryHeap, HashMap, HashSet, VecDeque}, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bin/D16.rs:113:48 [INFO] [stdout] | [INFO] [stdout] 113 | let mut cheapest_cost: usize = std::usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `part1` and `self` [INFO] [stdout] --> src/bin/D17/sat_solve.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::interpreter::{self, part1}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/bin/D17/sat_solve.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | NOT_EQUAL, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `NotEqual` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `splr::*` [INFO] [stdout] --> src/bin/D17/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use splr::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D17/sat_solve.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A_ind` should have a snake case name [INFO] [stdout] --> src/bin/D17/sat_solve.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut A_ind: usize = 1; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `a_ind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A_val` should have a snake case name [INFO] [stdout] --> src/bin/D17/sat_solve.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut A_val: usize = 0; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `a_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D15.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/bin/D16.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct MazeMap { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | width: usize, [INFO] [stdout] 17 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MazeMap` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_v` is never used [INFO] [stdout] --> src/bin/D16.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl MazeMap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn set_v(&mut self, v: Vec2, t: TileKind) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D18.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::{BinaryHeap, HashMap}, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bin/D18.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | let mut total_dist = usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `part1` and `self` [INFO] [stdout] --> src/bin/D17/sat_solve.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::interpreter::{self, part1}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/bin/D17/sat_solve.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | NOT_EQUAL, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `NotEqual` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `splr::*` [INFO] [stdout] --> src/bin/D17/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use splr::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D17/sat_solve.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::current` [INFO] [stdout] --> src/bin/D23.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread::current, usize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/bin/D22.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | .map(|(a,b)| ((*b as i8-*a as i8))) [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] 97 - .map(|(a,b)| ((*b as i8-*a as i8))) [INFO] [stdout] 97 + .map(|(a,b)| (*b as i8-*a as i8)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_box_locs` is never used [INFO] [stdout] --> src/bin/D15.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 64 | impl WarehouseMap { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | fn print_box_locs(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OPEN_D` should have an upper camel case name [INFO] [stdout] --> src/bin/D3.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | OPEN_D, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `OpenD` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OPEN_M` should have an upper camel case name [INFO] [stdout] --> src/bin/D3.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | OPEN_M, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `OpenM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D14.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A_ind` should have a snake case name [INFO] [stdout] --> src/bin/D17/sat_solve.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut A_ind: usize = 1; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `a_ind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A_val` should have a snake case name [INFO] [stdout] --> src/bin/D17/sat_solve.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut A_val: usize = 0; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `a_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D23.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread::current, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D12.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/bin/D24.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Display, usize, hash::{Hash, Hasher}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pg_to_i` is never used [INFO] [stdout] --> src/bin/D5.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl PageDAG { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | fn pg_to_i(&self, pg: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D11.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, VecDeque}, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D24.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Display, usize, hash::{Hash, Hasher}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D16.rs:3:66 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::{BinaryHeap, HashMap, HashSet, VecDeque}, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bin/D16.rs:113:48 [INFO] [stdout] | [INFO] [stdout] 113 | let mut cheapest_cost: usize = std::usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D21.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D10.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::VecDeque, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/bin/D16.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct MazeMap { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | width: usize, [INFO] [stdout] 17 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MazeMap` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_v` is never used [INFO] [stdout] --> src/bin/D16.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl MazeMap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn set_v(&mut self, v: Vec2, t: TileKind) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D15.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D25.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D6.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `usize` [INFO] [stdout] --> src/bin/D23.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | return (26 * (bytes.next().unwrap() - ('a' as u8)) as usize + [INFO] [stdout] | ________________^ [INFO] [stdout] 26 | | (bytes.next().unwrap() - ('a' as u8)) as usize).into(); [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 26 - (bytes.next().unwrap() - ('a' as u8)) as usize).into(); [INFO] [stdout] 26 + (bytes.next().unwrap() - ('a' as u8)) as usize); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 25 ~ return >::into((26 * (bytes.next().unwrap() - ('a' as u8)) as usize + [INFO] [stdout] 26 ~ (bytes.next().unwrap() - ('a' as u8)) as usize)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D14.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::current` [INFO] [stdout] --> src/bin/D23.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread::current, usize}; [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: `Hasher` [INFO] [stdout] --> src/bin/D24.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Display, usize, hash::{Hash, Hasher}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::isize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D20.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::{Debug, Display}, isize, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D20.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::{Debug, Display}, isize, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D23.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread::current, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D19.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D24.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Display, usize, hash::{Hash, Hasher}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `usize` [INFO] [stdout] --> src/bin/D23.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | return (26 * (bytes.next().unwrap() - ('a' as u8)) as usize + [INFO] [stdout] | ________________^ [INFO] [stdout] 26 | | (bytes.next().unwrap() - ('a' as u8)) as usize).into(); [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 26 - (bytes.next().unwrap() - ('a' as u8)) as usize).into(); [INFO] [stdout] 26 + (bytes.next().unwrap() - ('a' as u8)) as usize); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 25 ~ return >::into((26 * (bytes.next().unwrap() - ('a' as u8)) as usize + [INFO] [stdout] 26 ~ (bytes.next().unwrap() - ('a' as u8)) as usize)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `AdventOfCode2024` (bin "D23") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `AdventOfCode2024` (bin "D23" test) due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D19.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_box_locs` is never used [INFO] [stdout] --> src/bin/D15.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 64 | impl WarehouseMap { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | fn print_box_locs(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_char` is never used [INFO] [stdout] --> src/bin/D19.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | fn to_char(&self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_fa` is never used [INFO] [stdout] --> src/bin/D19.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn print_fa(fa: &Vec>>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_reg` is never used [INFO] [stdout] --> src/bin/D24.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl RawMachineInfo { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | fn print_reg(&self, reg: &Register, indent: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_reg` is never used [INFO] [stdout] --> src/bin/D24.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl RawMachineInfo { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | fn print_reg(&self, reg: &Register, indent: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_char` is never used [INFO] [stdout] --> src/bin/D19.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | fn to_char(&self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_fa` is never used [INFO] [stdout] --> src/bin/D19.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn print_fa(fa: &Vec>>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pg_to_i` is never used [INFO] [stdout] --> src/bin/D5.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl PageDAG { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | fn pg_to_i(&self, pg: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/D18.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::{BinaryHeap, HashMap}, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/bin/D18.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | let mut total_dist = usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "820f0cb69554ea138d159b29741430b9c622fdf519c9f62fa6cb6fc29061d816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "820f0cb69554ea138d159b29741430b9c622fdf519c9f62fa6cb6fc29061d816", kill_on_drop: false }` [INFO] [stdout] 820f0cb69554ea138d159b29741430b9c622fdf519c9f62fa6cb6fc29061d816