[INFO] cloning repository https://github.com/hey-adora/artcord [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hey-adora/artcord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhey-adora%2Fartcord", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhey-adora%2Fartcord'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4a099fca3345fa1f10bce40c808c1aacf2791f0 [INFO] checking hey-adora/artcord/e4a099fca3345fa1f10bce40c808c1aacf2791f0 against master#2c0f4860cc86e2354a55ea04e738848168435c90 for pr-149145 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhey-adora%2Fartcord" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/hey-adora/artcord [INFO] finished tweaking git repo https://github.com/hey-adora/artcord [INFO] tweaked toml for git repo https://github.com/hey-adora/artcord written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hey-adora/artcord on toolchain 2c0f4860cc86e2354a55ea04e738848168435c90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hey-adora/artcord 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" "+2c0f4860cc86e2354a55ea04e738848168435c90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nonempty v0.7.0 [INFO] [stderr] Downloaded munge_macro v0.4.6 [INFO] [stderr] Downloaded gloo-events v0.2.0 [INFO] [stderr] Downloaded ptr_meta v0.3.0 [INFO] [stderr] Downloaded test-log v0.2.18 [INFO] [stderr] Downloaded forwarded-header-value v0.1.1 [INFO] [stderr] Downloaded test-log-macros v0.2.18 [INFO] [stderr] Downloaded leptos_config v0.8.5 [INFO] [stderr] Downloaded leptos_integration_utils v0.8.5 [INFO] [stderr] Downloaded quanta v0.12.6 [INFO] [stderr] Downloaded reserve-port v2.3.0 [INFO] [stderr] Downloaded bytesize v2.0.1 [INFO] [stderr] Downloaded colored v3.0.0 [INFO] [stderr] Downloaded auto-future v1.0.0 [INFO] [stderr] Downloaded gloo-dialogs v0.2.0 [INFO] [stderr] Downloaded biscotti v0.4.3 [INFO] [stderr] Downloaded axum-test v17.3.0 [INFO] [stderr] Downloaded ammonia v4.1.1 [INFO] [stderr] Downloaded sysinfo v0.33.1 [INFO] [stderr] Downloaded gloo-history v0.2.2 [INFO] [stderr] Downloaded gloo-render v0.2.0 [INFO] [stderr] Downloaded gxhash v3.5.0 [INFO] [stderr] Downloaded config v0.15.14 [INFO] [stderr] Downloaded attribute-derive v0.10.3 [INFO] [stderr] Downloaded surrealdb-core v2.3.7 [INFO] [stderr] Downloaded gloo-file v0.3.0 [INFO] [stderr] Downloaded any_ascii v0.3.3 [INFO] [stderr] Downloaded reactive_stores v0.2.5 [INFO] [stderr] Downloaded deunicode v1.6.2 [INFO] [stderr] Downloaded webp v0.3.0 [INFO] [stderr] Downloaded ptr_meta_derive v0.3.0 [INFO] [stderr] Downloaded ws_stream_wasm v0.7.5 [INFO] [stderr] Downloaded leptos_macro v0.8.6 [INFO] [stderr] Downloaded codee v0.3.2 [INFO] [stderr] Downloaded rkyv v0.8.11 [INFO] [stderr] Downloaded wasm_split_helpers v0.1.2 [INFO] [stderr] Downloaded leptos_router_macro v0.8.5 [INFO] [stderr] Downloaded reactive_stores_macro v0.2.5 [INFO] [stderr] Downloaded maybe-async v0.2.10 [INFO] [stderr] Downloaded rancor v0.1.0 [INFO] [stderr] Downloaded double-ended-peekable v0.1.0 [INFO] [stderr] Downloaded leptos_dom v0.8.5 [INFO] [stderr] Downloaded little_exif v0.6.14 [INFO] [stderr] Downloaded gloo v0.11.0 [INFO] [stderr] Downloaded imageproc v0.25.0 [INFO] [stderr] Downloaded tachys v0.2.6 [INFO] [stderr] Downloaded libwebp-sys v0.9.6 [INFO] [stderr] Downloaded attribute-derive-macro v0.10.3 [INFO] [stderr] Downloaded yaml-rust2 v0.10.3 [INFO] [stderr] Downloaded camino v1.1.11 [INFO] [stderr] Downloaded vart v0.8.1 [INFO] [stderr] Downloaded wasm_split_macros v0.1.2 [INFO] [stderr] Downloaded ecow v0.2.6 [INFO] [stderr] Downloaded resend-rs v0.15.0 [INFO] [stderr] Downloaded surrealdb v2.3.7 [INFO] [stderr] Downloaded leptos_router v0.8.5 [INFO] [stderr] Downloaded rustls v0.23.31 [INFO] [stderr] Downloaded bytecheck v0.8.1 [INFO] [stderr] Downloaded server_fn v0.8.5 [INFO] [stderr] Downloaded html5ever v0.35.0 [INFO] [stderr] Downloaded governor v0.10.1 [INFO] [stderr] Downloaded ulid v1.2.1 [INFO] [stderr] Downloaded gloo-storage v0.3.0 [INFO] [stderr] Downloaded rust_decimal v1.37.2 [INFO] [stderr] Downloaded gloo-worker-macros v0.1.0 [INFO] [stderr] Downloaded gloo-worker v0.5.0 [INFO] [stderr] Downloaded ab_glyph v0.2.31 [INFO] [stderr] Downloaded indextree-macros v0.1.3 [INFO] [stderr] Downloaded vart v0.9.2 [INFO] [stderr] Downloaded indextree v4.7.4 [INFO] [stderr] Downloaded collection_literals v1.0.2 [INFO] [stderr] Downloaded munge v0.4.6 [INFO] [stderr] Downloaded bytecheck_derive v0.8.1 [INFO] [stderr] Downloaded roaring v0.10.12 [INFO] [stderr] Downloaded leptos_axum v0.8.5 [INFO] [stderr] Downloaded ordered-float v5.0.0 [INFO] [stderr] Downloaded async-graphql v7.0.17 [INFO] [stderr] Downloaded object_store v0.12.3 [INFO] [stderr] Downloaded nalgebra v0.32.6 [INFO] [stderr] Downloaded robust v1.2.0 [INFO] [stderr] Downloaded spade v2.15.0 [INFO] [stderr] Downloaded rkyv_derive v0.8.11 [INFO] [stderr] Downloaded affinitypool v0.3.1 [INFO] [stderr] Downloaded match_token v0.35.0 [INFO] [stderr] Downloaded async-graphql-derive v7.0.17 [INFO] [stderr] Downloaded async-graphql-parser v7.0.17 [INFO] [stderr] Downloaded geo-types v0.7.17 [INFO] [stderr] Downloaded geographiclib-rs v0.2.5 [INFO] [stderr] Downloaded rend v0.5.2 [INFO] [stderr] Downloaded dmp v0.2.3 [INFO] [stderr] Downloaded governor v0.8.1 [INFO] [stderr] Downloaded inventory v0.3.21 [INFO] [stderr] Downloaded throw_error v0.3.0 [INFO] [stderr] Downloaded ext-sort v0.1.5 [INFO] [stderr] Downloaded surrealkv v0.9.1 [INFO] [stderr] Downloaded leptos v0.8.6 [INFO] [stderr] Downloaded reactive_graph v0.2.5 [INFO] [stderr] Downloaded server_fn_macro v0.8.6 [INFO] [stderr] Downloaded simple_logger v5.0.0 [INFO] [stderr] Downloaded reblessive v0.4.3 [INFO] [stderr] Downloaded revision-derive v0.11.0 [INFO] [stderr] Downloaded raw-cpuid v11.5.0 [INFO] [stderr] Downloaded quinn-udp v0.5.13 [INFO] [stderr] Downloaded web_atoms v0.1.3 [INFO] [stderr] Downloaded rust-multipart-rfc7578_2 v0.8.0 [INFO] [stderr] Downloaded gloo-console v0.3.0 [INFO] [stderr] Downloaded async-graphql-value v7.0.17 [INFO] [stderr] Downloaded revision v0.11.0 [INFO] [stderr] Downloaded quick_cache v0.6.16 [INFO] [stderr] Downloaded tower_governor v0.7.0 [INFO] [stderr] Downloaded markup5ever v0.35.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d5bc3912508e655ad748a6c20c46c86c95a38a2e77a8e8d68a0637369df154c [INFO] running `Command { std: "docker" "start" "-a" "1d5bc3912508e655ad748a6c20c46c86c95a38a2e77a8e8d68a0637369df154c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d5bc3912508e655ad748a6c20c46c86c95a38a2e77a8e8d68a0637369df154c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d5bc3912508e655ad748a6c20c46c86c95a38a2e77a8e8d68a0637369df154c", kill_on_drop: false }` [INFO] [stdout] 1d5bc3912508e655ad748a6c20c46c86c95a38a2e77a8e8d68a0637369df154c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 918d0491e6a54994130b893131ebf824dc8b8f451eec81045d9b86c4a728333e [INFO] running `Command { std: "docker" "start" "-a" "918d0491e6a54994130b893131ebf824dc8b8f451eec81045d9b86c4a728333e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking throw_error v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking or_poisoned v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling server_fn_macro v0.8.6 [INFO] [stderr] Compiling reactive_graph v0.2.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling camino v1.1.11 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking guardian v1.3.0 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling tachys v0.2.6 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling syn_derive v0.2.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking any_spawner v0.3.0 [INFO] [stderr] Compiling reactive_stores_macro v0.2.5 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking hydration_context v0.3.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking oco_ref v0.2.1 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Checking reactive_stores v0.2.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking either_of v0.1.6 [INFO] [stderr] Compiling server_fn v0.8.5 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking const_str_slice_concat v0.1.0 [INFO] [stderr] Checking drain_filter_polyfill v0.1.3 [INFO] [stderr] Checking next_tuple v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking erased v0.1.2 [INFO] [stderr] Compiling collection_literals v1.0.2 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling attribute-derive-macro v0.10.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Compiling rstml v0.12.1 [INFO] [stderr] Checking serde_qs v0.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling typed-builder-macro v0.21.2 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling server_fn_macro_default v0.8.5 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling leptos_macro v0.8.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking const-str v0.6.4 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking config v0.15.14 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Compiling leptos_hot_reload v0.8.5 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling wasm_split_macros v0.1.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking typed-builder v0.21.2 [INFO] [stderr] Checking ptr_meta v0.3.0 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling attribute-derive v0.10.3 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking codee v0.3.2 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling leptos v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking async-once-cell v0.5.4 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stderr] Checking wasm_split_helpers v0.1.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking rancor v0.1.0 [INFO] [stderr] Checking leptos_config v0.8.5 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling bytecheck_derive v0.8.1 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking cookie_store v0.21.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking bytecheck v0.8.1 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Checking async-compression v0.4.27 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling munge_macro v0.4.6 [INFO] [stderr] Compiling leptos_router v0.8.5 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking munge v0.4.6 [INFO] [stderr] Compiling indextree-macros v0.1.3 [INFO] [stderr] Checking erased-serde v0.4.6 [INFO] [stderr] Checking rend v0.5.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Compiling leptos_router_macro v0.8.5 [INFO] [stderr] Compiling rkyv_derive v0.8.11 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking macro_rules_attribute v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking serde-untagged v0.1.8 [INFO] [stderr] Checking indextree v4.7.4 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking wasm-streams v0.4.2 [INFO] [stderr] Checking gloo-net v0.6.0 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-net v0.5.0 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stderr] Checking gloo-history v0.2.2 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-worker v0.5.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking gloo v0.11.0 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking rust-multipart-rfc7578_2 v0.8.0 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking reserve-port v2.3.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Compiling test-log-macros v0.2.18 [INFO] [stderr] Checking auto-future v1.0.0 [INFO] [stderr] Checking bytesize v2.0.1 [INFO] [stderr] Checking rkyv v0.8.11 [INFO] [stderr] Checking wasm-bindgen-test v0.3.50 [INFO] [stderr] Checking simple_logger v5.0.0 [INFO] [stderr] Checking test-log v0.2.18 [INFO] [stderr] Checking axum-test v17.3.0 [INFO] [stderr] Checking leptos_server v0.8.5 [INFO] [stderr] Checking leptos_dom v0.8.5 [INFO] [stderr] Checking leptos_meta v0.8.5 [INFO] [stderr] Checking artbounty v0.1.0 (/opt/rustwide/workdir/artbounty) [INFO] [stdout] warning: unused imports: `logging` and `prelude::*` [INFO] [stdout] --> artbounty/src/server.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::{logging, prelude::*}; [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: `tracing::trace` [INFO] [stdout] --> artbounty/src/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PATH_API_ACC`, `PATH_API_INVITE_DECODE`, `PATH_API_LOGIN`, `PATH_API_LOGOUT`, `PATH_API_POST_ADD`, `PATH_API_POST_GET_OLDER`, `PATH_API_REGISTER`, `PATH_API_SEND_EMAIL_INVITE`, `PATH_API_USER`, and `PATH_API` [INFO] [stdout] --> artbounty/src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | PATH_API, PATH_API_ACC, PATH_API_INVITE_DECODE, PATH_API_LOGIN, PATH_API_LOGOUT, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | PATH_API_POST_ADD, PATH_API_POST_GET_OLDER, PATH_API_REGISTER, PATH_API_SEND_EMAIL_INVITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | PATH_API_USER, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::trace` [INFO] [stdout] --> artbounty/src/view/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::trace; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toolbox::prelude::*` [INFO] [stdout] --> artbounty/src/view/app/components.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | view::{app::GlobalState, toolbox::prelude::*}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::error` [INFO] [stdout] --> artbounty/src/view/app/components.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use log::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `link_post_with_history` [INFO] [stdout] --> artbounty/src/view/app/components.rs:62:44 [INFO] [stdout] | [INFO] [stdout] 62 | use crate::path::{link_img, link_post, link_post_with_history}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `use_params_map` [INFO] [stdout] --> artbounty/src/view/app/components.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | use leptos_router::hooks::{query_signal, use_params_map, use_query_map}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_router::params::Params` [INFO] [stdout] --> artbounty/src/view/app/components.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | use leptos_router::params::Params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> artbounty/src/view/app/components.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HtmlAnchorElement` [INFO] [stdout] --> artbounty/src/view/app/components.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | use web_sys::{HtmlAnchorElement, MouseEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::spawn_local` [INFO] [stdout] --> artbounty/src/view/app/page.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use leptos::{Params, task::spawn_local}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> artbounty/src/view/app/page.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EmailChangeStage`, `ServerAddPostErr`, `ServerReqImg`, and `ServerRes` [INFO] [stdout] --> artbounty/src/view/app/page.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | Api, ApiWeb, EmailChangeStage, ServerAddPostErr, ServerErr, ServerReqImg, ServerRes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `link_post`, `link_reg`, `link_settings_form_email_completed`, `link_settings_form_email_current_click`, `link_settings_form_email_final_confirm`, `link_settings_form_email_new_click`, and `link_settings_form_email_new_send` [INFO] [stdout] --> artbounty/src/view/app/page.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | link_post, link_reg, link_settings, link_settings_form_email, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 232 | link_settings_form_email_completed, link_settings_form_email_current_click, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 233 | link_settings_form_email_final_confirm, link_settings_form_email_new_click, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 234 | link_settings_form_email_new_send, link_settings_form_username, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `proccess_email`, `proccess_post_description`, and `proccess_post_title` [INFO] [stdout] --> artbounty/src/view/app/page.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | proccess_email, proccess_post_description, proccess_post_title, proccess_username, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::spawn_local` [INFO] [stdout] --> artbounty/src/view/app/page.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 244 | use leptos::{Params, task::spawn_local}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hooks::use_params` [INFO] [stdout] --> artbounty/src/view/app/page.rs:246:25 [INFO] [stdout] | [INFO] [stdout] 246 | use leptos_router::{hooks::use_params, params::Params}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> artbounty/src/view/app/page.rs:249:26 [INFO] [stdout] | [INFO] [stdout] 249 | use tracing::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HtmlTextAreaElement` and `MouseEvent` [INFO] [stdout] --> artbounty/src/view/app/page.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | use web_sys::{HtmlInputElement, HtmlTextAreaElement, MouseEvent, SubmitEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> artbounty/src/view/app/page.rs:705:9 [INFO] [stdout] | [INFO] [stdout] 705 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hooks::use_params` [INFO] [stdout] --> artbounty/src/view/app/page.rs:714:25 [INFO] [stdout] | [INFO] [stdout] 714 | use leptos_router::{hooks::use_params, params::Params}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_router::hooks::use_query` [INFO] [stdout] --> artbounty/src/view/app/page.rs:716:9 [INFO] [stdout] | [INFO] [stdout] 716 | use leptos_router::hooks::use_query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> artbounty/src/view/app/page.rs:906:9 [INFO] [stdout] | [INFO] [stdout] 906 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_router::hooks::use_query` [INFO] [stdout] --> artbounty/src/view/app/page.rs:909:9 [INFO] [stdout] | [INFO] [stdout] 909 | use leptos_router::hooks::use_query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::trace` [INFO] [stdout] --> artbounty/src/view/app/page.rs:910:9 [INFO] [stdout] | [INFO] [stdout] 910 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::tachys::reactive_graph::bind::GetValue` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1041:9 [INFO] [stdout] | [INFO] [stdout] 1041 | use leptos::tachys::reactive_graph::bind::GetValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `link_user` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1050:29 [INFO] [stdout] | [INFO] [stdout] 1050 | use crate::path::{self, link_user}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Acc` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1053:28 [INFO] [stdout] | [INFO] [stdout] 1053 | use crate::view::app::{Acc, GlobalState}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1055:26 [INFO] [stdout] | [INFO] [stdout] 1055 | use tracing::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServerLoginErr` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1352:35 [INFO] [stdout] | [INFO] [stdout] 1352 | use crate::api::{Api, ApiWeb, ServerLoginErr, ServerRes}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Acc` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1354:28 [INFO] [stdout] | [INFO] [stdout] 1354 | use crate::view::app::{Acc, GlobalState}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jiff::Span` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use jiff::Span; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Designator`, `SpanPrinter`, and `ToSpan` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ToSpan, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | fmt::friendly::{Designator, SpanPrinter}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::spawn_local` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use leptos::{prelude::*, task::spawn_local}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `trace`, and `warn` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing::{error, info, trace, warn}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HtmlInputElement` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use web_sys::{HtmlInputElement, SubmitEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmailChangeStage` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:20:64 [INFO] [stdout] | [INFO] [stdout] 20 | Api, ApiWeb, ApiWebTmp, EmailChangeErr, EmailChangeNewErr, EmailChangeStage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArcRwSignal`, `Get`, `Read`, and `Set` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | prelude::{ArcRwSignal, Get, Read, RwSignal, Set, Update, With, WithUntracked}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^ ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 159 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `RUN_FN` should have an upper camel case name [INFO] [stdout] --> artbounty/src/view/toolbox.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn dispatch_and_run(&self, dto: DTO, run_fn: RUN_FN) [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RunFn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `RUN_FN_FUT` should have an upper camel case name [INFO] [stdout] --> artbounty/src/view/toolbox.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn dispatch_and_run(&self, dto: DTO, run_fn: RUN_FN) [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `RunFnFut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> artbounty/src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::trace` [INFO] [stdout] --> artbounty/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::prelude::*` [INFO] [stdout] --> artbounty/src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | use leptos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OptionalParamSegment`, `ParamSegment`, and `WildcardSegment` [INFO] [stdout] --> artbounty/src/lib.rs:343:25 [INFO] [stdout] | [INFO] [stdout] 343 | use leptos_router::{OptionalParamSegment, ParamSegment, StaticSegment, WildcardSegment, path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `api::EmailChangeStage` [INFO] [stdout] --> artbounty/src/lib.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | api::EmailChangeStage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::db` [INFO] [stdout] --> artbounty/src/api.rs:3314:16 [INFO] [stdout] | [INFO] [stdout] 3314 | use crate::db::{DBEmailChange, DBUser, EmailIsTakenErr}; [INFO] [stdout] | ^^ could not find `db` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> artbounty/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "ssr")] [INFO] [stdout] | --------------- the item is gated behind the `ssr` feature [INFO] [stdout] 9 | pub mod db; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_extra` [INFO] [stdout] --> artbounty/src/api.rs:1613:13 [INFO] [stdout] | [INFO] [stdout] 1613 | use axum_extra::extract::{CookieJar, cookie::Cookie}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `axum_extra` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_extra`, use `cargo add axum_extra` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::server::create_api_router` [INFO] [stdout] --> artbounty/src/api.rs:3316:9 [INFO] [stdout] | [INFO] [stdout] 3316 | use crate::server::create_api_router; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `create_api_router` in `server` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> artbounty/src/server.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(feature = "ssr")] [INFO] [stdout] | --------------- the item is gated behind the `ssr` feature [INFO] [stdout] 90 | pub fn create_api_router( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::api::app_state` [INFO] [stdout] --> artbounty/src/api.rs:3308:21 [INFO] [stdout] | [INFO] [stdout] 3308 | use crate::api::app_state::AppState; [INFO] [stdout] | ^^^^^^^^^ could not find `app_state` in `api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> artbounty/src/api.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "ssr")] [INFO] [stdout] | --------------- the item is gated behind the `ssr` feature [INFO] [stdout] 20 | pub mod app_state { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::api::encode_token` [INFO] [stdout] --> artbounty/src/api.rs:3312:34 [INFO] [stdout] | [INFO] [stdout] 3312 | ServerReqImg, ServerRes, encode_token, [INFO] [stdout] | ^^^^^^^^^^^^ no `encode_token` in `api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> artbounty/src/api.rs:1165:8 [INFO] [stdout] | [INFO] [stdout] 1164 | #[cfg(feature = "ssr")] [INFO] [stdout] | --------------- the item is gated behind the `ssr` feature [INFO] [stdout] 1165 | pub fn encode_token, Claims: serde::Serialize>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> artbounty/src/api.rs:3295:9 [INFO] [stdout] | [INFO] [stdout] 3295 | use axum::Router; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> artbounty/src/api.rs:3299:9 [INFO] [stdout] | [INFO] [stdout] 3299 | use tokio::fs; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> artbounty/src/api.rs:3305:9 [INFO] [stdout] | [INFO] [stdout] 3305 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gxhash` [INFO] [stdout] --> artbounty/src/api.rs:3302:9 [INFO] [stdout] | [INFO] [stdout] 3302 | use gxhash::gxhash128; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `gxhash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gxhash`, use `cargo add gxhash` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> artbounty/src/api.rs:4341:7 [INFO] [stdout] | [INFO] [stdout] 4341 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> artbounty/src/api.rs:4317:7 [INFO] [stdout] | [INFO] [stdout] 4317 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> artbounty/src/api.rs:4185:7 [INFO] [stdout] | [INFO] [stdout] 4185 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `image` [INFO] [stdout] --> artbounty/src/api.rs:3368:30 [INFO] [stdout] | [INFO] [stdout] 3368 | let mut imgbuf = image::ImageBuffer::new(250, 250); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `image` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `image`, use `cargo add image` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> artbounty/src/api.rs:3379:23 [INFO] [stdout] | [INFO] [stdout] 3379 | let img = tokio::fs::read(path).await.unwrap(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3295 + use std::fs; [INFO] [stdout] | [INFO] [stdout] help: if you import `fs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3379 - let img = tokio::fs::read(path).await.unwrap(); [INFO] [stdout] 3379 + let img = fs::read(path).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `logging` and `prelude::*` [INFO] [stdout] --> artbounty/src/server.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::{logging, prelude::*}; [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: `tracing::trace` [INFO] [stdout] --> artbounty/src/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PATH_API_ACC`, `PATH_API_INVITE_DECODE`, `PATH_API_LOGIN`, `PATH_API_LOGOUT`, `PATH_API_POST_ADD`, `PATH_API_POST_GET_OLDER`, `PATH_API_REGISTER`, `PATH_API_SEND_EMAIL_INVITE`, `PATH_API_USER`, and `PATH_API` [INFO] [stdout] --> artbounty/src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | PATH_API, PATH_API_ACC, PATH_API_INVITE_DECODE, PATH_API_LOGIN, PATH_API_LOGOUT, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | PATH_API_POST_ADD, PATH_API_POST_GET_OLDER, PATH_API_REGISTER, PATH_API_SEND_EMAIL_INVITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | PATH_API_USER, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> artbounty/src/api.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> artbounty/src/api.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> artbounty/src/api.rs:3296:9 [INFO] [stdout] | [INFO] [stdout] 3296 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> artbounty/src/api.rs:3298:9 [INFO] [stdout] | [INFO] [stdout] 3298 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pretty_assertions::assert_eq` [INFO] [stdout] --> artbounty/src/api.rs:3303:9 [INFO] [stdout] | [INFO] [stdout] 3303 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_log::test` [INFO] [stdout] --> artbounty/src/api.rs:3304:9 [INFO] [stdout] | [INFO] [stdout] 3304 | use test_log::test; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EmailToken`, `ServerGetErr`, and `ServerLoginErr` [INFO] [stdout] --> artbounty/src/api.rs:3311:9 [INFO] [stdout] | [INFO] [stdout] 3311 | EmailToken, ServerAuthErr, ServerErr, ServerGetErr, ServerLoginErr, ServerRegistrationErr, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_appender::rolling` [INFO] [stdout] --> artbounty/src/api.rs:3317:9 [INFO] [stdout] | [INFO] [stdout] 3317 | use tracing_appender::rolling; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::trace` [INFO] [stdout] --> artbounty/src/view/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::trace; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toolbox::prelude::*` [INFO] [stdout] --> artbounty/src/view/app/components.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | view::{app::GlobalState, toolbox::prelude::*}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::error` [INFO] [stdout] --> artbounty/src/view/app/components.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use log::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `link_post_with_history` [INFO] [stdout] --> artbounty/src/view/app/components.rs:62:44 [INFO] [stdout] | [INFO] [stdout] 62 | use crate::path::{link_img, link_post, link_post_with_history}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `use_params_map` [INFO] [stdout] --> artbounty/src/view/app/components.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | use leptos_router::hooks::{query_signal, use_params_map, use_query_map}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_router::params::Params` [INFO] [stdout] --> artbounty/src/view/app/components.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | use leptos_router::params::Params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> artbounty/src/view/app/components.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HtmlAnchorElement` [INFO] [stdout] --> artbounty/src/view/app/components.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | use web_sys::{HtmlAnchorElement, MouseEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_total_height` and `vec_img_to_string` [INFO] [stdout] --> artbounty/src/view/app/components.rs:1285:53 [INFO] [stdout] | [INFO] [stdout] 1285 | use crate::view::app::components::gallery::{get_total_height, vec_img_to_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::spawn_local` [INFO] [stdout] --> artbounty/src/view/app/page.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use leptos::{Params, task::spawn_local}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> artbounty/src/view/app/page.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EmailChangeStage`, `ServerAddPostErr`, `ServerReqImg`, and `ServerRes` [INFO] [stdout] --> artbounty/src/view/app/page.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | Api, ApiWeb, EmailChangeStage, ServerAddPostErr, ServerErr, ServerReqImg, ServerRes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `link_post`, `link_reg`, `link_settings_form_email_completed`, `link_settings_form_email_current_click`, `link_settings_form_email_final_confirm`, `link_settings_form_email_new_click`, and `link_settings_form_email_new_send` [INFO] [stdout] --> artbounty/src/view/app/page.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | link_post, link_reg, link_settings, link_settings_form_email, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 232 | link_settings_form_email_completed, link_settings_form_email_current_click, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 233 | link_settings_form_email_final_confirm, link_settings_form_email_new_click, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 234 | link_settings_form_email_new_send, link_settings_form_username, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `proccess_email`, `proccess_post_description`, and `proccess_post_title` [INFO] [stdout] --> artbounty/src/view/app/page.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | proccess_email, proccess_post_description, proccess_post_title, proccess_username, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::spawn_local` [INFO] [stdout] --> artbounty/src/view/app/page.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 244 | use leptos::{Params, task::spawn_local}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hooks::use_params` [INFO] [stdout] --> artbounty/src/view/app/page.rs:246:25 [INFO] [stdout] | [INFO] [stdout] 246 | use leptos_router::{hooks::use_params, params::Params}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> artbounty/src/view/app/page.rs:249:26 [INFO] [stdout] | [INFO] [stdout] 249 | use tracing::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HtmlTextAreaElement` and `MouseEvent` [INFO] [stdout] --> artbounty/src/view/app/page.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | use web_sys::{HtmlInputElement, HtmlTextAreaElement, MouseEvent, SubmitEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> artbounty/src/view/app/page.rs:705:9 [INFO] [stdout] | [INFO] [stdout] 705 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hooks::use_params` [INFO] [stdout] --> artbounty/src/view/app/page.rs:714:25 [INFO] [stdout] | [INFO] [stdout] 714 | use leptos_router::{hooks::use_params, params::Params}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_router::hooks::use_query` [INFO] [stdout] --> artbounty/src/view/app/page.rs:716:9 [INFO] [stdout] | [INFO] [stdout] 716 | use leptos_router::hooks::use_query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> artbounty/src/view/app/page.rs:906:9 [INFO] [stdout] | [INFO] [stdout] 906 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_router::hooks::use_query` [INFO] [stdout] --> artbounty/src/view/app/page.rs:909:9 [INFO] [stdout] | [INFO] [stdout] 909 | use leptos_router::hooks::use_query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::trace` [INFO] [stdout] --> artbounty/src/view/app/page.rs:910:9 [INFO] [stdout] | [INFO] [stdout] 910 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::tachys::reactive_graph::bind::GetValue` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1041:9 [INFO] [stdout] | [INFO] [stdout] 1041 | use leptos::tachys::reactive_graph::bind::GetValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `link_user` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1050:29 [INFO] [stdout] | [INFO] [stdout] 1050 | use crate::path::{self, link_user}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Acc` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1053:28 [INFO] [stdout] | [INFO] [stdout] 1053 | use crate::view::app::{Acc, GlobalState}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1055:26 [INFO] [stdout] | [INFO] [stdout] 1055 | use tracing::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServerLoginErr` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1352:35 [INFO] [stdout] | [INFO] [stdout] 1352 | use crate::api::{Api, ApiWeb, ServerLoginErr, ServerRes}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Acc` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1354:28 [INFO] [stdout] | [INFO] [stdout] 1354 | use crate::view::app::{Acc, GlobalState}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jiff::Span` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use jiff::Span; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Designator`, `SpanPrinter`, and `ToSpan` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ToSpan, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | fmt::friendly::{Designator, SpanPrinter}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::spawn_local` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use leptos::{prelude::*, task::spawn_local}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `trace`, and `warn` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing::{error, info, trace, warn}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HtmlInputElement` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use web_sys::{HtmlInputElement, SubmitEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmailChangeStage` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:20:64 [INFO] [stdout] | [INFO] [stdout] 20 | Api, ApiWeb, ApiWebTmp, EmailChangeErr, EmailChangeNewErr, EmailChangeStage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArcRwSignal`, `Get`, `Read`, and `Set` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | prelude::{ArcRwSignal, Get, Read, RwSignal, Set, Update, With, WithUntracked}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^ ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 159 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `RUN_FN` should have an upper camel case name [INFO] [stdout] --> artbounty/src/view/toolbox.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn dispatch_and_run(&self, dto: DTO, run_fn: RUN_FN) [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RunFn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `RUN_FN_FUT` should have an upper camel case name [INFO] [stdout] --> artbounty/src/view/toolbox.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn dispatch_and_run(&self, dto: DTO, run_fn: RUN_FN) [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `RunFnFut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> artbounty/src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::trace` [INFO] [stdout] --> artbounty/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::prelude::*` [INFO] [stdout] --> artbounty/src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | use leptos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OptionalParamSegment`, `ParamSegment`, and `WildcardSegment` [INFO] [stdout] --> artbounty/src/lib.rs:343:25 [INFO] [stdout] | [INFO] [stdout] 343 | use leptos_router::{OptionalParamSegment, ParamSegment, StaticSegment, WildcardSegment, path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `api::EmailChangeStage` [INFO] [stdout] --> artbounty/src/lib.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | api::EmailChangeStage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_token` in this scope [INFO] [stdout] --> artbounty/src/api.rs:1624:32 [INFO] [stdout] | [INFO] [stdout] 1624 | .and_then(|cookie| decode_token::(secret, cookie, false).ok()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/api.rs:3340:17 [INFO] [stdout] | [INFO] [stdout] 3340 | let app_state = AppState::new_testng(time_mut.clone(), invite_exp_ns).await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 3341 | let my_app = create_api_router(app_state.clone()).with_state(app_state.clone()); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `app_state` an explicit type [INFO] [stdout] | [INFO] [stdout] 3340 | let app_state: /* Type */ = AppState::new_testng(time_mut.clone(), invite_exp_ns).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `image` [INFO] [stdout] --> artbounty/src/api.rs:3373:26 [INFO] [stdout] | [INFO] [stdout] 3373 | *pixel = image::Rgb([r, 0, b]); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `image` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `image`, use `cargo add image` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/api.rs:3379:23 [INFO] [stdout] | [INFO] [stdout] 3379 | let img = tokio::fs::read(path).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/api.rs:3515:23 [INFO] [stdout] | [INFO] [stdout] 3515 | let all = self.state.db.get_invite_all().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/api.rs:3518:26 [INFO] [stdout] | [INFO] [stdout] 3518 | let invite = self [INFO] [stdout] | __________________________^ [INFO] [stdout] 3519 | | .state [INFO] [stdout] 3520 | | .db [INFO] [stdout] 3521 | | .get_invite_valid( [INFO] [stdout] ... | [INFO] [stdout] 3527 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/api.rs:3559:23 [INFO] [stdout] | [INFO] [stdout] 3559 | let all = self.state.db.get_invite_all().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/api.rs:3562:26 [INFO] [stdout] | [INFO] [stdout] 3562 | let invite = self [INFO] [stdout] | __________________________^ [INFO] [stdout] 3563 | | .state [INFO] [stdout] 3564 | | .db [INFO] [stdout] 3565 | | .get_invite_valid(server_time, email) [INFO] [stdout] 3566 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/api.rs:3631:26 [INFO] [stdout] | [INFO] [stdout] 3631 | let invite = self [INFO] [stdout] | __________________________^ [INFO] [stdout] 3632 | | .state [INFO] [stdout] 3633 | | .db [INFO] [stdout] 3634 | | .get_invite_valid(server_time, email) [INFO] [stdout] 3635 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/api.rs:3899:33 [INFO] [stdout] | [INFO] [stdout] 3899 | let confirm_token = self [INFO] [stdout] | _________________________________^ [INFO] [stdout] 3900 | | .state [INFO] [stdout] 3901 | | .db [INFO] [stdout] 3902 | | .get_email_change(0, db_user.id.clone()) [INFO] [stdout] 3903 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/api.rs:3953:17 [INFO] [stdout] | [INFO] [stdout] 3953 | let confirm_token = self.state.db.get_email_change(0, db_user.id.clone()).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3958 | confirm_token [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `confirm_token` an explicit type [INFO] [stdout] | [INFO] [stdout] 3953 | let confirm_token: /* Type */ = self.state.db.get_email_change(0, db_user.id.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/api.rs:3984:33 [INFO] [stdout] | [INFO] [stdout] 3984 | let confirm_token = self [INFO] [stdout] | _________________________________^ [INFO] [stdout] 3985 | | .state [INFO] [stdout] 3986 | | .db [INFO] [stdout] 3987 | | .get_email_change(0, db_user.id.clone()) [INFO] [stdout] 3988 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/api.rs:4113:17 [INFO] [stdout] | [INFO] [stdout] 4113 | let db_result = self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4119 | if matched && db_result.is_ok() { [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `db_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 4113 | let db_result: /* Type */ = self [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/api.rs:4196:23 [INFO] [stdout] | [INFO] [stdout] 4196 | let db_user = app.state.db.get_user_by_username("hey").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> artbounty/src/api.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> artbounty/src/api.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Api` [INFO] [stdout] --> artbounty/src/view/app/components.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | api::{Api, ApiWeb}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::view::toolbox::prelude` [INFO] [stdout] --> artbounty/src/view/app/page.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::view::toolbox::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::view::toolbox::prelude` [INFO] [stdout] --> artbounty/src/view/app/page.rs:902:9 [INFO] [stdout] | [INFO] [stdout] 902 | use crate::view::toolbox::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::view::toolbox::prelude` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1054:9 [INFO] [stdout] | [INFO] [stdout] 1054 | use crate::view::toolbox::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::view::toolbox::prelude` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1355:9 [INFO] [stdout] | [INFO] [stdout] 1355 | use crate::view::toolbox::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::view::toolbox::prelude` [INFO] [stdout] --> artbounty/src/view/app.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::view::toolbox::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries` [INFO] [stdout] --> artbounty/src/view/app/components.rs:489:19 [INFO] [stdout] | [INFO] [stdout] 489 | move |entries, observer| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `observer` [INFO] [stdout] --> artbounty/src/view/app/components.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | move |entries, observer| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_observer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> artbounty/src/view/app/components.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | let width = gallery_elm.client_width() as u32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> artbounty/src/view/app/components.rs:293:34 [INFO] [stdout] | [INFO] [stdout] 293 | let run_on_click = move |e: MouseEvent, img: Img| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> artbounty/src/view/app/components.rs:293:49 [INFO] [stdout] | [INFO] [stdout] 293 | let run_on_click = move |e: MouseEvent, img: Img| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigate` [INFO] [stdout] --> artbounty/src/view/app/components.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let navigate = leptos_router::hooks::use_navigate(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> artbounty/src/view/app/components.rs:538:13 [INFO] [stdout] | [INFO] [stdout] 538 | let query = use_query_map(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_query_scroll` [INFO] [stdout] --> artbounty/src/view/app/components.rs:539:14 [INFO] [stdout] | [INFO] [stdout] 539 | let (get_query_scroll, set_query_scroll) = query_signal::("s"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_query_scroll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_query_scroll` [INFO] [stdout] --> artbounty/src/view/app/components.rs:539:32 [INFO] [stdout] | [INFO] [stdout] 539 | let (get_query_scroll, set_query_scroll) = query_signal::("s"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_query_scroll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_width` [INFO] [stdout] --> artbounty/src/view/app/components.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let img_width = img.width; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_img_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_height` [INFO] [stdout] --> artbounty/src/view/app/components.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | let img_height = img.height; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_img_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_id` [INFO] [stdout] --> artbounty/src/view/app/components.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | let img_id = img.id.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_img_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_username` [INFO] [stdout] --> artbounty/src/view/app/components.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 579 | let img_username = img.username.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_img_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ratio` [INFO] [stdout] --> artbounty/src/view/app/page.rs:153:33 [INFO] [stdout] | [INFO] [stdout] 153 | .map(|(i, (url, ratio))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selected_ratio` [INFO] [stdout] --> artbounty/src/view/app/page.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | let (selected_url, selected_ratio) = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> artbounty/src/view/app/page.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | let (Some(username), Some(post_id)) = (param_username(), param_post()) else { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_query_untracked` [INFO] [stdout] --> artbounty/src/view/app/page.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let get_query_untracked = move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_query_untracked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tags` [INFO] [stdout] --> artbounty/src/view/app/page.rs:744:68 [INFO] [stdout] | [INFO] [stdout] 744 | let (Some(files), Some(title), Some(description), Some(tags)) = ( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fetch_init` [INFO] [stdout] --> artbounty/src/view/app/page.rs:999:13 [INFO] [stdout] | [INFO] [stdout] 999 | let fetch_init = Rc::new(move |count| -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetch_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fetch_top` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1008:13 [INFO] [stdout] | [INFO] [stdout] 1008 | let fetch_top = move |count: usize, last_img: Img| -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetch_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1193:58 [INFO] [stdout] | [INFO] [stdout] 1193 | ... Ok(ServerRes::User { username }) => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `username: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invite_email` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1069:13 [INFO] [stdout] | [INFO] [stdout] 1069 | let invite_email: NodeRef = NodeRef::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invite_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigate` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1372:13 [INFO] [stdout] | [INFO] [stdout] 1372 | let navigate = leptos_router::hooks::use_navigate(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_query_email_stage` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | let get_query_email_stage = move || get_query().email_stage.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_query_email_stage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stage` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:427:25 [INFO] [stdout] | [INFO] [stdout] 427 | stage, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `stage: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_email` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:428:25 [INFO] [stdout] | [INFO] [stdout] 428 | new_email, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `new_email: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expires` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:439:30 [INFO] [stdout] | [INFO] [stdout] 439 | Ok((msg, expires)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expires` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> artbounty/src/view/app.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | Err(err) => error!("logout fail"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> artbounty/src/view/app.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let api = ApiWeb::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:144:54 [INFO] [stdout] | [INFO] [stdout] 144 | StoredValue::new(Box::new(Box::new(move |v: u64| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:140:54 [INFO] [stdout] | [INFO] [stdout] 140 | StoredValue::new(Box::new(Box::new(move |v: u64| String::new()))); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let a = v.to_fn(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let a = v.to_fn(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let a = v.to_fn(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:390:35 [INFO] [stdout] | [INFO] [stdout] 390 | .inspect_err(|err| error!("parsing location err")) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:386:27 [INFO] [stdout] | [INFO] [stdout] 386 | .inspect_err(|err| error!("getting location err")) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stage` [INFO] [stdout] --> artbounty/src/lib.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 604 | stage: UsernameChangeStage, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo` is never used [INFO] [stdout] --> artbounty/src/view/toolbox.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn foo() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Api` [INFO] [stdout] --> artbounty/src/view/app/components.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | api::{Api, ApiWeb}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::view::toolbox::prelude` [INFO] [stdout] --> artbounty/src/view/app/page.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::view::toolbox::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::view::toolbox::prelude` [INFO] [stdout] --> artbounty/src/view/app/page.rs:902:9 [INFO] [stdout] | [INFO] [stdout] 902 | use crate::view::toolbox::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::view::toolbox::prelude` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1054:9 [INFO] [stdout] | [INFO] [stdout] 1054 | use crate::view::toolbox::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::view::toolbox::prelude` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1355:9 [INFO] [stdout] | [INFO] [stdout] 1355 | use crate::view::toolbox::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::view::toolbox::prelude` [INFO] [stdout] --> artbounty/src/view/app.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::view::toolbox::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> artbounty/src/main.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: attribute macro `server` is private [INFO] [stdout] --> artbounty/src/main.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use artbounty::server::server; [INFO] [stdout] | ^^^^^^ private attribute macro [INFO] [stdout] | [INFO] [stdout] note: the attribute macro `server` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/artbounty/src/server.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::{logging, prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: import `server` directly [INFO] [stdout] | [INFO] [stdout] 2 - use artbounty::server::server; [INFO] [stdout] 2 + use leptos_macro::server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `logging` and `prelude::*` [INFO] [stdout] --> artbounty/src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use leptos::{logging, prelude::*}; [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: `tracing::trace` [INFO] [stdout] --> artbounty/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> artbounty/src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0603, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `artbounty` (bin "artbounty") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't read `/nix/store/5qc9yxwnfa074zrfsymmabhdbhg1rp7d-home-manager-path/share/fonts/noto/NotoSansMono[wdth,wght].ttf`: No such file or directory (os error 2) [INFO] [stdout] --> artbounty/src/bin/seed.rs:278:52 [INFO] [stdout] | [INFO] [stdout] 278 | ...ce(include_bytes!("/nix/store/5qc9yxwnfa074zrfsymmabhdbhg1rp7d-home-manager-path/share/fonts/noto/NotoSansMono[wdth,wght].ttf")).u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ab_glyph` [INFO] [stdout] --> artbounty/src/bin/seed.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ab_glyph::{FontRef, PxScale}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `ab_glyph` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ab_glyph`, use `cargo add ab_glyph` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> artbounty/src/bin/seed.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use clap::{Command, arg}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `imageproc` [INFO] [stdout] --> artbounty/src/bin/seed.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use imageproc::drawing::draw_text; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `imageproc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `imageproc`, use `cargo add imageproc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `image` [INFO] [stdout] --> artbounty/src/bin/seed.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use image::{Rgb, RgbImage}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `image` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `image`, use `cargo add image` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> artbounty/src/bin/seed.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rand::Rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> artbounty/src/bin/seed.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::fs; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> artbounty/src/bin/seed.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/nix/store/5qc9yxwnfa074zrfsymmabhdbhg1rp7d-home-manager-path/share/fonts/noto/NotoSansMono[wdth,wght].ttf`: No such file or directory (os error 2) [INFO] [stdout] --> artbounty/src/bin/seed.rs:278:52 [INFO] [stdout] | [INFO] [stdout] 278 | ...ce(include_bytes!("/nix/store/5qc9yxwnfa074zrfsymmabhdbhg1rp7d-home-manager-path/share/fonts/noto/NotoSansMono[wdth,wght].ttf")).u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> artbounty/src/main.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: attribute macro `server` is private [INFO] [stdout] --> artbounty/src/main.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use artbounty::server::server; [INFO] [stdout] | ^^^^^^ private attribute macro [INFO] [stdout] | [INFO] [stdout] note: the attribute macro `server` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/artbounty/src/server.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::{logging, prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: import `server` directly [INFO] [stdout] | [INFO] [stdout] 2 - use artbounty::server::server; [INFO] [stdout] 2 + use leptos_macro::server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `logging` and `prelude::*` [INFO] [stdout] --> artbounty/src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use leptos::{logging, prelude::*}; [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: `tracing::trace` [INFO] [stdout] --> artbounty/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ab_glyph` [INFO] [stdout] --> artbounty/src/bin/seed.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ab_glyph::{FontRef, PxScale}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `ab_glyph` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ab_glyph`, use `cargo add ab_glyph` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> artbounty/src/bin/seed.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use clap::{Command, arg}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `imageproc` [INFO] [stdout] --> artbounty/src/bin/seed.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use imageproc::drawing::draw_text; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `imageproc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `imageproc`, use `cargo add imageproc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `image` [INFO] [stdout] --> artbounty/src/bin/seed.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use image::{Rgb, RgbImage}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `image` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `image`, use `cargo add image` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> artbounty/src/bin/seed.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rand::Rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> artbounty/src/bin/seed.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::fs; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> artbounty/src/bin/seed.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `artbounty` (bin "artbounty" test) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] warning: unused imports: `collections::HashMap`, `env`, and `time::Duration` [INFO] [stdout] --> artbounty/src/bin/seed.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, env, time::Duration}; [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 imports: `PATH_API_LOGIN`, `PATH_API_POST_ADD`, `PATH_API_REGISTER`, `PATH_API_SEND_EMAIL_INVITE`, and `PATH_API_USER` [INFO] [stdout] --> artbounty/src/bin/seed.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | PATH_API_SEND_EMAIL_INVITE, PATH_API_LOGIN, PATH_API_POST_ADD, PATH_API_REGISTER, PATH_API_USER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `trace` [INFO] [stdout] --> artbounty/src/bin/seed.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{info, trace}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/bin/seed.rs:244:25 [INFO] [stdout] | [INFO] [stdout] 244 | let token = sub_matches.get_one::("token").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> artbounty/src/bin/seed.rs:251:27 [INFO] [stdout] | [INFO] [stdout] 251 | let mut rng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `image` [INFO] [stdout] --> artbounty/src/bin/seed.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | *pixel = image::Rgb([r, g, b]); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `image` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `image`, use `cargo add image` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `env`, and `time::Duration` [INFO] [stdout] --> artbounty/src/bin/seed.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, env, time::Duration}; [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 imports: `PATH_API_LOGIN`, `PATH_API_POST_ADD`, `PATH_API_REGISTER`, `PATH_API_SEND_EMAIL_INVITE`, and `PATH_API_USER` [INFO] [stdout] --> artbounty/src/bin/seed.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | PATH_API_SEND_EMAIL_INVITE, PATH_API_LOGIN, PATH_API_POST_ADD, PATH_API_REGISTER, PATH_API_USER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `trace` [INFO] [stdout] --> artbounty/src/bin/seed.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{info, trace}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/bin/seed.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | let img = fs::read(path).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/bin/seed.rs:294:30 [INFO] [stdout] | [INFO] [stdout] 294 | let result = api [INFO] [stdout] | ______________________________^ [INFO] [stdout] 295 | | .add_post( [INFO] [stdout] 296 | | "title1", [INFO] [stdout] 297 | | "wow", [INFO] [stdout] ... | [INFO] [stdout] 303 | | .send_native_with_token(token.clone()) [INFO] [stdout] 304 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/bin/seed.rs:244:25 [INFO] [stdout] | [INFO] [stdout] 244 | let token = sub_matches.get_one::("token").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> artbounty/src/bin/seed.rs:251:27 [INFO] [stdout] | [INFO] [stdout] 251 | let mut rng = rand::rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `image` [INFO] [stdout] --> artbounty/src/bin/seed.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | *pixel = image::Rgb([r, g, b]); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `image` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `image`, use `cargo add image` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/bin/seed.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | let img = fs::read(path).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> artbounty/src/bin/seed.rs:294:30 [INFO] [stdout] | [INFO] [stdout] 294 | let result = api [INFO] [stdout] | ______________________________^ [INFO] [stdout] 295 | | .add_post( [INFO] [stdout] 296 | | "title1", [INFO] [stdout] 297 | | "wow", [INFO] [stdout] ... | [INFO] [stdout] 303 | | .send_native_with_token(token.clone()) [INFO] [stdout] 304 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> artbounty/src/bin/seed.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `artbounty` (bin "seed" test) due to 13 previous errors; 3 warnings emitted [INFO] [stderr] error: could not compile `artbounty` (bin "seed") due to 14 previous errors; 3 warnings emitted [INFO] [stdout] warning: unused variable: `wrong` [INFO] [stdout] --> artbounty/src/api.rs:3424:17 [INFO] [stdout] | [INFO] [stdout] 3424 | wrong => (false, 0), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_wrong` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrong` [INFO] [stdout] --> artbounty/src/api.rs:3438:17 [INFO] [stdout] | [INFO] [stdout] 3438 | wrong => (false, 0), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_wrong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrong` [INFO] [stdout] --> artbounty/src/api.rs:3452:17 [INFO] [stdout] | [INFO] [stdout] 3452 | wrong => (false, 0), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_wrong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrong` [INFO] [stdout] --> artbounty/src/api.rs:3466:17 [INFO] [stdout] | [INFO] [stdout] 3466 | wrong => (false, 0), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_wrong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> artbounty/src/api.rs:3595:17 [INFO] [stdout] | [INFO] [stdout] 3595 | let email = format!("{username}@hey.com"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> artbounty/src/api.rs:3669:37 [INFO] [stdout] | [INFO] [stdout] 3669 | Ok(ServerRes::Acc { username, email }) => true, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `username: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> artbounty/src/api.rs:3669:47 [INFO] [stdout] | [INFO] [stdout] 3669 | Ok(ServerRes::Acc { username, email }) => true, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `email: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matched_profile` [INFO] [stdout] --> artbounty/src/api.rs:3700:17 [INFO] [stdout] | [INFO] [stdout] 3700 | let matched_profile = result == Err(ServerErr::DbErr); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matched_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_rec_email` [INFO] [stdout] --> artbounty/src/api.rs:4130:13 [INFO] [stdout] | [INFO] [stdout] 4130 | expected_rec_email: impl Into, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_rec_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> artbounty/src/api.rs:4168:17 [INFO] [stdout] | [INFO] [stdout] 4168 | let result = self [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries` [INFO] [stdout] --> artbounty/src/view/app/components.rs:489:19 [INFO] [stdout] | [INFO] [stdout] 489 | move |entries, observer| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `observer` [INFO] [stdout] --> artbounty/src/view/app/components.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | move |entries, observer| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_observer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> artbounty/src/view/app/components.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | let width = gallery_elm.client_width() as u32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> artbounty/src/view/app/components.rs:293:34 [INFO] [stdout] | [INFO] [stdout] 293 | let run_on_click = move |e: MouseEvent, img: Img| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> artbounty/src/view/app/components.rs:293:49 [INFO] [stdout] | [INFO] [stdout] 293 | let run_on_click = move |e: MouseEvent, img: Img| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigate` [INFO] [stdout] --> artbounty/src/view/app/components.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let navigate = leptos_router::hooks::use_navigate(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> artbounty/src/view/app/components.rs:538:13 [INFO] [stdout] | [INFO] [stdout] 538 | let query = use_query_map(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_query_scroll` [INFO] [stdout] --> artbounty/src/view/app/components.rs:539:14 [INFO] [stdout] | [INFO] [stdout] 539 | let (get_query_scroll, set_query_scroll) = query_signal::("s"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_query_scroll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_query_scroll` [INFO] [stdout] --> artbounty/src/view/app/components.rs:539:32 [INFO] [stdout] | [INFO] [stdout] 539 | let (get_query_scroll, set_query_scroll) = query_signal::("s"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_query_scroll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_width` [INFO] [stdout] --> artbounty/src/view/app/components.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let img_width = img.width; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_img_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_height` [INFO] [stdout] --> artbounty/src/view/app/components.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | let img_height = img.height; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_img_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_id` [INFO] [stdout] --> artbounty/src/view/app/components.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | let img_id = img.id.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_img_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_username` [INFO] [stdout] --> artbounty/src/view/app/components.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 579 | let img_username = img.username.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_img_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ratio` [INFO] [stdout] --> artbounty/src/view/app/page.rs:153:33 [INFO] [stdout] | [INFO] [stdout] 153 | .map(|(i, (url, ratio))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selected_ratio` [INFO] [stdout] --> artbounty/src/view/app/page.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | let (selected_url, selected_ratio) = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> artbounty/src/view/app/page.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | let (Some(username), Some(post_id)) = (param_username(), param_post()) else { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_query_untracked` [INFO] [stdout] --> artbounty/src/view/app/page.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let get_query_untracked = move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_query_untracked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tags` [INFO] [stdout] --> artbounty/src/view/app/page.rs:744:68 [INFO] [stdout] | [INFO] [stdout] 744 | let (Some(files), Some(title), Some(description), Some(tags)) = ( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fetch_init` [INFO] [stdout] --> artbounty/src/view/app/page.rs:999:13 [INFO] [stdout] | [INFO] [stdout] 999 | let fetch_init = Rc::new(move |count| -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetch_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fetch_top` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1008:13 [INFO] [stdout] | [INFO] [stdout] 1008 | let fetch_top = move |count: usize, last_img: Img| -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetch_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1193:58 [INFO] [stdout] | [INFO] [stdout] 1193 | ... Ok(ServerRes::User { username }) => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `username: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invite_email` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1069:13 [INFO] [stdout] | [INFO] [stdout] 1069 | let invite_email: NodeRef = NodeRef::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invite_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigate` [INFO] [stdout] --> artbounty/src/view/app/page.rs:1372:13 [INFO] [stdout] | [INFO] [stdout] 1372 | let navigate = leptos_router::hooks::use_navigate(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_query_email_stage` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | let get_query_email_stage = move || get_query().email_stage.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_query_email_stage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stage` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:427:25 [INFO] [stdout] | [INFO] [stdout] 427 | stage, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `stage: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_email` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:428:25 [INFO] [stdout] | [INFO] [stdout] 428 | new_email, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `new_email: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expires` [INFO] [stdout] --> artbounty/src/view/app/hook.rs:439:30 [INFO] [stdout] | [INFO] [stdout] 439 | Ok((msg, expires)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expires` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> artbounty/src/view/app.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | Err(err) => error!("logout fail"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> artbounty/src/view/app.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let api = ApiWeb::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:144:54 [INFO] [stdout] | [INFO] [stdout] 144 | StoredValue::new(Box::new(Box::new(move |v: u64| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:140:54 [INFO] [stdout] | [INFO] [stdout] 140 | StoredValue::new(Box::new(Box::new(move |v: u64| String::new()))); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let a = v.to_fn(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let a = v.to_fn(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let a = v.to_fn(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:390:35 [INFO] [stdout] | [INFO] [stdout] 390 | .inspect_err(|err| error!("parsing location err")) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> artbounty/src/view/toolbox.rs:386:27 [INFO] [stdout] | [INFO] [stdout] 386 | .inspect_err(|err| error!("getting location err")) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stage` [INFO] [stdout] --> artbounty/src/lib.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 604 | stage: UsernameChangeStage, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] --> artbounty/src/api.rs:1610:16 [INFO] [stdout] | [INFO] [stdout] 1610 | Option>, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `artbounty` (lib test) due to 29 previous errors; 110 warnings emitted [INFO] running `Command { std: "docker" "inspect" "918d0491e6a54994130b893131ebf824dc8b8f451eec81045d9b86c4a728333e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "918d0491e6a54994130b893131ebf824dc8b8f451eec81045d9b86c4a728333e", kill_on_drop: false }` [INFO] [stdout] 918d0491e6a54994130b893131ebf824dc8b8f451eec81045d9b86c4a728333e