[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] building c4dt/rse_warwick against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4dt%2Frse_warwick" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/c4dt/rse_warwick on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1770b843223ce2ce9d41bedba7ca97814a9f06abaf79fd003fba5c81c8f7824d [INFO] running `Command { std: "docker" "start" "-a" "1770b843223ce2ce9d41bedba7ca97814a9f06abaf79fd003fba5c81c8f7824d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1770b843223ce2ce9d41bedba7ca97814a9f06abaf79fd003fba5c81c8f7824d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1770b843223ce2ce9d41bedba7ca97814a9f06abaf79fd003fba5c81c8f7824d", kill_on_drop: false }` [INFO] [stdout] 1770b843223ce2ce9d41bedba7ca97814a9f06abaf79fd003fba5c81c8f7824d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ae14bd1ba326c0e696d207850855c1c0c1c5fdd00a722ddd3cdcd11b8c12879 [INFO] running `Command { std: "docker" "start" "-a" "1ae14bd1ba326c0e696d207850855c1c0c1c5fdd00a722ddd3cdcd11b8c12879", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.101 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling dioxus-core-types v0.6.2 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.101 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling lazy-js-bundle v0.6.2 [INFO] [stderr] Compiling keyboard-types v0.7.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling dioxus-document v0.6.3 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling dioxus-cli-config v0.6.3 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling waitgroup v0.1.2 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling send_wrapper v0.6.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling dioxus-config-macro v0.6.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling names v0.14.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling btparse v0.2.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling enum-display-macro v0.1.4 [INFO] [stderr] Compiling enum-display v0.1.4 [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] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling dioxus-rsx v0.6.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [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] Compiling yoke-derive v0.8.0 [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] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling warnings-macro v0.2.0 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.101 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling const-serialize-macro v0.6.2 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling warnings v0.2.1 [INFO] [stderr] Compiling generational-box v0.6.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.101 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling dioxus-core-macro v0.6.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling asn1-rs v0.6.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling dioxus-html-internal-macro v0.6.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling js-sys v0.3.78 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling enumset_derive v0.14.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling der-parser v9.0.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling server_fn_macro_default v0.6.15 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling ccm v0.5.0 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling p384 v0.13.1 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling dioxus_server_macro v0.6.2 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling dioxus-logger v0.6.2 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling x509-parser v0.16.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling flmacro v0.9.2 [INFO] [stderr] Compiling enumset v1.1.10 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling rcgen v0.13.2 [INFO] [stderr] Compiling webrtc-util v0.10.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling const-serialize v0.6.2 [INFO] [stderr] Compiling serde_qs v0.12.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling manganis-core v0.6.2 [INFO] [stderr] Compiling sdp v0.7.0 [INFO] [stderr] Compiling dioxus-core v0.6.3 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling web-sys v0.3.78 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.51 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling rtp v0.12.0 [INFO] [stderr] Compiling stun v0.7.0 [INFO] [stderr] Compiling rtcp v0.12.0 [INFO] [stderr] Compiling manganis-macro v0.6.2 [INFO] [stderr] Compiling webrtc-mdns v0.8.0 [INFO] [stderr] Compiling webrtc-sctp v0.11.0 [INFO] [stderr] Compiling webrtc-dtls v0.11.0 [INFO] [stderr] Compiling manganis v0.6.2 [INFO] [stderr] Compiling webrtc-media v0.9.0 [INFO] [stderr] Compiling turn v0.9.0 [INFO] [stderr] Compiling dioxus-signals v0.6.3 [INFO] [stderr] Compiling dioxus-devtools-types v0.6.2 [INFO] [stderr] Compiling dioxus-history v0.6.2 [INFO] [stderr] Compiling webrtc-srtp v0.14.0 [INFO] [stderr] Compiling dioxus-hooks v0.6.2 [INFO] [stderr] Compiling dioxus-devtools v0.6.2 [INFO] [stderr] Compiling dioxus-html v0.6.3 [INFO] [stderr] Compiling interceptor v0.13.0 [INFO] [stderr] Compiling webrtc-data v0.10.0 [INFO] [stderr] Compiling webrtc-ice v0.12.0 [INFO] [stderr] Compiling dioxus-lib v0.6.2 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-net v0.6.0 [INFO] [stderr] Compiling webrtc v0.12.0 [INFO] [stderr] Compiling wasm-streams v0.4.2 [INFO] [stderr] Compiling server_fn v0.6.15 [INFO] [stderr] Compiling dioxus-fullstack v0.6.3 [INFO] [stderr] Compiling dioxus v0.6.3 [INFO] [stderr] Compiling dioxus-leaflet v0.1.7 [INFO] [stderr] Compiling flarch v0.9.3 [INFO] [stderr] Compiling 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: 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: 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 2m 19s [INFO] running `Command { std: "docker" "inspect" "1ae14bd1ba326c0e696d207850855c1c0c1c5fdd00a722ddd3cdcd11b8c12879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ae14bd1ba326c0e696d207850855c1c0c1c5fdd00a722ddd3cdcd11b8c12879", kill_on_drop: false }` [INFO] [stdout] 1ae14bd1ba326c0e696d207850855c1c0c1c5fdd00a722ddd3cdcd11b8c12879 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8931fcf63f11911e5f478378c5fe08d3983f593de2ff9f94464344027d60efc0 [INFO] running `Command { std: "docker" "start" "-a" "8931fcf63f11911e5f478378c5fe08d3983f593de2ff9f94464344027d60efc0", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 4.92s [INFO] running `Command { std: "docker" "inspect" "8931fcf63f11911e5f478378c5fe08d3983f593de2ff9f94464344027d60efc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8931fcf63f11911e5f478378c5fe08d3983f593de2ff9f94464344027d60efc0", kill_on_drop: false }` [INFO] [stdout] 8931fcf63f11911e5f478378c5fe08d3983f593de2ff9f94464344027d60efc0