[INFO] cloning repository https://github.com/RodolpheFouquet/aoc2025 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RodolpheFouquet/aoc2025" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRodolpheFouquet%2Faoc2025", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRodolpheFouquet%2Faoc2025'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e4ac06bc82eb0f7e4bb00b6db3b3d1c6db571c0 [INFO] checking RodolpheFouquet/aoc2025 against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRodolpheFouquet%2Faoc2025" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RodolpheFouquet/aoc2025 [INFO] finished tweaking git repo https://github.com/RodolpheFouquet/aoc2025 [INFO] tweaked toml for git repo https://github.com/RodolpheFouquet/aoc2025 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RodolpheFouquet/aoc2025 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/RodolpheFouquet/aoc2025 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-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 862202dee20803436976b051147409bfd76767f1bd8b73bf1471b09b975fac82 [INFO] running `Command { std: "docker" "start" "862202dee20803436976b051147409bfd76767f1bd8b73bf1471b09b975fac82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "862202dee20803436976b051147409bfd76767f1bd8b73bf1471b09b975fac82", 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" "862202dee20803436976b051147409bfd76767f1bd8b73bf1471b09b975fac82" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "862202dee20803436976b051147409bfd76767f1bd8b73bf1471b09b975fac82", 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" "862202dee20803436976b051147409bfd76767f1bd8b73bf1471b09b975fac82" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking aoc2025 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Move` is never used [INFO] [stdout] --> src/day1.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Move { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> src/day1.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(day1::part1(input.into()), Ok(3)); [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] 115 - assert_eq!(day1::part1(input.into()), Ok(3)); [INFO] [stdout] 115 + assert_eq!(day1::part1(input), Ok(3)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 115 - assert_eq!(day1::part1(input.into()), Ok(3)); [INFO] [stdout] 115 + assert_eq!(day1::part1(>::into(input)), Ok(3)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParseMoveError` is never constructed [INFO] [stdout] --> src/day1.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ParseMoveError; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day1.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn part1(input: String) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day1.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn part2(input: String) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invalid` is never used [INFO] [stdout] --> src/day2.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn invalid(number: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> src/day1.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(day1::part2(input.into()), Ok(6)); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 124 - assert_eq!(day1::part2(input.into()), Ok(6)); [INFO] [stdout] 124 + assert_eq!(day1::part2(input), Ok(6)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 124 - assert_eq!(day1::part2(input.into()), Ok(6)); [INFO] [stdout] 124 + assert_eq!(day1::part2(>::into(input)), Ok(6)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_invalid` is never used [INFO] [stdout] --> src/day2.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn find_all_invalid(begin: u64, end: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | assert!(!day2::invalid("1".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 109 - assert!(!day2::invalid("1".into())); [INFO] [stdout] 109 + assert!(!day2::invalid("1")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 109 - assert!(!day2::invalid("1".into())); [INFO] [stdout] 109 + assert!(!day2::invalid(<&str as Into<_>>::into("1"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invalid_p2` is never used [INFO] [stdout] --> src/day2.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn invalid_p2(number: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_invalid_p2` is never used [INFO] [stdout] --> src/day2.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn find_all_invalid_p2(begin: u64, end: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_interval` is never used [INFO] [stdout] --> src/day2.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn parse_interval(input: &str) -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day2.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn part1(input: String) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day2.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn part2(input: String) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `highest_joltage` is never used [INFO] [stdout] --> src/day3.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn highest_joltage(numbers: Vec) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `highest_joltage2` is never used [INFO] [stdout] --> src/day3.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn highest_joltage2(numbers: Vec) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_numbers` is never used [INFO] [stdout] --> src/day3.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn to_numbers(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day3.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn part1(input: String) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day3.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn part2(input: String) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_adjacent` is never used [INFO] [stdout] --> src/day4.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn count_adjacent(x: usize, y: usize, grid: &Vec>) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day4.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn part1(input: String) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day4.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn part2(input: String) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interval` is never constructed [INFO] [stdout] --> src/day5.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `overlap` and `merge` are never used [INFO] [stdout] --> src/day5.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Interval { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 11 | fn overlap(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn merge(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/day5.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_part1` and `count_part2` are never used [INFO] [stdout] --> src/day5.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 82 | fn count_part1(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn count_part2(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day5.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn part1(input: String) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day5.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn part2(input: String) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/day6.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> src/day6.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calc_part1` is never used [INFO] [stdout] --> src/day6.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 24 | impl Line { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 25 | pub fn calc_part1(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lines` is never used [INFO] [stdout] --> src/day6.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_lines(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lines_part2` is never used [INFO] [stdout] --> src/day6.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_lines_part2(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_right_digit_col` is never used [INFO] [stdout] --> src/day6.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn find_right_digit_col(str: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | assert!(day2::invalid("11".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 110 - assert!(day2::invalid("11".into())); [INFO] [stdout] 110 + assert!(day2::invalid("11")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 110 - assert!(day2::invalid("11".into())); [INFO] [stdout] 110 + assert!(day2::invalid(<&str as Into<_>>::into("11"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | assert!(day2::invalid("99".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 111 - assert!(day2::invalid("99".into())); [INFO] [stdout] 111 + assert!(day2::invalid("99")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 111 - assert!(day2::invalid("99".into())); [INFO] [stdout] 111 + assert!(day2::invalid(<&str as Into<_>>::into("99"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | assert!(day2::invalid("2222".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 112 - assert!(day2::invalid("2222".into())); [INFO] [stdout] 112 + assert!(day2::invalid("2222")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 112 - assert!(day2::invalid("2222".into())); [INFO] [stdout] 112 + assert!(day2::invalid(<&str as Into<_>>::into("2222"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(day2::invalid("1188511885".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 113 - assert!(day2::invalid("1188511885".into())); [INFO] [stdout] 113 + assert!(day2::invalid("1188511885")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 113 - assert!(day2::invalid("1188511885".into())); [INFO] [stdout] 113 + assert!(day2::invalid(<&str as Into<_>>::into("1188511885"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | assert!(day2::invalid("38593859".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 114 - assert!(day2::invalid("38593859".into())); [INFO] [stdout] 114 + assert!(day2::invalid("38593859")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 114 - assert!(day2::invalid("38593859".into())); [INFO] [stdout] 114 + assert!(day2::invalid(<&str as Into<_>>::into("38593859"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | assert!(!day2::invalid_p2("1".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 119 - assert!(!day2::invalid_p2("1".into())); [INFO] [stdout] 119 + assert!(!day2::invalid_p2("1")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 119 - assert!(!day2::invalid_p2("1".into())); [INFO] [stdout] 119 + assert!(!day2::invalid_p2(<&str as Into<_>>::into("1"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | assert!(day2::invalid_p2("11".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 120 - assert!(day2::invalid_p2("11".into())); [INFO] [stdout] 120 + assert!(day2::invalid_p2("11")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 120 - assert!(day2::invalid_p2("11".into())); [INFO] [stdout] 120 + assert!(day2::invalid_p2(<&str as Into<_>>::into("11"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | assert!(day2::invalid_p2("99".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 121 - assert!(day2::invalid_p2("99".into())); [INFO] [stdout] 121 + assert!(day2::invalid_p2("99")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 121 - assert!(day2::invalid_p2("99".into())); [INFO] [stdout] 121 + assert!(day2::invalid_p2(<&str as Into<_>>::into("99"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(day2::invalid_p2("2222".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 122 - assert!(day2::invalid_p2("2222".into())); [INFO] [stdout] 122 + assert!(day2::invalid_p2("2222")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 122 - assert!(day2::invalid_p2("2222".into())); [INFO] [stdout] 122 + assert!(day2::invalid_p2(<&str as Into<_>>::into("2222"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | assert!(day2::invalid_p2("1188511885".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 123 - assert!(day2::invalid_p2("1188511885".into())); [INFO] [stdout] 123 + assert!(day2::invalid_p2("1188511885")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 123 - assert!(day2::invalid_p2("1188511885".into())); [INFO] [stdout] 123 + assert!(day2::invalid_p2(<&str as Into<_>>::into("1188511885"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Subgrid` is never used [INFO] [stdout] --> src/day6.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | pub type Subgrid = Vec>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_subgrid` is never used [INFO] [stdout] --> src/day6.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn init_subgrid(width: usize, height: usize) -> Subgrid { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_cols` is never used [INFO] [stdout] --> src/day6.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn build_cols(lines: &Vec>, last_cols: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_numbers` is never used [INFO] [stdout] --> src/day6.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn build_numbers(subgrid: &Subgrid) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day6.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn part1(input: String) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day6.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn part2(input: String) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Cell` is never used [INFO] [stdout] --> src/day7.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Cell { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grid` is never constructed [INFO] [stdout] --> src/day7.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Grid { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day7.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn part1(input: String) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day7.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn part2(input: String) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | assert!(day2::invalid_p2("38593859".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 124 - assert!(day2::invalid_p2("38593859".into())); [INFO] [stdout] 124 + assert!(day2::invalid_p2("38593859")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 124 - assert!(day2::invalid_p2("38593859".into())); [INFO] [stdout] 124 + assert!(day2::invalid_p2(<&str as Into<_>>::into("38593859"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | assert!(day2::invalid_p2("824824824".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 125 - assert!(day2::invalid_p2("824824824".into())); [INFO] [stdout] 125 + assert!(day2::invalid_p2("824824824")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 125 - assert!(day2::invalid_p2("824824824".into())); [INFO] [stdout] 125 + assert!(day2::invalid_p2(<&str as Into<_>>::into("824824824"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 126 | assert!(day2::invalid_p2("2121212121".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 126 - assert!(day2::invalid_p2("2121212121".into())); [INFO] [stdout] 126 + assert!(day2::invalid_p2("2121212121")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 126 - assert!(day2::invalid_p2("2121212121".into())); [INFO] [stdout] 126 + assert!(day2::invalid_p2(<&str as Into<_>>::into("2121212121"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 127 | assert!(!day2::invalid_p2("101".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 127 - assert!(!day2::invalid_p2("101".into())); [INFO] [stdout] 127 + assert!(!day2::invalid_p2("101")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 127 - assert!(!day2::invalid_p2("101".into())); [INFO] [stdout] 127 + assert!(!day2::invalid_p2(<&str as Into<_>>::into("101"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:128:34 [INFO] [stdout] | [INFO] [stdout] 128 | assert!(day2::invalid_p2("111".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 128 - assert!(day2::invalid_p2("111".into())); [INFO] [stdout] 128 + assert!(day2::invalid_p2("111")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 128 - assert!(day2::invalid_p2("111".into())); [INFO] [stdout] 128 + assert!(day2::invalid_p2(<&str as Into<_>>::into("111"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/day2.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | assert!(!day2::invalid_p2("112".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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 129 - assert!(!day2::invalid_p2("112".into())); [INFO] [stdout] 129 + assert!(!day2::invalid_p2("112")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 129 - assert!(!day2::invalid_p2("112".into())); [INFO] [stdout] 129 + assert!(!day2::invalid_p2(<&str as Into<_>>::into("112"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> src/day2.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | assert_eq!(day2::part1(file.into()), 1227775554); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 163 - assert_eq!(day2::part1(file.into()), 1227775554); [INFO] [stdout] 163 + assert_eq!(day2::part1(file), 1227775554); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 163 - assert_eq!(day2::part1(file.into()), 1227775554); [INFO] [stdout] 163 + assert_eq!(day2::part1(>::into(file)), 1227775554); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> src/day2.rs:165:32 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(day2::part1(file.into()), 13919717792); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 165 - assert_eq!(day2::part1(file.into()), 13919717792); [INFO] [stdout] 165 + assert_eq!(day2::part1(file), 13919717792); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 165 - assert_eq!(day2::part1(file.into()), 13919717792); [INFO] [stdout] 165 + assert_eq!(day2::part1(>::into(file)), 13919717792); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> src/day2.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | assert_eq!(day2::part2(file.into()), 4174379265); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 171 - assert_eq!(day2::part2(file.into()), 4174379265); [INFO] [stdout] 171 + assert_eq!(day2::part2(file), 4174379265); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 171 - assert_eq!(day2::part2(file.into()), 4174379265); [INFO] [stdout] 171 + assert_eq!(day2::part2(>::into(file)), 4174379265); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> src/day2.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq!(day2::part2(file.into()), 14582313461); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 173 - assert_eq!(day2::part2(file.into()), 14582313461); [INFO] [stdout] 173 + assert_eq!(day2::part2(file), 14582313461); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 173 - assert_eq!(day2::part2(file.into()), 14582313461); [INFO] [stdout] 173 + assert_eq!(day2::part2(>::into(file)), 14582313461); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> src/day7.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | assert_eq!(day7::part1(input.into()), 21); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 180 - assert_eq!(day7::part1(input.into()), 21); [INFO] [stdout] 180 + assert_eq!(day7::part1(input), 21); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 180 - assert_eq!(day7::part1(input.into()), 21); [INFO] [stdout] 180 + assert_eq!(day7::part1(>::into(input)), 21); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> src/day7.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | assert_eq!(day7::part2(input.into()), 40); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 190 - assert_eq!(day7::part2(input.into()), 40); [INFO] [stdout] 190 + assert_eq!(day7::part2(input), 40); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 190 - assert_eq!(day7::part2(input.into()), 40); [INFO] [stdout] 190 + assert_eq!(day7::part2(>::into(input)), 40); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2025` (bin "aoc2025" test) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "862202dee20803436976b051147409bfd76767f1bd8b73bf1471b09b975fac82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "862202dee20803436976b051147409bfd76767f1bd8b73bf1471b09b975fac82", kill_on_drop: false }` [INFO] [stdout] 862202dee20803436976b051147409bfd76767f1bd8b73bf1471b09b975fac82