[INFO] cloning repository https://github.com/andreselcientifico/red [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andreselcientifico/red" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreselcientifico%2Fred", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreselcientifico%2Fred'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fccb90bde725097132547eb29073e06251a1973b [INFO] linting andreselcientifico/red against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreselcientifico%2Fred" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/andreselcientifico/red [INFO] finished tweaking git repo https://github.com/andreselcientifico/red [INFO] tweaked toml for git repo https://github.com/andreselcientifico/red written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/andreselcientifico/red 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/andreselcientifico/red 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded warnings v0.2.1 [INFO] [stderr] Downloaded subsecond v0.7.3 [INFO] [stderr] Downloaded hashlink v0.11.0 [INFO] [stderr] Downloaded sledgehammer_utils v0.3.1 [INFO] [stderr] Downloaded dioxus-cli-config v0.7.3 [INFO] [stderr] Downloaded dioxus-core-types v0.7.3 [INFO] [stderr] Downloaded dioxus-stores-macro v0.7.3 [INFO] [stderr] Downloaded dioxus-devtools v0.7.3 [INFO] [stderr] Downloaded dioxus-devtools-types v0.7.3 [INFO] [stderr] Downloaded memfd v0.6.5 [INFO] [stderr] Downloaded libxdo v0.6.0 [INFO] [stderr] Downloaded cocoa-foundation v0.2.1 [INFO] [stderr] Downloaded libxdo-sys v0.11.0 [INFO] [stderr] Downloaded dioxus-config-macro v0.7.3 [INFO] [stderr] Downloaded cocoa v0.26.1 [INFO] [stderr] Downloaded cookie_store v0.22.0 [INFO] [stderr] Downloaded rfd v0.17.2 [INFO] [stderr] Downloaded async-tungstenite v0.31.0 [INFO] [stderr] Downloaded dioxus-core v0.7.3 [INFO] [stderr] Downloaded dioxus-fullstack v0.7.3 [INFO] [stderr] Downloaded rusqlite v0.38.0 [INFO] [stderr] Downloaded tungstenite v0.27.0 [INFO] [stderr] Downloaded dioxus-html v0.7.3 [INFO] [stderr] Downloaded dioxus-fullstack-core v0.7.3 [INFO] [stderr] Downloaded enumset v1.1.10 [INFO] [stderr] Downloaded dioxus-web v0.7.3 [INFO] [stderr] Downloaded dioxus-config-macros v0.7.3 [INFO] [stderr] Downloaded dioxus-logger v0.7.3 [INFO] [stderr] Downloaded dioxus-router v0.7.3 [INFO] [stderr] Downloaded dioxus-signals v0.7.3 [INFO] [stderr] Downloaded manganis-core v0.7.3 [INFO] [stderr] Downloaded dioxus v0.7.3 [INFO] [stderr] Downloaded charset v0.1.5 [INFO] [stderr] Downloaded libc v0.2.179 [INFO] [stderr] Downloaded webpki-roots v1.0.5 [INFO] [stderr] Downloaded content_disposition v0.4.0 [INFO] [stderr] Downloaded dioxus-rsx v0.7.3 [INFO] [stderr] Downloaded dioxus-interpreter-js v0.7.3 [INFO] [stderr] Downloaded dioxus-asset-resolver v0.7.3 [INFO] [stderr] Downloaded dioxus-fullstack-macro v0.7.3 [INFO] [stderr] Downloaded publicsuffix v2.3.0 [INFO] [stderr] Downloaded psl-types v2.0.11 [INFO] [stderr] Downloaded dioxus-router-macro v0.7.3 [INFO] [stderr] Downloaded dioxus-stores v0.7.3 [INFO] [stderr] Downloaded dioxus-desktop v0.7.3 [INFO] [stderr] Downloaded dioxus-core-macro v0.7.3 [INFO] [stderr] Downloaded enumset_derive v0.14.0 [INFO] [stderr] Downloaded sledgehammer_bindgen v0.6.0 [INFO] [stderr] Downloaded generational-box v0.7.3 [INFO] [stderr] Downloaded const-serialize v0.8.0-alpha.0 [INFO] [stderr] Downloaded manganis-macro v0.7.3 [INFO] [stderr] Downloaded dioxus-document v0.7.3 [INFO] [stderr] Downloaded dioxus-history v0.7.3 [INFO] [stderr] Downloaded dioxus-hooks v0.7.3 [INFO] [stderr] Downloaded sledgehammer_bindgen_macro v0.6.1 [INFO] [stderr] Downloaded lazy-js-bundle v0.7.3 [INFO] [stderr] Downloaded const-serialize-macro v0.7.2 [INFO] [stderr] Downloaded dioxus-html-internal-macro v0.7.3 [INFO] [stderr] Downloaded const-serialize v0.7.2 [INFO] [stderr] Downloaded const-serialize-macro v0.8.0-alpha.0 [INFO] [stderr] Downloaded subsecond-types v0.7.3 [INFO] [stderr] Downloaded manganis v0.7.3 [INFO] [stderr] Downloaded zmij v1.0.9 [INFO] [stderr] Downloaded warnings-macro v0.2.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 22d5f8e973d05542644993ce8a34a2823a68e04fc0ffb3fc212d31ae44572e76 [INFO] running `Command { std: "docker" "start" "-a" "22d5f8e973d05542644993ce8a34a2823a68e04fc0ffb3fc212d31ae44572e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22d5f8e973d05542644993ce8a34a2823a68e04fc0ffb3fc212d31ae44572e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22d5f8e973d05542644993ce8a34a2823a68e04fc0ffb3fc212d31ae44572e76", kill_on_drop: false }` [INFO] [stdout] 22d5f8e973d05542644993ce8a34a2823a68e04fc0ffb3fc212d31ae44572e76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2b85a191553afb6da3efe352d2766dca85806cdddc4c74e181a10b9edb7bba7b [INFO] running `Command { std: "docker" "start" "-a" "2b85a191553afb6da3efe352d2766dca85806cdddc4c74e181a10b9edb7bba7b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.108 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling bumpalo v3.19.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wasm-bindgen v0.2.108 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling slotmap v1.1.1 [INFO] [stderr] Checking dioxus-core-types v0.7.3 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Checking longest-increasing-subsequence v0.1.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling lazy-js-bundle v0.7.3 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling zmij v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling syn v2.0.112 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling gtk v0.18.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling libxdo-sys v0.11.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling dioxus-document v0.7.3 [INFO] [stderr] Compiling dioxus-interpreter-js v0.7.3 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking sledgehammer_utils v0.3.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling rfd v0.17.2 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Compiling wry v0.53.5 [INFO] [stderr] Compiling dioxus-desktop v0.7.3 [INFO] [stderr] Checking const_format v0.2.35 [INFO] [stderr] Compiling dioxus-web v0.7.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling libsqlite3-sys v0.36.0 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Compiling pulldown-cmark v0.13.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling dioxus-config-macro v0.7.3 [INFO] [stderr] Checking dioxus-config-macros v0.7.3 [INFO] [stderr] Checking jiff v0.2.18 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking x11 v2.21.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking infer v0.19.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking hashlink v0.11.0 [INFO] [stderr] Checking directories v6.0.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking libxdo v0.6.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.108 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling dioxus-rsx v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling warnings-macro v0.2.0 [INFO] [stderr] Compiling const-serialize-macro v0.7.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling dioxus-html-internal-macro v0.7.3 [INFO] [stderr] Compiling const-serialize-macro v0.8.0-alpha.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking generational-box v0.7.3 [INFO] [stderr] Compiling const-serialize v0.7.2 [INFO] [stderr] Compiling sledgehammer_bindgen_macro v0.6.1 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling dioxus-core-macro v0.7.3 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling dlopen2_derive v0.4.3 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling dioxus-stores-macro v0.7.3 [INFO] [stderr] Checking warnings v0.2.1 [INFO] [stderr] Compiling dioxus-router-macro v0.7.3 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking dlopen2 v0.8.2 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.108 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling enumset_derive v0.14.0 [INFO] [stderr] Checking subsecond-types v0.7.3 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking keyboard-types v0.7.0 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking const-serialize v0.8.0-alpha.0 [INFO] [stderr] Checking js-sys v0.3.85 [INFO] [stderr] Checking dioxus-cli-config v0.7.3 [INFO] [stderr] Checking sledgehammer_bindgen v0.6.0 [INFO] [stderr] Checking subsecond v0.7.3 [INFO] [stderr] Checking dioxus-logger v0.7.3 [INFO] [stderr] Checking manganis-core v0.7.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking global-hotkey v0.7.0 [INFO] [stderr] Checking enumset v1.1.10 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking dioxus-core v0.7.3 [INFO] [stderr] Checking webbrowser v1.0.6 [INFO] [stderr] Checking tungstenite v0.27.0 [INFO] [stderr] Compiling manganis-macro v0.7.3 [INFO] [stderr] Checking manganis v0.7.3 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Checking dioxus-signals v0.7.3 [INFO] [stderr] Checking dioxus-history v0.7.3 [INFO] [stderr] Checking dioxus-devtools-types v0.7.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling gtk3-macros v0.18.2 [INFO] [stderr] Checking dioxus-hooks v0.7.3 [INFO] [stderr] Checking dioxus-devtools v0.7.3 [INFO] [stderr] Checking dioxus-stores v0.7.3 [INFO] [stderr] Checking dioxus-html v0.7.3 [INFO] [stderr] Checking web-sys v0.3.85 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.58 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Compiling javascriptcore-rs-sys v1.1.1 [INFO] [stderr] Compiling soup3-sys v0.5.0 [INFO] [stderr] Compiling webkit2gtk-sys v2.0.1 [INFO] [stderr] Compiling gdkx11-sys v0.18.2 [INFO] [stderr] Checking rusqlite v0.38.0 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking gdkwayland-sys v0.18.2 [INFO] [stderr] Checking dioxus-router v0.7.3 [INFO] [stderr] Checking libappindicator-sys v0.9.0 [INFO] [stderr] Checking gio v0.18.4 [INFO] [stderr] Checking cairo-rs v0.18.5 [INFO] [stderr] Checking atk v0.18.2 [INFO] [stderr] Checking javascriptcore-rs v1.1.2 [INFO] [stderr] Checking dioxus-asset-resolver v0.7.3 [INFO] [stderr] Checking wasm-streams v0.4.2 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gdk-pixbuf v0.18.5 [INFO] [stderr] Checking pango v0.18.3 [INFO] [stderr] Checking soup3 v0.5.0 [INFO] [stderr] Checking gdk v0.18.2 [INFO] [stderr] Checking libappindicator v0.9.0 [INFO] [stderr] Checking muda v0.17.1 [INFO] [stderr] Checking webkit2gtk v2.0.1 [INFO] [stderr] Checking tao v0.34.5 [INFO] [stderr] Checking tray-icon v0.21.3 [INFO] [stderr] Checking dioxus v0.7.3 [INFO] [stderr] Checking red v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Comment` is never constructed [INFO] [stdout] --> src/models/models.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Comment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Like` is never constructed [INFO] [stdout] --> src/models/models.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Like { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TorrentInfo` is never constructed [INFO] [stdout] --> src/models/models.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct TorrentInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/database/database.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_user_texts(&self, user_id: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn toggle_like(&self, user_id: i64, text_id: i64) -> Result { // Returns true if liked, false if unliked [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn get_likes_count(&self, text_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn is_liked(&self, user_id: i64, text_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn add_comment(&self, text_id: i64, user_id: i64, content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn get_comments(&self, text_id: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn delete_text(&self, text_id: i64, user_id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/models/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod models; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] = note: `#[warn(clippy::module_inception)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/database/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod database; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/components/app.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | let mut texts = use_signal(|| Vec::::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Vec::::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: this let-binding has unit value [INFO] [stdout] --> src/components/app.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let _ = LocalStorage::delete("current_user"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] = note: `#[warn(clippy::let_unit_value)]` on by default [INFO] [stdout] help: omit the `let` binding [INFO] [stdout] | [INFO] [stdout] 37 - let _ = LocalStorage::delete("current_user"); [INFO] [stdout] 37 + LocalStorage::delete("current_user"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Comment` is never constructed [INFO] [stdout] --> src/models/models.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Comment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Like` is never constructed [INFO] [stdout] --> src/models/models.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Like { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TorrentInfo` is never constructed [INFO] [stdout] --> src/models/models.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct TorrentInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/database/database.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_user_texts(&self, user_id: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn toggle_like(&self, user_id: i64, text_id: i64) -> Result { // Returns true if liked, false if unliked [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn get_likes_count(&self, text_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn is_liked(&self, user_id: i64, text_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn add_comment(&self, text_id: i64, user_id: i64, content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn get_comments(&self, text_id: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn delete_text(&self, text_id: i64, user_id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/models/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod models; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] = note: `#[warn(clippy::module_inception)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Resource>` which implements the `Copy` trait [INFO] [stdout] --> src/components/app.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | ... db: db.clone(), [INFO] [stdout] | ^^^^^^^^^^ help: try removing the `clone` call: `db` [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] --> src/components/app.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | ... current_user: current_user.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_user` [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] --> src/components/app.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | ... texts: texts.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `texts` [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 `Resource>` which implements the `Copy` trait [INFO] [stdout] --> src/components/app.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | ... db: db.clone(), [INFO] [stdout] | ^^^^^^^^^^ help: try removing the `clone` call: `db` [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] --> src/components/app.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | ... current_user: current_user.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_user` [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] --> src/components/app.rs:103:36 [INFO] [stdout] | [INFO] [stdout] 103 | ... texts: texts.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `texts` [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 `Resource>` which implements the `Copy` trait [INFO] [stdout] --> src/components/app.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | ... db: db.clone(), [INFO] [stdout] | ^^^^^^^^^^ help: try removing the `clone` call: `db` [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] --> src/components/app.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | ... current_user: current_user.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_user` [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] --> src/components/app.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | ... texts: texts.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `texts` [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: module has the same name as its containing module [INFO] [stdout] --> src/database/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod database; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/components/text_card.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | let mut new_comment = 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] --> src/components/text_card.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | let mut comments = use_signal(|| Vec::::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Vec::::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] --> src/components/text_card.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | let mut download_status = 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] --> src/components/app.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | let mut texts = use_signal(|| Vec::::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Vec::::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: this let-binding has unit value [INFO] [stdout] --> src/components/app.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let _ = LocalStorage::delete("current_user"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] = note: `#[warn(clippy::let_unit_value)]` on by default [INFO] [stdout] help: omit the `let` binding [INFO] [stdout] | [INFO] [stdout] 37 - let _ = LocalStorage::delete("current_user"); [INFO] [stdout] 37 + LocalStorage::delete("current_user"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/components/text_card.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | / match tokio::task::spawn_blocking(move || database.toggle_like(u_id, t_id)).await { [INFO] [stdout] 70 | | Ok(Ok(now_liked)) => { [INFO] [stdout] 71 | | is_liked.set(now_liked); [INFO] [stdout] 72 | | likes_count.set(if now_liked { likes_count() + 1 } else { likes_count() - 1 }); [INFO] [stdout] ... | [INFO] [stdout] 78 | | _ => {} // Handle error [INFO] [stdout] 79 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: you might want to preserve the comments from inside the `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 69 ~ if let Ok(Ok(now_liked)) = tokio::task::spawn_blocking(move || database.toggle_like(u_id, t_id)).await { [INFO] [stdout] 70 + is_liked.set(now_liked); [INFO] [stdout] 71 + likes_count.set(if now_liked { likes_count() + 1 } else { likes_count() - 1 }); [INFO] [stdout] 72 + // Recargar texts para actualizar counts [INFO] [stdout] 73 + if let Ok(Ok(list)) = tokio::task::spawn_blocking(move || database_clone.get_texts()).await { [INFO] [stdout] 74 + texts.set(list); [INFO] [stdout] 75 + } [INFO] [stdout] 76 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/components/upload_page.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | let mut title = 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] --> src/components/upload_page.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | let mut content = 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] --> src/components/upload_page.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | let mut status = 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 `Resource>` which implements the `Copy` trait [INFO] [stdout] --> src/components/app.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | ... db: db.clone(), [INFO] [stdout] | ^^^^^^^^^^ help: try removing the `clone` call: `db` [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] --> src/components/app.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | ... current_user: current_user.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_user` [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] --> src/components/app.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | ... texts: texts.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `texts` [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] --> src/components/login_page.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | 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: redundant closure [INFO] [stdout] --> src/components/login_page.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: redundant closure [INFO] [stdout] --> src/components/login_page.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | let mut display_name = 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] --> src/components/login_page.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | let mut status = 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: useless use of `format!` [INFO] [stdout] --> src/components/login_page.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | Err(_e) => status.set(format!("❌ Error login: Usuario o contraseña incorrectos")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"❌ Error login: Usuario o contraseña incorrectos".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Resource>` which implements the `Copy` trait [INFO] [stdout] --> src/components/app.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | ... db: db.clone(), [INFO] [stdout] | ^^^^^^^^^^ help: try removing the `clone` call: `db` [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] --> src/components/app.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | ... current_user: current_user.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_user` [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] --> src/components/app.rs:103:36 [INFO] [stdout] | [INFO] [stdout] 103 | ... texts: texts.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `texts` [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 `Resource>` which implements the `Copy` trait [INFO] [stdout] --> src/components/app.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | ... db: db.clone(), [INFO] [stdout] | ^^^^^^^^^^ help: try removing the `clone` call: `db` [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] --> src/components/app.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | ... current_user: current_user.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_user` [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] --> src/components/app.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | ... texts: texts.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `texts` [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] --> src/components/text_card.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | let mut new_comment = 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] --> src/components/text_card.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | let mut comments = use_signal(|| Vec::::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Vec::::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] --> src/components/text_card.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | let mut download_status = 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: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/components/text_card.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | / match tokio::task::spawn_blocking(move || database.toggle_like(u_id, t_id)).await { [INFO] [stdout] 70 | | Ok(Ok(now_liked)) => { [INFO] [stdout] 71 | | is_liked.set(now_liked); [INFO] [stdout] 72 | | likes_count.set(if now_liked { likes_count() + 1 } else { likes_count() - 1 }); [INFO] [stdout] ... | [INFO] [stdout] 78 | | _ => {} // Handle error [INFO] [stdout] 79 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: you might want to preserve the comments from inside the `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 69 ~ if let Ok(Ok(now_liked)) = tokio::task::spawn_blocking(move || database.toggle_like(u_id, t_id)).await { [INFO] [stdout] 70 + is_liked.set(now_liked); [INFO] [stdout] 71 + likes_count.set(if now_liked { likes_count() + 1 } else { likes_count() - 1 }); [INFO] [stdout] 72 + // Recargar texts para actualizar counts [INFO] [stdout] 73 + if let Ok(Ok(list)) = tokio::task::spawn_blocking(move || database_clone.get_texts()).await { [INFO] [stdout] 74 + texts.set(list); [INFO] [stdout] 75 + } [INFO] [stdout] 76 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/components/upload_page.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | let mut title = 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] --> src/components/upload_page.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | let mut content = 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] --> src/components/upload_page.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | let mut status = 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] --> src/components/login_page.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | 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: redundant closure [INFO] [stdout] --> src/components/login_page.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: redundant closure [INFO] [stdout] --> src/components/login_page.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | let mut display_name = 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] --> src/components/login_page.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | let mut status = 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: useless use of `format!` [INFO] [stdout] --> src/components/login_page.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | Err(_e) => status.set(format!("❌ Error login: Usuario o contraseña incorrectos")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"❌ Error login: Usuario o contraseña incorrectos".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 12s [INFO] running `Command { std: "docker" "inspect" "2b85a191553afb6da3efe352d2766dca85806cdddc4c74e181a10b9edb7bba7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b85a191553afb6da3efe352d2766dca85806cdddc4c74e181a10b9edb7bba7b", kill_on_drop: false }` [INFO] [stdout] 2b85a191553afb6da3efe352d2766dca85806cdddc4c74e181a10b9edb7bba7b