[INFO] cloning repository https://github.com/bad-antics/pineflip [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bad-antics/pineflip" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbad-antics%2Fpineflip", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbad-antics%2Fpineflip'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6ed1a7004e9bef3d24e86f1470124591390090b [INFO] checking bad-antics/pineflip against master#a33907a7a5381473eec8bcfa0c56e05a856a911c for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbad-antics%2Fpineflip" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bad-antics/pineflip [INFO] finished tweaking git repo https://github.com/bad-antics/pineflip [INFO] tweaked toml for git repo https://github.com/bad-antics/pineflip written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bad-antics/pineflip on toolchain a33907a7a5381473eec8bcfa0c56e05a856a911c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 418 packages to latest compatible versions [INFO] [stderr] Adding cairo-rs v0.20.12 (available: v0.21.5) [INFO] [stderr] Adding core-foundation v0.10.0 (available: v0.10.1) [INFO] [stderr] Adding gdk-pixbuf v0.20.10 (available: v0.21.5) [INFO] [stderr] Adding gdk4 v0.9.6 (available: v0.10.3) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding gio v0.20.12 (available: v0.21.5) [INFO] [stderr] Adding glib v0.20.12 (available: v0.21.5) [INFO] [stderr] Adding gtk4 v0.9.7 (available: v0.10.3) [INFO] [stderr] Adding libadwaita v0.7.2 (available: v0.8.1) [INFO] [stderr] Adding quote v1.0.40 (available: v1.0.44) [INFO] [stderr] Adding reqwest v0.12.28 (available: v0.13.2) [INFO] [stderr] Adding target-lexicon v0.13.3 (available: v0.13.5) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [INFO] [stderr] Adding toml v0.8.23 (available: v1.0.2+spec-1.1.0) [INFO] [stderr] Adding zip v4.6.1 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deflate64 v0.1.10 [INFO] [stderr] Downloaded avif-serialize v0.8.8 [INFO] [stderr] Downloaded unescaper v0.1.8 [INFO] [stderr] Downloaded libadwaita-sys v0.7.2 [INFO] [stderr] Downloaded pango v0.20.12 [INFO] [stderr] Downloaded cairo-rs v0.20.12 [INFO] [stderr] Downloaded glib-macros v0.20.12 [INFO] [stderr] Downloaded zip v4.6.1 [INFO] [stderr] Downloaded toml v0.9.12+spec-1.1.0 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.12 [INFO] [stderr] Downloaded libadwaita v0.7.2 [INFO] [stderr] Downloaded serialport v4.8.1 [INFO] [stderr] Downloaded ppmd-rust v1.4.0 [INFO] [stderr] Downloaded zlib-rs v0.6.0 [INFO] [stderr] Downloaded cfg-expr v0.20.6 [INFO] [stderr] Downloaded gio v0.20.12 [INFO] [stderr] Downloaded gtk4 v0.9.7 [INFO] [stderr] Downloaded liblzma-sys v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7e9e8e6ba607dffb1cb7cd92237d4654fc61f2ee22da9a0ba1e5e9ee6a8e488 [INFO] running `Command { std: "docker" "start" "-a" "f7e9e8e6ba607dffb1cb7cd92237d4654fc61f2ee22da9a0ba1e5e9ee6a8e488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7e9e8e6ba607dffb1cb7cd92237d4654fc61f2ee22da9a0ba1e5e9ee6a8e488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e9e8e6ba607dffb1cb7cd92237d4654fc61f2ee22da9a0ba1e5e9ee6a8e488", kill_on_drop: false }` [INFO] [stdout] f7e9e8e6ba607dffb1cb7cd92237d4654fc61f2ee22da9a0ba1e5e9ee6a8e488 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a92f9c17d8f64bbbe3f33dd0bfa2ddcab7c9474b5c6828aa79604e822180b39a [INFO] running `Command { std: "docker" "start" "-a" "a92f9c17d8f64bbbe3f33dd0bfa2ddcab7c9474b5c6828aa79604e822180b39a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling version-compare v0.2.1 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling gio v0.20.12 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking zlib-rs v0.6.0 [INFO] [stderr] Compiling native-tls v0.2.16 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling libusb1-sys v0.7.0 [INFO] [stderr] Compiling liblzma-sys v0.4.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling cfg-expr v0.20.6 [INFO] [stderr] Checking unicode-ident v1.0.24 [INFO] [stderr] Checking deranged v0.5.6 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking avif-serialize v0.8.8 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking bumpalo v3.19.1 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling rusb v0.9.4 [INFO] [stderr] Checking zune-core v0.5.1 [INFO] [stderr] Checking libbz2-rs-sys v0.2.2 [INFO] [stderr] Checking clap_lex v1.0.0 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Checking clap_builder v4.5.58 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking bzip2 v0.6.1 [INFO] [stderr] Checking zune-jpeg v0.5.12 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Checking zopfli v0.8.3 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking getrandom v0.4.1 [INFO] [stderr] Compiling toml v0.9.12+spec-1.1.0 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking deflate64 v0.1.10 [INFO] [stderr] Checking ppmd-rust v1.4.0 [INFO] [stderr] Compiling system-deps v7.0.7 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking tempfile v3.25.0 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling glib-sys v0.20.10 [INFO] [stderr] Compiling gobject-sys v0.20.10 [INFO] [stderr] Compiling gio-sys v0.20.10 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.20.10 [INFO] [stderr] Compiling pango-sys v0.20.10 [INFO] [stderr] Compiling cairo-sys-rs v0.20.10 [INFO] [stderr] Compiling graphene-sys v0.20.10 [INFO] [stderr] Compiling gdk4-sys v0.9.6 [INFO] [stderr] Compiling gsk4-sys v0.9.6 [INFO] [stderr] Compiling gtk4-sys v0.9.6 [INFO] [stderr] Compiling libadwaita-sys v0.7.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking liblzma v0.4.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling glib-macros v0.20.12 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.39 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling gtk4-macros v0.9.5 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking av-scenechange v0.14.1 [INFO] [stderr] Checking unescaper v0.1.8 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking serialport v4.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking zip v4.6.1 [INFO] [stderr] Checking rav1e v0.8.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking protobuf-support v3.7.2 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking clap v4.5.58 [INFO] [stderr] Checking glib v0.20.12 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking ravif v0.12.0 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking cairo-rs v0.20.12 [INFO] [stderr] Checking graphene-rs v0.20.10 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking pango v0.20.12 [INFO] [stderr] Checking gdk-pixbuf v0.20.10 [INFO] [stderr] Checking gdk4 v0.9.6 [INFO] [stderr] Checking gsk4 v0.9.6 [INFO] [stderr] Checking gtk4 v0.9.7 [INFO] [stderr] Checking libadwaita v0.7.2 [INFO] [stderr] Checking pineflip v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `gtk4::TreeView`: Since 4.10 [INFO] [stdout] --> src/ui/files_view.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | let folder_tree = gtk4::TreeView::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `gtk4::TreeView`: Since 4.10 [INFO] [stdout] --> src/ui/files_view.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | let folder_tree = gtk4::TreeView::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gtk4::TreeView::new`: Since 4.10 [INFO] [stdout] --> src/ui/files_view.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | let folder_tree = gtk4::TreeView::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gtk4::TreeView::new`: Since 4.10 [INFO] [stdout] --> src/ui/files_view.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | let folder_tree = gtk4::TreeView::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manifest` [INFO] [stdout] --> src/firmware.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | pub async fn download(&self, manifest: &UpdateManifest, _on_progress: impl Fn(f32)) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manifest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status_page`, `main_view`, `files_view`, `firmware_view`, and `settings_view` are never read [INFO] [stdout] --> src/app.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PineFlipWindow { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub status_page: adw::StatusPage, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub main_view: gtk4::Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub screen_view: ui::ScreenView, [INFO] [stdout] 21 | pub files_view: ui::FilesView, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | pub firmware_view: ui::FirmwareView, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub settings_view: ui::SettingsView, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_mirror` is never used [INFO] [stdout] --> src/app.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl PineFlipWindow { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn start_mirror(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port_name` is never read [INFO] [stdout] --> src/device.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FlipperDevice { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 16 | name: String, [INFO] [stdout] 17 | port_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/device.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl FlipperDevice { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn list_devices() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn port_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn firmware_version(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn hardware_version(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub async fn start_screen_stream(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub async fn press_button(&self, button: Button) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub async fn release_button(&self, button: Button) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub async fn list_directory(&self, path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub async fn read_file(&self, path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub async fn write_file(&self, path: &str, data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub async fn delete_file(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub async fn delete_path(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub async fn mkdir(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub async fn rename(&self, old_path: &str, new_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub async fn get_storage_info(&self, storage: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub async fn reboot(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub async fn reboot_dfu(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScreenStream` is never constructed [INFO] [stdout] --> src/device.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct ScreenStream { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_frame` and `stop` are never used [INFO] [stdout] --> src/device.rs:290:18 [INFO] [stdout] | [INFO] [stdout] 288 | impl ScreenStream { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 289 | /// Get next frame [INFO] [stdout] 290 | pub async fn next_frame(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_rgba` is never used [INFO] [stdout] --> src/device.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 322 | impl ScreenFrame { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 359 | pub fn to_rgba(&self, scale: u32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Button` is never used [INFO] [stdout] --> src/device.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 387 | pub enum Button { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileInfo` is never constructed [INFO] [stdout] --> src/device.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct FileInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/device.rs:405:8 [INFO] [stdout] | [INFO] [stdout] 404 | impl FileInfo { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 405 | fn parse(line: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorageInfo` is never constructed [INFO] [stdout] --> src/device.rs:429:12 [INFO] [stdout] | [INFO] [stdout] 429 | pub struct StorageInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/device.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 434 | impl StorageInfo { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 435 | fn parse(response: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `controls_enabled` and `recording` are never read [INFO] [stdout] --> src/ui/screen_view.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ScreenView { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | controls_enabled: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | recording: Rc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenView` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_frame` and `take_screenshot` are never used [INFO] [stdout] --> src/ui/screen_view.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ScreenView { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn update_frame(&self, frame: ScreenFrame) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn take_screenshot(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_list`, `path_bar`, `current_path`, and `storage_bar` are never read [INFO] [stdout] --> src/ui/files_view.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FilesView { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 16 | pub container: gtk4::Box, [INFO] [stdout] 17 | file_list: gtk4::ListBox, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | path_bar: gtk4::Entry, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | current_path: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | storage_bar: gtk4::ProgressBar, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilesView` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_directory` and `navigate_up` are never used [INFO] [stdout] --> src/ui/files_view.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl FilesView { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn load_directory(&self, device: Arc>>, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn navigate_up(&self, device: Arc>>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_size` is never used [INFO] [stdout] --> src/ui/files_view.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn format_size(bytes: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_version`, `channel_dropdown`, `update_button`, and `progress_bar` are never read [INFO] [stdout] --> src/ui/firmware_view.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct FirmwareView { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 10 | pub container: gtk4::Box, [INFO] [stdout] 11 | current_version: gtk4::Label, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | channel_dropdown: gtk4::DropDown, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | update_button: gtk4::Button, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | progress_bar: gtk4::ProgressBar, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FirmwareView` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_firmware_version`, `show_progress`, and `hide_progress` are never used [INFO] [stdout] --> src/ui/firmware_view.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl FirmwareView { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_firmware_version(&self, version: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn show_progress(&self, fraction: f64, text: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn hide_progress(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL_VERSION` is never used [INFO] [stdout] --> src/protocol.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const PROTOCOL_VERSION: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CommandType` is never used [INFO] [stdout] --> src/protocol.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum CommandType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseStatus` is never used [INFO] [stdout] --> src/protocol.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum ResponseStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_code` and `is_ok` are never used [INFO] [stdout] --> src/protocol.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl ResponseStatus { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 63 | pub fn from_code(code: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandBuilder` is never constructed [INFO] [stdout] --> src/protocol.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct CommandBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `arg`, `arg_quoted`, and `build` are never used [INFO] [stdout] --> src/protocol.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl CommandBuilder { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 88 | pub fn new(cmd: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn arg(mut self, arg: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn arg_quoted(mut self, arg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn build(self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_storage_info` is never used [INFO] [stdout] --> src/protocol.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn parse_storage_info(response: &str) -> Result<(u64, u64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_size` is never used [INFO] [stdout] --> src/protocol.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn parse_size(s: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_device_info` is never used [INFO] [stdout] --> src/protocol.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn parse_device_info(response: &str) -> DeviceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeviceInfo` is never constructed [INFO] [stdout] --> src/protocol.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct DeviceInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display_name` is never used [INFO] [stdout] --> src/protocol.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 189 | impl DeviceInfo { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 190 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_pixel` and `to_png` are never used [INFO] [stdout] --> src/screen.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl ScreenFrame { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn set_pixel(&mut self, x: u32, y: u32, value: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn to_png(&self, scale: u32, invert: bool) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_frame` is never used [INFO] [stdout] --> src/screen.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn save_frame(frame: &ScreenFrame, path: &str, scale: u32, invert: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileInfo` is never constructed [INFO] [stdout] --> src/files.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FileInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `size_string`, `extension`, and `icon_name` are never used [INFO] [stdout] --> src/files.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl FileInfo { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(name: &str, path: &str, is_dir: bool, size: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn size_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn extension(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn icon_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorageInfo` is never constructed [INFO] [stdout] --> src/files.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct StorageInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `used_bytes` and `used_percent` are never used [INFO] [stdout] --> src/files.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl StorageInfo { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 76 | pub fn used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn used_percent(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_size` is never used [INFO] [stdout] --> src/files.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn format_size(bytes: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileManager` is never constructed [INFO] [stdout] --> src/files.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct FileManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/files.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl FileManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 113 | pub fn new(device: FlipperDevice) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn current_path(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub async fn cd(&mut self, path: &str) -> Result<()> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub async fn list(&mut self) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub async fn read_file(&mut self, path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn write_file(&mut self, path: &str, data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn delete(&mut self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub async fn mkdir(&mut self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub async fn rename(&mut self, old_name: &str, new_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn download(&mut self, remote_path: &str, local_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub async fn upload(&mut self, local_path: &str, remote_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub async fn storage_info(&mut self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn resolve_path(&self, path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_files` is never used [INFO] [stdout] --> src/files.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | pub async fn list_files(device: &FlipperDevice, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_file` is never used [INFO] [stdout] --> src/files.rs:258:18 [INFO] [stdout] | [INFO] [stdout] 258 | pub async fn download_file(device: &FlipperDevice, remote: &str, local: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_file` is never used [INFO] [stdout] --> src/files.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | pub async fn upload_file(device: &FlipperDevice, local: &str, remote: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FirmwareChannel` is never used [INFO] [stdout] --> src/firmware.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum FirmwareChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_str`, `display_name`, `description`, and `update_url` are never used [INFO] [stdout] --> src/firmware.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl FirmwareChannel { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 17 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn display_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn description(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn update_url(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FirmwareVersion` is never constructed [INFO] [stdout] --> src/firmware.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct FirmwareVersion { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `display` are never used [INFO] [stdout] --> src/firmware.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl FirmwareVersion { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 65 | pub fn parse(version_str: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UpdateStatus` is never used [INFO] [stdout] --> src/firmware.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum UpdateStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_busy` and `message` are never used [INFO] [stdout] --> src/firmware.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl UpdateStatus { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 123 | pub fn is_busy(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn message(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateManifest` is never constructed [INFO] [stdout] --> src/firmware.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct UpdateManifest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FirmwareUpdater` is never constructed [INFO] [stdout] --> src/firmware.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct FirmwareUpdater { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/firmware.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl FirmwareUpdater { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 175 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn with_channel(channel: FirmwareChannel) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn channel(&self) -> FirmwareChannel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn set_channel(&mut self, channel: FirmwareChannel) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn set_custom_url(&mut self, url: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub async fn check_for_updates(&self, current_version: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub async fn download(&self, manifest: &UpdateManifest, _on_progress: impl Fn(f32)) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub async fn flash(&self, _firmware_path: &Path, _on_progress: impl Fn(f32)) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomFirmware` is never constructed [INFO] [stdout] --> src/firmware.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct CustomFirmware { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CUSTOM_FIRMWARES` is never used [INFO] [stdout] --> src/firmware.rs:247:11 [INFO] [stdout] | [INFO] [stdout] 247 | pub const CUSTOM_FIRMWARES: &[CustomFirmware] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load`, `save`, `config_path`, `data_dir`, and `cache_dir` are never used [INFO] [stdout] --> src/config.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 45 | /// Load configuration from file [INFO] [stdout] 46 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn save(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn config_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn cache_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionConfig` is never constructed [INFO] [stdout] --> src/config.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct ConnectionConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScreenConfig` is never constructed [INFO] [stdout] --> src/config.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct ScreenConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ScreenshotFormat` is never used [INFO] [stdout] --> src/config.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum ScreenshotFormat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extension` is never used [INFO] [stdout] --> src/config.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl ScreenshotFormat { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 189 | pub fn extension(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilesConfig` is never constructed [INFO] [stdout] --> src/config.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct FilesConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SortBy` is never used [INFO] [stdout] --> src/config.rs:237:10 [INFO] [stdout] | [INFO] [stdout] 237 | pub enum SortBy { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppearanceConfig` is never constructed [INFO] [stdout] --> src/config.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub struct AppearanceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShortcutsConfig` is never constructed [INFO] [stdout] --> src/config.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct ShortcutsConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_true` is never used [INFO] [stdout] --> src/config.rs:320:4 [INFO] [stdout] | [INFO] [stdout] 320 | fn default_true() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_timeout` is never used [INFO] [stdout] --> src/config.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn default_timeout() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_reconnect_delay` is never used [INFO] [stdout] --> src/config.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn default_reconnect_delay() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_frame_rate` is never used [INFO] [stdout] --> src/config.rs:332:4 [INFO] [stdout] | [INFO] [stdout] 332 | fn default_frame_rate() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_scale` is never used [INFO] [stdout] --> src/config.rs:336:4 [INFO] [stdout] | [INFO] [stdout] 336 | fn default_scale() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_screenshot_dir` is never used [INFO] [stdout] --> src/config.rs:340:4 [INFO] [stdout] | [INFO] [stdout] 340 | fn default_screenshot_dir() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_download_dir` is never used [INFO] [stdout] --> src/config.rs:348:4 [INFO] [stdout] | [INFO] [stdout] 348 | fn default_download_dir() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_window_width` is never used [INFO] [stdout] --> src/config.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | fn default_window_width() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_window_height` is never used [INFO] [stdout] --> src/config.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn default_window_height() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manifest` [INFO] [stdout] --> src/firmware.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | pub async fn download(&self, manifest: &UpdateManifest, _on_progress: impl Fn(f32)) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manifest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status_page`, `main_view`, `files_view`, `firmware_view`, and `settings_view` are never read [INFO] [stdout] --> src/app.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PineFlipWindow { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub status_page: adw::StatusPage, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub main_view: gtk4::Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub screen_view: ui::ScreenView, [INFO] [stdout] 21 | pub files_view: ui::FilesView, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | pub firmware_view: ui::FirmwareView, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub settings_view: ui::SettingsView, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_mirror` is never used [INFO] [stdout] --> src/app.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl PineFlipWindow { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn start_mirror(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port_name` is never read [INFO] [stdout] --> src/device.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FlipperDevice { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 16 | name: String, [INFO] [stdout] 17 | port_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/device.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl FlipperDevice { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn list_devices() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn port_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn firmware_version(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn hardware_version(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub async fn start_screen_stream(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub async fn press_button(&self, button: Button) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub async fn release_button(&self, button: Button) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub async fn list_directory(&self, path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub async fn read_file(&self, path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub async fn write_file(&self, path: &str, data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub async fn delete_file(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub async fn delete_path(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub async fn mkdir(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub async fn rename(&self, old_path: &str, new_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub async fn get_storage_info(&self, storage: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub async fn reboot(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub async fn reboot_dfu(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScreenStream` is never constructed [INFO] [stdout] --> src/device.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct ScreenStream { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_frame` and `stop` are never used [INFO] [stdout] --> src/device.rs:290:18 [INFO] [stdout] | [INFO] [stdout] 288 | impl ScreenStream { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 289 | /// Get next frame [INFO] [stdout] 290 | pub async fn next_frame(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_rgba` is never used [INFO] [stdout] --> src/device.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 322 | impl ScreenFrame { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 359 | pub fn to_rgba(&self, scale: u32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Button` is never used [INFO] [stdout] --> src/device.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 387 | pub enum Button { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileInfo` is never constructed [INFO] [stdout] --> src/device.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct FileInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/device.rs:405:8 [INFO] [stdout] | [INFO] [stdout] 404 | impl FileInfo { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 405 | fn parse(line: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorageInfo` is never constructed [INFO] [stdout] --> src/device.rs:429:12 [INFO] [stdout] | [INFO] [stdout] 429 | pub struct StorageInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/device.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 434 | impl StorageInfo { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 435 | fn parse(response: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `controls_enabled` and `recording` are never read [INFO] [stdout] --> src/ui/screen_view.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ScreenView { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | controls_enabled: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | recording: Rc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenView` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_frame` and `take_screenshot` are never used [INFO] [stdout] --> src/ui/screen_view.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ScreenView { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn update_frame(&self, frame: ScreenFrame) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn take_screenshot(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_list`, `path_bar`, `current_path`, and `storage_bar` are never read [INFO] [stdout] --> src/ui/files_view.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FilesView { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 16 | pub container: gtk4::Box, [INFO] [stdout] 17 | file_list: gtk4::ListBox, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | path_bar: gtk4::Entry, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | current_path: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | storage_bar: gtk4::ProgressBar, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilesView` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_directory` and `navigate_up` are never used [INFO] [stdout] --> src/ui/files_view.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl FilesView { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn load_directory(&self, device: Arc>>, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn navigate_up(&self, device: Arc>>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_size` is never used [INFO] [stdout] --> src/ui/files_view.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn format_size(bytes: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_version`, `channel_dropdown`, `update_button`, and `progress_bar` are never read [INFO] [stdout] --> src/ui/firmware_view.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct FirmwareView { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 10 | pub container: gtk4::Box, [INFO] [stdout] 11 | current_version: gtk4::Label, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | channel_dropdown: gtk4::DropDown, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | update_button: gtk4::Button, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | progress_bar: gtk4::ProgressBar, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FirmwareView` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_firmware_version`, `show_progress`, and `hide_progress` are never used [INFO] [stdout] --> src/ui/firmware_view.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl FirmwareView { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_firmware_version(&self, version: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn show_progress(&self, fraction: f64, text: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn hide_progress(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL_VERSION` is never used [INFO] [stdout] --> src/protocol.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const PROTOCOL_VERSION: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CommandType` is never used [INFO] [stdout] --> src/protocol.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum CommandType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseStatus` is never used [INFO] [stdout] --> src/protocol.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum ResponseStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_code` and `is_ok` are never used [INFO] [stdout] --> src/protocol.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl ResponseStatus { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 63 | pub fn from_code(code: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_storage_info` is never used [INFO] [stdout] --> src/protocol.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn parse_storage_info(response: &str) -> Result<(u64, u64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_device_info` is never used [INFO] [stdout] --> src/protocol.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn parse_device_info(response: &str) -> DeviceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeviceInfo` is never constructed [INFO] [stdout] --> src/protocol.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct DeviceInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display_name` is never used [INFO] [stdout] --> src/protocol.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 189 | impl DeviceInfo { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 190 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_png` is never used [INFO] [stdout] --> src/screen.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl ScreenFrame { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn to_png(&self, scale: u32, invert: bool) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_frame` is never used [INFO] [stdout] --> src/screen.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn save_frame(frame: &ScreenFrame, path: &str, scale: u32, invert: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `size` are never read [INFO] [stdout] --> src/files.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FileInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | pub name: String, [INFO] [stdout] 14 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | pub is_dir: bool, [INFO] [stdout] 16 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileInfo` 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: method `size_string` is never used [INFO] [stdout] --> src/files.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl FileInfo { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn size_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorageInfo` is never constructed [INFO] [stdout] --> src/files.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct StorageInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `used_bytes` and `used_percent` are never used [INFO] [stdout] --> src/files.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl StorageInfo { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 76 | pub fn used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn used_percent(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileManager` is never constructed [INFO] [stdout] --> src/files.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct FileManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/files.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl FileManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 113 | pub fn new(device: FlipperDevice) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn current_path(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub async fn cd(&mut self, path: &str) -> Result<()> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub async fn list(&mut self) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub async fn read_file(&mut self, path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn write_file(&mut self, path: &str, data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn delete(&mut self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub async fn mkdir(&mut self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub async fn rename(&mut self, old_name: &str, new_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn download(&mut self, remote_path: &str, local_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub async fn upload(&mut self, local_path: &str, remote_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub async fn storage_info(&mut self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn resolve_path(&self, path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_files` is never used [INFO] [stdout] --> src/files.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | pub async fn list_files(device: &FlipperDevice, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_file` is never used [INFO] [stdout] --> src/files.rs:258:18 [INFO] [stdout] | [INFO] [stdout] 258 | pub async fn download_file(device: &FlipperDevice, remote: &str, local: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_file` is never used [INFO] [stdout] --> src/files.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | pub async fn upload_file(device: &FlipperDevice, local: &str, remote: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Custom` is never constructed [INFO] [stdout] --> src/firmware.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum FirmwareChannel { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Custom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FirmwareChannel` 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: methods `as_str`, `display_name`, `description`, and `update_url` are never used [INFO] [stdout] --> src/firmware.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl FirmwareChannel { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 17 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn display_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn description(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn update_url(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `commit`, `build_date`, and `target` are never read [INFO] [stdout] --> src/firmware.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct FirmwareVersion { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | pub commit: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | pub build_date: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | pub target: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FirmwareVersion` 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: method `display` is never used [INFO] [stdout] --> src/firmware.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl FirmwareVersion { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UpdateStatus` is never used [INFO] [stdout] --> src/firmware.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum UpdateStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_busy` and `message` are never used [INFO] [stdout] --> src/firmware.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl UpdateStatus { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 123 | pub fn is_busy(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn message(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateManifest` is never constructed [INFO] [stdout] --> src/firmware.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct UpdateManifest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FirmwareUpdater` is never constructed [INFO] [stdout] --> src/firmware.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct FirmwareUpdater { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/firmware.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl FirmwareUpdater { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 175 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn with_channel(channel: FirmwareChannel) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn channel(&self) -> FirmwareChannel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn set_channel(&mut self, channel: FirmwareChannel) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn set_custom_url(&mut self, url: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub async fn check_for_updates(&self, current_version: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub async fn download(&self, manifest: &UpdateManifest, _on_progress: impl Fn(f32)) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub async fn flash(&self, _firmware_path: &Path, _on_progress: impl Fn(f32)) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomFirmware` is never constructed [INFO] [stdout] --> src/firmware.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct CustomFirmware { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CUSTOM_FIRMWARES` is never used [INFO] [stdout] --> src/firmware.rs:247:11 [INFO] [stdout] | [INFO] [stdout] 247 | pub const CUSTOM_FIRMWARES: &[CustomFirmware] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load`, `save`, `config_path`, `data_dir`, and `cache_dir` are never used [INFO] [stdout] --> src/config.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 45 | /// Load configuration from file [INFO] [stdout] 46 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn save(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn config_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn cache_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extension` is never used [INFO] [stdout] --> src/config.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl ScreenshotFormat { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 189 | pub fn extension(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "a92f9c17d8f64bbbe3f33dd0bfa2ddcab7c9474b5c6828aa79604e822180b39a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a92f9c17d8f64bbbe3f33dd0bfa2ddcab7c9474b5c6828aa79604e822180b39a", kill_on_drop: false }` [INFO] [stdout] a92f9c17d8f64bbbe3f33dd0bfa2ddcab7c9474b5c6828aa79604e822180b39a