[INFO] cloning repository https://github.com/mvolfik/helenos-imageviewer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mvolfik/helenos-imageviewer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvolfik%2Fhelenos-imageviewer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvolfik%2Fhelenos-imageviewer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30b1c884b71a56257a748b6c45828ba52f588cd3 [INFO] linting mvolfik/helenos-imageviewer-rs against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvolfik%2Fhelenos-imageviewer-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mvolfik/helenos-imageviewer-rs [INFO] finished tweaking git repo https://github.com/mvolfik/helenos-imageviewer-rs [INFO] tweaked toml for git repo https://github.com/mvolfik/helenos-imageviewer-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mvolfik/helenos-imageviewer-rs on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mvolfik/helenos-imageviewer-rs 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/mvolfik/rust-libc.git` [INFO] [stderr] Updating git repository `https://github.com/mvolfik/raw-window-handle.git` [INFO] [stderr] Updating git repository `https://github.com/mvolfik/softbuffer.git` [INFO] [stderr] Updating git repository `https://github.com/mvolfik/swash.git` [INFO] [stderr] Updating git repository `https://github.com/mvolfik/iced.git` [INFO] [stderr] Updating git repository `https://github.com/mvolfik/helenos-ui-rs.git` [INFO] [stderr] Updating git repository `https://github.com/mvolfik/cc-rs.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded self_cell v1.2.0 [INFO] [stderr] Downloaded objc2-quartz-core v0.3.1 [INFO] [stderr] Downloaded d3d12 v0.19.0 [INFO] [stderr] Downloaded mutate_once v0.1.1 [INFO] [stderr] Downloaded wayland-protocols-plasma v0.3.8 [INFO] [stderr] Downloaded rangemap v1.5.1 [INFO] [stderr] Downloaded libm v0.2.13 [INFO] [stderr] Downloaded winnow v0.7.8 [INFO] [stderr] Downloaded iced_glyphon v0.6.0 [INFO] [stderr] Downloaded winit v0.30.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 341fa94a6483fb20e9f966d69d48136bb7f3193b9d6f5e14cad2aa6755e0f8f5 [INFO] running `Command { std: "docker" "start" "-a" "341fa94a6483fb20e9f966d69d48136bb7f3193b9d6f5e14cad2aa6755e0f8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "341fa94a6483fb20e9f966d69d48136bb7f3193b9d6f5e14cad2aa6755e0f8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "341fa94a6483fb20e9f966d69d48136bb7f3193b9d6f5e14cad2aa6755e0f8f5", kill_on_drop: false }` [INFO] [stdout] 341fa94a6483fb20e9f966d69d48136bb7f3193b9d6f5e14cad2aa6755e0f8f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baa38cc215b5d9ce590bc440554f1c41dc1780fd3946baae9e6fb6c36c0f9044 [INFO] running `Command { std: "docker" "start" "-a" "baa38cc215b5d9ce590bc440554f1c41dc1780fd3946baae9e6fb6c36c0f9044", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.171 (https://github.com/mvolfik/rust-libc.git?branch=helenos-v0.2#c0e72aca) [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling libm v0.2.13 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking fast-srgb8 v1.0.0 [INFO] [stderr] Compiling drm-sys v0.8.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 (https://github.com/mvolfik/raw-window-handle.git?branch=helenos#d1f90983) [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking linux-raw-sys v0.6.5 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking glam v0.25.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking fontconfig-parser v0.5.7 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling tiny-xlib v0.2.4 [INFO] [stderr] Checking unicode-ccc v0.2.0 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking unicode-script v0.5.7 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking yazi v0.1.6 [INFO] [stderr] Checking zeno v0.2.3 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Compiling softbuffer v0.4.6 (https://github.com/mvolfik/softbuffer.git?branch=helenos#db541a78) [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking rangemap v1.5.1 [INFO] [stderr] Checking ctor-lite v0.1.0 [INFO] [stderr] Checking sys-locale v0.3.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking self_cell v1.2.0 [INFO] [stderr] Checking mutate_once v0.1.1 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking kamadak-exif v0.5.5 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking kurbo v0.10.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking fontdb v0.16.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling winit v0.30.10 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking lyon_geom v1.0.6 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking lyon_path v1.0.7 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking font-types v0.7.3 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking rustybuzz v0.14.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking read-fonts v0.22.7 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking drm-ffi v0.9.0 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking drm v0.14.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.8 [INFO] [stderr] Checking wayland-cursor v0.31.10 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking iced_core v0.13.5 (https://github.com/mvolfik/iced.git?branch=helenos#6f097643) [INFO] [stderr] Checking skrifa v0.22.3 [INFO] [stderr] Checking iced_futures v0.13.5 (https://github.com/mvolfik/iced.git?branch=helenos#6f097643) [INFO] [stderr] Checking iced_runtime v0.13.5 (https://github.com/mvolfik/iced.git?branch=helenos#6f097643) [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking swash v0.1.19 (https://github.com/mvolfik/swash.git?branch=helenos#973ed2e4) [INFO] [stderr] Checking wayland-protocols-wlr v0.3.8 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.8 [INFO] [stderr] Checking cosmic-text v0.12.1 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking iced_graphics v0.13.5 (https://github.com/mvolfik/iced.git?branch=helenos#6f097643) [INFO] [stderr] Checking iced_tiny_skia v0.13.5 (https://github.com/mvolfik/iced.git?branch=helenos#6f097643) [INFO] [stderr] Checking iced_renderer v0.13.5 (https://github.com/mvolfik/iced.git?branch=helenos#6f097643) [INFO] [stderr] Checking iced_widget v0.13.5 (https://github.com/mvolfik/iced.git?branch=helenos#6f097643) [INFO] [stderr] Checking helenos-iced v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: casting to the same type is unnecessary (`f32` -> `f32`) [INFO] [stdout] --> src/platform/winit.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | x: x as f32, [INFO] [stdout] | ^^^^^^^^ help: try: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`f32` -> `f32`) [INFO] [stdout] --> src/platform/winit.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | y: y as f32, [INFO] [stdout] | ^^^^^^^^ help: try: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> src/lib.rs:80:51 [INFO] [stdout] | [INFO] [stdout] 80 | .configure_surface(&mut self.surface, s.width as u32, s.height as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `s.width` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> src/lib.rs:80:67 [INFO] [stdout] | [INFO] [stdout] 80 | .configure_surface(&mut self.surface, s.width as u32, s.height as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `s.height` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`f32` -> `f32`) [INFO] [stdout] --> src/platform/winit.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | x: x as f32, [INFO] [stdout] | ^^^^^^^^ help: try: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`f32` -> `f32`) [INFO] [stdout] --> src/platform/winit.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | y: y as f32, [INFO] [stdout] | ^^^^^^^^ help: try: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `never_type` is declared but not used [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(never_type)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `unwrap_infallible` is declared but not used [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(unwrap_infallible)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `float_minimum_maximum` is declared but not used [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(float_minimum_maximum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `debug_closure_helpers` is declared but not used [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(debug_closure_helpers)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `thread_sleep_until` is declared but not used [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(thread_sleep_until)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> src/lib.rs:80:51 [INFO] [stdout] | [INFO] [stdout] 80 | .configure_surface(&mut self.surface, s.width as u32, s.height as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `s.width` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> src/lib.rs:80:67 [INFO] [stdout] | [INFO] [stdout] 80 | .configure_surface(&mut self.surface, s.width as u32, s.height as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `s.height` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `never_type` is declared but not used [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(never_type)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `unwrap_infallible` is declared but not used [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(unwrap_infallible)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `float_minimum_maximum` is declared but not used [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(float_minimum_maximum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `debug_closure_helpers` is declared but not used [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(debug_closure_helpers)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `thread_sleep_until` is declared but not used [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(thread_sleep_until)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/apps/imageviewer/main.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | const DEFAULT_MSG: &'static str = "Please select an image"; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/apps/imageviewer/main.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | const DEFAULT_MSG: &'static str = "Please select an image"; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` branch is empty [INFO] [stdout] --> src/apps/life/main.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | if self.is_playing {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: you can remove it [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_ifs [INFO] [stdout] = note: `#[warn(clippy::needless_ifs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice` [INFO] [stdout] --> src/apps/imageviewer/main.rs:306:30 [INFO] [stdout] | [INFO] [stdout] 306 | scrollable(items.into_iter().fold(column([]), |column, entry| { [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] = note: `#[warn(clippy::into_iter_on_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/apps/imageviewer/main.rs:343:56 [INFO] [stdout] | [INFO] [stdout] 343 | slider(0.05..=max_zoom, *pending_zoom, |z| Message::ZoomChanged(z)).step(0.05), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `Message::ZoomChanged` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/apps/life/main.rs:990:5 [INFO] [stdout] | [INFO] [stdout] 990 | / impl Default for Interaction { [INFO] [stdout] 991 | | fn default() -> Self { [INFO] [stdout] 992 | | Self::None [INFO] [stdout] 993 | | } [INFO] [stdout] 994 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 983 ~ #[derive(Default)] [INFO] [stdout] 984 ~ pub enum Interaction { [INFO] [stdout] 985 ~ #[default] [INFO] [stdout] 986 ~ None, [INFO] [stdout] 987 | Drawing, [INFO] [stdout] ... [INFO] [stdout] 991 | [INFO] [stdout] 992 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/life/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | fn view(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn view(&self) -> Element<'_, Self::Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/life/main.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | fn view(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 253 | fn view(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/life/main.rs:271:22 [INFO] [stdout] | [INFO] [stdout] 271 | fn view_controls(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 271 | fn view_controls(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/life/main.rs:451:21 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn view(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 451 | pub fn view(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/imageviewer/main.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | fn view(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | fn view(&self) -> Element<'_, Self::Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/imageviewer/main.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | fn view(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 256 | fn view(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/imageviewer/main.rs:267:23 [INFO] [stdout] | [INFO] [stdout] 267 | fn chooser_button(&self, label: String, msg: Message) -> Element { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 267 | fn chooser_button(&self, label: String, msg: Message) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/imageviewer/main.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 297 | ) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 297 | ) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/imageviewer/main.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 333 | ) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 333 | ) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice` [INFO] [stdout] --> src/apps/imageviewer/main.rs:306:30 [INFO] [stdout] | [INFO] [stdout] 306 | scrollable(items.into_iter().fold(column([]), |column, entry| { [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] = note: `#[warn(clippy::into_iter_on_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/apps/imageviewer/main.rs:343:56 [INFO] [stdout] | [INFO] [stdout] 343 | slider(0.05..=max_zoom, *pending_zoom, |z| Message::ZoomChanged(z)).step(0.05), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `Message::ZoomChanged` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` branch is empty [INFO] [stdout] --> src/apps/life/main.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | if self.is_playing {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: you can remove it [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_ifs [INFO] [stdout] = note: `#[warn(clippy::needless_ifs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/apps/life/main.rs:990:5 [INFO] [stdout] | [INFO] [stdout] 990 | / impl Default for Interaction { [INFO] [stdout] 991 | | fn default() -> Self { [INFO] [stdout] 992 | | Self::None [INFO] [stdout] 993 | | } [INFO] [stdout] 994 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 983 ~ #[derive(Default)] [INFO] [stdout] 984 ~ pub enum Interaction { [INFO] [stdout] 985 ~ #[default] [INFO] [stdout] 986 ~ None, [INFO] [stdout] 987 | Drawing, [INFO] [stdout] ... [INFO] [stdout] 991 | [INFO] [stdout] 992 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/life/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | fn view(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn view(&self) -> Element<'_, Self::Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/life/main.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | fn view(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 253 | fn view(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/life/main.rs:271:22 [INFO] [stdout] | [INFO] [stdout] 271 | fn view_controls(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 271 | fn view_controls(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/life/main.rs:451:21 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn view(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 451 | pub fn view(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/imageviewer/main.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | fn view(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | fn view(&self) -> Element<'_, Self::Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/imageviewer/main.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | fn view(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 256 | fn view(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/imageviewer/main.rs:267:23 [INFO] [stdout] | [INFO] [stdout] 267 | fn chooser_button(&self, label: String, msg: Message) -> Element { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 267 | fn chooser_button(&self, label: String, msg: Message) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/imageviewer/main.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 297 | ) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 297 | ) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/apps/imageviewer/main.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 333 | ) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 333 | ) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "baa38cc215b5d9ce590bc440554f1c41dc1780fd3946baae9e6fb6c36c0f9044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baa38cc215b5d9ce590bc440554f1c41dc1780fd3946baae9e6fb6c36c0f9044", kill_on_drop: false }` [INFO] [stdout] baa38cc215b5d9ce590bc440554f1c41dc1780fd3946baae9e6fb6c36c0f9044