[INFO] cloning repository https://github.com/Fazt01/advent_of_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fazt01/advent_of_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFazt01%2Fadvent_of_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFazt01%2Fadvent_of_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41a056312f8b900c79f0882b6538ad7b1ceb5ece [INFO] checking Fazt01/advent_of_code/41a056312f8b900c79f0882b6538ad7b1ceb5ece against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFazt01%2Fadvent_of_code" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Fazt01/advent_of_code [INFO] finished tweaking git repo https://github.com/Fazt01/advent_of_code [INFO] tweaked toml for git repo https://github.com/Fazt01/advent_of_code written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Fazt01/advent_of_code on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Fazt01/advent_of_code 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded delegate-attr v0.2.9 [INFO] [stderr] Downloaded owned_chars v0.3.2 [INFO] [stderr] Downloaded mathru v0.15.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01a2b366ae2058f1d6f69081d0f646382b7b652e0eb26749ce40bbac15605a57 [INFO] running `Command { std: "docker" "start" "-a" "01a2b366ae2058f1d6f69081d0f646382b7b652e0eb26749ce40bbac15605a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01a2b366ae2058f1d6f69081d0f646382b7b652e0eb26749ce40bbac15605a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01a2b366ae2058f1d6f69081d0f646382b7b652e0eb26749ce40bbac15605a57", kill_on_drop: false }` [INFO] [stdout] 01a2b366ae2058f1d6f69081d0f646382b7b652e0eb26749ce40bbac15605a57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1cb3e492f8018a10353a4d9af383a08c95539e7175145394b8f3db707b1b3db [INFO] running `Command { std: "docker" "start" "-a" "d1cb3e492f8018a10353a4d9af383a08c95539e7175145394b8f3db707b1b3db", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking ringbuffer v0.15.0 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling relative-path v1.9.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking crossbeam-channel v0.5.10 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking thread-tree v0.3.3 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking mathru v0.15.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling delegate-attr v0.2.9 [INFO] [stderr] Checking owned_chars v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> 2023-3/main.rs:155:54 [INFO] [stdout] | [INFO] [stdout] 155 | for forward_spread_column in (column + 1..state.columns) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 155 - for forward_spread_column in (column + 1..state.columns) { [INFO] [stdout] 155 + for forward_spread_column in column + 1..state.columns { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> 2023-8/main.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn navigate<'a, 'b>(&'a self, current_place: &'a Place, direction: &'b Direction) -> Result<&'a Place> { [INFO] [stdout] | ^^ ^^ -- ----- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | these lifetimes flow to the output the lifetimes get resolved as `'a` [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 69 | fn navigate<'a, 'b>(&'a self, current_place: &'a Place, direction: &'b Direction) -> Result<&'a Place<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> 2023-8/main.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | fn get_by_name(&self, name: &str) -> Option<&Place> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 76 | fn get_by_name(&self, name: &str) -> Option<&Place<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> 2023-8/main.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^ -- ----- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | fn iter<'a>(&'a self) -> Box> + 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Code` is never used [INFO] [stdout] --> 2024-22/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Code = Vec; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Keyboard` is never constructed [INFO] [stdout] --> 2024-22/main.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Keyboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEYBOARD_COUNT` is never used [INFO] [stdout] --> 2024-22/main.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const KEYBOARD_COUNT: u64 = 26; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `number` is never read [INFO] [stdout] --> 2023-3/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut number: u64 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `number` is never read [INFO] [stdout] --> 2023-3/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | number = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blink` is never used [INFO] [stdout] --> 2024-11/main.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn blink(input: &mut Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-06/main.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | line.into_chars() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-16/main.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(line.into_chars()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-12/main.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | Ok(line?.into_chars().map(|c| -> Result<_> { Ok(c) })) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> 2024-12/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-04/main.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | line.into_chars() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `region_price` is never used [INFO] [stdout] --> 2024-12/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn region_price(region: &Region) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> 2024-04/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn part1(grid: &Grid) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> 2022-8/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | fn iter(&self, pov: PointOfView) -> PointOfViewIter { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | fn iter(&self, pov: PointOfView) -> PointOfViewIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> 2022-8/main.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | fn los_iter_from_tree(&self, tree: TreeCoordinates, pov: PointOfView) -> LineOfSightIter { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | fn los_iter_from_tree(&self, tree: TreeCoordinates, pov: PointOfView) -> LineOfSightIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `possible_ways_to_beat_slow` is never used [INFO] [stdout] --> 2023-6/main.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Race { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn possible_ways_to_beat_slow(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-08/main.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | line.into_chars() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-15/main.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 172 | Ok(line.into_chars()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iter_antinodes_part1` is never used [INFO] [stdout] --> 2024-08/main.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn iter_antinodes_part1(grid: &Grid, lhs: Coord, rhs: Coord, offset: Offset) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit_map` [INFO] [stdout] --> 2023-2/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let limit_map = HashMap::from([ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limit_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `possible_game_id` is never used [INFO] [stdout] --> 2023-2/main.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn possible_game_id(game_state: &(i32, Vec>), limit_map: &HashMap<&str, i32>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_possible_state` is never used [INFO] [stdout] --> 2023-2/main.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn is_possible_state(actual: &HashMap<&str, i32>, limit: &HashMap<&str, i32>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> 2024-03/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn part1(s: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-19/main.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | .map(|x| Ok(x?.into_chars().collect_vec())) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-20/main.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | .map(|line| -> Result<_> { Ok(line?.into_chars()) }), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-25/main.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | grid_lines.map(|line| Ok(line?.into_chars().map(|x| Ok(x)))), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `end` is never read [INFO] [stdout] --> 2024-20/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Puzzle { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | end: Coord, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_quadrants` is never used [INFO] [stdout] --> 2024-14/main.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn count_quadrants(robots: &Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> 2023-5/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Mappings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplayableDiskMap` is never constructed [INFO] [stdout] --> 2024-09/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct DisplayableDiskMap<'a> (&'a UncompressedDiskMap); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `defragment_disk` is never used [INFO] [stdout] --> 2024-09/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn defragment_disk(input: &mut UncompressedDiskMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> 2022-7/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | name: NonNull, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> 2022-7/main.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | fn find(root: &Node, predicate: F) -> NodeIter [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 170 | fn find(root: &Node, predicate: F) -> NodeIter<'_, F> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> 2022-7/main.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | fn parse_line(line: &str) -> Result { [INFO] [stdout] | ^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 293 | fn parse_line(line: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> 2023-3/main.rs:155:54 [INFO] [stdout] | [INFO] [stdout] 155 | for forward_spread_column in (column + 1..state.columns) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 155 - for forward_spread_column in (column + 1..state.columns) { [INFO] [stdout] 155 + for forward_spread_column in column + 1..state.columns { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplayableDiskMap` is never constructed [INFO] [stdout] --> 2024-09/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct DisplayableDiskMap<'a> (&'a UncompressedDiskMap); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `number` is never read [INFO] [stdout] --> 2023-3/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut number: u64 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `defragment_disk` is never used [INFO] [stdout] --> 2024-09/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn defragment_disk(input: &mut UncompressedDiskMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `number` is never read [INFO] [stdout] --> 2023-3/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | number = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> 2024-03/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn part1(s: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-04/main.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | line.into_chars() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-15/main.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 172 | Ok(line.into_chars()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-08/main.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | line.into_chars() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> 2024-04/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn part1(grid: &Grid) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> 2022-8/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | fn iter(&self, pov: PointOfView) -> PointOfViewIter { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | fn iter(&self, pov: PointOfView) -> PointOfViewIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> 2022-8/main.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | fn los_iter_from_tree(&self, tree: TreeCoordinates, pov: PointOfView) -> LineOfSightIter { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | fn los_iter_from_tree(&self, tree: TreeCoordinates, pov: PointOfView) -> LineOfSightIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iter_antinodes_part1` is never used [INFO] [stdout] --> 2024-08/main.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn iter_antinodes_part1(grid: &Grid, lhs: Coord, rhs: Coord, offset: Offset) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-25/main.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | grid_lines.map(|line| Ok(line?.into_chars().map(|x| Ok(x)))), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> 2023-5/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Mappings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-20/main.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | .map(|line| -> Result<_> { Ok(line?.into_chars()) }), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `end` is never read [INFO] [stdout] --> 2024-20/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Puzzle { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | end: Coord, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-16/main.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(line.into_chars()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-19/main.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | .map(|x| Ok(x?.into_chars().collect_vec())) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-12/main.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | Ok(line?.into_chars().map(|c| -> Result<_> { Ok(c) })) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> 2024-12/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `region_price` is never used [INFO] [stdout] --> 2024-12/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn region_price(region: &Region) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blink` is never used [INFO] [stdout] --> 2024-11/main.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn blink(input: &mut Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> 2022-7/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | name: NonNull, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> 2022-7/main.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | fn find(root: &Node, predicate: F) -> NodeIter [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 170 | fn find(root: &Node, predicate: F) -> NodeIter<'_, F> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> 2022-7/main.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | fn parse_line(line: &str) -> Result { [INFO] [stdout] | ^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 293 | fn parse_line(line: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Code` is never used [INFO] [stdout] --> 2024-22/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Code = Vec; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Keyboard` is never constructed [INFO] [stdout] --> 2024-22/main.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Keyboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEYBOARD_COUNT` is never used [INFO] [stdout] --> 2024-22/main.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const KEYBOARD_COUNT: u64 = 26; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_quadrants` is never used [INFO] [stdout] --> 2024-14/main.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn count_quadrants(robots: &Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> 2024-06/main.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | line.into_chars() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `into_chars(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(string_into_chars)]` to the crate attributes to enable `String::into_chars` [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(string_into_chars)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `possible_ways_to_beat_slow` is never used [INFO] [stdout] --> 2023-6/main.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Race { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn possible_ways_to_beat_slow(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit_map` [INFO] [stdout] --> 2023-2/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let limit_map = HashMap::from([ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limit_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `possible_game_id` is never used [INFO] [stdout] --> 2023-2/main.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn possible_game_id(game_state: &(i32, Vec>), limit_map: &HashMap<&str, i32>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_possible_state` is never used [INFO] [stdout] --> 2023-2/main.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn is_possible_state(actual: &HashMap<&str, i32>, limit: &HashMap<&str, i32>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> 2023-8/main.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn navigate<'a, 'b>(&'a self, current_place: &'a Place, direction: &'b Direction) -> Result<&'a Place> { [INFO] [stdout] | ^^ ^^ -- ----- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | these lifetimes flow to the output the lifetimes get resolved as `'a` [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 69 | fn navigate<'a, 'b>(&'a self, current_place: &'a Place, direction: &'b Direction) -> Result<&'a Place<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> 2023-8/main.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | fn get_by_name(&self, name: &str) -> Option<&Place> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 76 | fn get_by_name(&self, name: &str) -> Option<&Place<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> 2023-8/main.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^ -- ----- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | fn iter<'a>(&'a self) -> Box> + 'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.62s [INFO] running `Command { std: "docker" "inspect" "d1cb3e492f8018a10353a4d9af383a08c95539e7175145394b8f3db707b1b3db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1cb3e492f8018a10353a4d9af383a08c95539e7175145394b8f3db707b1b3db", kill_on_drop: false }` [INFO] [stdout] d1cb3e492f8018a10353a4d9af383a08c95539e7175145394b8f3db707b1b3db