[INFO] cloning repository https://github.com/rodtheo/deploy_leptos_csr_file_hasher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rodtheo/deploy_leptos_csr_file_hasher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodtheo%2Fdeploy_leptos_csr_file_hasher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodtheo%2Fdeploy_leptos_csr_file_hasher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a537d768e9f6edbdc68890fe40bd1e55d101085f [INFO] checking rodtheo/deploy_leptos_csr_file_hasher against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodtheo%2Fdeploy_leptos_csr_file_hasher" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rodtheo/deploy_leptos_csr_file_hasher on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/rodtheo/deploy_leptos_csr_file_hasher [INFO] finished tweaking git repo https://github.com/rodtheo/deploy_leptos_csr_file_hasher [INFO] tweaked toml for git repo https://github.com/rodtheo/deploy_leptos_csr_file_hasher written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rodtheo/deploy_leptos_csr_file_hasher 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded server_fn_macro v0.5.7 [INFO] [stderr] Downloaded server_fn_macro_default v0.5.7 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.40 [INFO] [stderr] Downloaded leptos_router v0.5.7 [INFO] [stderr] Downloaded leptos_config v0.5.7 [INFO] [stderr] Downloaded leptos_hot_reload v0.5.7 [INFO] [stderr] Downloaded leptos_server v0.5.7 [INFO] [stderr] Downloaded server_fn v0.5.7 [INFO] [stderr] Downloaded leptos_dom v0.5.7 [INFO] [stderr] Downloaded default-struct-builder v0.5.0 [INFO] [stderr] Downloaded leptos-use v0.9.0 [INFO] [stderr] Downloaded leptos_macro v0.5.7 [INFO] [stderr] Downloaded leptos_reactive v0.5.7 [INFO] [stderr] Downloaded leptos v0.5.7 [INFO] [stderr] Downloaded wasm-bindgen-file-reader v1.0.0 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04bd6f266155b4b261b488ea452f055735a82304a82187727d7cfbdd318ae490 [INFO] running `Command { std: "docker" "start" "-a" "04bd6f266155b4b261b488ea452f055735a82304a82187727d7cfbdd318ae490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04bd6f266155b4b261b488ea452f055735a82304a82187727d7cfbdd318ae490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04bd6f266155b4b261b488ea452f055735a82304a82187727d7cfbdd318ae490", kill_on_drop: false }` [INFO] [stdout] 04bd6f266155b4b261b488ea452f055735a82304a82187727d7cfbdd318ae490 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de92fc7f31d8edf550d158c16f9f12d2537cdae3f9caca37d864019b883aaf6a [INFO] running `Command { std: "docker" "start" "-a" "de92fc7f31d8edf550d158c16f9f12d2537cdae3f9caca37d864019b883aaf6a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling wasm-bindgen v0.2.90 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Checking value-bag v1.7.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling xxhash-rust v0.8.8 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling yansi v1.0.0-rc.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking self_cell v1.0.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling manyhow-macros v0.8.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking drain_filter_polyfill v0.1.3 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking pad-adapter v0.1.1 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.90 [INFO] [stderr] Compiling manyhow v0.8.1 [INFO] [stderr] Compiling darling_core v0.20.5 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling typed-builder-macro v0.18.1 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.40 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.90 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.90 [INFO] [stderr] Compiling darling_macro v0.20.5 [INFO] [stderr] Compiling rstml v0.11.2 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking typed-builder v0.18.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking polling v3.3.2 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking async-io v2.3.1 [INFO] [stderr] Compiling darling v0.20.5 [INFO] [stderr] Compiling quote-use-macros v0.7.2 [INFO] [stderr] Compiling default-struct-builder v0.5.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking js-sys v0.3.67 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling quote-use v0.7.2 [INFO] [stderr] Compiling attribute-derive-macro v0.8.1 [INFO] [stderr] Compiling attribute-derive v0.8.1 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking serde_qs v0.12.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking web-sys v0.3.67 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.40 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Checking wasm-bindgen-test v0.3.40 [INFO] [stderr] Compiling server_fn_macro v0.5.7 [INFO] [stderr] Compiling leptos_hot_reload v0.5.7 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Compiling server_fn_macro_default v0.5.7 [INFO] [stderr] Checking leptos_config v0.5.7 [INFO] [stderr] Compiling leptos_macro v0.5.7 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking server_fn v0.5.7 [INFO] [stderr] Checking leptos_reactive v0.5.7 [INFO] [stderr] Checking gloo-utils v0.1.7 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking console_log v1.0.0 [INFO] [stderr] Checking wasm-bindgen-file-reader v1.0.0 [INFO] [stderr] Checking gloo-net v0.5.0 [INFO] [stderr] Checking gloo-net v0.2.6 [INFO] [stderr] Checking leptos_dom v0.5.7 [INFO] [stderr] Checking leptos_server v0.5.7 [INFO] [stderr] Checking leptos v0.5.7 [INFO] [stderr] Checking leptos_router v0.5.7 [INFO] [stderr] Checking leptos-use v0.9.0 [INFO] [stderr] Checking use_drop_zone_read_buffer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::html::{Div, Input}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_router::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use leptos_router::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen_futures::JsFuture` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::task` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use async_std::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:109:64 [INFO] [stdout] | [INFO] [stdout] 109 | ... let n_reading_rounds = ((file_size / (BUFFER_SIZE as f64)).ceil() as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 109 - let n_reading_rounds = ((file_size / (BUFFER_SIZE as f64)).ceil() as usize); [INFO] [stdout] 109 + let n_reading_rounds = (file_size / (BUFFER_SIZE as f64)).ceil() as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::html::{Div, Input}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_router::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use leptos_router::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen_futures::JsFuture` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::task` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use async_std::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:109:64 [INFO] [stdout] | [INFO] [stdout] 109 | ... let n_reading_rounds = ((file_size / (BUFFER_SIZE as f64)).ceil() as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 109 - let n_reading_rounds = ((file_size / (BUFFER_SIZE as f64)).ceil() as usize); [INFO] [stdout] 109 + let n_reading_rounds = (file_size / (BUFFER_SIZE as f64)).ceil() as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | ... let mut hasher = RefCell::new(Sha256::new()); // Create a new SHA-2 hasher [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let result = wasm_bindgen_futures::JsFuture::from(promise).await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::prelude` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use async_std::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | ... let mut hasher = RefCell::new(Sha256::new()); // Create a new SHA-2 hasher [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let result = wasm_bindgen_futures::JsFuture::from(promise).await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::prelude` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use async_std::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.72s [INFO] running `Command { std: "docker" "inspect" "de92fc7f31d8edf550d158c16f9f12d2537cdae3f9caca37d864019b883aaf6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de92fc7f31d8edf550d158c16f9f12d2537cdae3f9caca37d864019b883aaf6a", kill_on_drop: false }` [INFO] [stdout] de92fc7f31d8edf550d158c16f9f12d2537cdae3f9caca37d864019b883aaf6a [INFO] checking rodtheo/deploy_leptos_csr_file_hasher against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodtheo%2Fdeploy_leptos_csr_file_hasher" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rodtheo/deploy_leptos_csr_file_hasher on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/rodtheo/deploy_leptos_csr_file_hasher [INFO] finished tweaking git repo https://github.com/rodtheo/deploy_leptos_csr_file_hasher [INFO] tweaked toml for git repo https://github.com/rodtheo/deploy_leptos_csr_file_hasher written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rodtheo/deploy_leptos_csr_file_hasher 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 456986d6f0cc50ffb1eb28471e7e0f56b709ad8709be2dc09203f8a0edef6a78 [INFO] running `Command { std: "docker" "start" "-a" "456986d6f0cc50ffb1eb28471e7e0f56b709ad8709be2dc09203f8a0edef6a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "456986d6f0cc50ffb1eb28471e7e0f56b709ad8709be2dc09203f8a0edef6a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "456986d6f0cc50ffb1eb28471e7e0f56b709ad8709be2dc09203f8a0edef6a78", kill_on_drop: false }` [INFO] [stdout] 456986d6f0cc50ffb1eb28471e7e0f56b709ad8709be2dc09203f8a0edef6a78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ce3ef5ba0bf9d9674e019e02a800247ecc8b5dbbcb974543c226a66015c2fe3 [INFO] running `Command { std: "docker" "start" "-a" "1ce3ef5ba0bf9d9674e019e02a800247ecc8b5dbbcb974543c226a66015c2fe3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling wasm-bindgen v0.2.90 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking value-bag v1.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling xxhash-rust v0.8.8 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling yansi v1.0.0-rc.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Checking syn v2.0.48 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking self_cell v1.0.3 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling manyhow-macros v0.8.1 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking pad-adapter v0.1.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking drain_filter_polyfill v0.1.3 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.90 [INFO] [stderr] Compiling manyhow v0.8.1 [INFO] [stderr] Compiling darling_core v0.20.5 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling typed-builder-macro v0.18.1 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.40 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.90 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.90 [INFO] [stderr] Compiling darling_macro v0.20.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking typed-builder v0.18.1 [INFO] [stderr] Compiling quote-use-macros v0.7.2 [INFO] [stderr] Compiling rstml v0.11.2 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking polling v3.3.2 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Compiling darling v0.20.5 [INFO] [stderr] Compiling quote-use v0.7.2 [INFO] [stderr] Compiling default-struct-builder v0.5.0 [INFO] [stderr] Compiling attribute-derive-macro v0.8.1 [INFO] [stderr] Checking async-io v2.3.1 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking js-sys v0.3.67 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Compiling attribute-derive v0.8.1 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_qs v0.12.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Compiling server_fn_macro v0.5.7 [INFO] [stderr] Compiling leptos_hot_reload v0.5.7 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Checking web-sys v0.3.67 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.40 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking wasm-bindgen-test v0.3.40 [INFO] [stderr] Compiling server_fn_macro_default v0.5.7 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Compiling leptos_macro v0.5.7 [INFO] [stderr] Checking leptos_config v0.5.7 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking server_fn v0.5.7 [INFO] [stderr] Checking leptos_reactive v0.5.7 [INFO] [stderr] Checking gloo-utils v0.1.7 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking console_log v1.0.0 [INFO] [stderr] Checking wasm-bindgen-file-reader v1.0.0 [INFO] [stderr] Checking gloo-net v0.5.0 [INFO] [stderr] Checking gloo-net v0.2.6 [INFO] [stderr] Checking leptos_server v0.5.7 [INFO] [stderr] Checking leptos_dom v0.5.7 [INFO] [stderr] Checking leptos v0.5.7 [INFO] [stderr] Checking leptos_router v0.5.7 [INFO] [stderr] Checking leptos-use v0.9.0 [INFO] [stderr] Checking use_drop_zone_read_buffer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::html::{Div, Input}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_router::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use leptos_router::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen_futures::JsFuture` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::task` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use async_std::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:109:64 [INFO] [stdout] | [INFO] [stdout] 109 | ... let n_reading_rounds = ((file_size / (BUFFER_SIZE as f64)).ceil() as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 109 - let n_reading_rounds = ((file_size / (BUFFER_SIZE as f64)).ceil() as usize); [INFO] [stdout] 109 + let n_reading_rounds = (file_size / (BUFFER_SIZE as f64)).ceil() as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::html::{Div, Input}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_router::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use leptos_router::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen_futures::JsFuture` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::task` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use async_std::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:109:64 [INFO] [stdout] | [INFO] [stdout] 109 | ... let n_reading_rounds = ((file_size / (BUFFER_SIZE as f64)).ceil() as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 109 - let n_reading_rounds = ((file_size / (BUFFER_SIZE as f64)).ceil() as usize); [INFO] [stdout] 109 + let n_reading_rounds = (file_size / (BUFFER_SIZE as f64)).ceil() as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | ... let mut hasher = RefCell::new(Sha256::new()); // Create a new SHA-2 hasher [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let result = wasm_bindgen_futures::JsFuture::from(promise).await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::prelude` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use async_std::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | ... let mut hasher = RefCell::new(Sha256::new()); // Create a new SHA-2 hasher [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let result = wasm_bindgen_futures::JsFuture::from(promise).await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::prelude` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use async_std::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "1ce3ef5ba0bf9d9674e019e02a800247ecc8b5dbbcb974543c226a66015c2fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ce3ef5ba0bf9d9674e019e02a800247ecc8b5dbbcb974543c226a66015c2fe3", kill_on_drop: false }` [INFO] [stdout] 1ce3ef5ba0bf9d9674e019e02a800247ecc8b5dbbcb974543c226a66015c2fe3