[INFO] cloning repository https://github.com/zhaozhao27/rk_flash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhaozhao27/rk_flash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhaozhao27%2Frk_flash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhaozhao27%2Frk_flash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da9ee36329df5e3ff4160a6b09cfc3e12a28b31d [INFO] checking zhaozhao27/rk_flash against try#80370147ae6685a1436ab7bcd206f61157af70d2 for pr-147017-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhaozhao27%2Frk_flash" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zhaozhao27/rk_flash [INFO] finished tweaking git repo https://github.com/zhaozhao27/rk_flash [INFO] tweaked toml for git repo https://github.com/zhaozhao27/rk_flash written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zhaozhao27/rk_flash on toolchain 80370147ae6685a1436ab7bcd206f61157af70d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80370147ae6685a1436ab7bcd206f61157af70d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zhaozhao27/rk_flash 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" "+80370147ae6685a1436ab7bcd206f61157af70d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+80370147ae6685a1436ab7bcd206f61157af70d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e63b9cd13a445357b945acd52e6fbc3f840042a4f635a66c1daee6a279db800 [INFO] running `Command { std: "docker" "start" "-a" "0e63b9cd13a445357b945acd52e6fbc3f840042a4f635a66c1daee6a279db800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e63b9cd13a445357b945acd52e6fbc3f840042a4f635a66c1daee6a279db800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e63b9cd13a445357b945acd52e6fbc3f840042a4f635a66c1daee6a279db800", kill_on_drop: false }` [INFO] [stdout] 0e63b9cd13a445357b945acd52e6fbc3f840042a4f635a66c1daee6a279db800 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+80370147ae6685a1436ab7bcd206f61157af70d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aec7afca87960575856cb563c1e4a7300f4f75f9d4246544345ea8cb15af15ef [INFO] running `Command { std: "docker" "start" "-a" "aec7afca87960575856cb563c1e4a7300f4f75f9d4246544345ea8cb15af15ef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling wayland-sys v0.31.4 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling wayland-client v0.31.5 [INFO] [stderr] Compiling wayland-scanner v0.31.4 [INFO] [stderr] Compiling wayland-backend v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling roxmltree v0.19.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking piper v0.2.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling enumflags2_derive v0.7.9 [INFO] [stderr] Compiling fontconfig-parser v0.5.6 [INFO] [stderr] Compiling strum_macros v0.26.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking polling v3.7.1 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking rustix v0.37.27 [INFO] [stderr] Compiling fontdb v0.18.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking async-executor v1.12.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking xdg-home v1.1.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Checking wayland-protocols v0.32.3 [INFO] [stderr] Checking euclid v0.22.10 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking unicode-script v0.5.6 [INFO] [stderr] Checking lyon_geom v1.0.5 [INFO] [stderr] Checking enumflags2 v0.7.9 [INFO] [stderr] Checking rustybuzz v0.14.1 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling i-slint-common v1.7.1 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling kurbo v0.11.0 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling unicode-ccc v0.2.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Checking svgtypes v0.15.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.3 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Checking lyon_path v1.0.5 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Compiling const-field-offset-macro v0.1.5 [INFO] [stderr] Checking owned_ttf_parser v0.21.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling simplecss v0.2.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Checking atspi-common v0.3.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking usvg v0.42.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Checking ab_glyph v0.2.26 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking const-field-offset v0.1.5 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.0 [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stderr] Compiling glutin_glx_sys v0.6.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Compiling vtable-macro v0.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Compiling winit v0.30.4 [INFO] [stderr] Checking immutable-chunkmap v2.0.5 [INFO] [stderr] Compiling i-slint-compiler v1.7.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking accesskit v0.16.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking vtable v0.2.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling rowan v0.15.15 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling auto_enums v0.8.5 [INFO] [stderr] Checking accesskit_consumer v0.24.0 [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Compiling resvg v0.42.0 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling lyon_extra v1.0.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling num_enum v0.7.2 [INFO] [stderr] Checking lyon_algorithms v1.0.4 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.3 [INFO] [stderr] Checking fontdue v0.9.2 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling i-slint-core-macros v1.7.1 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling glutin v0.32.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling tiny-xlib v0.2.3 [INFO] [stderr] Checking clru v0.6.2 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking i-slint-core v1.7.1 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking accesskit_atspi_common v0.9.0 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Compiling i-slint-backend-qt v1.7.1 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling softbuffer v0.4.5 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking ctor-lite v0.1.0 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking femtovg v0.9.2 [INFO] [stderr] Checking cpp v0.5.9 [INFO] [stderr] Checking accesskit_unix v0.12.0 [INFO] [stderr] Checking smithay-clipboard v0.7.1 [INFO] [stderr] Checking x11-clipboard v0.9.2 [INFO] [stderr] Compiling i-slint-backend-winit v1.7.1 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling winnow v0.6.11 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking accesskit_winit v0.22.0 [INFO] [stderr] Checking copypasta v0.10.1 [INFO] [stderr] Checking i-slint-renderer-femtovg v1.7.1 [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Compiling i-slint-backend-selector v1.7.1 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling zip v2.1.6 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Compiling slint-build v1.7.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Compiling slint-macros v1.7.1 [INFO] [stderr] Compiling rk_flash v1.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking slint v1.7.1 [INFO] [stdout] warning: unused import: `tokio::sync::watch::error` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::watch::error; [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 import: `StandardListViewItem` [INFO] [stdout] --> src/main.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use slint::{Model, StandardListViewItem, VecModel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::Duration` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> src/flash.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slint::ModelRc` [INFO] [stdout] --> src/flash.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use slint::ModelRc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slint::SharedString` [INFO] [stdout] --> src/flash.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use slint::SharedString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slint::Window` [INFO] [stdout] --> src/flash.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use slint::Window; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/flash.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::process::Command` [INFO] [stdout] --> src/flash.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::Duration` [INFO] [stdout] --> src/flash.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, and `warn` [INFO] [stdout] --> src/merge_filesystem.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Model`, `StandardListViewItem`, and `VecModel` [INFO] [stdout] --> src/merge_filesystem.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use slint::{Model, StandardListViewItem, VecModel}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::watch::error` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::watch::error; [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 import: `exit` [INFO] [stdout] --> src/merge_filesystem.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use std::process::{exit, Command}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::ControlFlow` and `rc::Rc` [INFO] [stdout] --> src/merge_filesystem.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{ops::ControlFlow, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flash::rk_flash_start` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use flash::rk_flash_start; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StandardListViewItem` [INFO] [stdout] --> src/main.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use slint::{Model, StandardListViewItem, VecModel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::Duration` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> src/flash.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slint::ModelRc` [INFO] [stdout] --> src/flash.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use slint::ModelRc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slint::SharedString` [INFO] [stdout] --> src/flash.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use slint::SharedString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slint::Window` [INFO] [stdout] --> src/flash.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use slint::Window; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/flash.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::process::Command` [INFO] [stdout] --> src/flash.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::Duration` [INFO] [stdout] --> src/flash.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, and `warn` [INFO] [stdout] --> src/merge_filesystem.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Model`, `StandardListViewItem`, and `VecModel` [INFO] [stdout] --> src/merge_filesystem.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use slint::{Model, StandardListViewItem, VecModel}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `exit` [INFO] [stdout] --> src/merge_filesystem.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use std::process::{exit, Command}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::ControlFlow` and `rc::Rc` [INFO] [stdout] --> src/merge_filesystem.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{ops::ControlFlow, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flash::rk_flash_start` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use flash::rk_flash_start; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress` [INFO] [stdout] --> src/flash.rs:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | async fn __update_flash_progress(progress: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress` [INFO] [stdout] --> src/flash.rs:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | async fn __update_flash_progress(progress: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> src/flash.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> src/flash.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setup_join` [INFO] [stdout] --> src/main.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let setup_join = flash_setup(&window, flash_info); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setup_join` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `supported_board` is never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct FlashInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 34 | supported_board: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FlashInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swicth_to_maskrom` is never used [INFO] [stdout] --> src/flash.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn swicth_to_maskrom(flash: FlashInfo) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_progress` is never used [INFO] [stdout] --> src/flash.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | async fn update_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flash_worker_loop` is never used [INFO] [stdout] --> src/flash.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | async fn flash_worker_loop(window_weak: Weak) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callback_func_register` is never used [INFO] [stdout] --> src/flash.rs:261:4 [INFO] [stdout] | [INFO] [stdout] 261 | fn callback_func_register() -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flash.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / window_weak.upgrade_in_event_loop(move |window| { [INFO] [stdout] 40 | | let mut flash = window.global::().get_flash(); [INFO] [stdout] 41 | | let mut flash_info: FlashInfo = flash.clone().into(); [INFO] [stdout] 42 | | let devices_info = &mut flash_info.devices; [INFO] [stdout] ... | [INFO] [stdout] 50 | | window.global::().set_flash(flash); [INFO] [stdout] 51 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 39 | let _ = window_weak.upgrade_in_event_loop(move |window| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/flash.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | / run_command_with_progress( [INFO] [stdout] 97 | | &upgrade_tool, [INFO] [stdout] 98 | | &["-s", &d.loc_id, "ul", loader.to_str().unwrap(), "-noreset"], [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flash.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | run_command_with_progress(&upgrade_tool, &["ul", loader.to_str().unwrap(), "-noreset"]).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 241 | let _ = run_command_with_progress(&upgrade_tool, &["ul", loader.to_str().unwrap(), "-noreset"]).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flash.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | run_command_with_progress(&upgrade_tool, &["di", "-p", parameter.to_str().unwrap()]).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 244 | let _ = run_command_with_progress(&upgrade_tool, &["di", "-p", parameter.to_str().unwrap()]).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flash.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | run_command_with_progress(&upgrade_tool, &["di", "-uboot", uboot.to_str().unwrap()]).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 247 | let _ = run_command_with_progress(&upgrade_tool, &["di", "-uboot", uboot.to_str().unwrap()]).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flash.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | run_command_with_progress(&upgrade_tool, &["di", "-b", boot.to_str().unwrap()]).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 250 | let _ = run_command_with_progress(&upgrade_tool, &["di", "-b", boot.to_str().unwrap()]).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flash.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | run_command_with_progress(&upgrade_tool, &["di", "-rootfs", rootfs.to_str().unwrap()]).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 253 | let _ = run_command_with_progress(&upgrade_tool, &["di", "-rootfs", rootfs.to_str().unwrap()]).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flash.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | run_command_with_progress(&upgrade_tool, &["rd"]).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 256 | let _ = run_command_with_progress(&upgrade_tool, &["rd"]).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setup_join` [INFO] [stdout] --> src/main.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let setup_join = flash_setup(&window, flash_info); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setup_join` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `supported_board` is never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct FlashInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 34 | supported_board: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FlashInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swicth_to_maskrom` is never used [INFO] [stdout] --> src/flash.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn swicth_to_maskrom(flash: FlashInfo) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_progress` is never used [INFO] [stdout] --> src/flash.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | async fn update_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flash_worker_loop` is never used [INFO] [stdout] --> src/flash.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | async fn flash_worker_loop(window_weak: Weak) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callback_func_register` is never used [INFO] [stdout] --> src/flash.rs:261:4 [INFO] [stdout] | [INFO] [stdout] 261 | fn callback_func_register() -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flash.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / window_weak.upgrade_in_event_loop(move |window| { [INFO] [stdout] 40 | | let mut flash = window.global::().get_flash(); [INFO] [stdout] 41 | | let mut flash_info: FlashInfo = flash.clone().into(); [INFO] [stdout] 42 | | let devices_info = &mut flash_info.devices; [INFO] [stdout] ... | [INFO] [stdout] 50 | | window.global::().set_flash(flash); [INFO] [stdout] 51 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 39 | let _ = window_weak.upgrade_in_event_loop(move |window| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/flash.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | / run_command_with_progress( [INFO] [stdout] 97 | | &upgrade_tool, [INFO] [stdout] 98 | | &["-s", &d.loc_id, "ul", loader.to_str().unwrap(), "-noreset"], [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flash.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | run_command_with_progress(&upgrade_tool, &["ul", loader.to_str().unwrap(), "-noreset"]).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 241 | let _ = run_command_with_progress(&upgrade_tool, &["ul", loader.to_str().unwrap(), "-noreset"]).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flash.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | run_command_with_progress(&upgrade_tool, &["di", "-p", parameter.to_str().unwrap()]).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 244 | let _ = run_command_with_progress(&upgrade_tool, &["di", "-p", parameter.to_str().unwrap()]).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flash.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | run_command_with_progress(&upgrade_tool, &["di", "-uboot", uboot.to_str().unwrap()]).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 247 | let _ = run_command_with_progress(&upgrade_tool, &["di", "-uboot", uboot.to_str().unwrap()]).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flash.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | run_command_with_progress(&upgrade_tool, &["di", "-b", boot.to_str().unwrap()]).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 250 | let _ = run_command_with_progress(&upgrade_tool, &["di", "-b", boot.to_str().unwrap()]).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flash.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | run_command_with_progress(&upgrade_tool, &["di", "-rootfs", rootfs.to_str().unwrap()]).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 253 | let _ = run_command_with_progress(&upgrade_tool, &["di", "-rootfs", rootfs.to_str().unwrap()]).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flash.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | run_command_with_progress(&upgrade_tool, &["rd"]).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 256 | let _ = run_command_with_progress(&upgrade_tool, &["rd"]).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `Command { std: "docker" "inspect" "aec7afca87960575856cb563c1e4a7300f4f75f9d4246544345ea8cb15af15ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aec7afca87960575856cb563c1e4a7300f4f75f9d4246544345ea8cb15af15ef", kill_on_drop: false }` [INFO] [stdout] aec7afca87960575856cb563c1e4a7300f4f75f9d4246544345ea8cb15af15ef