[INFO] cloning repository https://github.com/geofpwhite/advent2024rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/geofpwhite/advent2024rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeofpwhite%2Fadvent2024rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeofpwhite%2Fadvent2024rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17db0a05dfdfb05381ae795fb3e345d1815528e4 [INFO] building geofpwhite/advent2024rust against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeofpwhite%2Fadvent2024rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/geofpwhite/advent2024rust [INFO] finished tweaking git repo https://github.com/geofpwhite/advent2024rust [INFO] tweaked toml for git repo https://github.com/geofpwhite/advent2024rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/geofpwhite/advent2024rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/geofpwhite/advent2024rust 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zune-jpeg v0.4.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24b80df6695e9d903a82a206c1f31fc30b9b93c09dec2641d23069451e9f80ee [INFO] running `Command { std: "docker" "start" "-a" "24b80df6695e9d903a82a206c1f31fc30b9b93c09dec2641d23069451e9f80ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24b80df6695e9d903a82a206c1f31fc30b9b93c09dec2641d23069451e9f80ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24b80df6695e9d903a82a206c1f31fc30b9b93c09dec2641d23069451e9f80ee", kill_on_drop: false }` [INFO] [stdout] 24b80df6695e9d903a82a206c1f31fc30b9b93c09dec2641d23069451e9f80ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07b105fe5c54a0eee21236182c676eb69b9e1d12cc003620f9e752a9575b133c [INFO] running `Command { std: "docker" "start" "-a" "07b105fe5c54a0eee21236182c676eb69b9e1d12cc003620f9e752a9575b133c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling avif-serialize v0.8.5 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling advent2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `binary_heap::Iter` and `iter` [INFO] [stdout] --> src/advent10.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{self, binary_heap::Iter, HashSet}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | iter, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/advent14.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | fn parse() -> Result<(Vec), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - fn parse() -> Result<(Vec), Box> { [INFO] [stdout] 81 + fn parse() -> Result , Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `arch::x86_64` and `boxed` [INFO] [stdout] --> src/advent16.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | arch::x86_64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | boxed, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `collections::HashMap` [INFO] [stdout] --> src/advent17.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | fs::File, [INFO] [stdout] 4 | io::{Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VecDeque` and `self` [INFO] [stdout] --> src/advent18.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | fs::File, [INFO] [stdout] 4 | io::{self, Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/advent2.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | .map(|s| (s.to_string().parse::().unwrap())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - .map(|s| (s.to_string().parse::().unwrap())); [INFO] [stdout] 46 + .map(|s| s.to_string().parse::().unwrap() ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `arch::x86_64` and `f32::INFINITY` [INFO] [stdout] --> src/advent9.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{arch::x86_64, f32::INFINITY, fs::File, io::Read, usize}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent14.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | let overlapping_points = |mut robots: &Vec| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent14.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut max_x = 101; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent14.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut max_y = 103; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent14.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut robots = binding.iter().map(|robot| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_map` [INFO] [stdout] --> src/advent16.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut node_map: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent16.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut node_map: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent17.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut nums = find(0, commands.len() - 1, &commands, i64::MAX); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/advent16.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 89 | fn new(pn: ParseNode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate_left` is never used [INFO] [stdout] --> src/advent6.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl Dir { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | fn rotate_left(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.65s [INFO] running `Command { std: "docker" "inspect" "07b105fe5c54a0eee21236182c676eb69b9e1d12cc003620f9e752a9575b133c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07b105fe5c54a0eee21236182c676eb69b9e1d12cc003620f9e752a9575b133c", kill_on_drop: false }` [INFO] [stdout] 07b105fe5c54a0eee21236182c676eb69b9e1d12cc003620f9e752a9575b133c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d75ecc1d57a3e872b999a076ac0db60bedf4c5e70ee2b9ed2eda062e8082e30f [INFO] running `Command { std: "docker" "start" "-a" "d75ecc1d57a3e872b999a076ac0db60bedf4c5e70ee2b9ed2eda062e8082e30f", kill_on_drop: false }` [INFO] [stderr] Compiling advent2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `binary_heap::Iter` and `iter` [INFO] [stdout] --> src/advent10.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{self, binary_heap::Iter, HashSet}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | iter, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/advent14.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | fn parse() -> Result<(Vec), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - fn parse() -> Result<(Vec), Box> { [INFO] [stdout] 81 + fn parse() -> Result , Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `arch::x86_64` and `boxed` [INFO] [stdout] --> src/advent16.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | arch::x86_64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | boxed, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `collections::HashMap` [INFO] [stdout] --> src/advent17.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | fs::File, [INFO] [stdout] 4 | io::{Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VecDeque` and `self` [INFO] [stdout] --> src/advent18.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | fs::File, [INFO] [stdout] 4 | io::{self, Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/advent2.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | .map(|s| (s.to_string().parse::().unwrap())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - .map(|s| (s.to_string().parse::().unwrap())); [INFO] [stdout] 46 + .map(|s| s.to_string().parse::().unwrap() ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `arch::x86_64` and `f32::INFINITY` [INFO] [stdout] --> src/advent9.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{arch::x86_64, f32::INFINITY, fs::File, io::Read, usize}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent14.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | let overlapping_points = |mut robots: &Vec| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent14.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut max_x = 101; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent14.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut max_y = 103; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent14.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut robots = binding.iter().map(|robot| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_map` [INFO] [stdout] --> src/advent16.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut node_map: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent16.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut node_map: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent17.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut nums = find(0, commands.len() - 1, &commands, i64::MAX); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/advent16.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 89 | fn new(pn: ParseNode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate_left` is never used [INFO] [stdout] --> src/advent6.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl Dir { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | fn rotate_left(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "d75ecc1d57a3e872b999a076ac0db60bedf4c5e70ee2b9ed2eda062e8082e30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d75ecc1d57a3e872b999a076ac0db60bedf4c5e70ee2b9ed2eda062e8082e30f", kill_on_drop: false }` [INFO] [stdout] d75ecc1d57a3e872b999a076ac0db60bedf4c5e70ee2b9ed2eda062e8082e30f