[INFO] cloning repository https://github.com/Niels87/pdf_downloader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Niels87/pdf_downloader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNiels87%2Fpdf_downloader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNiels87%2Fpdf_downloader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 893b6b56df8223b32b3f7e7e35542aa885b1199e [INFO] checking Niels87/pdf_downloader/893b6b56df8223b32b3f7e7e35542aa885b1199e against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNiels87%2Fpdf_downloader" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Niels87/pdf_downloader on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Niels87/pdf_downloader [INFO] finished tweaking git repo https://github.com/Niels87/pdf_downloader [INFO] tweaked toml for git repo https://github.com/Niels87/pdf_downloader written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Niels87/pdf_downloader 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38eab53d3c25bd63c1531d5cf89c5c38cb49d2c8039a5f1a2c7128d52bb965ce [INFO] running `Command { std: "docker" "start" "-a" "38eab53d3c25bd63c1531d5cf89c5c38cb49d2c8039a5f1a2c7128d52bb965ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38eab53d3c25bd63c1531d5cf89c5c38cb49d2c8039a5f1a2c7128d52bb965ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38eab53d3c25bd63c1531d5cf89c5c38cb49d2c8039a5f1a2c7128d52bb965ce", kill_on_drop: false }` [INFO] [stdout] 38eab53d3c25bd63c1531d5cf89c5c38cb49d2c8039a5f1a2c7128d52bb965ce [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 073d7eb110ef450d0f8021cb8c2f38599fdebdc7058d8f4ff3670859825b9886 [INFO] running `Command { std: "docker" "start" "-a" "073d7eb110ef450d0f8021cb8c2f38599fdebdc7058d8f4ff3670859825b9886", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking event-listener-strategy v0.5.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking async-channel v2.2.1 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking xdg-home v1.1.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking async-executor v1.11.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking ab_glyph v0.2.25 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking async-once-cell v0.5.3 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Checking codepage v0.1.1 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling enumflags2_derive v0.7.9 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling enumn v0.1.13 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling async-recursion v1.1.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking sysinfo v0.30.11 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking enumflags2 v0.7.9 [INFO] [stderr] Checking accesskit v0.12.3 [INFO] [stderr] Checking ecolor v0.27.2 [INFO] [stderr] Checking emath v0.27.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking calamine v0.24.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking epaint v0.27.2 [INFO] [stderr] Checking accesskit_consumer v0.16.1 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking egui v0.27.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.3 [INFO] [stderr] Checking arboard v3.3.2 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking egui_glow v0.27.2 [INFO] [stderr] Checking egui-file-dialog v0.5.0 [INFO] [stderr] Checking egui_plot v0.27.2 [INFO] [stderr] Checking atspi-common v0.3.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking smithay-clipboard v0.7.1 [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Checking accesskit_unix v0.6.2 [INFO] [stderr] Checking accesskit_winit v0.16.1 [INFO] [stderr] Checking egui-winit v0.27.2 [INFO] [stderr] Checking eframe v0.27.2 [INFO] [stderr] Checking pdf_downloader v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/network_monitor.rs (1 fix) [INFO] [stderr] Fixed src/downloader.rs (13 fixes) [INFO] [stderr] Fixed src/app.rs (13 fixes) [INFO] [stdout] warning: unused variable: `header_length` [INFO] [stdout] --> src/downloader.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let header_length = &headers.len(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/downloader.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | let size = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/downloader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_writer` [INFO] [stdout] --> src/downloader.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let log_writer = build_log_writer(downloader.destination_folder.clone(), "download_log".to_string())?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nr_of_urls` [INFO] [stdout] --> src/downloader.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let nr_of_urls = downloader.nr_of_urls.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nr_of_urls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/app.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | ... if let Err(e) = r { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/app.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/app.rs:365:28 [INFO] [stdout] | [INFO] [stdout] 365 | fn failed_download_results(ui: &mut egui::Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lp` [INFO] [stdout] --> src/network_monitor.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let lp = plot.show(ui, |plot_ui| [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_lp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Downloading`, `FlushingLog`, and `Finished` are never constructed [INFO] [stdout] --> src/downloader.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 304 | pub enum AppStatus { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 305 | NotStarted, [INFO] [stdout] 306 | Downloading, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 307 | FlushingLog, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 308 | Finished, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ServerResponse` is never used [INFO] [stdout] --> src/downloader.rs:367:6 [INFO] [stdout] | [INFO] [stdout] 367 | enum ServerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_download_result` is never used [INFO] [stdout] --> src/downloader.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn set_download_result( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `download_state` is never read [INFO] [stdout] --> src/app.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DownloaderApp { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | download_state: AppStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `progress_bars` is never read [INFO] [stdout] --> src/app.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct AppUI { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 337 | progress_bars: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `failed_download_results` is never used [INFO] [stdout] --> src/app.rs:365:4 [INFO] [stdout] | [INFO] [stdout] 365 | fn failed_download_results(ui: &mut egui::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/downloader.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | while let Some(result) = download_futures.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/downloader.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/downloader.rs:280:11 [INFO] [stdout] | [INFO] [stdout] 280 | while let Some(stream_chunk) = content.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/downloader.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/app.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | download(dl.clone()); [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] 216 | let _ = download(dl.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/app.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | self.on_read_xlsx_button_clicked(); [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] 302 | let _ = self.on_read_xlsx_button_clicked(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_length` [INFO] [stdout] --> src/downloader.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let header_length = &headers.len(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/downloader.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | let size = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/downloader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_writer` [INFO] [stdout] --> src/downloader.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let log_writer = build_log_writer(downloader.destination_folder.clone(), "download_log".to_string())?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nr_of_urls` [INFO] [stdout] --> src/downloader.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let nr_of_urls = downloader.nr_of_urls.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nr_of_urls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/app.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | ... if let Err(e) = r { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/app.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/app.rs:365:28 [INFO] [stdout] | [INFO] [stdout] 365 | fn failed_download_results(ui: &mut egui::Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lp` [INFO] [stdout] --> src/network_monitor.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let lp = plot.show(ui, |plot_ui| [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_lp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Downloading`, `FlushingLog`, and `Finished` are never constructed [INFO] [stdout] --> src/downloader.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 304 | pub enum AppStatus { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 305 | NotStarted, [INFO] [stdout] 306 | Downloading, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 307 | FlushingLog, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 308 | Finished, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ServerResponse` is never used [INFO] [stdout] --> src/downloader.rs:367:6 [INFO] [stdout] | [INFO] [stdout] 367 | enum ServerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_download_result` is never used [INFO] [stdout] --> src/downloader.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn set_download_result( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `download_state` is never read [INFO] [stdout] --> src/app.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DownloaderApp { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | download_state: AppStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `progress_bars` is never read [INFO] [stdout] --> src/app.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct AppUI { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 337 | progress_bars: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `failed_download_results` is never used [INFO] [stdout] --> src/app.rs:365:4 [INFO] [stdout] | [INFO] [stdout] 365 | fn failed_download_results(ui: &mut egui::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/downloader.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | while let Some(result) = download_futures.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/downloader.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/downloader.rs:280:11 [INFO] [stdout] | [INFO] [stdout] 280 | while let Some(stream_chunk) = content.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/downloader.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/app.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | download(dl.clone()); [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] 216 | let _ = download(dl.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/app.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | self.on_read_xlsx_button_clicked(); [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] 302 | let _ = self.on_read_xlsx_button_clicked(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.41s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking pdf_downloader v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused variable: `header_length` [INFO] [stdout] --> src/downloader.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let header_length = &headers.len(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_length` [INFO] [stdout] --> src/downloader.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let header_length = &headers.len(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/downloader.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | let size = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/downloader.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | let size = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/downloader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/downloader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_writer` [INFO] [stdout] --> src/downloader.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let log_writer = build_log_writer(downloader.destination_folder.clone(), "download_log".to_string())?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nr_of_urls` [INFO] [stdout] --> src/downloader.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let nr_of_urls = downloader.nr_of_urls.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nr_of_urls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_writer` [INFO] [stdout] --> src/downloader.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let log_writer = build_log_writer(downloader.destination_folder.clone(), "download_log".to_string())?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nr_of_urls` [INFO] [stdout] --> src/downloader.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let nr_of_urls = downloader.nr_of_urls.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nr_of_urls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/app.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | ... if let Err(e) = r { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/app.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | ... if let Err(e) = r { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/app.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/app.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/app.rs:365:28 [INFO] [stdout] | [INFO] [stdout] 365 | fn failed_download_results(ui: &mut egui::Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/app.rs:365:28 [INFO] [stdout] | [INFO] [stdout] 365 | fn failed_download_results(ui: &mut egui::Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lp` [INFO] [stdout] --> src/network_monitor.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let lp = plot.show(ui, |plot_ui| [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_lp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lp` [INFO] [stdout] --> src/network_monitor.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let lp = plot.show(ui, |plot_ui| [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_lp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Downloading`, `FlushingLog`, and `Finished` are never constructed [INFO] [stdout] --> src/downloader.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 304 | pub enum AppStatus { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 305 | NotStarted, [INFO] [stdout] 306 | Downloading, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 307 | FlushingLog, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 308 | Finished, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ServerResponse` is never used [INFO] [stdout] --> src/downloader.rs:367:6 [INFO] [stdout] | [INFO] [stdout] 367 | enum ServerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_download_result` is never used [INFO] [stdout] --> src/downloader.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn set_download_result( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `download_state` is never read [INFO] [stdout] --> src/app.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DownloaderApp { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | download_state: AppStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `progress_bars` is never read [INFO] [stdout] --> src/app.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct AppUI { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 337 | progress_bars: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `failed_download_results` is never used [INFO] [stdout] --> src/app.rs:365:4 [INFO] [stdout] | [INFO] [stdout] 365 | fn failed_download_results(ui: &mut egui::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Downloading`, `FlushingLog`, and `Finished` are never constructed [INFO] [stdout] --> src/downloader.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 304 | pub enum AppStatus { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 305 | NotStarted, [INFO] [stdout] 306 | Downloading, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 307 | FlushingLog, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 308 | Finished, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ServerResponse` is never used [INFO] [stdout] --> src/downloader.rs:367:6 [INFO] [stdout] | [INFO] [stdout] 367 | enum ServerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_download_result` is never used [INFO] [stdout] --> src/downloader.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn set_download_result( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `download_state` is never read [INFO] [stdout] --> src/app.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DownloaderApp { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | download_state: AppStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `progress_bars` is never read [INFO] [stdout] --> src/app.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct AppUI { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 337 | progress_bars: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `failed_download_results` is never used [INFO] [stdout] --> src/app.rs:365:4 [INFO] [stdout] | [INFO] [stdout] 365 | fn failed_download_results(ui: &mut egui::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/app.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | download(dl.clone()); [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] 216 | let _ = download(dl.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/app.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | self.on_read_xlsx_button_clicked(); [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] 302 | let _ = self.on_read_xlsx_button_clicked(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/app.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | download(dl.clone()); [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] 216 | let _ = download(dl.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/app.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | self.on_read_xlsx_button_clicked(); [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] 302 | let _ = self.on_read_xlsx_button_clicked(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "073d7eb110ef450d0f8021cb8c2f38599fdebdc7058d8f4ff3670859825b9886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "073d7eb110ef450d0f8021cb8c2f38599fdebdc7058d8f4ff3670859825b9886", kill_on_drop: false }` [INFO] [stdout] 073d7eb110ef450d0f8021cb8c2f38599fdebdc7058d8f4ff3670859825b9886