[INFO] cloning repository https://github.com/MarognaLorenzo/Pixelate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarognaLorenzo/Pixelate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarognaLorenzo%2FPixelate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarognaLorenzo%2FPixelate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e119c9a8d0dadc9adf3282b68c4f8e959bfd4a49 [INFO] checking MarognaLorenzo/Pixelate against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarognaLorenzo%2FPixelate" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/MarognaLorenzo/Pixelate [INFO] finished tweaking git repo https://github.com/MarognaLorenzo/Pixelate [INFO] tweaked toml for git repo https://github.com/MarognaLorenzo/Pixelate written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MarognaLorenzo/Pixelate on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MarognaLorenzo/Pixelate 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" "+95813608313bff49cfc1afc393a946a3c085b772" "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 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded emath v0.21.0 [INFO] [stderr] Downloaded glutin-winit v0.3.0 [INFO] [stderr] Downloaded ecolor v0.21.0 [INFO] [stderr] Downloaded glutin_egl_sys v0.5.1 [INFO] [stderr] Downloaded accesskit_macos v0.5.0 [INFO] [stderr] Downloaded atspi-macros v0.1.4 [INFO] [stderr] Downloaded windows-implement v0.42.0 [INFO] [stderr] Downloaded egui-winit v0.21.1 [INFO] [stderr] Downloaded easy_paths v0.1.1 [INFO] [stderr] Downloaded serde-xml-rs v0.4.1 [INFO] [stderr] Downloaded async-signal v0.2.11 [INFO] [stderr] Downloaded accesskit_winit v0.10.0 [INFO] [stderr] Downloaded atspi v0.8.7 [INFO] [stderr] Downloaded glutin v0.30.10 [INFO] [stderr] Downloaded async-io v2.4.1 [INFO] [stderr] Downloaded cc v1.2.25 [INFO] [stderr] Downloaded eframe v0.21.3 [INFO] [stderr] Downloaded smithay-client-toolkit v0.16.1 [INFO] [stderr] Downloaded accesskit_consumer v0.13.0 [INFO] [stderr] Downloaded accesskit_windows v0.12.0 [INFO] [stderr] Downloaded egui_glow v0.21.0 [INFO] [stderr] Downloaded accesskit_unix v0.2.0 [INFO] [stderr] Downloaded accesskit v0.9.0 [INFO] [stderr] Downloaded egui v0.21.0 [INFO] [stderr] Downloaded epaint v0.21.0 [INFO] [stderr] Downloaded windows v0.42.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9730636f55ba520065dd8f399c1634ef6adbd6ea3b7e109711210dfb0c0ad5d4 [INFO] running `Command { std: "docker" "start" "-a" "9730636f55ba520065dd8f399c1634ef6adbd6ea3b7e109711210dfb0c0ad5d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9730636f55ba520065dd8f399c1634ef6adbd6ea3b7e109711210dfb0c0ad5d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9730636f55ba520065dd8f399c1634ef6adbd6ea3b7e109711210dfb0c0ad5d4", kill_on_drop: false }` [INFO] [stdout] 9730636f55ba520065dd8f399c1634ef6adbd6ea3b7e109711210dfb0c0ad5d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf7ef5db3cd8c8a9b9b7bcb256c64ed3cda8179d88ec1014b7cccdaaaf15badc [INFO] running `Command { std: "docker" "start" "-a" "cf7ef5db3cd8c8a9b9b7bcb256c64ed3cda8179d88ec1014b7cccdaaaf15badc", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking enumflags2 v0.7.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling serde-xml-rs v0.4.1 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking accesskit v0.9.0 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking ecolor v0.21.0 [INFO] [stderr] Checking emath v0.21.0 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking epaint v0.21.0 [INFO] [stderr] Checking accesskit_consumer v0.13.0 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Compiling zvariant v3.15.2 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking egui v0.21.0 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking shellexpand v3.1.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking easy_paths v0.1.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking egui_glow v0.21.0 [INFO] [stderr] Compiling zbus v3.15.2 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking arboard v3.5.0 [INFO] [stderr] Compiling atspi-macros v0.1.4 [INFO] [stderr] Checking atspi v0.8.7 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking smithay-clipboard v0.6.6 [INFO] [stderr] Checking accesskit_unix v0.2.0 [INFO] [stderr] Checking accesskit_winit v0.10.0 [INFO] [stderr] Checking egui-winit v0.21.1 [INFO] [stderr] Checking eframe v0.21.3 [INFO] [stderr] Checking Pixelate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/panels/bottom_panel.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | if let Some(image) = &mut self.cached_image && let Some(base) = &self.base_image { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/panels/bottom_panel.rs:11:64 [INFO] [stdout] | [INFO] [stdout] 11 | if let Some(image) = &mut self.cached_image && let Some(base) = &self.base_image { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/panels/bottom_panel.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | if let Some(image) = &mut self.cached_image && let Some(base) = &self.base_image { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/panels/bottom_panel.rs:11:64 [INFO] [stdout] | [INFO] [stdout] 11 | if let Some(image) = &mut self.cached_image && let Some(base) = &self.base_image { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pixel` should have an upper camel case name [INFO] [stdout] --> src/functions.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct pixel { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Pixel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pixel` should have an upper camel case name [INFO] [stdout] --> src/functions.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct pixel { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Pixel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicImage` [INFO] [stdout] --> src/panels/bottom_panel.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{DynamicImage, GenericImage}; [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: `Effects` [INFO] [stdout] --> src/panels/bottom_panel.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{Effects, GUI}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id` and `Response` [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use egui::{Id, Response}; [INFO] [stdout] | ^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Filters_to_apply` should have an upper camel case name [INFO] [stdout] --> src/main.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Filters_to_apply { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FiltersToApply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicImage` [INFO] [stdout] --> src/panels/bottom_panel.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{DynamicImage, GenericImage}; [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 imports: `avarage`, `separate_colors`, and `sum_images` [INFO] [stdout] --> src/main.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | use crate::functions::{avarage, manupulation, separate_colors, sum_images}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Effects` [INFO] [stdout] --> src/panels/bottom_panel.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{Effects, GUI}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id` and `Response` [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use egui::{Id, Response}; [INFO] [stdout] | ^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Filters_to_apply` should have an upper camel case name [INFO] [stdout] --> src/main.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Filters_to_apply { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FiltersToApply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `avarage`, `separate_colors`, and `sum_images` [INFO] [stdout] --> src/main.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | use crate::functions::{avarage, manupulation, separate_colors, sum_images}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/functions.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 66 | let path = get_absolute_path(&"./images/samples/retina.jpg"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/functions.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 66 | let path = get_absolute_path(&"./images/samples/retina.jpg"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/functions.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut result = scratch_img.as_mut_rgb8().unwrap().pixels_mut(); [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/functions.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut result = scratch_img.as_mut_rgb8().unwrap().pixels_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/functions.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let path = get_absolute_path(&"./images/samples/retina.jpg"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/functions.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut img = image::open(path).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/functions.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | let (r, g, b) = separate_colors(&img).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/functions.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let (r, g, b) = separate_colors(&img).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/functions.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | let (r, g, b) = separate_colors(&img).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summed` [INFO] [stdout] --> src/functions.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let summed = sum_images(&b, &g).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_summed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `average` [INFO] [stdout] --> src/functions.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let average = avarage(&b, &g).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_average` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/functions.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut result = scratch_img.as_mut_rgb8().unwrap().pixels_mut(); [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/functions.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut result = scratch_img.as_mut_rgb8().unwrap().pixels_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/functions.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let path = get_absolute_path(&"./images/samples/retina.jpg"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/functions.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut img = image::open(path).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/functions.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | let (r, g, b) = separate_colors(&img).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/functions.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let (r, g, b) = separate_colors(&img).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/functions.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | let (r, g, b) = separate_colors(&img).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summed` [INFO] [stdout] --> src/functions.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let summed = sum_images(&b, &g).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_summed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `average` [INFO] [stdout] --> src/functions.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let average = avarage(&b, &g).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_average` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/panels/right_panel.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | let img = &self.cached_image.as_ref().unwrap().0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/panels/right_panel.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | let img = &self.cached_image.as_ref().unwrap().0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/main.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/main.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Pixelate` (bin "Pixelate" test) due to 2 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `Pixelate` (bin "Pixelate") due to 2 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cf7ef5db3cd8c8a9b9b7bcb256c64ed3cda8179d88ec1014b7cccdaaaf15badc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7ef5db3cd8c8a9b9b7bcb256c64ed3cda8179d88ec1014b7cccdaaaf15badc", kill_on_drop: false }` [INFO] [stdout] cf7ef5db3cd8c8a9b9b7bcb256c64ed3cda8179d88ec1014b7cccdaaaf15badc