[INFO] cloning repository https://github.com/tdeith/pxl8r [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tdeith/pxl8r" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftdeith%2Fpxl8r", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftdeith%2Fpxl8r'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e53d7b640ca5921e1253a55e7052ee9d5bc5cd6 [INFO] checking tdeith/pxl8r against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftdeith%2Fpxl8r" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tdeith/pxl8r [INFO] finished tweaking git repo https://github.com/tdeith/pxl8r [INFO] tweaked toml for git repo https://github.com/tdeith/pxl8r written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tdeith/pxl8r on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tdeith/pxl8r 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" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bmp v0.5.0 [INFO] [stderr] Downloaded ravif v0.11.12 [INFO] [stderr] Downloaded winnow v0.7.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4ec44826a71f52db3969e35cf1ff6689ee310fa362f36faeec0b96e51e35191 [INFO] running `Command { std: "docker" "start" "-a" "a4ec44826a71f52db3969e35cf1ff6689ee310fa362f36faeec0b96e51e35191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4ec44826a71f52db3969e35cf1ff6689ee310fa362f36faeec0b96e51e35191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4ec44826a71f52db3969e35cf1ff6689ee310fa362f36faeec0b96e51e35191", kill_on_drop: false }` [INFO] [stdout] a4ec44826a71f52db3969e35cf1ff6689ee310fa362f36faeec0b96e51e35191 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d16b03de63c70b693ac69097fd4a9a720d558e4d7294084cef60184143284834 [INFO] running `Command { std: "docker" "start" "-a" "d16b03de63c70b693ac69097fd4a9a720d558e4d7294084cef60184143284834", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking bmp v0.5.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rav1e v0.7.1 [INFO] [stderr] Checking ravif v0.11.12 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking pxl8r v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/colour_fetch/util.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | if ( [INFO] [stdout] | ____________^ [INFO] [stdout] 62 | | prios.weight_r > prios.weight_g && [INFO] [stdout] | |____________^ [INFO] [stdout] 63 | prios.weight_r > prios.weight_b [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 64 | | ) { [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] 61 ~ if prios.weight_r > prios.weight_g && [INFO] [stdout] 62 ~ prios.weight_r > prios.weight_b { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/colour_fetch/util.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | } else if ( [INFO] [stdout] | ___________________^ [INFO] [stdout] 73 | | prios.weight_g > prios.weight_r && [INFO] [stdout] | |____________^ [INFO] [stdout] 74 | prios.weight_g > prios.weight_b [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 75 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 ~ } else if prios.weight_g > prios.weight_r && [INFO] [stdout] 73 ~ prios.weight_g > prios.weight_b { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigQueueRGBFetcher` and `TreeStackRGBFetcher` [INFO] [stdout] --> src/main.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::colour_fetch::{BigQueueRGBFetcher, NiceGradientRGHFetcher, TreeStackRGBFetcher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FifoCoordFetcher` [INFO] [stdout] --> src/main.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::coord_fetch::{FifoCoordFetcher, StackTreeCoordFetcher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/colour_fetch/util.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | if ( [INFO] [stdout] | ____________^ [INFO] [stdout] 62 | | prios.weight_r > prios.weight_g && [INFO] [stdout] | |____________^ [INFO] [stdout] 63 | prios.weight_r > prios.weight_b [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 64 | | ) { [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] 61 ~ if prios.weight_r > prios.weight_g && [INFO] [stdout] 62 ~ prios.weight_r > prios.weight_b { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/colour_fetch/util.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | } else if ( [INFO] [stdout] | ___________________^ [INFO] [stdout] 73 | | prios.weight_g > prios.weight_r && [INFO] [stdout] | |____________^ [INFO] [stdout] 74 | prios.weight_g > prios.weight_b [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 75 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 ~ } else if prios.weight_g > prios.weight_r && [INFO] [stdout] 73 ~ prios.weight_g > prios.weight_b { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigQueueRGBFetcher` and `TreeStackRGBFetcher` [INFO] [stdout] --> src/main.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::colour_fetch::{BigQueueRGBFetcher, NiceGradientRGHFetcher, TreeStackRGBFetcher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FifoCoordFetcher` [INFO] [stdout] --> src/main.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::coord_fetch::{FifoCoordFetcher, StackTreeCoordFetcher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/colour_fetch/util.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut perimeter_iterator: 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: value assigned to `fetched_colour_dist` is never read [INFO] [stdout] --> src/colour_fetch/util.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 108 | let mut fetched_colour_dist: u8 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `worst_dist_marker` is never read [INFO] [stdout] --> src/colour_fetch/util.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | let mut worst_dist_marker: u8 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut sum_seed_weights = 0.0f32; [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/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut jdx = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum_seed_weights` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut sum_seed_weights = 0.0f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sum_seed_weights` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jdx` [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut jdx = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jdx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `seed_colour` is never read [INFO] [stdout] --> src/main.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | let mut seed_colour = Colour::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeStackRGBFetcher` is never constructed [INFO] [stdout] --> src/colour_fetch/stack_tree.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TreeStackRGBFetcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_next`, `wander`, and `find_from_seed` are never used [INFO] [stdout] --> src/colour_fetch/stack_tree.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TreeStackRGBFetcher { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 11 | pub fn new(first: &Colour, wander_weights: &ColourBias) -> TreeStackRGBFetcher { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_next(&mut self, state: &mut ImageState) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn wander(&self, seed: &Colour, image_state: &ImageState) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn find_from_seed(&mut self, state: &ImageState) -> Option<(Colour, Colour)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BigQueueRGBFetcher` is never constructed [INFO] [stdout] --> src/colour_fetch/big_queue.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BigQueueRGBFetcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_next` are never used [INFO] [stdout] --> src/colour_fetch/big_queue.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BigQueueRGBFetcher { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(first: &Colour, bias: &ColourBias) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_next(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bias` is never read [INFO] [stdout] --> src/colour_fetch/util.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ColourShellSearcher { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 5 | pub center: Colour, [INFO] [stdout] 6 | pub bias: ColourBias, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FifoCoordFetcher` is never constructed [INFO] [stdout] --> src/coord_fetch/fifo_queue.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FifoCoordFetcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_next`, and `append` are never used [INFO] [stdout] --> src/coord_fetch/fifo_queue.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl FifoCoordFetcher { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(size: &Point, first: &Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get_next(&mut self, state: &mut ImageState) -> Option<(Point, Point)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn append(&mut self, seed: &Point, next: &Point, state: &mut ImageState) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/image_state/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ImageState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | size: Point, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `point_has_neighbour`, `colour_available`, and `colour_has_neighbour` are never used [INFO] [stdout] --> src/image_state/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ImageState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn point_has_neighbour(&self, candidate: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn colour_available(&self, c: &Colour) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn colour_has_neighbour(&self, candidate: &Colour) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/colour_fetch/util.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut perimeter_iterator: 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: value assigned to `fetched_colour_dist` is never read [INFO] [stdout] --> src/colour_fetch/util.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 108 | let mut fetched_colour_dist: u8 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `worst_dist_marker` is never read [INFO] [stdout] --> src/colour_fetch/util.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | let mut worst_dist_marker: u8 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut sum_seed_weights = 0.0f32; [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/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut jdx = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum_seed_weights` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut sum_seed_weights = 0.0f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sum_seed_weights` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jdx` [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut jdx = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jdx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `seed_colour` is never read [INFO] [stdout] --> src/main.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | let mut seed_colour = Colour::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeStackRGBFetcher` is never constructed [INFO] [stdout] --> src/colour_fetch/stack_tree.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TreeStackRGBFetcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_next`, `wander`, and `find_from_seed` are never used [INFO] [stdout] --> src/colour_fetch/stack_tree.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TreeStackRGBFetcher { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 11 | pub fn new(first: &Colour, wander_weights: &ColourBias) -> TreeStackRGBFetcher { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_next(&mut self, state: &mut ImageState) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn wander(&self, seed: &Colour, image_state: &ImageState) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn find_from_seed(&mut self, state: &ImageState) -> Option<(Colour, Colour)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BigQueueRGBFetcher` is never constructed [INFO] [stdout] --> src/colour_fetch/big_queue.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BigQueueRGBFetcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_next` are never used [INFO] [stdout] --> src/colour_fetch/big_queue.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BigQueueRGBFetcher { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(first: &Colour, bias: &ColourBias) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_next(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bias` is never read [INFO] [stdout] --> src/colour_fetch/util.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ColourShellSearcher { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 5 | pub center: Colour, [INFO] [stdout] 6 | pub bias: ColourBias, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FifoCoordFetcher` is never constructed [INFO] [stdout] --> src/coord_fetch/fifo_queue.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FifoCoordFetcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_next`, and `append` are never used [INFO] [stdout] --> src/coord_fetch/fifo_queue.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl FifoCoordFetcher { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(size: &Point, first: &Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get_next(&mut self, state: &mut ImageState) -> Option<(Point, Point)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn append(&mut self, seed: &Point, next: &Point, state: &mut ImageState) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/image_state/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ImageState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | size: Point, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `point_has_neighbour`, `colour_available`, and `colour_has_neighbour` are never used [INFO] [stdout] --> src/image_state/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ImageState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn point_has_neighbour(&self, candidate: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn colour_available(&self, c: &Colour) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn colour_has_neighbour(&self, candidate: &Colour) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.37s [INFO] running `Command { std: "docker" "inspect" "d16b03de63c70b693ac69097fd4a9a720d558e4d7294084cef60184143284834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d16b03de63c70b693ac69097fd4a9a720d558e4d7294084cef60184143284834", kill_on_drop: false }` [INFO] [stdout] d16b03de63c70b693ac69097fd4a9a720d558e4d7294084cef60184143284834