[INFO] cloning repository https://github.com/simonhochrein/ps2-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simonhochrein/ps2-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonhochrein%2Fps2-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonhochrein%2Fps2-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d257c1ad4e06719627204d335d024fcd821b825 [INFO] checking simonhochrein/ps2-rust against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonhochrein%2Fps2-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/simonhochrein/ps2-rust [INFO] finished tweaking git repo https://github.com/simonhochrein/ps2-rust [INFO] tweaked toml for git repo https://github.com/simonhochrein/ps2-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/simonhochrein/ps2-rust on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/simonhochrein/ps2-rust 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc2/source/crates/psu-packer/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03eda53740760181673b43a30356fea0964209d79f887bd22669920e0a9f65aa [INFO] running `Command { std: "docker" "start" "-a" "03eda53740760181673b43a30356fea0964209d79f887bd22669920e0a9f65aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03eda53740760181673b43a30356fea0964209d79f887bd22669920e0a9f65aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03eda53740760181673b43a30356fea0964209d79f887bd22669920e0a9f65aa", kill_on_drop: false }` [INFO] [stdout] 03eda53740760181673b43a30356fea0964209d79f887bd22669920e0a9f65aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe00560cf204888f8ecc4b41074674f3182754063219721e9600d700a48298a0 [INFO] running `Command { std: "docker" "start" "-a" "fe00560cf204888f8ecc4b41074674f3182754063219721e9600d700a48298a0", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/crates/psu-packer/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling quick-xml v0.37.4 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling wayland-client v0.31.8 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling wayland-backend v0.3.8 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking avif-serialize v0.8.2 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking image-webp v0.2.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking epaint_default_fonts v0.31.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking immutable-chunkmap v2.0.6 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Compiling winit v0.30.9 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling glutin v0.32.2 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Checking kurbo v0.9.5 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling rfd v0.15.3 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking rctree v0.5.0 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking simplecss v0.2.2 [INFO] [stderr] Checking svgtypes v0.13.0 [INFO] [stderr] Checking roxmltree v0.19.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking data-url v0.3.1 [INFO] [stderr] Checking imagesize v0.12.0 [INFO] [stderr] Compiling mime_guess2 v2.3.1 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling argh_shared v0.1.13 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking rust-fuzzy-search v0.1.1 [INFO] [stderr] Checking notify-types v2.0.0 [INFO] [stderr] Checking relative-path v2.0.1 [INFO] [stderr] Checking wavefront_obj v11.0.0 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking bytesize v2.0.1 [INFO] [stderr] Checking cgmath v0.18.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking memcard v0.1.0 (/opt/rustwide/workdir/crates/memcard) [INFO] [stderr] Checking xtask-build-app v0.1.0 (/opt/rustwide/workdir/crates/xtask-build-app) [INFO] [stdout] warning: constant `DF_READ` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const DF_READ: u16 = 0x0001; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_WRITE` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const DF_WRITE: u16 = 0x0002; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_EXECUTE` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const DF_EXECUTE: u16 = 0x0004; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_PROTECTED` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DF_PROTECTED: u16 = 0x0008; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_FILE` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const DF_FILE: u16 = 0x0010; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_0400` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const DF_0400: u16 = 0x0400; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_EXISTS` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const DF_EXISTS: u16 = 0x8000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_HIDDEN` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const DF_HIDDEN: u16 = 0x2000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `seconds`, `minutes`, `hours`, `days`, `months`, and `years` are never read [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DateTime { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | seconds: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | minutes: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | hours: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | days: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | months: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | years: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DateTime` 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: fields `created`, `dir_entry`, `modified`, and `attributes` are never read [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DirEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) created: DateTime, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 50 | pub cluster: u32, [INFO] [stdout] 51 | dir_entry: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | modified: DateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | attributes: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirEntry` 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: multiple fields are never read [INFO] [stdout] --> crates/memcard/src/fat.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Superblock { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | pub magic: [u8; 28], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub version: [u8; 12], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub pages_per_block: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub clusters_per_card: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub alloc_offset: u32, [INFO] [stdout] 15 | pub alloc_end: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | pub rootdir_cluster: u32, [INFO] [stdout] 17 | pub backup_block1: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub backup_block2: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub ifc_list: [u32; 32], [INFO] [stdout] 20 | pub bad_block_list: [u32; 32], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub card_type: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | pub card_flags: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Superblock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `spare_size`, `cluster_size`, and `root_entry` are never read [INFO] [stdout] --> crates/memcard/src/fat.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Memcard { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | spare_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 79 | raw_page_size: usize, [INFO] [stdout] 80 | cluster_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | root_entry: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_data_cluster` is never used [INFO] [stdout] --> crates/memcard/src/fat.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl Memcard { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn read_data_cluster(&mut self, entry: &DirEntry) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_READ` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const DF_READ: u16 = 0x0001; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_WRITE` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const DF_WRITE: u16 = 0x0002; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_EXECUTE` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const DF_EXECUTE: u16 = 0x0004; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_PROTECTED` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DF_PROTECTED: u16 = 0x0008; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_FILE` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const DF_FILE: u16 = 0x0010; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_0400` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const DF_0400: u16 = 0x0400; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_EXISTS` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const DF_EXISTS: u16 = 0x8000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DF_HIDDEN` is never used [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const DF_HIDDEN: u16 = 0x2000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `seconds`, `minutes`, `hours`, `days`, `months`, and `years` are never read [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DateTime { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | seconds: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | minutes: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | hours: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | days: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | months: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | years: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DateTime` 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: fields `created`, `dir_entry`, `modified`, and `attributes` are never read [INFO] [stdout] --> crates/memcard/src/dir_entry.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DirEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) created: DateTime, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 50 | pub cluster: u32, [INFO] [stdout] 51 | dir_entry: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | modified: DateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | attributes: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirEntry` 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: multiple fields are never read [INFO] [stdout] --> crates/memcard/src/fat.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Superblock { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | pub magic: [u8; 28], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub version: [u8; 12], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub pages_per_block: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub clusters_per_card: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub alloc_offset: u32, [INFO] [stdout] 15 | pub alloc_end: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | pub rootdir_cluster: u32, [INFO] [stdout] 17 | pub backup_block1: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub backup_block2: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub ifc_list: [u32; 32], [INFO] [stdout] 20 | pub bad_block_list: [u32; 32], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub card_type: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | pub card_flags: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Superblock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `spare_size`, `cluster_size`, and `root_entry` are never read [INFO] [stdout] --> crates/memcard/src/fat.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Memcard { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | spare_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 79 | raw_page_size: usize, [INFO] [stdout] 80 | cluster_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | root_entry: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_data_cluster` is never used [INFO] [stdout] --> crates/memcard/src/fat.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl Memcard { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn read_data_cluster(&mut self, entry: &DirEntry) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling duplicate v2.0.0 [INFO] [stderr] Compiling argh_derive v0.1.13 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir/crates/macros) [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking usvg-tree v0.37.0 [INFO] [stderr] Checking usvg-parser v0.37.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking usvg v0.37.0 [INFO] [stderr] Checking resvg v0.37.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking enumflags2 v0.7.11 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Checking accesskit v0.17.1 [INFO] [stderr] Checking emath v0.31.1 [INFO] [stderr] Checking zvariant_utils v3.2.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking argh v0.1.13 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking ravif v0.11.11 [INFO] [stderr] Checking notify v8.1.0 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking ecolor v0.31.1 [INFO] [stderr] Checking accesskit_consumer v0.26.0 [INFO] [stderr] Checking epaint v0.31.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking ps2-filetypes v0.1.0 (/opt/rustwide/workdir/crates/ps2-filetypes) [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking psu-packer v0.1.0 (/opt/rustwide/workdir/crates/psu-packer) [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling zvariant_derive v5.4.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling winresource v0.1.20 [INFO] [stderr] Checking egui v0.31.1 [INFO] [stderr] Compiling suitcase v0.1.0 (/opt/rustwide/workdir/crates/suitcase) [INFO] [stderr] Checking webbrowser v1.0.4 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Compiling zvariant v5.4.0 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking async-signal v0.2.10 [INFO] [stderr] Checking async-net v2.0.0 [INFO] [stderr] Checking async-process v2.3.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking zbus_names v4.2.0 [INFO] [stderr] Checking arboard v3.5.0 [INFO] [stderr] Checking zbus_xml v4.0.0 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Checking zbus-lockstep v0.4.4 [INFO] [stderr] Checking wayland-protocols v0.32.6 [INFO] [stderr] Checking wayland-cursor v0.31.8 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling zbus_macros v5.5.0 [INFO] [stderr] Checking egui_glow v0.31.1 [INFO] [stderr] Checking egui_extras v0.31.1 [INFO] [stderr] Checking egui_dock v0.16.0 [INFO] [stderr] Checking zbus v5.5.0 [INFO] [stderr] Checking atspi-common v0.6.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.6 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.6 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking ashpd v0.11.0 [INFO] [stderr] Checking atspi-proxies v0.6.0 [INFO] [stderr] Checking accesskit_atspi_common v0.10.1 [INFO] [stderr] Checking atspi-connection v0.6.0 [INFO] [stderr] Checking atspi v0.22.0 [INFO] [stderr] Checking accesskit_unix v0.13.1 [INFO] [stderr] Checking glutin-winit v0.5.0 [INFO] [stderr] Checking accesskit_winit v0.23.1 [INFO] [stderr] Checking egui-winit v0.31.1 [INFO] [stderr] Checking eframe v0.31.1 [INFO] [stderr] Checking ps2-mcm v0.1.0 (/opt/rustwide/workdir/crates/ps2-mcm) [INFO] [stderr] Checking ps2-psupacker v0.1.0 (/opt/rustwide/workdir/crates/ps2-psupacker) [INFO] [stdout] warning: unused import: `Attributes` [INFO] [stdout] --> crates/suitcase/src/rendering/vertex_array.rs:108:54 [INFO] [stdout] | [INFO] [stdout] 108 | use crate::rendering::vertex_array::{attributes, Attributes}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> crates/suitcase/src/rendering/icn_renderer.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | let color = icn.colors[i]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/suitcase/src/tabs/icn_viewer.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut ambient_color = ColorF{r: 0.1, g: 0.1, b: 0.1, a: 0.0}; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fill` [INFO] [stdout] --> crates/suitcase/src/tabs/icn_viewer.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 353 | let fill = if self.dark_mode { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fill` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `open_file` is never used [INFO] [stdout] --> crates/suitcase/src/components/dialogs.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Dialogs { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 6 | fn save_as(&self, filename: impl Into) -> Option; [INFO] [stdout] 7 | fn open_file(&self, filters: Filters) -> Option; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filters` is never constructed [INFO] [stdout] --> crates/suitcase/src/components/dialogs.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Filters { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FilterExtensions` is never used [INFO] [stdout] --> crates/suitcase/src/components/dialogs.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait FilterExtensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_filter`, and `get_filters` are never used [INFO] [stdout] --> crates/suitcase/src/components/dialogs.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Filters { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 33 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn add_filter(mut self, name: impl ToString, extensions: A) -> Self [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn get_filters(&self) -> &HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `show_timestamp`, `show_attributes`, `id`, and `expanded` are never read [INFO] [stdout] --> crates/suitcase/src/components/file_tree.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileTree { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | show_timestamp: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | show_attributes: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | id: Id, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | expanded: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FilePicker` is never used [INFO] [stdout] --> crates/suitcase/src/components/file_picker.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait FilePicker { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_border_radius` is never used [INFO] [stdout] --> crates/suitcase/src/components/file_picker.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn set_border_radius(ui: &mut Ui, radius: CornerRadius) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StartPCSX2Elf` is never constructed [INFO] [stdout] --> crates/suitcase/src/data/state.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppEvent { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | StartPCSX2Elf(PathBuf), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_pcsx2_elf` is never used [INFO] [stdout] --> crates/suitcase/src/data/state.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn start_pcsx2_elf(&mut self, path: PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> crates/suitcase/src/data/virtual_file.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VirtualFile { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VirtualFile` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reveal_file_in_explorer` is never used [INFO] [stdout] --> crates/suitcase/src/io/reveal_file_in_explorer.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn reveal_file_in_explorer(path: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stop` is never constructed [INFO] [stdout] --> crates/suitcase/src/io/file_watcher.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum WatchCommand { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 9 | ChangePath(PathBuf), [INFO] [stdout] 10 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> crates/suitcase/src/io/file_watcher.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FileWatcher { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | handle: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> crates/suitcase/src/io/file_watcher.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl FileWatcher { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn stop(mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/suitcase/src/components/file_tree.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn icon(file_name: &str) -> ImageSource { [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] 38 | pub fn icon(file_name: &str) -> ImageSource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Ui::button` that must be used [INFO] [stdout] --> crates/suitcase/src/components/file_tree.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | ui.button("Export"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: You should check if the user clicked this with `if ui.button(…).clicked() { … } [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 95 | let _ = ui.button("Export"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Ui::button` that must be used [INFO] [stdout] --> crates/suitcase/src/components/file_tree.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | ui.button("Delete"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: You should check if the user clicked this with `if ui.button(…).clicked() { … } [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = ui.button("Delete"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Ui::selectable_label` that must be used [INFO] [stdout] --> crates/suitcase/src/tabs/icn_viewer.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | ... ui.selectable_label(true, "On"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: You should check if the user clicked this with `if ui.selectable_label(…).clicked() { … } [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = ui.selectable_label(true, "On"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> crates/suitcase/src/rendering/icn_renderer.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | let color = icn.colors[i]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/suitcase/src/tabs/icn_viewer.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut ambient_color = ColorF{r: 0.1, g: 0.1, b: 0.1, a: 0.0}; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fill` [INFO] [stdout] --> crates/suitcase/src/tabs/icn_viewer.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 353 | let fill = if self.dark_mode { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fill` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `open_file` is never used [INFO] [stdout] --> crates/suitcase/src/components/dialogs.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Dialogs { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 6 | fn save_as(&self, filename: impl Into) -> Option; [INFO] [stdout] 7 | fn open_file(&self, filters: Filters) -> Option; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filters` is never constructed [INFO] [stdout] --> crates/suitcase/src/components/dialogs.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Filters { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FilterExtensions` is never used [INFO] [stdout] --> crates/suitcase/src/components/dialogs.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait FilterExtensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_filter`, and `get_filters` are never used [INFO] [stdout] --> crates/suitcase/src/components/dialogs.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Filters { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 33 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn add_filter(mut self, name: impl ToString, extensions: A) -> Self [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn get_filters(&self) -> &HashMap> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `show_timestamp`, `show_attributes`, `id`, and `expanded` are never read [INFO] [stdout] --> crates/suitcase/src/components/file_tree.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileTree { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | show_timestamp: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | show_attributes: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | id: Id, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | expanded: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FilePicker` is never used [INFO] [stdout] --> crates/suitcase/src/components/file_picker.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait FilePicker { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_border_radius` is never used [INFO] [stdout] --> crates/suitcase/src/components/file_picker.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn set_border_radius(ui: &mut Ui, radius: CornerRadius) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StartPCSX2Elf` is never constructed [INFO] [stdout] --> crates/suitcase/src/data/state.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppEvent { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | StartPCSX2Elf(PathBuf), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_pcsx2_elf` is never used [INFO] [stdout] --> crates/suitcase/src/data/state.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn start_pcsx2_elf(&mut self, path: PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> crates/suitcase/src/data/virtual_file.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VirtualFile { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VirtualFile` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reveal_file_in_explorer` is never used [INFO] [stdout] --> crates/suitcase/src/io/reveal_file_in_explorer.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn reveal_file_in_explorer(path: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stop` is never constructed [INFO] [stdout] --> crates/suitcase/src/io/file_watcher.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum WatchCommand { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 9 | ChangePath(PathBuf), [INFO] [stdout] 10 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> crates/suitcase/src/io/file_watcher.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FileWatcher { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | handle: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> crates/suitcase/src/io/file_watcher.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl FileWatcher { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn stop(mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/suitcase/src/components/file_tree.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn icon(file_name: &str) -> ImageSource { [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] 38 | pub fn icon(file_name: &str) -> ImageSource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Ui::button` that must be used [INFO] [stdout] --> crates/suitcase/src/components/file_tree.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | ui.button("Export"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: You should check if the user clicked this with `if ui.button(…).clicked() { … } [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 95 | let _ = ui.button("Export"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Ui::button` that must be used [INFO] [stdout] --> crates/suitcase/src/components/file_tree.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | ui.button("Delete"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: You should check if the user clicked this with `if ui.button(…).clicked() { … } [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = ui.button("Delete"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Ui::selectable_label` that must be used [INFO] [stdout] --> crates/suitcase/src/tabs/icn_viewer.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | ... ui.selectable_label(true, "On"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: You should check if the user clicked this with `if ui.selectable_label(…).clicked() { … } [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = ui.selectable_label(true, "On"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "fe00560cf204888f8ecc4b41074674f3182754063219721e9600d700a48298a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe00560cf204888f8ecc4b41074674f3182754063219721e9600d700a48298a0", kill_on_drop: false }` [INFO] [stdout] fe00560cf204888f8ecc4b41074674f3182754063219721e9600d700a48298a0