[INFO] cloning repository https://github.com/JoseAngelBMT/AdventOfCode25 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoseAngelBMT/AdventOfCode25" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoseAngelBMT%2FAdventOfCode25", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoseAngelBMT%2FAdventOfCode25'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5faecc1a08e40835353e163c2ea3a77d71dfcfd5 [INFO] checking JoseAngelBMT/AdventOfCode25 against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoseAngelBMT%2FAdventOfCode25" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JoseAngelBMT/AdventOfCode25 [INFO] finished tweaking git repo https://github.com/JoseAngelBMT/AdventOfCode25 [INFO] tweaked toml for git repo https://github.com/JoseAngelBMT/AdventOfCode25 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JoseAngelBMT/AdventOfCode25 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/JoseAngelBMT/AdventOfCode25 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-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 69fd6bd01e5d78b74fa9a045229518e36c13d2240f6bc86c164bacc5dc719749 [INFO] running `Command { std: "docker" "start" "69fd6bd01e5d78b74fa9a045229518e36c13d2240f6bc86c164bacc5dc719749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69fd6bd01e5d78b74fa9a045229518e36c13d2240f6bc86c164bacc5dc719749", 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" "69fd6bd01e5d78b74fa9a045229518e36c13d2240f6bc86c164bacc5dc719749" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69fd6bd01e5d78b74fa9a045229518e36c13d2240f6bc86c164bacc5dc719749", 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" "69fd6bd01e5d78b74fa9a045229518e36c13d2240f6bc86c164bacc5dc719749" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking bool v0.3.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking AdventOfCode25 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `last_number` is never read [INFO] [stdout] --> src/days/day01.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | let mut last_number: i32 = current; [INFO] [stdout] | ^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 25 | last_number = current; [INFO] [stdout] | --------------------- `last_number` 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: value assigned to `last_number` is never read [INFO] [stdout] --> src/days/day01.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | let mut last_number: i32 = current; [INFO] [stdout] | ^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 25 | last_number = current; [INFO] [stdout] | --------------------- `last_number` 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: value assigned to `result` is never read [INFO] [stdout] --> src/days/day07.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut result = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 22 | result = recursive_down(board, &coord.down(), splitters, visited); [INFO] [stdout] | ----------------------------------------------------------------- `result` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/days/day07.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut result = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 22 | result = recursive_down(board, &coord.down(), splitters, visited); [INFO] [stdout] | ----------------------------------------------------------------- `result` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operate_numbers` is never used [INFO] [stdout] --> src/days/day06.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn operate_numbers(n1: i64, n2: i64, operation: String) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_columns`, `empty_board`, `set_value`, `is_in_bound`, and `print_board` are never used [INFO] [stdout] --> src/board.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl Board [INFO] [stdout] 12 | | where [INFO] [stdout] 13 | | T: PartialEq + Debug + Display + Copy, [INFO] [stdout] | |__________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn from_columns(cols: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn empty_board(width: usize, height: usize, default_value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_value(&mut self, coord: Coord, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn is_in_bound(&self, coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn print_board(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_string` and `empty` are never used [INFO] [stdout] --> src/board.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl Board { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn from_string(p0: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn empty(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/board.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl Board { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn empty(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `char` [INFO] [stdout] --> src/board.rs:120:46 [INFO] [stdout] | [INFO] [stdout] 120 | .map(|line| line.chars().map(|c| c.into()).collect()) [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] 120 - .map(|line| line.chars().map(|c| c.into()).collect()) [INFO] [stdout] 120 + .map(|line| line.chars().map(|c| c).collect()) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 120 - .map(|line| line.chars().map(|c| c.into()).collect()) [INFO] [stdout] 120 + .map(|line| line.chars().map(|c| >::into(c)).collect()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operate_numbers` is never used [INFO] [stdout] --> src/days/day06.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn operate_numbers(n1: i64, n2: i64, operation: String) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_columns`, `empty_board`, `set_value`, `is_in_bound`, and `print_board` are never used [INFO] [stdout] --> src/board.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl Board [INFO] [stdout] 12 | | where [INFO] [stdout] 13 | | T: PartialEq + Debug + Display + Copy, [INFO] [stdout] | |__________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn from_columns(cols: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn empty_board(width: usize, height: usize, default_value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_value(&mut self, coord: Coord, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn is_in_bound(&self, coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn print_board(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_string` and `empty` are never used [INFO] [stdout] --> src/board.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl Board { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn from_string(p0: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn empty(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/board.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl Board { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn empty(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `char` [INFO] [stdout] --> src/board.rs:120:46 [INFO] [stdout] | [INFO] [stdout] 120 | .map(|line| line.chars().map(|c| c.into()).collect()) [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] 120 - .map(|line| line.chars().map(|c| c.into()).collect()) [INFO] [stdout] 120 + .map(|line| line.chars().map(|c| c).collect()) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 120 - .map(|line| line.chars().map(|c| c.into()).collect()) [INFO] [stdout] 120 + .map(|line| line.chars().map(|c| >::into(c)).collect()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `AdventOfCode25` (bin "AdventOfCode25" test) due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `AdventOfCode25` (bin "AdventOfCode25") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "69fd6bd01e5d78b74fa9a045229518e36c13d2240f6bc86c164bacc5dc719749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69fd6bd01e5d78b74fa9a045229518e36c13d2240f6bc86c164bacc5dc719749", kill_on_drop: false }` [INFO] [stdout] 69fd6bd01e5d78b74fa9a045229518e36c13d2240f6bc86c164bacc5dc719749