[INFO] cloning repository https://github.com/toasterrepairman/shadowpuppet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toasterrepairman/shadowpuppet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoasterrepairman%2Fshadowpuppet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoasterrepairman%2Fshadowpuppet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 810d0e216974fd6bbb981a06878f845acc18a726 [INFO] testing toasterrepairman/shadowpuppet against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoasterrepairman%2Fshadowpuppet" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/toasterrepairman/shadowpuppet [INFO] finished tweaking git repo https://github.com/toasterrepairman/shadowpuppet [INFO] tweaked toml for git repo https://github.com/toasterrepairman/shadowpuppet written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/toasterrepairman/shadowpuppet on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/toasterrepairman/shadowpuppet 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 589c2634ce06cffaeabd723b77b6f6da02450c439a6b82733d8ac9bae6c95dbf [INFO] running `Command { std: "docker" "start" "-a" "589c2634ce06cffaeabd723b77b6f6da02450c439a6b82733d8ac9bae6c95dbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "589c2634ce06cffaeabd723b77b6f6da02450c439a6b82733d8ac9bae6c95dbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "589c2634ce06cffaeabd723b77b6f6da02450c439a6b82733d8ac9bae6c95dbf", kill_on_drop: false }` [INFO] [stdout] 589c2634ce06cffaeabd723b77b6f6da02450c439a6b82733d8ac9bae6c95dbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95aee192aaa7a1b03646797012d588f74b3daa9f6ece51a558cc20725f64edc1 [INFO] running `Command { std: "docker" "start" "-a" "95aee192aaa7a1b03646797012d588f74b3daa9f6ece51a558cc20725f64edc1", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling gio v0.20.9 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling cfg-expr v0.17.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling cairo v0.0.4 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling system-deps v7.0.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [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] Compiling glib-macros v0.20.7 [INFO] [stderr] Compiling gtk4-macros v0.9.5 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling glib-sys v0.20.9 [INFO] [stderr] Compiling gobject-sys v0.20.9 [INFO] [stderr] Compiling gio-sys v0.20.9 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.20.7 [INFO] [stderr] Compiling pango-sys v0.20.9 [INFO] [stderr] Compiling cairo-sys-rs v0.20.7 [INFO] [stderr] Compiling gdk4-sys v0.9.6 [INFO] [stderr] Compiling graphene-sys v0.20.7 [INFO] [stderr] Compiling gsk4-sys v0.9.6 [INFO] [stderr] Compiling gtk4-sys v0.9.6 [INFO] [stderr] Compiling libadwaita-sys v0.7.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling glib v0.20.9 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling cairo-rs v0.20.7 [INFO] [stderr] Compiling graphene-rs v0.20.9 [INFO] [stderr] Compiling pango v0.20.9 [INFO] [stderr] Compiling gdk-pixbuf v0.20.9 [INFO] [stderr] Compiling gdk4 v0.9.6 [INFO] [stderr] Compiling gsk4 v0.9.6 [INFO] [stderr] Compiling gtk4 v0.9.6 [INFO] [stderr] Compiling libadwaita v0.7.2 [INFO] [stderr] Compiling shadowpuppet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Picture` [INFO] [stdout] --> src/main.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use gtk4::{Application, ApplicationWindow, Picture, FileChooserNative, FileChooserAction, DrawingArea}; [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: `DynamicImage` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{DynamicImage, GenericImageView, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | let gray = (0.299 * pixel[0] as f32 [INFO] [stdout] | ^ [INFO] [stdout] 54 | + 0.587 * pixel[1] as f32 [INFO] [stdout] 55 | + 0.114 * pixel[2] as f32); [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] 53 ~ let gray = 0.299 * pixel[0] as f32 [INFO] [stdout] 54 | + 0.587 * pixel[1] as f32 [INFO] [stdout] 55 ~ + 0.114 * pixel[2] as f32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `clone`: Using old-style clone! syntax [INFO] [stdout] --> src/main.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | quit_action.connect_activate(glib::clone!(@weak window => move |_, _| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 235 | | window.close(); [INFO] [stdout] 236 | | })); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `glib::clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `adw::subclass::prelude` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use adw::subclass::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/main.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{DynamicImage, GenericImageView, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/main.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | preview_area.set_draw_func(move |area, cr, width, height| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 10s [INFO] running `Command { std: "docker" "inspect" "95aee192aaa7a1b03646797012d588f74b3daa9f6ece51a558cc20725f64edc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95aee192aaa7a1b03646797012d588f74b3daa9f6ece51a558cc20725f64edc1", kill_on_drop: false }` [INFO] [stdout] 95aee192aaa7a1b03646797012d588f74b3daa9f6ece51a558cc20725f64edc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a47835c666970221063a70874953f8266f7b4c12d074d2cd41816931a8bff84 [INFO] running `Command { std: "docker" "start" "-a" "3a47835c666970221063a70874953f8266f7b4c12d074d2cd41816931a8bff84", kill_on_drop: false }` [INFO] [stderr] Compiling shadowpuppet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Picture` [INFO] [stdout] --> src/main.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use gtk4::{Application, ApplicationWindow, Picture, FileChooserNative, FileChooserAction, DrawingArea}; [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: `DynamicImage` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{DynamicImage, GenericImageView, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | let gray = (0.299 * pixel[0] as f32 [INFO] [stdout] | ^ [INFO] [stdout] 54 | + 0.587 * pixel[1] as f32 [INFO] [stdout] 55 | + 0.114 * pixel[2] as f32); [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] 53 ~ let gray = 0.299 * pixel[0] as f32 [INFO] [stdout] 54 | + 0.587 * pixel[1] as f32 [INFO] [stdout] 55 ~ + 0.114 * pixel[2] as f32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `clone`: Using old-style clone! syntax [INFO] [stdout] --> src/main.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | quit_action.connect_activate(glib::clone!(@weak window => move |_, _| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 235 | | window.close(); [INFO] [stdout] 236 | | })); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `glib::clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `adw::subclass::prelude` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use adw::subclass::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/main.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{DynamicImage, GenericImageView, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/main.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | preview_area.set_draw_func(move |area, cr, width, height| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "3a47835c666970221063a70874953f8266f7b4c12d074d2cd41816931a8bff84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a47835c666970221063a70874953f8266f7b4c12d074d2cd41816931a8bff84", kill_on_drop: false }` [INFO] [stdout] 3a47835c666970221063a70874953f8266f7b4c12d074d2cd41816931a8bff84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 33408738b1f23b26a91db7fcc0388558d93beebe40e308f19c0b92c541ea6e48 [INFO] running `Command { std: "docker" "start" "-a" "33408738b1f23b26a91db7fcc0388558d93beebe40e308f19c0b92c541ea6e48", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Picture` [INFO] [stderr] --> src/main.rs:3:44 [INFO] [stderr] | [INFO] [stderr] 3 | use gtk4::{Application, ApplicationWindow, Picture, FileChooserNative, FileChooserAction, DrawingArea}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `DynamicImage` [INFO] [stderr] --> src/main.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use image::{DynamicImage, GenericImageView, RgbImage}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:53:32 [INFO] [stderr] | [INFO] [stderr] 53 | let gray = (0.299 * pixel[0] as f32 [INFO] [stderr] | ^ [INFO] [stderr] 54 | + 0.587 * pixel[1] as f32 [INFO] [stderr] 55 | + 0.114 * pixel[2] as f32); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 53 ~ let gray = 0.299 * pixel[0] as f32 [INFO] [stderr] 54 | + 0.587 * pixel[1] as f32 [INFO] [stderr] 55 ~ + 0.114 * pixel[2] as f32 ; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `clone`: Using old-style clone! syntax [INFO] [stderr] --> src/main.rs:234:34 [INFO] [stderr] | [INFO] [stderr] 234 | quit_action.connect_activate(glib::clone!(@weak window => move |_, _| { [INFO] [stderr] | __________________________________^ [INFO] [stderr] 235 | | window.close(); [INFO] [stderr] 236 | | })); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `glib::clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `adw::subclass::prelude` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use adw::subclass::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `GenericImageView` [INFO] [stderr] --> src/main.rs:6:27 [INFO] [stderr] | [INFO] [stderr] 6 | use image::{DynamicImage, GenericImageView, RgbImage}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `area` [INFO] [stderr] --> src/main.rs:36:42 [INFO] [stderr] | [INFO] [stderr] 36 | preview_area.set_draw_func(move |area, cr, width, height| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `shadowpuppet` (bin "shadowpuppet" test) generated 7 warnings (run `cargo fix --bin "shadowpuppet" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shadowpuppet-cb02dfd3e29cfad6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "33408738b1f23b26a91db7fcc0388558d93beebe40e308f19c0b92c541ea6e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33408738b1f23b26a91db7fcc0388558d93beebe40e308f19c0b92c541ea6e48", kill_on_drop: false }` [INFO] [stdout] 33408738b1f23b26a91db7fcc0388558d93beebe40e308f19c0b92c541ea6e48