[INFO] cloning repository https://github.com/afatduck/aoc-2025 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/afatduck/aoc-2025" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafatduck%2Faoc-2025", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafatduck%2Faoc-2025'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b263c2e9cd471f7db020ebec6cd52824d90f9a4 [INFO] checking afatduck/aoc-2025 against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafatduck%2Faoc-2025" "/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/afatduck/aoc-2025 [INFO] finished tweaking git repo https://github.com/afatduck/aoc-2025 [INFO] tweaked toml for git repo https://github.com/afatduck/aoc-2025 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/afatduck/aoc-2025 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/afatduck/aoc-2025 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] [stderr] warning: Cargo.toml: `lints.rust.dead-code` is deprecated in favor of `lints.rust.dead_code` and will not work in a future edition [INFO] [stderr] warning: `rs2025` (manifest) generated 1 warning [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] f3af9b3402b68a5a700ec5d7aa9585c1eb811871470c5193dd30b8681d664e36 [INFO] running `Command { std: "docker" "start" "f3af9b3402b68a5a700ec5d7aa9585c1eb811871470c5193dd30b8681d664e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3af9b3402b68a5a700ec5d7aa9585c1eb811871470c5193dd30b8681d664e36", 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" "f3af9b3402b68a5a700ec5d7aa9585c1eb811871470c5193dd30b8681d664e36" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3af9b3402b68a5a700ec5d7aa9585c1eb811871470c5193dd30b8681d664e36", 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" "f3af9b3402b68a5a700ec5d7aa9585c1eb811871470c5193dd30b8681d664e36" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `lints.rust.dead-code` is deprecated in favor of `lints.rust.dead_code` and will not work in a future edition [INFO] [stderr] warning: `rs2025` (manifest) generated 1 warning [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling lpsolve-sys v5.5.2 [INFO] [stderr] Checking lpsolve v1.0.1 [INFO] [stderr] Checking rs2025 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/days/day9p2.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/days/day9p2.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | let mut min_x = usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/days/day9p2.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | let mut min_y = usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::u16`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/days/day10p2.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{u16}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/days/day11p1.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/days/day11p1.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | let end_pos = usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/days/day11p2.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/days/day9p2.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/days/day9p2.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | let mut min_x = usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/days/day9p2.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | let mut min_y = usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::u16`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/days/day10p2.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{u16}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/days/day11p1.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/days/day11p1.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | let end_pos = usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/days/day11p2.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/days/day11p1.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | let output = device_ids.get(output_str.into()).unwrap(); [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] 30 - let output = device_ids.get(output_str.into()).unwrap(); [INFO] [stdout] 30 + let output = device_ids.get(output_str).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 30 - let output = device_ids.get(output_str.into()).unwrap(); [INFO] [stdout] 30 + let output = device_ids.get(<&str as Into<_>>::into(output_str)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/days/day11p1.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | start_pos = *device_ids.get("you".into()).unwrap(); [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] 35 - start_pos = *device_ids.get("you".into()).unwrap(); [INFO] [stdout] 35 + start_pos = *device_ids.get("you").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 35 - start_pos = *device_ids.get("you".into()).unwrap(); [INFO] [stdout] 35 + start_pos = *device_ids.get(<&str as Into<_>>::into("you")).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/days/day11p2.rs:85:45 [INFO] [stdout] | [INFO] [stdout] 85 | let output = device_ids.get(output_str.into()).unwrap(); [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] 85 - let output = device_ids.get(output_str.into()).unwrap(); [INFO] [stdout] 85 + let output = device_ids.get(output_str).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 85 - let output = device_ids.get(output_str.into()).unwrap(); [INFO] [stdout] 85 + let output = device_ids.get(<&str as Into<_>>::into(output_str)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/days/day11p2.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | start_pos = *device_ids.get("svr".into()).unwrap(); [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] 90 - start_pos = *device_ids.get("svr".into()).unwrap(); [INFO] [stdout] 90 + start_pos = *device_ids.get("svr").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 90 - start_pos = *device_ids.get("svr".into()).unwrap(); [INFO] [stdout] 90 + start_pos = *device_ids.get(<&str as Into<_>>::into("svr")).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/days/day11p2.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | fft_pos = *device_ids.get("fft".into()).unwrap(); [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] 91 - fft_pos = *device_ids.get("fft".into()).unwrap(); [INFO] [stdout] 91 + fft_pos = *device_ids.get("fft").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 91 - fft_pos = *device_ids.get("fft".into()).unwrap(); [INFO] [stdout] 91 + fft_pos = *device_ids.get(<&str as Into<_>>::into("fft")).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/days/day11p2.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | dac_pos = *device_ids.get("dac".into()).unwrap(); [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] 92 - dac_pos = *device_ids.get("dac".into()).unwrap(); [INFO] [stdout] 92 + dac_pos = *device_ids.get("dac").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 92 - dac_pos = *device_ids.get("dac".into()).unwrap(); [INFO] [stdout] 92 + dac_pos = *device_ids.get(<&str as Into<_>>::into("dac")).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/days/day11p2.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | end_pos = *device_ids.get("out".into()).unwrap(); [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] 93 - end_pos = *device_ids.get("out".into()).unwrap(); [INFO] [stdout] 93 + end_pos = *device_ids.get("out").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 93 - end_pos = *device_ids.get("out".into()).unwrap(); [INFO] [stdout] 93 + end_pos = *device_ids.get(<&str as Into<_>>::into("out")).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs2025` (bin "rs2025") due to 7 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/days/day11p1.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | let output = device_ids.get(output_str.into()).unwrap(); [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] 30 - let output = device_ids.get(output_str.into()).unwrap(); [INFO] [stdout] 30 + let output = device_ids.get(output_str).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 30 - let output = device_ids.get(output_str.into()).unwrap(); [INFO] [stdout] 30 + let output = device_ids.get(<&str as Into<_>>::into(output_str)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/days/day11p1.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | start_pos = *device_ids.get("you".into()).unwrap(); [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] 35 - start_pos = *device_ids.get("you".into()).unwrap(); [INFO] [stdout] 35 + start_pos = *device_ids.get("you").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 35 - start_pos = *device_ids.get("you".into()).unwrap(); [INFO] [stdout] 35 + start_pos = *device_ids.get(<&str as Into<_>>::into("you")).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/days/day11p2.rs:85:45 [INFO] [stdout] | [INFO] [stdout] 85 | let output = device_ids.get(output_str.into()).unwrap(); [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] 85 - let output = device_ids.get(output_str.into()).unwrap(); [INFO] [stdout] 85 + let output = device_ids.get(output_str).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 85 - let output = device_ids.get(output_str.into()).unwrap(); [INFO] [stdout] 85 + let output = device_ids.get(<&str as Into<_>>::into(output_str)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/days/day11p2.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | start_pos = *device_ids.get("svr".into()).unwrap(); [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] 90 - start_pos = *device_ids.get("svr".into()).unwrap(); [INFO] [stdout] 90 + start_pos = *device_ids.get("svr").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 90 - start_pos = *device_ids.get("svr".into()).unwrap(); [INFO] [stdout] 90 + start_pos = *device_ids.get(<&str as Into<_>>::into("svr")).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/days/day11p2.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | fft_pos = *device_ids.get("fft".into()).unwrap(); [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] 91 - fft_pos = *device_ids.get("fft".into()).unwrap(); [INFO] [stdout] 91 + fft_pos = *device_ids.get("fft").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 91 - fft_pos = *device_ids.get("fft".into()).unwrap(); [INFO] [stdout] 91 + fft_pos = *device_ids.get(<&str as Into<_>>::into("fft")).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/days/day11p2.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | dac_pos = *device_ids.get("dac".into()).unwrap(); [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] 92 - dac_pos = *device_ids.get("dac".into()).unwrap(); [INFO] [stdout] 92 + dac_pos = *device_ids.get("dac").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 92 - dac_pos = *device_ids.get("dac".into()).unwrap(); [INFO] [stdout] 92 + dac_pos = *device_ids.get(<&str as Into<_>>::into("dac")).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/days/day11p2.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | end_pos = *device_ids.get("out".into()).unwrap(); [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] 93 - end_pos = *device_ids.get("out".into()).unwrap(); [INFO] [stdout] 93 + end_pos = *device_ids.get("out").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 93 - end_pos = *device_ids.get("out".into()).unwrap(); [INFO] [stdout] 93 + end_pos = *device_ids.get(<&str as Into<_>>::into("out")).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs2025` (bin "rs2025" test) due to 7 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f3af9b3402b68a5a700ec5d7aa9585c1eb811871470c5193dd30b8681d664e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3af9b3402b68a5a700ec5d7aa9585c1eb811871470c5193dd30b8681d664e36", kill_on_drop: false }` [INFO] [stdout] f3af9b3402b68a5a700ec5d7aa9585c1eb811871470c5193dd30b8681d664e36