[INFO] cloning repository https://github.com/c4dt/rse_warwick [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/c4dt/rse_warwick" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4dt%2Frse_warwick", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4dt%2Frse_warwick'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da3aee3d44c2ccc1975ac0c808aacb7dbb1d9599 [INFO] checking c4dt/rse_warwick against try#09335b6f1bff25ec39f47f1533e126fbe1ca5f5d for pr-139493-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4dt%2Frse_warwick" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/c4dt/rse_warwick [INFO] finished tweaking git repo https://github.com/c4dt/rse_warwick [INFO] tweaked toml for git repo https://github.com/c4dt/rse_warwick written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/c4dt/rse_warwick on toolchain 09335b6f1bff25ec39f47f1533e126fbe1ca5f5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/c4dt/rse_warwick 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" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0088958ed0b3d1d6a4794007a6afdda62ca9beefef7be2f6b659a99a386b688c [INFO] running `Command { std: "docker" "start" "-a" "0088958ed0b3d1d6a4794007a6afdda62ca9beefef7be2f6b659a99a386b688c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0088958ed0b3d1d6a4794007a6afdda62ca9beefef7be2f6b659a99a386b688c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0088958ed0b3d1d6a4794007a6afdda62ca9beefef7be2f6b659a99a386b688c", kill_on_drop: false }` [INFO] [stdout] 0088958ed0b3d1d6a4794007a6afdda62ca9beefef7be2f6b659a99a386b688c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c63e3786b0fe11c6a19b341d7abc226529210505f9f0463118f62585e4fa9ce8 [INFO] running `Command { std: "docker" "start" "-a" "c63e3786b0fe11c6a19b341d7abc226529210505f9f0463118f62585e4fa9ce8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.101 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking dioxus-core-types v0.6.2 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.101 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Compiling lazy-js-bundle v0.6.2 [INFO] [stderr] Checking keyboard-types v0.7.0 [INFO] [stderr] Compiling dioxus-document v0.6.3 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.101 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling server_fn_macro v0.6.15 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling dioxus-rsx v0.6.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.101 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling warnings-macro v0.2.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.101 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking generational-box v0.6.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking warnings v0.2.1 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking js-sys v0.3.78 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling const-serialize-macro v0.6.2 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling enumset_derive v0.14.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking asn1-rs v0.6.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking enumset v1.1.10 [INFO] [stderr] Checking webrtc-util v0.10.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling dioxus-core-macro v0.6.3 [INFO] [stderr] Compiling dioxus-html-internal-macro v0.6.2 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking slotmap v1.0.7 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking web-sys v0.3.78 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.51 [INFO] [stderr] Checking rtp v0.12.0 [INFO] [stderr] Checking dioxus-core v0.6.3 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking dioxus-cli-config v0.6.3 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking waitgroup v0.1.2 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking dioxus-signals v0.6.3 [INFO] [stderr] Compiling const-serialize v0.6.2 [INFO] [stderr] Checking dioxus-history v0.6.2 [INFO] [stderr] Checking dioxus-devtools-types v0.6.2 [INFO] [stderr] Compiling manganis-core v0.6.2 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking dioxus-hooks v0.6.2 [INFO] [stderr] Checking stun v0.7.0 [INFO] [stderr] Checking dioxus-html v0.6.3 [INFO] [stderr] Checking rtcp v0.12.0 [INFO] [stderr] Checking serde_qs v0.12.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling server_fn_macro_default v0.6.15 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling dioxus-config-macro v0.6.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling manganis-macro v0.6.2 [INFO] [stderr] Checking rcgen v0.13.2 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking webrtc-mdns v0.8.0 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking webrtc-srtp v0.14.0 [INFO] [stderr] Checking dioxus-devtools v0.6.2 [INFO] [stderr] Checking turn v0.9.0 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking dioxus-lib v0.6.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking webrtc-sctp v0.11.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking p384 v0.13.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking ccm v0.5.0 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Compiling dioxus_server_macro v0.6.2 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking wasm-streams v0.4.2 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking gloo-net v0.6.0 [INFO] [stderr] Checking webrtc-ice v0.12.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Checking webrtc-dtls v0.11.0 [INFO] [stderr] Checking webrtc-data v0.10.0 [INFO] [stderr] Checking manganis v0.6.2 [INFO] [stderr] Checking server_fn v0.6.15 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking sdp v0.7.0 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking interceptor v0.13.0 [INFO] [stderr] Checking dioxus-logger v0.6.2 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking dioxus-fullstack v0.6.3 [INFO] [stderr] Checking webrtc-media v0.9.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Compiling names v0.14.0 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking serde_with v3.14.0 [INFO] [stderr] Compiling enum-display-macro v0.1.4 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Checking dioxus v0.6.3 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking enum-display v0.1.4 [INFO] [stderr] Compiling flmacro v0.9.2 [INFO] [stderr] Checking btparse v0.2.0 [INFO] [stderr] Checking dioxus-leaflet v0.1.7 [INFO] [stderr] Checking webrtc v0.12.0 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking flarch v0.9.3 [INFO] [stderr] Checking warwick v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::HashMap` and `fmt::Error` [INFO] [stdout] --> src/components/map.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Error}; [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: `anyhow::Result` [INFO] [stdout] --> src/components/map.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fullstack::once_cell::sync::OnceCell` and `logger::tracing` [INFO] [stdout] --> src/components/map.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use dioxus::{fullstack::once_cell::sync::OnceCell, logger::tracing, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tasks::now` [INFO] [stdout] --> src/components/map.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use flarch::{nodeids::U256, tasks::now}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flmacro::VersionedSerde` [INFO] [stdout] --> src/components/map.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use flmacro::VersionedSerde; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> src/components/map.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/components/map.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/components/map.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dioxus_leaflet::MapOptions` [INFO] [stdout] --> src/components/map.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | use dioxus_leaflet::MapOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spawn_local` [INFO] [stdout] --> src/components/map.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | use flarch::tasks::{spawn_local, wait_ms}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::storage::store_user` [INFO] [stdout] --> src/components/map.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | use crate::components::storage::store_user; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OnceLock`, `cell::OnceCell`, and `fmt::Error` [INFO] [stdout] --> src/components/storage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::OnceCell, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | collections::HashMap, [INFO] [stdout] 4 | fmt::Error, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | sync::{Arc, LazyLock, Mutex, OnceLock}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MapMarker`, `MapPosition`, and `Map` [INFO] [stdout] --> src/components/storage.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use dioxus_leaflet::{Map, MapMarker, MapPosition}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `fmt::Error` [INFO] [stdout] --> src/components/map.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Error}; [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: `anyhow::Result` [INFO] [stdout] --> src/components/map.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fullstack::once_cell::sync::OnceCell` and `logger::tracing` [INFO] [stdout] --> src/components/map.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use dioxus::{fullstack::once_cell::sync::OnceCell, logger::tracing, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tasks::now` [INFO] [stdout] --> src/components/map.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use flarch::{nodeids::U256, tasks::now}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flmacro::VersionedSerde` [INFO] [stdout] --> src/components/map.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use flmacro::VersionedSerde; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> src/components/map.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/components/map.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/components/map.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dioxus_leaflet::MapOptions` [INFO] [stdout] --> src/components/map.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | use dioxus_leaflet::MapOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spawn_local` [INFO] [stdout] --> src/components/map.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | use flarch::tasks::{spawn_local, wait_ms}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::storage::store_user` [INFO] [stdout] --> src/components/map.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | use crate::components::storage::store_user; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OnceLock`, `cell::OnceCell`, and `fmt::Error` [INFO] [stdout] --> src/components/storage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::OnceCell, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | collections::HashMap, [INFO] [stdout] 4 | fmt::Error, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | sync::{Arc, LazyLock, Mutex, OnceLock}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MapMarker`, `MapPosition`, and `Map` [INFO] [stdout] --> src/components/storage.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use dioxus_leaflet::{Map, MapMarker, MapPosition}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/map.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | let (mut latitude, mut longitude) = (0f64, 0f64); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/map.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | let (mut latitude, mut longitude) = (0f64, 0f64); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/map.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let mut user_id = U256::rnd(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/map.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | let mut user_name = format!("Unknown"); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/components/map.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let mut user_id = U256::rnd(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/map.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | let mut user_id = U256::rnd(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/components/map.rs:293:16 [INFO] [stdout] | [INFO] [stdout] 293 | .map(|(i, p)| MapMarker { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/components/storage.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let a = LOCK.lock().map_err(|_| anyhow::anyhow!("mutex error"))?; [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] --> src/components/storage.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let a = LOCK.lock().map_err(|_| anyhow::anyhow!("mutex error"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/map.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | let (mut latitude, mut longitude) = (0f64, 0f64); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/map.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | let (mut latitude, mut longitude) = (0f64, 0f64); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/map.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let mut user_id = U256::rnd(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/map.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | let mut user_name = format!("Unknown"); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/components/map.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let mut user_id = U256::rnd(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/map.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | let mut user_id = U256::rnd(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Storage` is never constructed [INFO] [stdout] --> src/components/storage.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCK` is never used [INFO] [stdout] --> src/components/storage.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | static LOCK: LazyLock>> = LazyLock::new(|| Arc::new(Mutex::new(0))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/components/storage.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl Storage { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 28 | pub async fn new(path: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn add_message(&mut self, user: U256, poi: usize, message: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn add_user(&mut self, id: U256, name: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn users(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_messages(&self, poi: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn message_string(&self, msg: &Message) -> MessageString { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_stats(&self) -> Stats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | async fn save(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/components/storage.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageV1` is never constructed [INFO] [stdout] --> src/components/storage.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserPrivate` is never constructed [INFO] [stdout] --> src/components/storage.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct UserPrivate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserPrivateV1` is never constructed [INFO] [stdout] --> src/components/storage.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct UserPrivate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `public` is never used [INFO] [stdout] --> src/components/storage.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 165 | impl UserPrivate { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 166 | pub fn public(&self) -> U256 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/components/storage.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_storage` is never used [INFO] [stdout] --> src/components/storage.rs:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | async fn with_storage T>(mut f: U) -> T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_storage_mut` is never used [INFO] [stdout] --> src/components/storage.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | async fn with_storage_mut T>(mut f: U) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/components/map.rs:293:16 [INFO] [stdout] | [INFO] [stdout] 293 | .map(|(i, p)| MapMarker { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/components/storage.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let a = LOCK.lock().map_err(|_| anyhow::anyhow!("mutex error"))?; [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] --> src/components/storage.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let a = LOCK.lock().map_err(|_| anyhow::anyhow!("mutex error"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/components/map.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | add_message(user_id, poi, input_text()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 260 | let _ = add_message(user_id, poi, input_text()).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `dioxus::prelude::use_resource` that must be used [INFO] [stdout] --> src/components/map.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | / use_resource(move || async move { [INFO] [stdout] 284 | | loop { [INFO] [stdout] 285 | | wait_ms(10).await; [INFO] [stdout] 286 | | *update.write() += 1; [INFO] [stdout] 287 | | } [INFO] [stdout] 288 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: Consider using `cx.spawn` to run a future without reading its value [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 283 | let _ = use_resource(move || async move { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/components/storage.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | s.save().await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 201 | let _ = s.save().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Storage` is never constructed [INFO] [stdout] --> src/components/storage.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCK` is never used [INFO] [stdout] --> src/components/storage.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | static LOCK: LazyLock>> = LazyLock::new(|| Arc::new(Mutex::new(0))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/components/storage.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl Storage { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 28 | pub async fn new(path: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn add_message(&mut self, user: U256, poi: usize, message: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn add_user(&mut self, id: U256, name: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn users(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_messages(&self, poi: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn message_string(&self, msg: &Message) -> MessageString { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_stats(&self) -> Stats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | async fn save(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/components/storage.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageV1` is never constructed [INFO] [stdout] --> src/components/storage.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserPrivate` is never constructed [INFO] [stdout] --> src/components/storage.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct UserPrivate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserPrivateV1` is never constructed [INFO] [stdout] --> src/components/storage.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct UserPrivate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `public` is never used [INFO] [stdout] --> src/components/storage.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 165 | impl UserPrivate { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 166 | pub fn public(&self) -> U256 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/components/storage.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_storage` is never used [INFO] [stdout] --> src/components/storage.rs:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | async fn with_storage T>(mut f: U) -> T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_storage_mut` is never used [INFO] [stdout] --> src/components/storage.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | async fn with_storage_mut T>(mut f: U) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/components/map.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | add_message(user_id, poi, input_text()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 260 | let _ = add_message(user_id, poi, input_text()).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `dioxus::prelude::use_resource` that must be used [INFO] [stdout] --> src/components/map.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | / use_resource(move || async move { [INFO] [stdout] 284 | | loop { [INFO] [stdout] 285 | | wait_ms(10).await; [INFO] [stdout] 286 | | *update.write() += 1; [INFO] [stdout] 287 | | } [INFO] [stdout] 288 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: Consider using `cx.spawn` to run a future without reading its value [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 283 | let _ = use_resource(move || async move { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/components/storage.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | s.save().await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 201 | let _ = s.save().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.09s [INFO] running `Command { std: "docker" "inspect" "c63e3786b0fe11c6a19b341d7abc226529210505f9f0463118f62585e4fa9ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c63e3786b0fe11c6a19b341d7abc226529210505f9f0463118f62585e4fa9ce8", kill_on_drop: false }` [INFO] [stdout] c63e3786b0fe11c6a19b341d7abc226529210505f9f0463118f62585e4fa9ce8