[INFO] cloning repository https://github.com/aizcutei/pixelite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aizcutei/pixelite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faizcutei%2Fpixelite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faizcutei%2Fpixelite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 130f6bdaf6f87d65b43ab62a0dc1995ae9d140f0 [INFO] testing aizcutei/pixelite against 1.97.0-beta.1 for beta-1.97-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faizcutei%2Fpixelite" "/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/aizcutei/pixelite [INFO] finished tweaking git repo https://github.com/aizcutei/pixelite [INFO] tweaked toml for git repo https://github.com/aizcutei/pixelite written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aizcutei/pixelite on toolchain 1.97.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aizcutei/pixelite 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" "+1.97.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 250eda0f28ea784201cbe366697983eff8319165f332875921758b3ac14ff9cb [INFO] running `Command { std: "docker" "start" "-a" "250eda0f28ea784201cbe366697983eff8319165f332875921758b3ac14ff9cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "250eda0f28ea784201cbe366697983eff8319165f332875921758b3ac14ff9cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "250eda0f28ea784201cbe366697983eff8319165f332875921758b3ac14ff9cb", kill_on_drop: false }` [INFO] [stdout] 250eda0f28ea784201cbe366697983eff8319165f332875921758b3ac14ff9cb [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6a892445e492febe633b9d75e5027d27698fe262e2f7fe70b037795fef51b92 [INFO] running `Command { std: "docker" "start" "-a" "b6a892445e492febe633b9d75e5027d27698fe262e2f7fe70b037795fef51b92", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-expr v0.10.3 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling memmap2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling ahash v0.8.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling owned_ttf_parser v0.15.1 [INFO] [stderr] Compiling crossfont v0.5.0 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling ab_glyph v0.2.16 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling xmlparser v0.13.3 [INFO] [stderr] Compiling unicode-general-category v0.4.0 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling roxmltree v0.14.1 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling raw-window-handle v0.5.0 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling fontconfig-parser v0.5.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling system-deps v6.0.2 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling unicode-script v0.5.5 [INFO] [stderr] Compiling unicode-ccc v0.1.2 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling x11rb v0.9.0 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling kurbo v0.8.3 [INFO] [stderr] Compiling fontdb v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling jpeg-decoder v0.2.6 [INFO] [stderr] Compiling glib-sys v0.15.10 [INFO] [stderr] Compiling gobject-sys v0.15.10 [INFO] [stderr] Compiling atk-sys v0.15.1 [INFO] [stderr] Compiling gdk-sys v0.15.1 [INFO] [stderr] Compiling gio-sys v0.15.10 [INFO] [stderr] Compiling pango-sys v0.15.10 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.15.10 [INFO] [stderr] Compiling cairo-sys-rs v0.15.1 [INFO] [stderr] Compiling gtk-sys v0.15.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling svgtypes v0.8.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling data-url v0.1.1 [INFO] [stderr] Compiling simplecss v0.2.1 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling atomic_refcell v0.1.8 [INFO] [stderr] Compiling emath v0.17.0 [INFO] [stderr] Compiling palette v0.6.1 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling tiff v0.7.3 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling rctree v0.4.0 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling epaint v0.17.0 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling webbrowser v0.7.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling wayland-egl v0.29.4 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling rfd v0.10.0 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling egui v0.17.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.15 [INFO] [stderr] Compiling bytemuck_derive v1.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling phf_macros v0.11.1 [INFO] [stderr] Compiling bytemuck v1.12.1 [INFO] [stderr] Compiling palette_derive v0.6.1 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling calloop v0.10.1 [INFO] [stderr] Compiling rgb v0.8.34 [INFO] [stderr] Compiling rustybuzz v0.5.1 [INFO] [stderr] Compiling wide v0.7.5 [INFO] [stderr] Compiling tiny-skia v0.6.6 [INFO] [stderr] Compiling svgfilters v0.4.0 [INFO] [stderr] Compiling phf v0.11.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling arboard v2.1.1 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling exr v1.5.1 [INFO] [stderr] Compiling epi v0.17.0 [INFO] [stderr] Compiling simba v0.7.2 [INFO] [stderr] Compiling kmeans_colors v0.5.0 [INFO] [stderr] Compiling usvg v0.23.0 [INFO] [stderr] Compiling futures-executor v0.3.24 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Compiling image v0.24.4 [INFO] [stderr] Compiling resvg v0.23.0 [INFO] [stderr] Compiling emath v0.19.0 [INFO] [stderr] Compiling ron v0.8.0 [INFO] [stderr] Compiling epaint v0.19.0 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling egui v0.19.0 [INFO] [stderr] Compiling egui_glow v0.19.0 [INFO] [stderr] Compiling egui_extras v0.19.0 [INFO] [stderr] Compiling egui-toast v0.4.0 [INFO] [stderr] Compiling imageproc v0.23.0 [INFO] [stderr] Compiling sctk-adwaita v0.4.2 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling winit v0.27.2 [INFO] [stderr] Compiling egui-winit v0.19.0 [INFO] [stderr] Compiling glutin v0.29.1 [INFO] [stderr] Compiling eframe v0.19.0 [INFO] [stderr] Compiling pixelite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ImageBuffer` [INFO] [stdout] --> src/util.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{DynamicImage, ImageBuffer, Rgb, RgbImage, Rgba}; [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: `Calculate`, `MapColor`, `Sort`, and `get_kmeans` [INFO] [stdout] --> src/util.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use kmeans_colors::{get_kmeans, get_kmeans_hamerly, Calculate, Kmeans, MapColor, Sort}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hsv` [INFO] [stdout] --> src/util.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use palette::{FromColor, Hsv, IntoColor, Lab, Pixel, Srgb}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:172:41 [INFO] [stdout] | [INFO] [stdout] 172 | ... let mut encoder = PngEncoder::new(&mut file); [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: unused variable: `dropped_files` [INFO] [stdout] --> src/app.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | dropped_files, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `dropped_files: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dropped_file` [INFO] [stdout] --> src/app.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | dropped_file, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `dropped_file: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_file_path` [INFO] [stdout] --> src/app.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | open_file_path, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `open_file_path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbg_information` [INFO] [stdout] --> src/app.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | dbg_information, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `dbg_information: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setting_window` [INFO] [stdout] --> src/app.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | setting_window, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `setting_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_window` [INFO] [stdout] --> src/app.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | input_window, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `input_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_window` [INFO] [stdout] --> src/app.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | output_window, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `output_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info_window` [INFO] [stdout] --> src/app.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | info_window, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `info_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_palette_window` [INFO] [stdout] --> src/app.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | color_palette_window, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `color_palette_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_loading` [INFO] [stdout] --> src/app.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | is_loading, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `is_loading: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_input` [INFO] [stdout] --> src/app.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | raw_input, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `raw_input: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_output` [INFO] [stdout] --> src/app.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | raw_output, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `raw_output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_dyn` [INFO] [stdout] --> src/app.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | img_dyn, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `img_dyn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_img_dyn` [INFO] [stdout] --> src/app.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | output_img_dyn, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `output_img_dyn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_palette` [INFO] [stdout] --> src/app.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | color_palette, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `color_palette: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/app.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | image, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `image: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_image` [INFO] [stdout] --> src/app.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | output_image, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `output_image: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pixel` is never used [INFO] [stdout] --> src/util.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn get_pixel(image: DynamicImage, x: u32, y: u32) -> Rgba { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convolver` is never used [INFO] [stdout] --> src/util.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn convolver(image: DynamicImage, matrix: [[i32; 3]; 3], divisor: i32) -> DynamicImage { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sharpen_filter` is never used [INFO] [stdout] --> src/util.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn sharpen_filter(image: DynamicImage) -> DynamicImage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/util.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | if img_y < 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/util.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | if img_x < 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "b6a892445e492febe633b9d75e5027d27698fe262e2f7fe70b037795fef51b92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a892445e492febe633b9d75e5027d27698fe262e2f7fe70b037795fef51b92", kill_on_drop: false }` [INFO] [stdout] b6a892445e492febe633b9d75e5027d27698fe262e2f7fe70b037795fef51b92 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b3db8ab2e1e703bc25fef490d362b72b6d2346158ff15e25155b9e2605105c3 [INFO] running `Command { std: "docker" "start" "-a" "8b3db8ab2e1e703bc25fef490d362b72b6d2346158ff15e25155b9e2605105c3", kill_on_drop: false }` [INFO] [stderr] Compiling pixelite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ImageBuffer` [INFO] [stdout] --> src/util.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{DynamicImage, ImageBuffer, Rgb, RgbImage, Rgba}; [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: `Calculate`, `MapColor`, `Sort`, and `get_kmeans` [INFO] [stdout] --> src/util.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use kmeans_colors::{get_kmeans, get_kmeans_hamerly, Calculate, Kmeans, MapColor, Sort}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hsv` [INFO] [stdout] --> src/util.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use palette::{FromColor, Hsv, IntoColor, Lab, Pixel, Srgb}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:172:41 [INFO] [stdout] | [INFO] [stdout] 172 | ... let mut encoder = PngEncoder::new(&mut file); [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: unused variable: `dropped_files` [INFO] [stdout] --> src/app.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | dropped_files, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `dropped_files: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dropped_file` [INFO] [stdout] --> src/app.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | dropped_file, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `dropped_file: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_file_path` [INFO] [stdout] --> src/app.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | open_file_path, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `open_file_path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbg_information` [INFO] [stdout] --> src/app.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | dbg_information, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `dbg_information: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setting_window` [INFO] [stdout] --> src/app.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | setting_window, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `setting_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_window` [INFO] [stdout] --> src/app.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | input_window, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `input_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_window` [INFO] [stdout] --> src/app.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | output_window, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `output_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info_window` [INFO] [stdout] --> src/app.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | info_window, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `info_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_palette_window` [INFO] [stdout] --> src/app.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | color_palette_window, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `color_palette_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_loading` [INFO] [stdout] --> src/app.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | is_loading, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `is_loading: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_input` [INFO] [stdout] --> src/app.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | raw_input, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `raw_input: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_output` [INFO] [stdout] --> src/app.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | raw_output, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `raw_output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_dyn` [INFO] [stdout] --> src/app.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | img_dyn, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `img_dyn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_img_dyn` [INFO] [stdout] --> src/app.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | output_img_dyn, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `output_img_dyn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_palette` [INFO] [stdout] --> src/app.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | color_palette, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `color_palette: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/app.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | image, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `image: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_image` [INFO] [stdout] --> src/app.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | output_image, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `output_image: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pixel` is never used [INFO] [stdout] --> src/util.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn get_pixel(image: DynamicImage, x: u32, y: u32) -> Rgba { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convolver` is never used [INFO] [stdout] --> src/util.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn convolver(image: DynamicImage, matrix: [[i32; 3]; 3], divisor: i32) -> DynamicImage { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sharpen_filter` is never used [INFO] [stdout] --> src/util.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn sharpen_filter(image: DynamicImage) -> DynamicImage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/util.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | if img_y < 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/util.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | if img_x < 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageBuffer` [INFO] [stdout] --> src/util.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{DynamicImage, ImageBuffer, Rgb, RgbImage, Rgba}; [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: `Calculate`, `MapColor`, `Sort`, and `get_kmeans` [INFO] [stdout] --> src/util.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use kmeans_colors::{get_kmeans, get_kmeans_hamerly, Calculate, Kmeans, MapColor, Sort}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hsv` [INFO] [stdout] --> src/util.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use palette::{FromColor, Hsv, IntoColor, Lab, Pixel, Srgb}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:172:41 [INFO] [stdout] | [INFO] [stdout] 172 | ... let mut encoder = PngEncoder::new(&mut file); [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: unused variable: `dropped_files` [INFO] [stdout] --> src/app.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | dropped_files, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `dropped_files: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dropped_file` [INFO] [stdout] --> src/app.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | dropped_file, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `dropped_file: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_file_path` [INFO] [stdout] --> src/app.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | open_file_path, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `open_file_path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbg_information` [INFO] [stdout] --> src/app.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | dbg_information, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `dbg_information: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setting_window` [INFO] [stdout] --> src/app.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | setting_window, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `setting_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_window` [INFO] [stdout] --> src/app.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | input_window, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `input_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_window` [INFO] [stdout] --> src/app.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | output_window, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `output_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info_window` [INFO] [stdout] --> src/app.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | info_window, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `info_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_palette_window` [INFO] [stdout] --> src/app.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | color_palette_window, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `color_palette_window: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_loading` [INFO] [stdout] --> src/app.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | is_loading, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `is_loading: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_input` [INFO] [stdout] --> src/app.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | raw_input, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `raw_input: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_output` [INFO] [stdout] --> src/app.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | raw_output, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `raw_output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_dyn` [INFO] [stdout] --> src/app.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | img_dyn, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `img_dyn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_img_dyn` [INFO] [stdout] --> src/app.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | output_img_dyn, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `output_img_dyn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_palette` [INFO] [stdout] --> src/app.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | color_palette, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `color_palette: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/app.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | image, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `image: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_image` [INFO] [stdout] --> src/app.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | output_image, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `output_image: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pixel` is never used [INFO] [stdout] --> src/util.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn get_pixel(image: DynamicImage, x: u32, y: u32) -> Rgba { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convolver` is never used [INFO] [stdout] --> src/util.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn convolver(image: DynamicImage, matrix: [[i32; 3]; 3], divisor: i32) -> DynamicImage { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sharpen_filter` is never used [INFO] [stdout] --> src/util.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn sharpen_filter(image: DynamicImage) -> DynamicImage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/util.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | if img_y < 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/util.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | if img_x < 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.47s [INFO] running `Command { std: "docker" "inspect" "8b3db8ab2e1e703bc25fef490d362b72b6d2346158ff15e25155b9e2605105c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b3db8ab2e1e703bc25fef490d362b72b6d2346158ff15e25155b9e2605105c3", kill_on_drop: false }` [INFO] [stdout] 8b3db8ab2e1e703bc25fef490d362b72b6d2346158ff15e25155b9e2605105c3 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 06b4f731c8ae9e3dca737b274df0ba2499397fe698b94dd088ea9a4df2877424 [INFO] running `Command { std: "docker" "start" "-a" "06b4f731c8ae9e3dca737b274df0ba2499397fe698b94dd088ea9a4df2877424", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ImageBuffer` [INFO] [stderr] --> src/util.rs:2:27 [INFO] [stderr] | [INFO] [stderr] 2 | use image::{DynamicImage, ImageBuffer, Rgb, RgbImage, Rgba}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Calculate`, `MapColor`, `Sort`, and `get_kmeans` [INFO] [stderr] --> src/util.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use kmeans_colors::{get_kmeans, get_kmeans_hamerly, Calculate, Kmeans, MapColor, Sort}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Hsv` [INFO] [stderr] --> src/util.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | use palette::{FromColor, Hsv, IntoColor, Lab, Pixel, Srgb}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/app.rs:172:41 [INFO] [stderr] | [INFO] [stderr] 172 | ... let mut encoder = PngEncoder::new(&mut file); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dropped_files` [INFO] [stderr] --> src/app.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | dropped_files, [INFO] [stderr] | ^^^^^^^^^^^^^ help: try ignoring the field: `dropped_files: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dropped_file` [INFO] [stderr] --> src/app.rs:123:13 [INFO] [stderr] | [INFO] [stderr] 123 | dropped_file, [INFO] [stderr] | ^^^^^^^^^^^^ help: try ignoring the field: `dropped_file: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `open_file_path` [INFO] [stderr] --> src/app.rs:124:13 [INFO] [stderr] | [INFO] [stderr] 124 | open_file_path, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try ignoring the field: `open_file_path: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dbg_information` [INFO] [stderr] --> src/app.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | dbg_information, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `dbg_information: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `setting_window` [INFO] [stderr] --> src/app.rs:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | setting_window, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try ignoring the field: `setting_window: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input_window` [INFO] [stderr] --> src/app.rs:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | input_window, [INFO] [stderr] | ^^^^^^^^^^^^ help: try ignoring the field: `input_window: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output_window` [INFO] [stderr] --> src/app.rs:130:13 [INFO] [stderr] | [INFO] [stderr] 130 | output_window, [INFO] [stderr] | ^^^^^^^^^^^^^ help: try ignoring the field: `output_window: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info_window` [INFO] [stderr] --> src/app.rs:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | info_window, [INFO] [stderr] | ^^^^^^^^^^^ help: try ignoring the field: `info_window: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_palette_window` [INFO] [stderr] --> src/app.rs:132:13 [INFO] [stderr] | [INFO] [stderr] 132 | color_palette_window, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `color_palette_window: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_loading` [INFO] [stderr] --> src/app.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | is_loading, [INFO] [stderr] | ^^^^^^^^^^ help: try ignoring the field: `is_loading: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `raw_input` [INFO] [stderr] --> src/app.rs:134:13 [INFO] [stderr] | [INFO] [stderr] 134 | raw_input, [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `raw_input: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `raw_output` [INFO] [stderr] --> src/app.rs:135:13 [INFO] [stderr] | [INFO] [stderr] 135 | raw_output, [INFO] [stderr] | ^^^^^^^^^^ help: try ignoring the field: `raw_output: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `img_dyn` [INFO] [stderr] --> src/app.rs:136:13 [INFO] [stderr] | [INFO] [stderr] 136 | img_dyn, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `img_dyn: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output_img_dyn` [INFO] [stderr] --> src/app.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | output_img_dyn, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try ignoring the field: `output_img_dyn: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_palette` [INFO] [stderr] --> src/app.rs:138:13 [INFO] [stderr] | [INFO] [stderr] 138 | color_palette, [INFO] [stderr] | ^^^^^^^^^^^^^ help: try ignoring the field: `color_palette: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `image` [INFO] [stderr] --> src/app.rs:139:13 [INFO] [stderr] | [INFO] [stderr] 139 | image, [INFO] [stderr] | ^^^^^ help: try ignoring the field: `image: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output_image` [INFO] [stderr] --> src/app.rs:140:13 [INFO] [stderr] | [INFO] [stderr] 140 | output_image, [INFO] [stderr] | ^^^^^^^^^^^^ help: try ignoring the field: `output_image: _` [INFO] [stderr] [INFO] [stderr] warning: function `get_pixel` is never used [INFO] [stderr] --> src/util.rs:147:8 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn get_pixel(image: DynamicImage, x: u32, y: u32) -> Rgba { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `convolver` is never used [INFO] [stderr] --> src/util.rs:153:8 [INFO] [stderr] | [INFO] [stderr] 153 | pub fn convolver(image: DynamicImage, matrix: [[i32; 3]; 3], divisor: i32) -> DynamicImage { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sharpen_filter` is never used [INFO] [stderr] --> src/util.rs:223:8 [INFO] [stderr] | [INFO] [stderr] 223 | pub fn sharpen_filter(image: DynamicImage) -> DynamicImage { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/util.rs:171:20 [INFO] [stderr] | [INFO] [stderr] 171 | if img_y < 0 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/util.rs:178:24 [INFO] [stderr] | [INFO] [stderr] 178 | if img_x < 0 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pixelite` (lib) generated 26 warnings (run `cargo fix --lib -p pixelite` to apply 21 suggestions) [INFO] [stderr] warning: `pixelite` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pixelite-9e769863bffcd0b7) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pixelite-5e7a82b0120b2749) [INFO] [stdout] [INFO] [stderr] Doc-tests pixelite [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] [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" "06b4f731c8ae9e3dca737b274df0ba2499397fe698b94dd088ea9a4df2877424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06b4f731c8ae9e3dca737b274df0ba2499397fe698b94dd088ea9a4df2877424", kill_on_drop: false }` [INFO] [stdout] 06b4f731c8ae9e3dca737b274df0ba2499397fe698b94dd088ea9a4df2877424