[INFO] cloning repository https://github.com/wolf88844/teacher-pod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wolf88844/teacher-pod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwolf88844%2Fteacher-pod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwolf88844%2Fteacher-pod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16e8f7c2d9b363fbcecedf4d93a02ef2f123bd85 [INFO] linting wolf88844/teacher-pod against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwolf88844%2Fteacher-pod" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wolf88844/teacher-pod [INFO] finished tweaking git repo https://github.com/wolf88844/teacher-pod [INFO] tweaked toml for git repo https://github.com/wolf88844/teacher-pod written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wolf88844/teacher-pod on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wolf88844/teacher-pod 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v2.7.0 [INFO] [stderr] Downloaded manganis v0.6.1 [INFO] [stderr] Downloaded manganis-core v0.6.1 [INFO] [stderr] Downloaded wasm-logger v0.1.5 [INFO] [stderr] Downloaded dioxus-core-types v0.6.1 [INFO] [stderr] Downloaded dioxus v0.6.1 [INFO] [stderr] Downloaded manganis-macro v0.6.1 [INFO] [stderr] Downloaded dioxus-cli-config v0.6.1 [INFO] [stderr] Downloaded dioxus-toast v0.5.0 [INFO] [stderr] Downloaded windows-version v0.1.2 [INFO] [stderr] Downloaded const-serialize-macro v0.6.1 [INFO] [stderr] Downloaded dioxus-history v0.6.1 [INFO] [stderr] Downloaded const-serialize v0.6.1 [INFO] [stderr] Downloaded salvo-jwt-auth v0.76.0 [INFO] [stderr] Downloaded salvo_macros v0.76.0 [INFO] [stderr] Downloaded salvo-serde-util v0.76.0 [INFO] [stderr] Downloaded salvo-proxy v0.76.0 [INFO] [stderr] Downloaded dioxus-document v0.6.1 [INFO] [stderr] Downloaded mime-infer v3.0.0 [INFO] [stderr] Downloaded salvo-cors v0.76.0 [INFO] [stderr] Downloaded salvo v0.76.0 [INFO] [stderr] Downloaded dioxus-rsx v0.6.1 [INFO] [stderr] Downloaded dioxus-html v0.6.1 [INFO] [stderr] Downloaded dioxus-router-macro v0.6.1 [INFO] [stderr] Downloaded tray-icon v0.19.2 [INFO] [stderr] Downloaded dioxus-signals v0.6.1 [INFO] [stderr] Downloaded podcast-api v1.1.6 [INFO] [stderr] Downloaded salvo_core v0.76.0 [INFO] [stderr] Downloaded dioxus-core v0.6.1 [INFO] [stderr] Downloaded fern v0.7.1 [INFO] [stderr] Downloaded rustls v0.23.21 [INFO] [stderr] Downloaded generational-box v0.6.1 [INFO] [stderr] Downloaded dioxus-web v0.6.1 [INFO] [stderr] Downloaded dioxus-router v0.6.1 [INFO] [stderr] Downloaded dioxus-core-macro v0.6.1 [INFO] [stderr] Downloaded dioxus-interpreter-js v0.6.1 [INFO] [stderr] Downloaded dioxus_server_macro v0.6.1 [INFO] [stderr] Downloaded dioxus-fullstack v0.6.1 [INFO] [stderr] Downloaded dioxus-desktop v0.6.1 [INFO] [stderr] Downloaded dioxus-logger v0.6.1 [INFO] [stderr] Downloaded dioxus-mobile v0.6.1 [INFO] [stderr] Downloaded dioxus-lib v0.6.1 [INFO] [stderr] Downloaded dioxus-devtools v0.6.1 [INFO] [stderr] Downloaded dioxus-hooks v0.6.1 [INFO] [stderr] Downloaded dioxus-config-macro v0.6.1 [INFO] [stderr] Downloaded dioxus-devtools-types v0.6.1 [INFO] [stderr] Downloaded dioxus-html-internal-macro v0.6.1 [INFO] [stderr] Downloaded lazy-js-bundle v0.6.1 [INFO] [stderr] Downloaded tao v0.30.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2157e3117c8b6f08d8e8031b5f9f45ebf24e83e399e0e9b9596cd508459bc77e [INFO] running `Command { std: "docker" "start" "-a" "2157e3117c8b6f08d8e8031b5f9f45ebf24e83e399e0e9b9596cd508459bc77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2157e3117c8b6f08d8e8031b5f9f45ebf24e83e399e0e9b9596cd508459bc77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2157e3117c8b6f08d8e8031b5f9f45ebf24e83e399e0e9b9596cd508459bc77e", kill_on_drop: false }` [INFO] [stdout] 2157e3117c8b6f08d8e8031b5f9f45ebf24e83e399e0e9b9596cd508459bc77e [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71f7250f94d41980e4ca447d1b56f8f09bdb5e7a56d19a6ccd109f60320c09ac [INFO] running `Command { std: "docker" "start" "-a" "71f7250f94d41980e4ca447d1b56f8f09bdb5e7a56d19a6ccd109f60320c09ac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Checking bitflags v2.7.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking dioxus-core-types v0.6.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Checking longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling lazy-js-bundle v0.6.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking unicode-ident v1.0.14 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling dioxus-rsx v0.6.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking wasm-bindgen v0.2.100 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking pin-project v1.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling warnings-macro v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Checking warnings v0.2.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling enumset_derive v0.10.0 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking generational-box v0.6.1 [INFO] [stderr] Checking dioxus-core v0.6.1 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling const-serialize-macro v0.6.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking dioxus-signals v0.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Checking dioxus-hooks v0.6.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking enumset v1.1.5 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking dioxus-cli-config v0.6.1 [INFO] [stderr] Compiling dioxus-core-macro v0.6.1 [INFO] [stderr] Compiling dioxus-html-internal-macro v0.6.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling dioxus-document v0.6.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking keyboard-types v0.7.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Checking dioxus-html v0.6.1 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking dioxus-history v0.6.1 [INFO] [stderr] Compiling const-serialize v0.6.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Compiling sledgehammer_bindgen_macro v0.6.0 [INFO] [stderr] Compiling dioxus-interpreter-js v0.6.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking data-encoding v2.7.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling mime-infer v3.0.0 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Checking sledgehammer_bindgen v0.6.0 [INFO] [stderr] Compiling manganis-core v0.6.1 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking dioxus-devtools-types v0.6.1 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling dioxus-web v0.6.1 [INFO] [stderr] Checking sledgehammer_utils v0.3.1 [INFO] [stderr] Compiling dioxus-config-macro v0.6.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Checking hyper v1.5.2 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking dioxus-lib v0.6.1 [INFO] [stderr] Checking dioxus-devtools v0.6.1 [INFO] [stderr] Compiling manganis-macro v0.6.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling dioxus-router-macro v0.6.1 [INFO] [stderr] Compiling salvo-serde-util v0.76.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking xml-rs v0.8.25 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Compiling salvo_macros v0.76.0 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking dioxus-router v0.6.1 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking manganis v0.6.1 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking dioxus-logger v0.6.1 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking multimap v0.10.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking dioxus v0.6.1 [INFO] [stderr] Checking models v0.1.0 (/opt/rustwide/workdir/models) [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking gloo-history v0.2.2 [INFO] [stderr] Checking salvo_core v0.76.0 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stderr] Checking gloo-net v0.5.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking dioxus-toast v0.5.0 [INFO] [stderr] Checking dioxus-free-icons v0.9.0 [INFO] [stderr] Checking wasm-logger v0.1.5 [INFO] [stderr] Checking fern v0.7.1 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking gloo-worker v0.5.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking gloo v0.11.0 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking salvo-cors v0.76.0 [INFO] [stderr] Checking salvo v0.76.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking podcast-api v1.1.6 [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: this if-then-else expression returns a bool literal [INFO] [stdout] --> server/src/models/account.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | if r.is_err() { false } else { true } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can reduce it to: `!r.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool [INFO] [stdout] = note: `#[warn(clippy::needless_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this if-then-else expression returns a bool literal [INFO] [stdout] --> server/src/models/account.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | if r.is_err() { false } else { true } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can reduce it to: `!r.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool [INFO] [stdout] = note: `#[warn(clippy::needless_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused import: `navbar::NavBar` [INFO] [stdout] --> client/src/main.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use components::{modal::PlayBoxInfo, navbar::NavBar}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `navbar::NavBar` [INFO] [stdout] --> client/src/main.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use components::{modal::PlayBoxInfo, navbar::NavBar}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this looks like you are trying to use `.. != ..`, but you really are doing `.. = (! ..)` [INFO] [stdout] --> client/src/components/navbar.rs:118:51 [INFO] [stdout] | [INFO] [stdout] 118 | ... *DARK_MODE.write()=!is_dark(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: to remove this lint, use either `!=` or `= !` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_assignment_formatting [INFO] [stdout] = note: `#[warn(clippy::suspicious_assignment_formatting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this looks like you are trying to use `.. != ..`, but you really are doing `.. = (! ..)` [INFO] [stdout] --> client/src/components/navbar.rs:118:51 [INFO] [stdout] | [INFO] [stdout] 118 | ... *DARK_MODE.write()=!is_dark(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: to remove this lint, use either `!=` or `= !` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_assignment_formatting [INFO] [stdout] = note: `#[warn(clippy::suspicious_assignment_formatting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DARK_MODE` is never used [INFO] [stdout] --> client/src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static DARK_MODE: GlobalSignal = Global::new(|| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `PlayBox` is never used [INFO] [stdout] --> client/src/components/modal.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn PlayBox() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_dark` is never used [INFO] [stdout] --> client/src/mode.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn is_dark() -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mode` is never used [INFO] [stdout] --> client/src/mode.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn mode(dark: bool) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> client/src/components/form.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | / if path == "/search" { [INFO] [stdout] 11 | | if !query.is_empty() { [INFO] [stdout] 12 | | return query; [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 10 ~ if path == "/search" [INFO] [stdout] 11 ~ && !query.is_empty() { [INFO] [stdout] 12 | return query; [INFO] [stdout] 13 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> client/src/components/form.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | Route::SearchResultList{ query: text.read().clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `text.read().clone();` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] = note: `#[warn(clippy::unnecessary_operation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: importing legacy numeric constants [INFO] [stdout] --> client/src/components/modal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove this import [INFO] [stdout] = note: then `usize::` will resolve to the respective associated constant [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> client/src/data/account.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | if !resp.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `resp.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `res` after checking its variant with `is_err` [INFO] [stdout] --> client/src/data/request.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 26 | if res.is_err() { [INFO] [stdout] | --------------- help: try: `if let Ok() = res` [INFO] [stdout] ... [INFO] [stdout] 29 | let res = res.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `storage` after checking its variant with `is_ok` [INFO] [stdout] --> client/src/hooks/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 6 | if storage.is_ok() { [INFO] [stdout] | ------------------ help: try: `if let Ok() = storage` [INFO] [stdout] 7 | let temp = storage.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `temp` after checking its variant with `is_some` [INFO] [stdout] --> client/src/hooks/mod.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 8 | if temp.is_some() { [INFO] [stdout] | ----------------- help: try: `if let Some() = temp` [INFO] [stdout] 9 | return Ok(temp.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> client/src/hooks/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | return Err(anyhow::anyhow!("LocalStorage not found")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 12 - return Err(anyhow::anyhow!("LocalStorage not found")); [INFO] [stdout] 12 + Err(anyhow::anyhow!("LocalStorage not found")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `current_mode` after checking its variant with `is_none` [INFO] [stdout] --> client/src/mode.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | if current_mode.is_none() { [INFO] [stdout] | ------------------------- help: try: `if let Some() = current_mode` [INFO] [stdout] ... [INFO] [stdout] 14 | current_mode.unwrap().to_lowercase() == "dark" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> client/src/mode.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | return false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 12 - return false; [INFO] [stdout] 12 + false [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> client/src/pages/login.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | let mut email = use_signal(|| String::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `String::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> client/src/pages/login.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | let mut password = use_signal(|| String::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `String::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/login.rs:50:45 [INFO] [stdout] | [INFO] [stdout] 50 | ... let email = email.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `email` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/login.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 51 | ... let password = password.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `password` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/login.rs:52:49 [INFO] [stdout] | [INFO] [stdout] 52 | ... let mut toast = toast.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `toast` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> client/src/pages/login.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | let mut email = use_signal(|| String::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `String::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> client/src/pages/login.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | let mut password = use_signal(|| String::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `String::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> client/src/pages/login.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 107 | let mut username = use_signal(|| String::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `String::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/login.rs:153:45 [INFO] [stdout] | [INFO] [stdout] 153 | ... let email = email.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `email` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/login.rs:154:48 [INFO] [stdout] | [INFO] [stdout] 154 | ... let password = password.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `password` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/login.rs:155:48 [INFO] [stdout] | [INFO] [stdout] 155 | ... let username = username.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `username` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/login.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | ... let mut toast = toast.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `toast` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/user.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | let mut current_user_page = current_user_page.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_user_page` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> client/src/main.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | static TOAST: GlobalSignal = Global::new(|| ToastManager::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `ToastManager::default` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DARK_MODE` is never used [INFO] [stdout] --> client/src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static DARK_MODE: GlobalSignal = Global::new(|| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `PlayBox` is never used [INFO] [stdout] --> client/src/components/modal.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn PlayBox() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_dark` is never used [INFO] [stdout] --> client/src/mode.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn is_dark() -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mode` is never used [INFO] [stdout] --> client/src/mode.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn mode(dark: bool) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> client/src/components/form.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | / if path == "/search" { [INFO] [stdout] 11 | | if !query.is_empty() { [INFO] [stdout] 12 | | return query; [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 10 ~ if path == "/search" [INFO] [stdout] 11 ~ && !query.is_empty() { [INFO] [stdout] 12 | return query; [INFO] [stdout] 13 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> client/src/components/form.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | Route::SearchResultList{ query: text.read().clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `text.read().clone();` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] = note: `#[warn(clippy::unnecessary_operation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: importing legacy numeric constants [INFO] [stdout] --> client/src/components/modal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove this import [INFO] [stdout] = note: then `usize::` will resolve to the respective associated constant [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> client/src/data/account.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | if !resp.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `resp.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `res` after checking its variant with `is_err` [INFO] [stdout] --> client/src/data/request.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 26 | if res.is_err() { [INFO] [stdout] | --------------- help: try: `if let Ok() = res` [INFO] [stdout] ... [INFO] [stdout] 29 | let res = res.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `storage` after checking its variant with `is_ok` [INFO] [stdout] --> client/src/hooks/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 6 | if storage.is_ok() { [INFO] [stdout] | ------------------ help: try: `if let Ok() = storage` [INFO] [stdout] 7 | let temp = storage.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `temp` after checking its variant with `is_some` [INFO] [stdout] --> client/src/hooks/mod.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 8 | if temp.is_some() { [INFO] [stdout] | ----------------- help: try: `if let Some() = temp` [INFO] [stdout] 9 | return Ok(temp.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> client/src/hooks/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | return Err(anyhow::anyhow!("LocalStorage not found")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 12 - return Err(anyhow::anyhow!("LocalStorage not found")); [INFO] [stdout] 12 + Err(anyhow::anyhow!("LocalStorage not found")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `current_mode` after checking its variant with `is_none` [INFO] [stdout] --> client/src/mode.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | if current_mode.is_none() { [INFO] [stdout] | ------------------------- help: try: `if let Some() = current_mode` [INFO] [stdout] ... [INFO] [stdout] 14 | current_mode.unwrap().to_lowercase() == "dark" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> client/src/mode.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | return false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 12 - return false; [INFO] [stdout] 12 + false [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> client/src/pages/login.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | let mut email = use_signal(|| String::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `String::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> client/src/pages/login.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | let mut password = use_signal(|| String::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `String::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/login.rs:50:45 [INFO] [stdout] | [INFO] [stdout] 50 | ... let email = email.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `email` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/login.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 51 | ... let password = password.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `password` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/login.rs:52:49 [INFO] [stdout] | [INFO] [stdout] 52 | ... let mut toast = toast.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `toast` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> client/src/pages/login.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | let mut email = use_signal(|| String::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `String::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> client/src/pages/login.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | let mut password = use_signal(|| String::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `String::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> client/src/pages/login.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 107 | let mut username = use_signal(|| String::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `String::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/login.rs:153:45 [INFO] [stdout] | [INFO] [stdout] 153 | ... let email = email.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `email` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/login.rs:154:48 [INFO] [stdout] | [INFO] [stdout] 154 | ... let password = password.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `password` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/login.rs:155:48 [INFO] [stdout] | [INFO] [stdout] 155 | ... let username = username.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `username` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/login.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | ... let mut toast = toast.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `toast` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Signal` which implements the `Copy` trait [INFO] [stdout] --> client/src/pages/user.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | let mut current_user_page = current_user_page.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_user_page` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> client/src/main.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | static TOAST: GlobalSignal = Global::new(|| ToastManager::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `ToastManager::default` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 20s [INFO] running `Command { std: "docker" "inspect" "71f7250f94d41980e4ca447d1b56f8f09bdb5e7a56d19a6ccd109f60320c09ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f7250f94d41980e4ca447d1b56f8f09bdb5e7a56d19a6ccd109f60320c09ac", kill_on_drop: false }` [INFO] [stdout] 71f7250f94d41980e4ca447d1b56f8f09bdb5e7a56d19a6ccd109f60320c09ac