[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#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftdeith%2Fpxl8r" "/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/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tdeith/pxl8r on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking tdeith/pxl8r against try#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftdeith%2Fpxl8r" "/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/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tdeith/pxl8r on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "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 cc v1.2.20 [INFO] [stderr] Downloaded bmp v0.5.0 [INFO] [stderr] Downloaded winnow v0.7.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d093401befa32bdb4eb518d1cf94aaa84e6f5cf8d7b3fa20ab021bfa84bda1d8 [INFO] running `Command { std: "docker" "start" "-a" "d093401befa32bdb4eb518d1cf94aaa84e6f5cf8d7b3fa20ab021bfa84bda1d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d093401befa32bdb4eb518d1cf94aaa84e6f5cf8d7b3fa20ab021bfa84bda1d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d093401befa32bdb4eb518d1cf94aaa84e6f5cf8d7b3fa20ab021bfa84bda1d8", kill_on_drop: false }` [INFO] [stdout] d093401befa32bdb4eb518d1cf94aaa84e6f5cf8d7b3fa20ab021bfa84bda1d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b05b5565810f04931abd6c8fc12bf92e4fd5665162d9a3c42c57e8efb5404c00 [INFO] running `Command { std: "docker" "start" "-a" "b05b5565810f04931abd6c8fc12bf92e4fd5665162d9a3c42c57e8efb5404c00", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking avif-serialize v0.8.3 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking image-webp v0.2.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking zune-jpeg v0.4.14 [INFO] [stderr] Checking bmp v0.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking thiserror v1.0.69 [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] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 113 | fetched_colour_dist = state.colour_search_dist(&possible)?; [INFO] [stdout] | ---------------------------------------------------------- `fetched_colour_dist` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `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] | ^ this value is reassigned later and never used [INFO] [stdout] 110 | while let Some(possibles) = shell_walker.search_shell() { [INFO] [stdout] 111 | worst_dist_marker = 0; [INFO] [stdout] | --------------------- `worst_dist_marker` is overwritten here before the previous value is 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] | ^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 90 | seed_colour = final_image.get_pixel(seed.w, seed.h).into(); [INFO] [stdout] | ---------------------------------------------------------- `seed_colour` is overwritten here before the previous value is 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] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 113 | fetched_colour_dist = state.colour_search_dist(&possible)?; [INFO] [stdout] | ---------------------------------------------------------- `fetched_colour_dist` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `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] | ^ this value is reassigned later and never used [INFO] [stdout] 110 | while let Some(possibles) = shell_walker.search_shell() { [INFO] [stdout] 111 | worst_dist_marker = 0; [INFO] [stdout] | --------------------- `worst_dist_marker` is overwritten here before the previous value is 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] | ^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 90 | seed_colour = final_image.get_pixel(seed.w, seed.h).into(); [INFO] [stdout] | ---------------------------------------------------------- `seed_colour` is overwritten here before the previous value is 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 21.86s [INFO] running `Command { std: "docker" "inspect" "b05b5565810f04931abd6c8fc12bf92e4fd5665162d9a3c42c57e8efb5404c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b05b5565810f04931abd6c8fc12bf92e4fd5665162d9a3c42c57e8efb5404c00", kill_on_drop: false }` [INFO] [stdout] b05b5565810f04931abd6c8fc12bf92e4fd5665162d9a3c42c57e8efb5404c00