[INFO] cloning repository https://github.com/rsuu/rmg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rsuu/rmg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsuu%2Frmg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsuu%2Frmg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1885f44947d8599bb0adbbfc797d02c57fb7ff3c [INFO] checking rsuu/rmg against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsuu%2Frmg" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rsuu/rmg on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rsuu/rmg [INFO] finished tweaking git repo https://github.com/rsuu/rmg [INFO] tweaked toml for git repo https://github.com/rsuu/rmg written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rsuu/rmg 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded usvg-text-layout v0.35.0 [INFO] [stderr] Downloaded svgtypes v0.11.0 [INFO] [stderr] Downloaded usvg-parser v0.35.0 [INFO] [stderr] Downloaded usvg-tree v0.35.0 [INFO] [stderr] Downloaded tiny-skia-path v0.10.0 [INFO] [stderr] Downloaded usvg v0.35.0 [INFO] [stderr] Downloaded nohash v0.2.0 [INFO] [stderr] Downloaded minifb v0.25.0 [INFO] [stderr] Downloaded anyhow v1.0.77 [INFO] [stderr] Downloaded tiny-skia v0.10.0 [INFO] [stderr] Downloaded asefile v0.3.6 [INFO] [stderr] Downloaded cfb v0.7.3 [INFO] [stderr] Downloaded lexopt v0.3.0 [INFO] [stderr] Downloaded enumn v0.1.12 [INFO] [stderr] Downloaded esyn-derive v0.8.1 [INFO] [stderr] Downloaded esyn v0.8.1 [INFO] [stderr] Downloaded gif-dispose v4.0.1 [INFO] [stderr] Downloaded infer v0.15.0 [INFO] [stderr] Downloaded libheif-rs v0.20.0 [INFO] [stderr] Downloaded four-cc v0.3.0 [INFO] [stderr] Downloaded resvg v0.35.0 [INFO] [stderr] Downloaded libheif-sys v1.16.2 [INFO] [stderr] Downloaded sysinfo v0.30.3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c8687209e754a8365ec06ca03cad71a30902cfd7b1a02381997e169e4b64c51 [INFO] running `Command { std: "docker" "start" "-a" "9c8687209e754a8365ec06ca03cad71a30902cfd7b1a02381997e169e4b64c51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c8687209e754a8365ec06ca03cad71a30902cfd7b1a02381997e169e4b64c51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c8687209e754a8365ec06ca03cad71a30902cfd7b1a02381997e169e4b64c51", kill_on_drop: false }` [INFO] [stdout] 9c8687209e754a8365ec06ca03cad71a30902cfd7b1a02381997e169e4b64c51 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7f40dd194582a5e1a552a487275d642138988e3a97b9522430cda4f6c3932c3 [INFO] running `Command { std: "docker" "start" "-a" "c7f40dd194582a5e1a552a487275d642138988e3a97b9522430cda4f6c3932c3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling minifb v0.25.0 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking fdeflate v0.3.3 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.77 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking xattr v1.2.0 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking imgref v1.10.0 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking gif-dispose v4.0.1 [INFO] [stderr] Checking infer v0.15.0 [INFO] [stderr] Checking sysinfo v0.30.3 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking lexopt v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.52 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling esyn-derive v0.8.1 [INFO] [stderr] Checking esyn v0.8.1 [INFO] [stderr] Checking fast_image_resize v2.7.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rmg v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/archive/dir.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::archive::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] 2 | use std::{fs::OpenOptions, io::Read, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/archive/file.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::archive::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] 2 | use std::{fs::OpenOptions, io::Read, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/archive/tar.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::archive::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/archive/tar.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::archive::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] 31 | use std::{fs::OpenOptions, io::Read, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/archive/zip.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{archive::*, Path}; [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/archive/zip.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::archive::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 46 | path::Path, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `infer` is imported redundantly [INFO] [stdout] --> src/archive.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use infer; [INFO] [stdout] | ^^^^^ the item `infer` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `dirs_next` is imported redundantly [INFO] [stdout] --> src/config/rsconf.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dirs_next; [INFO] [stdout] | ^^^^^^^^^ the item `dirs_next` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fir` [INFO] [stdout] --> src/config/rsconf.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fir; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lexopt` is imported redundantly [INFO] [stdout] --> src/config/rsconf.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use lexopt::{self, prelude::*}; [INFO] [stdout] | ^^^^ the item `lexopt` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/config/rsconf.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{fs::File, io::Read, path::Path, path::PathBuf, process::exit}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sysinfo::System` [INFO] [stdout] --> src/config/rsconf.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | use sysinfo::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FPS` [INFO] [stdout] --> src/img/gif.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{img::Size, FPS}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gif` is imported redundantly [INFO] [stdout] --> src/img/gif.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gif; [INFO] [stdout] | ^^^ the item `gif` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gif_dispose` is imported redundantly [INFO] [stdout] --> src/img/gif.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gif_dispose; [INFO] [stdout] | ^^^^^^^^^^^ the item `gif_dispose` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fir` is imported redundantly [INFO] [stdout] --> src/img.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use fir; [INFO] [stdout] | ^^^ the item `fir` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image` [INFO] [stdout] --> src/img.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Turn`, `sleep_ms`, `thread` [INFO] [stdout] --> src/render/display.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | render, sleep_ms, thread, ArchiveType, AsyncTask, Canvas, Config, Data, ForAsyncTask, KeyMap, [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] 3 | MetaSize, Once, Page, PageList, PathBuf, Scroll, TaskResize, Turn, ViewMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/render/window.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Img`, `Page` [INFO] [stdout] --> src/render/scroll.rs:2:80 [INFO] [stdout] | [INFO] [stdout] 2 | match_event, sleep, AsyncTask, Buffer, Canvas, Config, Data, ForAsyncTask, Img, KeyMap, Map, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | Page, PageList, TMetaSize, TransRgba, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sysinfo::System` [INFO] [stdout] --> src/render/scroll.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | use sysinfo::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FPS` is imported redundantly [INFO] [stdout] --> src/render/turn.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 24 | render::{scroll::Scroll, *}, [INFO] [stdout] | - the item `FPS` is already imported here [INFO] [stdout] 25 | Canvas, Config, KeyMap, Map, FPS, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> src/render/turn.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | sync::{Arc, RwLock}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/render/draw.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/render.rs:16:65 [INFO] [stdout] | [INFO] [stdout] 16 | archive::*, img::*, mem, sleep_ms, thread, Arc, FilterType, Path, PathBuf, RwLock, FPS, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FilterType` is imported redundantly [INFO] [stdout] --> src/render.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | archive::*, img::*, mem, sleep_ms, thread, Arc, FilterType, Path, PathBuf, RwLock, FPS, [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `FilterType` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/render.rs:334:23 [INFO] [stdout] | [INFO] [stdout] 334 | archive::{self, ForExtract}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ForExtract` is imported redundantly [INFO] [stdout] --> src/render.rs:334:29 [INFO] [stdout] | [INFO] [stdout] 16 | archive::*, img::*, mem, sleep_ms, thread, Arc, FilterType, Path, PathBuf, RwLock, FPS, [INFO] [stdout] | ---------- the item `ForExtract` is already imported here [INFO] [stdout] ... [INFO] [stdout] 334 | archive::{self, ForExtract}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/archive/dir.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::archive::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] 2 | use std::{fs::OpenOptions, io::Read, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/archive/file.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::archive::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] 2 | use std::{fs::OpenOptions, io::Read, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/archive/tar.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::archive::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/archive/tar.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::archive::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] 31 | use std::{fs::OpenOptions, io::Read, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/archive/zip.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{archive::*, Path}; [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/archive/zip.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::archive::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 46 | path::Path, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `infer` is imported redundantly [INFO] [stdout] --> src/archive.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use infer; [INFO] [stdout] | ^^^^^ the item `infer` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `dirs_next` is imported redundantly [INFO] [stdout] --> src/config/rsconf.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dirs_next; [INFO] [stdout] | ^^^^^^^^^ the item `dirs_next` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fir` [INFO] [stdout] --> src/config/rsconf.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fir; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lexopt` is imported redundantly [INFO] [stdout] --> src/config/rsconf.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use lexopt::{self, prelude::*}; [INFO] [stdout] | ^^^^ the item `lexopt` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/config/rsconf.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{fs::File, io::Read, path::Path, path::PathBuf, process::exit}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sysinfo::System` [INFO] [stdout] --> src/config/rsconf.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | use sysinfo::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FPS` [INFO] [stdout] --> src/img/gif.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{img::Size, FPS}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gif` is imported redundantly [INFO] [stdout] --> src/img/gif.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gif; [INFO] [stdout] | ^^^ the item `gif` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gif_dispose` is imported redundantly [INFO] [stdout] --> src/img/gif.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gif_dispose; [INFO] [stdout] | ^^^^^^^^^^^ the item `gif_dispose` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fir` is imported redundantly [INFO] [stdout] --> src/img.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use fir; [INFO] [stdout] | ^^^ the item `fir` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image` [INFO] [stdout] --> src/img.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::img::*` [INFO] [stdout] --> src/img.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | pub use crate::img::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Turn`, `sleep_ms`, `thread` [INFO] [stdout] --> src/render/display.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | render, sleep_ms, thread, ArchiveType, AsyncTask, Canvas, Config, Data, ForAsyncTask, KeyMap, [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] 3 | MetaSize, Once, Page, PageList, PathBuf, Scroll, TaskResize, Turn, ViewMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/render/window.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Img`, `Page` [INFO] [stdout] --> src/render/scroll.rs:2:80 [INFO] [stdout] | [INFO] [stdout] 2 | match_event, sleep, AsyncTask, Buffer, Canvas, Config, Data, ForAsyncTask, Img, KeyMap, Map, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | Page, PageList, TMetaSize, TransRgba, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sysinfo::System` [INFO] [stdout] --> src/render/scroll.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | use sysinfo::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FPS` is imported redundantly [INFO] [stdout] --> src/render/turn.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 24 | render::{scroll::Scroll, *}, [INFO] [stdout] | - the item `FPS` is already imported here [INFO] [stdout] 25 | Canvas, Config, KeyMap, Map, FPS, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> src/render/turn.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | sync::{Arc, RwLock}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/render/draw.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::GraphPath` [INFO] [stdout] --> src/render/draw.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | use super::GraphPath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/render.rs:16:65 [INFO] [stdout] | [INFO] [stdout] 16 | archive::*, img::*, mem, sleep_ms, thread, Arc, FilterType, Path, PathBuf, RwLock, FPS, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FilterType` is imported redundantly [INFO] [stdout] --> src/render.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | archive::*, img::*, mem, sleep_ms, thread, Arc, FilterType, Path, PathBuf, RwLock, FPS, [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `FilterType` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/render.rs:334:23 [INFO] [stdout] | [INFO] [stdout] 334 | archive::{self, ForExtract}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ForExtract` is imported redundantly [INFO] [stdout] --> src/render.rs:334:29 [INFO] [stdout] | [INFO] [stdout] 16 | archive::*, img::*, mem, sleep_ms, thread, Arc, FilterType, Path, PathBuf, RwLock, FPS, [INFO] [stdout] | ---------- the item `ForExtract` is already imported here [INFO] [stdout] ... [INFO] [stdout] 334 | archive::{self, ForExtract}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/render/turn.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | thread::sleep_ms, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/render/turn.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | sleep_ms(ms); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/render/turn.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | thread::sleep_ms, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/render/turn.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | sleep_ms(ms); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/archive/tar.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | return feat::get_file(path, index); [INFO] [stdout] | ---------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 13 | anyhow::bail!("") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/archive/tar.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | return feat::get_list(path); [INFO] [stdout] | --------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 25 | anyhow::bail!("") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/archive/zip.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | return feat::get_file(path.as_ref(), index); [INFO] [stdout] | ------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 12 | anyhow::bail!("") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/archive/zip.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | return feat::get_list(path.as_ref()); [INFO] [stdout] | ------------------------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 24 | anyhow::bail!("") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/archive/zip.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | return feat::extract(from.as_ref(), to.as_ref()); [INFO] [stdout] | ------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 36 | anyhow::bail!("") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/config/rsconf.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, EsynDe)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable statement [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `EsynDe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/img.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Clone, Copy, EsynDe)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable statement [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `EsynDe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/archive/tar.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | return feat::get_file(path, index); [INFO] [stdout] | ---------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 13 | anyhow::bail!("") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/archive/tar.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | return feat::get_list(path); [INFO] [stdout] | --------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 25 | anyhow::bail!("") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/render.rs:169:39 [INFO] [stdout] | [INFO] [stdout] 169 | #[derive(Debug, Default, Clone, Copy, EsynDe)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable statement [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `EsynDe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/archive/zip.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | return feat::get_file(path.as_ref(), index); [INFO] [stdout] | ------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 12 | anyhow::bail!("") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/archive/zip.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | return feat::get_list(path.as_ref()); [INFO] [stdout] | ------------------------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 24 | anyhow::bail!("") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/archive/zip.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | return feat::extract(from.as_ref(), to.as_ref()); [INFO] [stdout] | ------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 36 | anyhow::bail!("") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TMetaSize` [INFO] [stdout] --> src/archive.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{archive, ImgFormat, Page, TMetaSize, EXT_LIST}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TMetaSize` [INFO] [stdout] --> src/render/scroll.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | Page, PageList, TMetaSize, TransRgba, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/config/rsconf.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use lexopt::{self, prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/img.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/img.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/config/rsconf.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, EsynDe)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable statement [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `EsynDe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/render/scroll.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mem = { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/render/scroll.rs:161:46 [INFO] [stdout] | [INFO] [stdout] 161 | fn flush(&mut self, canvas: &mut Canvas, data: &Data, arc_task: &AsyncTask) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc_task` [INFO] [stdout] --> src/render/scroll.rs:306:29 [INFO] [stdout] | [INFO] [stdout] 306 | fn load_next(&mut self, arc_task: &AsyncTask) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc_task` [INFO] [stdout] --> src/render/scroll.rs:314:29 [INFO] [stdout] | [INFO] [stdout] 314 | fn load_prev(&mut self, arc_task: &AsyncTask) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/render/scroll.rs:322:31 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn seek_to(&mut self, idx: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `now` is never read [INFO] [stdout] --> src/render/turn.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut now = std::time::Instant::now(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ms` is never read [INFO] [stdout] --> src/render/turn.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let mut ms = 0_u32; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/render/turn.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let mut count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/render/turn.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/render/turn.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | fn flush(&mut self, canvas: &mut Canvas, data: &Data, arc_task: &AsyncTask) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/render/turn.rs:144:46 [INFO] [stdout] | [INFO] [stdout] 144 | fn flush(&mut self, canvas: &mut Canvas, data: &Data, arc_task: &AsyncTask) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc_task` [INFO] [stdout] --> src/render/turn.rs:144:59 [INFO] [stdout] | [INFO] [stdout] 144 | fn flush(&mut self, canvas: &mut Canvas, data: &Data, arc_task: &AsyncTask) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/render/layout.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | fn resize_masonry(&mut self, data: &Data) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/img.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Clone, Copy, EsynDe)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable statement [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `EsynDe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/render.rs:169:39 [INFO] [stdout] | [INFO] [stdout] 169 | #[derive(Debug, Default, Clone, Copy, EsynDe)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable statement [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `EsynDe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyMap` is never constructed [INFO] [stdout] --> src/config.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct KeyMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `History` is never constructed [INFO] [stdout] --> src/config/history.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct History { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MangaHistory` is never constructed [INFO] [stdout] --> src/config/history.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct MangaHistory { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add` are never used [INFO] [stdout] --> src/config/history.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl History { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 20 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn add(&mut self, val: MangaHistory) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_page_mark`, `set_page_number`, and `freq_add` are never used [INFO] [stdout] --> src/config/history.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl MangaHistory { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 37 | fn new(path: &Path, freq: u32, page_number: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn set_page_mark(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn set_page_number(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn freq_add(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LazyFrame` is never constructed [INFO] [stdout] --> src/img/gif.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct LazyFrame { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ram_usage` is never read [INFO] [stdout] --> src/render.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 83 | list: Vec, [INFO] [stdout] 84 | ram_usage: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CmdFn` is never used [INFO] [stdout] --> src/render.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 182 | enum CmdFn { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_next_page` and `to_prev_page` are never used [INFO] [stdout] --> src/render/turn.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Turn { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | fn to_next_page(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 141 | fn to_prev_page(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VecPage` is never constructed [INFO] [stdout] --> src/render/turn.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | struct VecPage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VecGroup` is never constructed [INFO] [stdout] --> src/render/turn.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | struct VecGroup { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Group` is never constructed [INFO] [stdout] --> src/render/turn.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | struct Group { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `swap_page` is never used [INFO] [stdout] --> src/render/turn.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 214 | impl VecPage { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 215 | // manga [INFO] [stdout] 216 | fn swap_page(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `swap_group` is never used [INFO] [stdout] --> src/render/turn.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 221 | impl VecGroup { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 222 | // manga + double [INFO] [stdout] 223 | fn swap_group(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/render/draw.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | x: T, [INFO] [stdout] | ^ [INFO] [stdout] 8 | y: T, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> src/render/draw.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resize_masonry` is never used [INFO] [stdout] --> src/render/layout.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl Layout { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 107 | fn resize_masonry(&mut self, data: &Data) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 73 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TMetaSize` [INFO] [stdout] --> src/archive.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{archive, ImgFormat, Page, TMetaSize, EXT_LIST}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TMetaSize` [INFO] [stdout] --> src/render/scroll.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | Page, PageList, TMetaSize, TransRgba, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/config/rsconf.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use lexopt::{self, prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/img.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/img.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/render/scroll.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mem = { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/render/scroll.rs:161:46 [INFO] [stdout] | [INFO] [stdout] 161 | fn flush(&mut self, canvas: &mut Canvas, data: &Data, arc_task: &AsyncTask) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc_task` [INFO] [stdout] --> src/render/scroll.rs:306:29 [INFO] [stdout] | [INFO] [stdout] 306 | fn load_next(&mut self, arc_task: &AsyncTask) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc_task` [INFO] [stdout] --> src/render/scroll.rs:314:29 [INFO] [stdout] | [INFO] [stdout] 314 | fn load_prev(&mut self, arc_task: &AsyncTask) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/render/scroll.rs:322:31 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn seek_to(&mut self, idx: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `now` is never read [INFO] [stdout] --> src/render/turn.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut now = std::time::Instant::now(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ms` is never read [INFO] [stdout] --> src/render/turn.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let mut ms = 0_u32; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/render/turn.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let mut count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/render/turn.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/render/turn.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | fn flush(&mut self, canvas: &mut Canvas, data: &Data, arc_task: &AsyncTask) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/render/turn.rs:144:46 [INFO] [stdout] | [INFO] [stdout] 144 | fn flush(&mut self, canvas: &mut Canvas, data: &Data, arc_task: &AsyncTask) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc_task` [INFO] [stdout] --> src/render/turn.rs:144:59 [INFO] [stdout] | [INFO] [stdout] 144 | fn flush(&mut self, canvas: &mut Canvas, data: &Data, arc_task: &AsyncTask) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/render/layout.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | fn resize_masonry(&mut self, data: &Data) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyMap` is never constructed [INFO] [stdout] --> src/config.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct KeyMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `History` is never constructed [INFO] [stdout] --> src/config/history.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct History { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MangaHistory` is never constructed [INFO] [stdout] --> src/config/history.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct MangaHistory { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add` are never used [INFO] [stdout] --> src/config/history.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl History { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 20 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn add(&mut self, val: MangaHistory) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_page_mark`, `set_page_number`, and `freq_add` are never used [INFO] [stdout] --> src/config/history.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl MangaHistory { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 37 | fn new(path: &Path, freq: u32, page_number: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn set_page_mark(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn set_page_number(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn freq_add(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LazyFrame` is never constructed [INFO] [stdout] --> src/img/gif.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct LazyFrame { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ram_usage` is never read [INFO] [stdout] --> src/render.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 83 | list: Vec, [INFO] [stdout] 84 | ram_usage: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CmdFn` is never used [INFO] [stdout] --> src/render.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 182 | enum CmdFn { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_next_page` and `to_prev_page` are never used [INFO] [stdout] --> src/render/turn.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Turn { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | fn to_next_page(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 141 | fn to_prev_page(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VecPage` is never constructed [INFO] [stdout] --> src/render/turn.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | struct VecPage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VecGroup` is never constructed [INFO] [stdout] --> src/render/turn.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | struct VecGroup { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Group` is never constructed [INFO] [stdout] --> src/render/turn.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | struct Group { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `swap_page` is never used [INFO] [stdout] --> src/render/turn.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 214 | impl VecPage { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 215 | // manga [INFO] [stdout] 216 | fn swap_page(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `swap_group` is never used [INFO] [stdout] --> src/render/turn.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 221 | impl VecGroup { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 222 | // manga + double [INFO] [stdout] 223 | fn swap_group(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swap_page` is never used [INFO] [stdout] --> src/render/turn.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn swap_page(vec: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/render/draw.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | x: T, [INFO] [stdout] | ^ [INFO] [stdout] 8 | y: T, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> src/render/draw.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resize_masonry` is never used [INFO] [stdout] --> src/render/layout.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl Layout { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 107 | fn resize_masonry(&mut self, data: &Data) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 76 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `yuvi420_to_rgb8` is never used [INFO] [stdout] --> examples/heic.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn yuvi420_to_rgb8(img: &[Yuv_], w: usize, h: usize) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `yuv_to_rgb` is never used [INFO] [stdout] --> examples/heic.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn yuv_to_rgb(y: f32, u: f32, v: f32) -> [u8; 3] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.47s [INFO] running `Command { std: "docker" "inspect" "c7f40dd194582a5e1a552a487275d642138988e3a97b9522430cda4f6c3932c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f40dd194582a5e1a552a487275d642138988e3a97b9522430cda4f6c3932c3", kill_on_drop: false }` [INFO] [stdout] c7f40dd194582a5e1a552a487275d642138988e3a97b9522430cda4f6c3932c3