[INFO] cloning repository https://github.com/Catley94/wallpaper_changer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Catley94/wallpaper_changer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCatley94%2Fwallpaper_changer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCatley94%2Fwallpaper_changer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 496518b9aeefbbcd763e975416c51196b26cda76 [INFO] checking Catley94/wallpaper_changer against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCatley94%2Fwallpaper_changer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Catley94/wallpaper_changer on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Catley94/wallpaper_changer [INFO] finished tweaking git repo https://github.com/Catley94/wallpaper_changer [INFO] tweaked toml for git repo https://github.com/Catley94/wallpaper_changer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Catley94/wallpaper_changer 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded target-lexicon v0.13.2 [INFO] [stderr] Downloaded ureq-proto v0.4.1 [INFO] [stderr] Downloaded gobject-sys v0.20.10 [INFO] [stderr] Downloaded gdk-pixbuf v0.20.10 [INFO] [stderr] Downloaded cairo-sys-rs v0.20.10 [INFO] [stderr] Downloaded cfg-expr v0.20.0 [INFO] [stderr] Downloaded pango v0.20.10 [INFO] [stderr] Downloaded cairo-rs v0.20.10 [INFO] [stderr] Downloaded glib-macros v0.20.10 [INFO] [stderr] Downloaded gio-sys v0.20.10 [INFO] [stderr] Downloaded ureq v3.0.11 [INFO] [stderr] Downloaded glib-sys v0.20.10 [INFO] [stderr] Downloaded system-deps v7.0.5 [INFO] [stderr] Downloaded pango-sys v0.20.10 [INFO] [stderr] Downloaded gio v0.20.11 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.20.10 [INFO] [stderr] Downloaded graphene-sys v0.20.10 [INFO] [stderr] Downloaded graphene-rs v0.20.10 [INFO] [stderr] Downloaded glib v0.20.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d75fc9af9f8d3d568b51d0a45457d9dd1efbd40ee07600bbb9c81c2ff66920a1 [INFO] running `Command { std: "docker" "start" "-a" "d75fc9af9f8d3d568b51d0a45457d9dd1efbd40ee07600bbb9c81c2ff66920a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d75fc9af9f8d3d568b51d0a45457d9dd1efbd40ee07600bbb9c81c2ff66920a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d75fc9af9f8d3d568b51d0a45457d9dd1efbd40ee07600bbb9c81c2ff66920a1", kill_on_drop: false }` [INFO] [stdout] d75fc9af9f8d3d568b51d0a45457d9dd1efbd40ee07600bbb9c81c2ff66920a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c324e04f106dcefa41a7fdd8b53d70a42e17144d55a5b99e582c4c91b04caa38 [INFO] running `Command { std: "docker" "start" "-a" "c324e04f106dcefa41a7fdd8b53d70a42e17144d55a5b99e582c4c91b04caa38", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling gio v0.20.11 [INFO] [stderr] Compiling glib-macros v0.20.10 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking webpki-roots v1.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling cfg-expr v0.20.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling gtk4-macros v0.9.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling system-deps v7.0.5 [INFO] [stderr] Checking ureq-proto v0.4.1 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking tokio v1.45.1 [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 cairo-sys-rs v0.20.10 [INFO] [stderr] Compiling pango-sys 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] Checking glib v0.20.10 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking ureq v3.0.11 [INFO] [stderr] Checking cairo-rs v0.20.10 [INFO] [stderr] Checking graphene-rs v0.20.10 [INFO] [stderr] Checking gdk-pixbuf v0.20.10 [INFO] [stderr] Checking pango v0.20.10 [INFO] [stderr] Checking gdk4 v0.9.6 [INFO] [stderr] Checking gsk4 v0.9.6 [INFO] [stderr] Checking gtk4 v0.9.6 [INFO] [stderr] Checking wallpaper_changer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Grid` and `StyleContext` [INFO] [stdout] --> src/main.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | use gtk4::{Application, ApplicationWindow, Entry, Button, Grid, Image, Label, Builder, CssProvider, StyleContext}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::char::MAX` [INFO] [stdout] --> src/download/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::char::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Grid` and `StyleContext` [INFO] [stdout] --> src/main.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | use gtk4::{Application, ApplicationWindow, Entry, Button, Grid, Image, Label, Builder, CssProvider, StyleContext}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::char::MAX` [INFO] [stdout] --> src/download/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::char::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_page` [INFO] [stdout] --> src/main.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let current_page = std::rc::Rc::new(std::cell::RefCell::new(1)); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_page` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_search` [INFO] [stdout] --> src/main.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let current_search = std::rc::Rc::new(std::cell::RefCell::new(String::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_thumbnail_folder` [INFO] [stdout] --> src/main.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | let temp_thumbnail_folder = state.temp_thumbnail_folder.to_str().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_thumbnail_folder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thumbnail_paths` [INFO] [stdout] --> src/main.rs:628:9 [INFO] [stdout] | [INFO] [stdout] 628 | let thumbnail_paths: Vec = parse_response(&response, &temp_thumbnail_folder); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thumbnail_paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:631:58 [INFO] [stdout] | [INFO] [stdout] 631 | response_data.data.iter().enumerate().for_each(|(index, image_data)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_ID` is never used [INFO] [stdout] --> src/main.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const APP_ID: &str = "org.example.wallpaper_changer"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WallpaperMessage` is never used [INFO] [stdout] --> src/main.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum WallpaperMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WallpaperMessage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_page`, `per_page`, `total`, `query`, and `seed` are never read [INFO] [stdout] --> src/models/wallhaven.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct WHSearchMetaData { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 11 | pub current_page: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | pub last_page: i32, [INFO] [stdout] 13 | pub per_page: i8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub query: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub seed: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WHSearchMetaData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/wallhaven.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct WHTag { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 27 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub alias: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | pub category_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | pub category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub purity: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WHTag` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `px200`, `px128`, `px32`, and `px20` are never read [INFO] [stdout] --> src/models/wallhaven.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct WHAvatar { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 38 | #[serde(rename = "200px")] [INFO] [stdout] 39 | pub px200: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | #[serde(rename = "128px")] [INFO] [stdout] 41 | pub px128: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | #[serde(rename = "32px")] [INFO] [stdout] 43 | pub px32: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | #[serde(rename = "20px")] [INFO] [stdout] 45 | pub px20: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WHAvatar` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `group`, and `avatar` are never read [INFO] [stdout] --> src/models/wallhaven.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct WHUploader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 50 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub group: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | pub avatar: WHAvatar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WHUploader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/wallhaven.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct WHImageData { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | pub short_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | #[serde(default)] // This will use Default::default() if the field is missing [INFO] [stdout] 62 | pub uploader: Option, // Make uploader optional [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | pub views: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | pub favorites: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 66 | pub purity: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | pub category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | pub dimension_x: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | pub dimension_y: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 70 | pub resolution: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | pub ratio: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | pub file_size: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | pub file_type: String, [INFO] [stdout] 74 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 75 | pub colors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub tags: Option>, // Make tags optional [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WHImageData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `large` and `original` are never read [INFO] [stdout] --> src/models/wallhaven.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct WHImageThumbnailImageData { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 86 | large: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | original: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WHImageThumbnailImageData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open` is never used [INFO] [stdout] --> src/file_manager/windows.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn open (path: &PathBuf) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | download::clear_temp_thumbnails(state.temp_thumbnail_folder.to_str().unwrap()); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 255 | let _ = download::clear_temp_thumbnails(state.temp_thumbnail_folder.to_str().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | download::clear_temp_thumbnails(state.temp_thumbnail_folder.to_str().unwrap()); [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] 337 | let _ = download::clear_temp_thumbnails(state.temp_thumbnail_folder.to_str().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_page` [INFO] [stdout] --> src/main.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let current_page = std::rc::Rc::new(std::cell::RefCell::new(1)); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_page` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_search` [INFO] [stdout] --> src/main.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let current_search = std::rc::Rc::new(std::cell::RefCell::new(String::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_thumbnail_folder` [INFO] [stdout] --> src/main.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | let temp_thumbnail_folder = state.temp_thumbnail_folder.to_str().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_thumbnail_folder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thumbnail_paths` [INFO] [stdout] --> src/main.rs:628:9 [INFO] [stdout] | [INFO] [stdout] 628 | let thumbnail_paths: Vec = parse_response(&response, &temp_thumbnail_folder); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thumbnail_paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:631:58 [INFO] [stdout] | [INFO] [stdout] 631 | response_data.data.iter().enumerate().for_each(|(index, image_data)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_ID` is never used [INFO] [stdout] --> src/main.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const APP_ID: &str = "org.example.wallpaper_changer"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WallpaperMessage` is never used [INFO] [stdout] --> src/main.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum WallpaperMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WallpaperMessage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_page`, `per_page`, `total`, `query`, and `seed` are never read [INFO] [stdout] --> src/models/wallhaven.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct WHSearchMetaData { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 11 | pub current_page: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | pub last_page: i32, [INFO] [stdout] 13 | pub per_page: i8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub query: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub seed: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WHSearchMetaData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/wallhaven.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct WHTag { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 27 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub alias: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | pub category_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | pub category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub purity: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WHTag` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `px200`, `px128`, `px32`, and `px20` are never read [INFO] [stdout] --> src/models/wallhaven.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct WHAvatar { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 38 | #[serde(rename = "200px")] [INFO] [stdout] 39 | pub px200: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | #[serde(rename = "128px")] [INFO] [stdout] 41 | pub px128: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | #[serde(rename = "32px")] [INFO] [stdout] 43 | pub px32: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | #[serde(rename = "20px")] [INFO] [stdout] 45 | pub px20: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WHAvatar` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `group`, and `avatar` are never read [INFO] [stdout] --> src/models/wallhaven.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct WHUploader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 50 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub group: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | pub avatar: WHAvatar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WHUploader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/wallhaven.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct WHImageData { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | pub short_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | #[serde(default)] // This will use Default::default() if the field is missing [INFO] [stdout] 62 | pub uploader: Option, // Make uploader optional [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | pub views: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | pub favorites: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 66 | pub purity: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | pub category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | pub dimension_x: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | pub dimension_y: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 70 | pub resolution: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | pub ratio: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | pub file_size: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | pub file_type: String, [INFO] [stdout] 74 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 75 | pub colors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub tags: Option>, // Make tags optional [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WHImageData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `large` and `original` are never read [INFO] [stdout] --> src/models/wallhaven.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct WHImageThumbnailImageData { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 86 | large: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | original: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WHImageThumbnailImageData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open` is never used [INFO] [stdout] --> src/file_manager/windows.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn open (path: &PathBuf) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | download::clear_temp_thumbnails(state.temp_thumbnail_folder.to_str().unwrap()); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 255 | let _ = download::clear_temp_thumbnails(state.temp_thumbnail_folder.to_str().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | download::clear_temp_thumbnails(state.temp_thumbnail_folder.to_str().unwrap()); [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] 337 | let _ = download::clear_temp_thumbnails(state.temp_thumbnail_folder.to_str().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "c324e04f106dcefa41a7fdd8b53d70a42e17144d55a5b99e582c4c91b04caa38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c324e04f106dcefa41a7fdd8b53d70a42e17144d55a5b99e582c4c91b04caa38", kill_on_drop: false }` [INFO] [stdout] c324e04f106dcefa41a7fdd8b53d70a42e17144d55a5b99e582c4c91b04caa38