[INFO] cloning repository https://github.com/zhangsan-feng/gpui_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhangsan-feng/gpui_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangsan-feng%2Fgpui_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangsan-feng%2Fgpui_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5b09a220c5479679a183dbc17a6bd73dc5f936f [INFO] checking zhangsan-feng/gpui_example against try#3248bace201b6227b0ff78eacc8b00d805551a86 for pr-153513 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangsan-feng%2Fgpui_example" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zhangsan-feng/gpui_example [INFO] finished tweaking git repo https://github.com/zhangsan-feng/gpui_example [INFO] tweaked toml for git repo https://github.com/zhangsan-feng/gpui_example written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zhangsan-feng/gpui_example on toolchain 3248bace201b6227b0ff78eacc8b00d805551a86 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3248bace201b6227b0ff78eacc8b00d805551a86" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zhangsan-feng/gpui_example 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" "+3248bace201b6227b0ff78eacc8b00d805551a86" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3248bace201b6227b0ff78eacc8b00d805551a86" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c22894ee2c1d5e32d3931524ff643f0b6df1b60de9c32cb10e40a3df5ca5037 [INFO] running `Command { std: "docker" "start" "-a" "0c22894ee2c1d5e32d3931524ff643f0b6df1b60de9c32cb10e40a3df5ca5037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c22894ee2c1d5e32d3931524ff643f0b6df1b60de9c32cb10e40a3df5ca5037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c22894ee2c1d5e32d3931524ff643f0b6df1b60de9c32cb10e40a3df5ca5037", kill_on_drop: false }` [INFO] [stdout] 0c22894ee2c1d5e32d3931524ff643f0b6df1b60de9c32cb10e40a3df5ca5037 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3248bace201b6227b0ff78eacc8b00d805551a86" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ebcc6f584a879bcfed8150af4c85045d85f5b75ee6bacee45344d5c2e631b00 [INFO] running `Command { std: "docker" "start" "-a" "0ebcc6f584a879bcfed8150af4c85045d85f5b75ee6bacee45344d5c2e631b00", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling erased-serde v0.4.9 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking serde_fmt v1.1.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking value-bag-serde1 v1.12.0 [INFO] [stderr] Checking value-bag v1.12.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling zmij v1.0.16 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Checking flate2 v1.1.8 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Checking unicode-ident v1.0.22 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling aws-lc-sys v0.37.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerocopy-derive v0.8.33 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling aws-lc-rs v1.15.4 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking async-signal v0.2.13 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Checking async-process v2.5.0 [INFO] [stderr] Compiling zvariant_utils v3.3.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Compiling zvariant_derive v5.9.2 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling slotmap v1.1.1 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking deflate64 v0.1.10 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking compression-codecs v0.4.36 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking collections v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Checking async-compression v0.4.37 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking async-net v2.0.0 [INFO] [stderr] Checking async-fs v2.2.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking euclid v0.22.13 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking unicase v2.9.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Compiling zvariant v5.9.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Checking fontconfig-parser v0.5.8 [INFO] [stderr] Compiling rust-embed-utils v8.11.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking core_maths v0.1.1 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking unicode-script v0.5.8 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Checking unicode-properties v0.1.4 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling serde_json_lenient v0.2.4 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling tree-sitter-language v0.1.6 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling schemars_derive v1.2.0 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Compiling ar_archive_writer v0.2.0 [INFO] [stderr] Compiling zbus_names v4.3.1 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling psm v0.1.28 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking aligned v0.4.3 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling rust-embed-impl v8.11.0 [INFO] [stderr] Compiling pathfinder_simd v0.5.5 [INFO] [stderr] Checking lyon_geom v1.0.18 [INFO] [stderr] Checking wayland-protocols v0.32.10 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking font-types v0.10.1 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling naga v25.0.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking y4m v0.8.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking which v6.0.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling codespan-reporting v0.12.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Checking schemars v1.2.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking async-std v1.13.2 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking read-fonts v0.35.0 [INFO] [stderr] Checking lyon_path v1.0.16 [INFO] [stderr] Checking rust-embed v8.11.0 [INFO] [stderr] Checking command-fds v0.3.2 [INFO] [stderr] Compiling zbus_macros v5.13.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking smol v2.0.2 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking async_zip v0.0.18 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Compiling arc-swap v1.8.0 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Checking kurbo v0.11.3 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Compiling ztracing v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Checking take-until v0.2.0 [INFO] [stderr] Checking unicode-bidi-mirroring v0.4.0 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking unicode-ccc v0.4.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Compiling xim-parser v0.2.1 (https://github.com/zed-industries/xim-rs.git?rev=16f35a2c881b815a2b6cdfd6687988e84f8447d8#16f35a2c) [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking gpu-alloc-ash v0.7.0 [INFO] [stderr] Checking ash-window v0.13.0 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Compiling triomphe v0.1.15 [INFO] [stderr] Checking skrifa v0.37.0 [INFO] [stderr] Checking rustybuzz v0.20.1 [INFO] [stderr] Checking util v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Compiling hidden-trait v0.1.2 [INFO] [stderr] Checking zbus v5.13.2 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking svgtypes v0.15.3 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking async-tar v0.5.1 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking fontdb v0.23.0 [INFO] [stderr] Checking zlog v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Checking simplecss v0.2.2 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking pxfm v0.1.27 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking is-docker v0.2.0 [INFO] [stderr] Compiling zed-font-kit v0.14.1-zed (https://github.com/zed-industries/font-kit?rev=110523127440aefb11ce0cf280ae7c5071337ec5#11052312) [INFO] [stderr] Compiling dtor-proc-macro v0.0.5 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking float_next_after v1.0.0 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Checking yazi v0.2.1 [INFO] [stderr] Compiling ztracing_macro v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Checking zeno v0.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.27 [INFO] [stderr] Compiling base62 v2.2.3 [INFO] [stderr] Checking data-url v0.3.2 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking imagesize v0.13.0 [INFO] [stderr] Compiling normpath v1.5.0 [INFO] [stderr] Checking zune-core v0.5.1 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking unicode-ccc v0.2.0 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Compiling rust-i18n-support v3.1.5 [INFO] [stderr] Checking blade-graphics v0.7.0 (https://github.com/kvark/blade?rev=e3cf011ca18a6dfd907d1dedd93e85e21f005fe3#e3cf011c) [INFO] [stderr] Checking zune-jpeg v0.5.11 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking gif v0.14.1 [INFO] [stderr] Checking usvg v0.45.1 [INFO] [stderr] Checking fontdb v0.16.2 [INFO] [stderr] Checking swash v0.2.6 [INFO] [stderr] Compiling gpui v0.2.2 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Checking rustybuzz v0.14.1 [INFO] [stderr] Checking ashpd v0.12.1 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking lyon_tessellation v1.0.16 [INFO] [stderr] Checking dtor v0.0.6 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking is-wsl v0.4.0 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking ravif v0.12.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking http_client v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Compiling stacksafe-macro v0.1.4 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling perf v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking lyon_algorithms v1.0.16 [INFO] [stderr] Checking xim-ctext v0.3.0 (https://github.com/zed-industries/xim-rs.git?rev=16f35a2c881b815a2b6cdfd6687988e84f8447d8#16f35a2c) [INFO] [stderr] Compiling rust-i18n v3.1.5 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Compiling tree-sitter v0.25.10 [INFO] [stderr] Checking calloop v0.14.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling derive_refineable v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling tree-sitter-json v0.24.8 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking rangemap v1.7.1 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking pollster v0.2.5 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ctor-proc-macro v0.0.6 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking grid v0.18.0 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking self_cell v1.2.2 [INFO] [stderr] Checking svg_fmt v0.4.5 [INFO] [stderr] Checking sys-locale v0.3.2 [INFO] [stderr] Checking cosmic-text v0.14.2 [INFO] [stderr] Checking etagere v0.2.15 [INFO] [stderr] Checking xkbcommon v0.8.0 [INFO] [stderr] Compiling rust-i18n-macro v3.1.5 [INFO] [stderr] Checking oo7 v0.5.0 [INFO] [stderr] Checking taffy v0.9.0 [INFO] [stderr] Checking zed-xim v0.4.0-zed (https://github.com/zed-industries/xim-rs.git?rev=16f35a2c881b815a2b6cdfd6687988e84f8447d8#16f35a2c) [INFO] [stderr] Checking ctor v0.4.3 [INFO] [stderr] Checking postage v0.5.0 [INFO] [stderr] Checking refineable v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Checking open v5.3.3 [INFO] [stderr] Checking notify-types v1.0.1 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking lyon v1.0.16 [INFO] [stderr] Compiling util_macros v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Checking resvg v0.45.1 [INFO] [stderr] Checking stacksafe v0.1.4 [INFO] [stderr] Checking scheduler v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Checking sum_tree v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Checking blade-util v0.3.0 (https://github.com/kvark/blade?rev=e3cf011ca18a6dfd907d1dedd93e85e21f005fe3#e3cf011c) [INFO] [stderr] Checking x11-clipboard v0.9.3 [INFO] [stderr] Checking xml5ever v0.18.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.10 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.10 [INFO] [stderr] Checking wayland-cursor v0.31.12 [INFO] [stderr] Checking tokio-socks v0.5.2 [INFO] [stderr] Checking filedescriptor v0.8.3 [INFO] [stderr] Checking fluent-uri v0.1.4 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Compiling enum-iterator-derive v1.5.0 [INFO] [stderr] Compiling gpui_macros v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Compiling blade-macros v0.3.0 (https://github.com/kvark/blade?rev=e3cf011ca18a6dfd907d1dedd93e85e21f005fe3#e3cf011c) [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking spin v0.10.0 [INFO] [stderr] Checking str_indices v0.4.4 [INFO] [stderr] Checking inventory v0.3.21 [INFO] [stderr] Checking unicode-id v0.3.6 [INFO] [stderr] Checking circular-buffer v1.2.0 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking workspace-hack v0.1.0 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking zed-sum-tree v0.2.0 [INFO] [stderr] Checking enum-iterator v2.3.0 [INFO] [stderr] Checking markdown v1.0.0 [INFO] [stderr] Checking ropey v2.0.0-beta.1 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking lsp-types v0.97.0 [INFO] [stderr] Checking markup5ever_rcdom v0.3.0 [INFO] [stderr] Checking notify v7.0.0 [INFO] [stderr] Compiling gpui-macros v0.2.2 [INFO] [stderr] Compiling gpui-component-macros v0.5.0 (https://github.com/longbridge/gpui-component#2a3c297d) [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking fern v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.5.3 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking http_client_tls v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking zed-reqwest v0.12.15-zed (https://github.com/zed-industries/reqwest.git?rev=c15662463bda39148ba154100dd44d3fba5873a4#c1566246) [INFO] [stderr] Checking reqwest v0.13.1 [INFO] [stderr] Checking reqwest_client v0.1.0 (https://github.com/zed-industries/zed#80f1cc03) [INFO] [stderr] Checking gpui-component v0.5.0 (https://github.com/longbridge/gpui-component#2a3c297d) [INFO] [stderr] Checking gui v0.1.0 (/opt/rustwide/workdir/gui) [INFO] [stdout] warning: unused imports: `GroupMembers` and `MessageGroup` [INFO] [stdout] --> gui/src/component/home.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::component::{rgb_to_u32, GroupMembers, MessageGroup, UserDetailInfo, WsMsgEvent}; [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: `std::path::PathBuf` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DockArea` and `Dock` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use gpui_component::dock::{Dock, DockArea}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::service::http_request` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::service::http_request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::service::http_request::RestResponse` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::service::http_request::RestResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventBus` and `GlobalState` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::state::{EventBus, GlobalState}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputState` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | use gpui_component::input::{Input, InputState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VirtualListScrollHandle` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:14:80 [INFO] [stdout] | [INFO] [stdout] 14 | use gpui_component::{Root, Sizable, StyledExt, h_flex, v_flex, v_virtual_list, VirtualListScrollHandle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::component::message_page::MessagePage` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::component::message_page::MessagePage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IconName` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:10:73 [INFO] [stdout] | [INFO] [stdout] 10 | use gpui_component::{StyleSized, h_flex, v_flex, InteractiveElementExt, IconName}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::component::{GroupMembers, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::component::message_page::MessagePage` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::component::message_page::MessagePage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StyleSized` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use gpui_component::{h_flex, v_flex, StyleSized}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RestResponse` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::service::http_request::{HttpClient, RestResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sizable` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | use gpui_component::{h_flex, v_flex, v_virtual_list, Sizable, VirtualListScrollHandle}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TabBar` and `Tab` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use gpui_component::tab::{Tab, TabBar}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageGroup` and `User` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::component::{rgb_to_u32, MessageGroup, User}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs::File` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BytesCodec` and `FramedRead` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio_util::codec::{BytesCodec, FramedRead}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupHistory` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::component::{rgb_to_u32, GroupHistory, MessageGroup, User, WsMsgEvent}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes` and `Read` [INFO] [stdout] --> gui/src/state.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Bytes, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> gui/src/service/http_request.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RedirectPolicy`, `Request`, `Response`, `Url`, `anyhow`, and `http` [INFO] [stdout] --> gui/src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use gpui::http_client::{RedirectPolicy, Request, Response, Url, anyhow, http}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GroupMembers` and `MessageGroup` [INFO] [stdout] --> gui/src/component/home.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::component::{rgb_to_u32, GroupMembers, MessageGroup, UserDetailInfo, WsMsgEvent}; [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: `std::path::PathBuf` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DockArea` and `Dock` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use gpui_component::dock::{Dock, DockArea}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::service::http_request` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::service::http_request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::service::http_request::RestResponse` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::service::http_request::RestResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventBus` and `GlobalState` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::state::{EventBus, GlobalState}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputState` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | use gpui_component::input::{Input, InputState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VirtualListScrollHandle` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:14:80 [INFO] [stdout] | [INFO] [stdout] 14 | use gpui_component::{Root, Sizable, StyledExt, h_flex, v_flex, v_virtual_list, VirtualListScrollHandle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::component::message_page::MessagePage` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::component::message_page::MessagePage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IconName` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:10:73 [INFO] [stdout] | [INFO] [stdout] 10 | use gpui_component::{StyleSized, h_flex, v_flex, InteractiveElementExt, IconName}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::component::{GroupMembers, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::component::message_page::MessagePage` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::component::message_page::MessagePage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StyleSized` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use gpui_component::{h_flex, v_flex, StyleSized}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RestResponse` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::service::http_request::{HttpClient, RestResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sizable` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | use gpui_component::{h_flex, v_flex, v_virtual_list, Sizable, VirtualListScrollHandle}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TabBar` and `Tab` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use gpui_component::tab::{Tab, TabBar}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageGroup` and `User` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::component::{rgb_to_u32, MessageGroup, User}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs::File` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BytesCodec` and `FramedRead` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio_util::codec::{BytesCodec, FramedRead}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupHistory` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::component::{rgb_to_u32, GroupHistory, MessageGroup, User, WsMsgEvent}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes` and `Read` [INFO] [stdout] --> gui/src/state.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Bytes, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> gui/src/service/http_request.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RedirectPolicy`, `Request`, `Response`, `Url`, `anyhow`, and `http` [INFO] [stdout] --> gui/src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use gpui::http_client::{RedirectPolicy, Request, Response, Url, anyhow, http}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:157:79 [INFO] [stdout] | [INFO] [stdout] 157 | ... btn_cx_entity.update(&mut btn_cx_async_cx, |this, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:150:79 [INFO] [stdout] | [INFO] [stdout] 150 | ... btn_cx_entity.update(&mut btn_cx_async_cx, |this, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view` [INFO] [stdout] --> gui/src/component/login.rs:139:75 [INFO] [stdout] | [INFO] [stdout] 139 | ... win_handler.update(&mut btn_cx_async_cx, |view, window, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:139:89 [INFO] [stdout] | [INFO] [stdout] 139 | ... win_handler.update(&mut btn_cx_async_cx, |view, window, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:129:83 [INFO] [stdout] | [INFO] [stdout] 129 | ... global_state.update(&mut btn_cx_async_cx, |state, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:143:83 [INFO] [stdout] | [INFO] [stdout] 143 | ... btn_cx_entity.update(&mut btn_cx_async_cx, |this, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/login.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | .on_click(cx.listener(|this, event, window, cx| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:207:94 [INFO] [stdout] | [INFO] [stdout] 207 | ... entity_view.update(&mut async_cx, |this, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/login.rs:192:84 [INFO] [stdout] | [INFO] [stdout] 192 | ... let paths = entity_view.update(&mut async_cx, |this, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/login.rs:187:38 [INFO] [stdout] | [INFO] [stdout] 187 | cx.listener(|this, _, _, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> gui/src/component/login.rs:244:28 [INFO] [stdout] | [INFO] [stdout] 244 | .on_click(|a, b, c|{}) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> gui/src/component/login.rs:244:31 [INFO] [stdout] | [INFO] [stdout] 244 | .on_click(|a, b, c|{}) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> gui/src/component/login.rs:244:34 [INFO] [stdout] | [INFO] [stdout] 244 | .on_click(|a, b, c|{}) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:241:35 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn register_button(&self, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn register_page(&self, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/home.rs:103:52 [INFO] [stdout] | [INFO] [stdout] 103 | ... .on_click(cx.listener(|this, event ,window, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/home.rs:103:58 [INFO] [stdout] | [INFO] [stdout] 103 | ... .on_click(cx.listener(|this, event ,window, cx|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/home.rs:103:73 [INFO] [stdout] | [INFO] [stdout] 103 | ... .on_click(cx.listener(|this, event ,window, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/home.rs:71:52 [INFO] [stdout] | [INFO] [stdout] 71 | ... .on_click(cx.listener(|this, event ,window, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/home.rs:71:58 [INFO] [stdout] | [INFO] [stdout] 71 | ... .on_click(cx.listener(|this, event ,window, cx|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/home.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn top_sidebar(&self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> gui/src/component/home.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> gui/src/component/home.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 115 | EventBus::WebSocketText(txt)=>{ [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 133 | EventBus::ChildrenChangeSelectIndex=>{ [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 136 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/home.rs:232:69 [INFO] [stdout] | [INFO] [stdout] 232 | ... .on_click(cx.listener(move |this, event, window, view| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/home.rs:232:76 [INFO] [stdout] | [INFO] [stdout] 232 | ... .on_click(cx.listener(move |this, event, window, view| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:137:84 [INFO] [stdout] | [INFO] [stdout] 137 | ... this.sned_message_entity.update(cx, |this, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:123:77 [INFO] [stdout] | [INFO] [stdout] 123 | ... .on_mouse_down(MouseButton::Right, cx.listener(|this, _, _, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:123:89 [INFO] [stdout] | [INFO] [stdout] 123 | ... .on_mouse_down(MouseButton::Right, cx.listener(|this, _, _, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | |this, visible_range, window, cx| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:257:64 [INFO] [stdout] | [INFO] [stdout] 257 | ... global_state.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:246:77 [INFO] [stdout] | [INFO] [stdout] 246 | ... .on_click(window.listener_for(& entity_handle, |this, event, window, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:246:83 [INFO] [stdout] | [INFO] [stdout] 246 | ... .on_click(window.listener_for(& entity_handle, |this, event, window, cx|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:238:60 [INFO] [stdout] | [INFO] [stdout] 238 | ... global_state.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:227:80 [INFO] [stdout] | [INFO] [stdout] 227 | .on_click(window.listener_for(&entity_handle.clone(), |this, event, window, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:227:86 [INFO] [stdout] | [INFO] [stdout] 227 | .on_click(window.listener_for(&entity_handle.clone(), |this, event, window, cx|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:224:77 [INFO] [stdout] | [INFO] [stdout] 224 | .dropdown_menu_with_anchor(Corner::TopLeft, move |menu, window, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:312:63 [INFO] [stdout] | [INFO] [stdout] 312 | .submenu("群消息设置 >", w, _cx, |submenu, window, cx| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:312:71 [INFO] [stdout] | [INFO] [stdout] 312 | .submenu("群消息设置 >", w, _cx, |submenu, window, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:308:32 [INFO] [stdout] | [INFO] [stdout] 308 | ... |this, _, _, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:308:44 [INFO] [stdout] | [INFO] [stdout] 308 | ... |this, _, _, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 302 | ... |this, _, _, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:302:44 [INFO] [stdout] | [INFO] [stdout] 302 | ... |this, _, _, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:296:28 [INFO] [stdout] | [INFO] [stdout] 296 | |this, _, _, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:296:40 [INFO] [stdout] | [INFO] [stdout] 296 | |this, _, _, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:267:39 [INFO] [stdout] | [INFO] [stdout] 267 | pub(crate) fn left_sidebar(&self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(window: &mut Window, cx: &mut Context) ->Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(window: &mut Window, cx: &mut Context) ->Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:118:52 [INFO] [stdout] | [INFO] [stdout] 118 | ... Ok(msg)=>{}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:109:58 [INFO] [stdout] | [INFO] [stdout] 109 | ... entity_view.update(app, |this, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:106:52 [INFO] [stdout] | [INFO] [stdout] 106 | ... .on_double_click(move |event, window, app| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:106:59 [INFO] [stdout] | [INFO] [stdout] 106 | ... .on_double_click(move |event, window, app| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:65:72 [INFO] [stdout] | [INFO] [stdout] 65 | gpui::list(history_message_scroll_handle, move |index, window, app| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:65:80 [INFO] [stdout] | [INFO] [stdout] 65 | gpui::list(history_message_scroll_handle, move |index, window, app| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new( window: &mut Window, cx: &mut Context)->Self{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new( window: &mut Window, cx: &mut Context)->Self{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | ... |this, _, _, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | ... |this, _, _, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:131:55 [INFO] [stdout] | [INFO] [stdout] 131 | ... global_state.update(cx,|this, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:124:45 [INFO] [stdout] | [INFO] [stdout] 124 | ... Ok(Ok(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:74:122 [INFO] [stdout] | [INFO] [stdout] 74 | ... .on_mouse_down(MouseButton::Right, cx.listener(move |this, _, _, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:43:60 [INFO] [stdout] | [INFO] [stdout] 43 | let paths = entity_view.update(&mut async_cx, |this, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:231:47 [INFO] [stdout] | [INFO] [stdout] 231 | ... Ok(Ok(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:187:58 [INFO] [stdout] | [INFO] [stdout] 187 | ... .on_click(cx.listener(|this, event, window, cx| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:118:46 [INFO] [stdout] | [INFO] [stdout] 118 | ... cx.listener(|this, event, window, cx| {}), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:118:52 [INFO] [stdout] | [INFO] [stdout] 118 | ... cx.listener(|this, event, window, cx| {}), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:118:59 [INFO] [stdout] | [INFO] [stdout] 118 | ... cx.listener(|this, event, window, cx| {}), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:118:67 [INFO] [stdout] | [INFO] [stdout] 118 | ... cx.listener(|this, event, window, cx| {}), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:103:52 [INFO] [stdout] | [INFO] [stdout] 103 | ... cx.listener(|this, event, window, cx| this.pick_files(cx)), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:103:59 [INFO] [stdout] | [INFO] [stdout] 103 | ... cx.listener(|this, event, window, cx| this.pick_files(cx)), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | fn render (&mut self, window: &mut Window, cx: &mut Context, ) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | |this, _, window, cx|{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:108:84 [INFO] [stdout] | [INFO] [stdout] 108 | ... window_handler.update(&mut cx_async, |_,window,app|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | move |this, _, window, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:146:84 [INFO] [stdout] | [INFO] [stdout] 146 | ... window_handler.update(&mut cx_async, |_,window,app|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | move |this, _, window, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:303:90 [INFO] [stdout] | [INFO] [stdout] 303 | ... .on_mouse_down(MouseButton::Left, cx.listener(|this, event, window, cx|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:303:97 [INFO] [stdout] | [INFO] [stdout] 303 | ... .on_mouse_down(MouseButton::Left, cx.listener(|this, event, window, cx|{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:280:90 [INFO] [stdout] | [INFO] [stdout] 280 | ... .on_mouse_down(MouseButton::Left, cx.listener(|this, event, window, cx|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:280:97 [INFO] [stdout] | [INFO] [stdout] 280 | ... .on_mouse_down(MouseButton::Left, cx.listener(|this, event, window, cx|{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:244:51 [INFO] [stdout] | [INFO] [stdout] 244 | global_state.0.update(app, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:241:27 [INFO] [stdout] | [INFO] [stdout] 241 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> gui/src/component/message_page/create_group_chat_window.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut myself = CreateGroupChatWindow { [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: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/create_group_chat_window.rs:80:78 [INFO] [stdout] | [INFO] [stdout] 80 | ... entity_view.update(&mut async_cx, |this, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/create_group_chat_window.rs:61:84 [INFO] [stdout] | [INFO] [stdout] 61 | ... let paths = entity_view.update(&mut async_cx, |this, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/create_group_chat_window.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | cx.listener(|this, _, _, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/create_group_chat_window.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | global_state.0.update(app, |this, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/create_group_chat_window.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:174:73 [INFO] [stdout] | [INFO] [stdout] 174 | ... self.group_members_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:170:75 [INFO] [stdout] | [INFO] [stdout] 170 | ... self.history_message_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:167:70 [INFO] [stdout] | [INFO] [stdout] 167 | ... self.sned_message_entity.update(cx,|this,cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:128:73 [INFO] [stdout] | [INFO] [stdout] 128 | ... self.group_members_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:124:75 [INFO] [stdout] | [INFO] [stdout] 124 | ... self.history_message_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:121:70 [INFO] [stdout] | [INFO] [stdout] 121 | ... self.sned_message_entity.update(cx,|this,cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:97:75 [INFO] [stdout] | [INFO] [stdout] 97 | ... self.history_message_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:206:61 [INFO] [stdout] | [INFO] [stdout] 206 | self.group_members_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:203:60 [INFO] [stdout] | [INFO] [stdout] 203 | self.sned_message_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:199:63 [INFO] [stdout] | [INFO] [stdout] 199 | self.history_message_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:217:90 [INFO] [stdout] | [INFO] [stdout] 217 | fn left_panel_handle_resize(&mut self, event: &DragMoveEvent, cx: &mut Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:235:52 [INFO] [stdout] | [INFO] [stdout] 235 | self.sned_message_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:317:98 [INFO] [stdout] | [INFO] [stdout] 317 | ... .on_drag(HistoryMessagePanelResizeHandle, |this, size, window, app| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:317:104 [INFO] [stdout] | [INFO] [stdout] 317 | ... .on_drag(HistoryMessagePanelResizeHandle, |this, size, window, app| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:266:61 [INFO] [stdout] | [INFO] [stdout] 266 | .on_drag_move(cx.listener(|this, event, window, cx|{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:263:60 [INFO] [stdout] | [INFO] [stdout] 263 | .on_drag(LeftPanelResizeHandle, |this, size, window, app| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:263:66 [INFO] [stdout] | [INFO] [stdout] 263 | .on_drag(LeftPanelResizeHandle, |this, size, window, app| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:41:59 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn init_component_data(&mut self, data:Vec, cx: &mut Context){ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:47:64 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn update_component_data(&mut self, event: WsMsgEvent, cx: &mut Context){ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | |this, _, _, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:235:40 [INFO] [stdout] | [INFO] [stdout] 235 | |this, _, _, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:228:49 [INFO] [stdout] | [INFO] [stdout] 228 | global_state.update(cx,|this, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:221:39 [INFO] [stdout] | [INFO] [stdout] 221 | ... Ok(Ok(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:169:110 [INFO] [stdout] | [INFO] [stdout] 169 | ... .on_mouse_down(MouseButton::Right, cx.listener(move |this, _, _, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/state.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(cx: &mut Context) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> gui/src/state.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | ... Ok(Message::Ping(data)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> gui/src/state.rs:130:54 [INFO] [stdout] | [INFO] [stdout] 130 | ... Ok(Message::Pong(msg)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger_path` [INFO] [stdout] --> gui/src/main.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn logger_init(logger_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> gui/src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let date = chrono::Local::now().format("%Y-%m-%d"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WsMsgType` is never used [INFO] [stdout] --> gui/src/component/mod.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum WsMsgType{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RegisterPage` and `ResetPasswordPage` are never constructed [INFO] [stdout] --> gui/src/component/login.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Page { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 19 | LoginPage, [INFO] [stdout] 20 | RegisterPage, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | ResetPasswordPage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_button` is never used [INFO] [stdout] --> gui/src/component/login.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl LoginView { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn register_button(&self, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_maximized` and `restore_bounds` are never read [INFO] [stdout] --> gui/src/component/home.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct HomeView { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | is_maximized: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | restore_bounds: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `top_sidebar` is never used [INFO] [stdout] --> gui/src/component/home.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl HomeView { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn top_sidebar(&self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_notice`, `group_notice`, and `groups` are never read [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct FriendPage{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 20 | user_notice:String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | group_notice: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | friends: Vec, [INFO] [stdout] 23 | groups:Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `post` is never used [INFO] [stdout] --> gui/src/service/http_request.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 45 | impl HttpClient { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn post(&self, url: String, body: serde_json::Value) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ServiceInterfaces` is never used [INFO] [stdout] --> gui/src/service/interfaces.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | trait ServiceInterfaces { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:157:79 [INFO] [stdout] | [INFO] [stdout] 157 | ... btn_cx_entity.update(&mut btn_cx_async_cx, |this, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:150:79 [INFO] [stdout] | [INFO] [stdout] 150 | ... btn_cx_entity.update(&mut btn_cx_async_cx, |this, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view` [INFO] [stdout] --> gui/src/component/login.rs:139:75 [INFO] [stdout] | [INFO] [stdout] 139 | ... win_handler.update(&mut btn_cx_async_cx, |view, window, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:139:89 [INFO] [stdout] | [INFO] [stdout] 139 | ... win_handler.update(&mut btn_cx_async_cx, |view, window, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:129:83 [INFO] [stdout] | [INFO] [stdout] 129 | ... global_state.update(&mut btn_cx_async_cx, |state, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:143:83 [INFO] [stdout] | [INFO] [stdout] 143 | ... btn_cx_entity.update(&mut btn_cx_async_cx, |this, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/login.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | .on_click(cx.listener(|this, event, window, cx| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:207:94 [INFO] [stdout] | [INFO] [stdout] 207 | ... entity_view.update(&mut async_cx, |this, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/login.rs:192:84 [INFO] [stdout] | [INFO] [stdout] 192 | ... let paths = entity_view.update(&mut async_cx, |this, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/login.rs:187:38 [INFO] [stdout] | [INFO] [stdout] 187 | cx.listener(|this, _, _, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> gui/src/component/login.rs:244:28 [INFO] [stdout] | [INFO] [stdout] 244 | .on_click(|a, b, c|{}) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> gui/src/component/login.rs:244:31 [INFO] [stdout] | [INFO] [stdout] 244 | .on_click(|a, b, c|{}) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> gui/src/component/login.rs:244:34 [INFO] [stdout] | [INFO] [stdout] 244 | .on_click(|a, b, c|{}) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:241:35 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn register_button(&self, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/login.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn register_page(&self, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/home.rs:103:52 [INFO] [stdout] | [INFO] [stdout] 103 | ... .on_click(cx.listener(|this, event ,window, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/home.rs:103:58 [INFO] [stdout] | [INFO] [stdout] 103 | ... .on_click(cx.listener(|this, event ,window, cx|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/home.rs:103:73 [INFO] [stdout] | [INFO] [stdout] 103 | ... .on_click(cx.listener(|this, event ,window, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/home.rs:71:52 [INFO] [stdout] | [INFO] [stdout] 71 | ... .on_click(cx.listener(|this, event ,window, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/home.rs:71:58 [INFO] [stdout] | [INFO] [stdout] 71 | ... .on_click(cx.listener(|this, event ,window, cx|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/home.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn top_sidebar(&self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> gui/src/component/home.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> gui/src/component/home.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 115 | EventBus::WebSocketText(txt)=>{ [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 133 | EventBus::ChildrenChangeSelectIndex=>{ [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 136 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/home.rs:232:69 [INFO] [stdout] | [INFO] [stdout] 232 | ... .on_click(cx.listener(move |this, event, window, view| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/home.rs:232:76 [INFO] [stdout] | [INFO] [stdout] 232 | ... .on_click(cx.listener(move |this, event, window, view| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:137:84 [INFO] [stdout] | [INFO] [stdout] 137 | ... this.sned_message_entity.update(cx, |this, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:123:77 [INFO] [stdout] | [INFO] [stdout] 123 | ... .on_mouse_down(MouseButton::Right, cx.listener(|this, _, _, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:123:89 [INFO] [stdout] | [INFO] [stdout] 123 | ... .on_mouse_down(MouseButton::Right, cx.listener(|this, _, _, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | |this, visible_range, window, cx| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:257:64 [INFO] [stdout] | [INFO] [stdout] 257 | ... global_state.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:246:77 [INFO] [stdout] | [INFO] [stdout] 246 | ... .on_click(window.listener_for(& entity_handle, |this, event, window, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:246:83 [INFO] [stdout] | [INFO] [stdout] 246 | ... .on_click(window.listener_for(& entity_handle, |this, event, window, cx|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:238:60 [INFO] [stdout] | [INFO] [stdout] 238 | ... global_state.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:227:80 [INFO] [stdout] | [INFO] [stdout] 227 | .on_click(window.listener_for(&entity_handle.clone(), |this, event, window, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:227:86 [INFO] [stdout] | [INFO] [stdout] 227 | .on_click(window.listener_for(&entity_handle.clone(), |this, event, window, cx|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:224:77 [INFO] [stdout] | [INFO] [stdout] 224 | .dropdown_menu_with_anchor(Corner::TopLeft, move |menu, window, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:312:63 [INFO] [stdout] | [INFO] [stdout] 312 | .submenu("群消息设置 >", w, _cx, |submenu, window, cx| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:312:71 [INFO] [stdout] | [INFO] [stdout] 312 | .submenu("群消息设置 >", w, _cx, |submenu, window, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:308:32 [INFO] [stdout] | [INFO] [stdout] 308 | ... |this, _, _, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:308:44 [INFO] [stdout] | [INFO] [stdout] 308 | ... |this, _, _, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 302 | ... |this, _, _, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:302:44 [INFO] [stdout] | [INFO] [stdout] 302 | ... |this, _, _, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:296:28 [INFO] [stdout] | [INFO] [stdout] 296 | |this, _, _, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:296:40 [INFO] [stdout] | [INFO] [stdout] 296 | |this, _, _, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/left_sidebar.rs:267:39 [INFO] [stdout] | [INFO] [stdout] 267 | pub(crate) fn left_sidebar(&self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(window: &mut Window, cx: &mut Context) ->Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(window: &mut Window, cx: &mut Context) ->Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:118:52 [INFO] [stdout] | [INFO] [stdout] 118 | ... Ok(msg)=>{}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:109:58 [INFO] [stdout] | [INFO] [stdout] 109 | ... entity_view.update(app, |this, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:106:52 [INFO] [stdout] | [INFO] [stdout] 106 | ... .on_double_click(move |event, window, app| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:106:59 [INFO] [stdout] | [INFO] [stdout] 106 | ... .on_double_click(move |event, window, app| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:65:72 [INFO] [stdout] | [INFO] [stdout] 65 | gpui::list(history_message_scroll_handle, move |index, window, app| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:65:80 [INFO] [stdout] | [INFO] [stdout] 65 | gpui::list(history_message_scroll_handle, move |index, window, app| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/history_message.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new( window: &mut Window, cx: &mut Context)->Self{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new( window: &mut Window, cx: &mut Context)->Self{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | ... |this, _, _, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | ... |this, _, _, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:131:55 [INFO] [stdout] | [INFO] [stdout] 131 | ... global_state.update(cx,|this, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:124:45 [INFO] [stdout] | [INFO] [stdout] 124 | ... Ok(Ok(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:74:122 [INFO] [stdout] | [INFO] [stdout] 74 | ... .on_mouse_down(MouseButton::Right, cx.listener(move |this, _, _, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/group_chat_member.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:43:60 [INFO] [stdout] | [INFO] [stdout] 43 | let paths = entity_view.update(&mut async_cx, |this, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:231:47 [INFO] [stdout] | [INFO] [stdout] 231 | ... Ok(Ok(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:187:58 [INFO] [stdout] | [INFO] [stdout] 187 | ... .on_click(cx.listener(|this, event, window, cx| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:118:46 [INFO] [stdout] | [INFO] [stdout] 118 | ... cx.listener(|this, event, window, cx| {}), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:118:52 [INFO] [stdout] | [INFO] [stdout] 118 | ... cx.listener(|this, event, window, cx| {}), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:118:59 [INFO] [stdout] | [INFO] [stdout] 118 | ... cx.listener(|this, event, window, cx| {}), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:118:67 [INFO] [stdout] | [INFO] [stdout] 118 | ... cx.listener(|this, event, window, cx| {}), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:103:52 [INFO] [stdout] | [INFO] [stdout] 103 | ... cx.listener(|this, event, window, cx| this.pick_files(cx)), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:103:59 [INFO] [stdout] | [INFO] [stdout] 103 | ... cx.listener(|this, event, window, cx| this.pick_files(cx)), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/send_message_entity.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | fn render (&mut self, window: &mut Window, cx: &mut Context, ) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | |this, _, window, cx|{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:108:84 [INFO] [stdout] | [INFO] [stdout] 108 | ... window_handler.update(&mut cx_async, |_,window,app|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | move |this, _, window, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:146:84 [INFO] [stdout] | [INFO] [stdout] 146 | ... window_handler.update(&mut cx_async, |_,window,app|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | move |this, _, window, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:303:90 [INFO] [stdout] | [INFO] [stdout] 303 | ... .on_mouse_down(MouseButton::Left, cx.listener(|this, event, window, cx|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:303:97 [INFO] [stdout] | [INFO] [stdout] 303 | ... .on_mouse_down(MouseButton::Left, cx.listener(|this, event, window, cx|{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:280:90 [INFO] [stdout] | [INFO] [stdout] 280 | ... .on_mouse_down(MouseButton::Left, cx.listener(|this, event, window, cx|{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:280:97 [INFO] [stdout] | [INFO] [stdout] 280 | ... .on_mouse_down(MouseButton::Left, cx.listener(|this, event, window, cx|{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:244:51 [INFO] [stdout] | [INFO] [stdout] 244 | global_state.0.update(app, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/search_group_and_user_window.rs:241:27 [INFO] [stdout] | [INFO] [stdout] 241 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> gui/src/component/message_page/create_group_chat_window.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut myself = CreateGroupChatWindow { [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: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/create_group_chat_window.rs:80:78 [INFO] [stdout] | [INFO] [stdout] 80 | ... entity_view.update(&mut async_cx, |this, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/create_group_chat_window.rs:61:84 [INFO] [stdout] | [INFO] [stdout] 61 | ... let paths = entity_view.update(&mut async_cx, |this, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/message_page/create_group_chat_window.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | cx.listener(|this, _, _, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/create_group_chat_window.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | global_state.0.update(app, |this, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/create_group_chat_window.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:174:73 [INFO] [stdout] | [INFO] [stdout] 174 | ... self.group_members_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:170:75 [INFO] [stdout] | [INFO] [stdout] 170 | ... self.history_message_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:167:70 [INFO] [stdout] | [INFO] [stdout] 167 | ... self.sned_message_entity.update(cx,|this,cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:128:73 [INFO] [stdout] | [INFO] [stdout] 128 | ... self.group_members_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:124:75 [INFO] [stdout] | [INFO] [stdout] 124 | ... self.history_message_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:121:70 [INFO] [stdout] | [INFO] [stdout] 121 | ... self.sned_message_entity.update(cx,|this,cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:97:75 [INFO] [stdout] | [INFO] [stdout] 97 | ... self.history_message_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:206:61 [INFO] [stdout] | [INFO] [stdout] 206 | self.group_members_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:203:60 [INFO] [stdout] | [INFO] [stdout] 203 | self.sned_message_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:199:63 [INFO] [stdout] | [INFO] [stdout] 199 | self.history_message_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:217:90 [INFO] [stdout] | [INFO] [stdout] 217 | fn left_panel_handle_resize(&mut self, event: &DragMoveEvent, cx: &mut Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:235:52 [INFO] [stdout] | [INFO] [stdout] 235 | self.sned_message_entity.update(cx, |this, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:317:98 [INFO] [stdout] | [INFO] [stdout] 317 | ... .on_drag(HistoryMessagePanelResizeHandle, |this, size, window, app| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:317:104 [INFO] [stdout] | [INFO] [stdout] 317 | ... .on_drag(HistoryMessagePanelResizeHandle, |this, size, window, app| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:266:61 [INFO] [stdout] | [INFO] [stdout] 266 | .on_drag_move(cx.listener(|this, event, window, cx|{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:263:60 [INFO] [stdout] | [INFO] [stdout] 263 | .on_drag(LeftPanelResizeHandle, |this, size, window, app| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/message_page/mod.rs:263:66 [INFO] [stdout] | [INFO] [stdout] 263 | .on_drag(LeftPanelResizeHandle, |this, size, window, app| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:41:59 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn init_component_data(&mut self, data:Vec, cx: &mut Context){ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:47:64 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn update_component_data(&mut self, event: WsMsgEvent, cx: &mut Context){ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | |this, _, _, cx| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:235:40 [INFO] [stdout] | [INFO] [stdout] 235 | |this, _, _, cx| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:228:49 [INFO] [stdout] | [INFO] [stdout] 228 | global_state.update(cx,|this, cx|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:221:39 [INFO] [stdout] | [INFO] [stdout] 221 | ... Ok(Ok(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:169:110 [INFO] [stdout] | [INFO] [stdout] 169 | ... .on_mouse_down(MouseButton::Right, cx.listener(move |this, _, _, cx|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> gui/src/state.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(cx: &mut Context) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> gui/src/state.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | ... Ok(Message::Ping(data)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> gui/src/state.rs:130:54 [INFO] [stdout] | [INFO] [stdout] 130 | ... Ok(Message::Pong(msg)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger_path` [INFO] [stdout] --> gui/src/main.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn logger_init(logger_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> gui/src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let date = chrono::Local::now().format("%Y-%m-%d"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WsMsgType` is never used [INFO] [stdout] --> gui/src/component/mod.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum WsMsgType{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RegisterPage` and `ResetPasswordPage` are never constructed [INFO] [stdout] --> gui/src/component/login.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Page { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 19 | LoginPage, [INFO] [stdout] 20 | RegisterPage, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | ResetPasswordPage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_button` is never used [INFO] [stdout] --> gui/src/component/login.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl LoginView { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn register_button(&self, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_maximized` and `restore_bounds` are never read [INFO] [stdout] --> gui/src/component/home.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct HomeView { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | is_maximized: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | restore_bounds: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `top_sidebar` is never used [INFO] [stdout] --> gui/src/component/home.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl HomeView { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn top_sidebar(&self, window: &mut Window, cx: &mut Context) -> impl IntoElement { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_notice`, `group_notice`, and `groups` are never read [INFO] [stdout] --> gui/src/component/friend_page/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct FriendPage{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 20 | user_notice:String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | group_notice: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | friends: Vec, [INFO] [stdout] 23 | groups:Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `post` is never used [INFO] [stdout] --> gui/src/service/http_request.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 45 | impl HttpClient { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn post(&self, url: String, body: serde_json::Value) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ServiceInterfaces` is never used [INFO] [stdout] --> gui/src/service/interfaces.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | trait ServiceInterfaces { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8m 05s [INFO] running `Command { std: "docker" "inspect" "0ebcc6f584a879bcfed8150af4c85045d85f5b75ee6bacee45344d5c2e631b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ebcc6f584a879bcfed8150af4c85045d85f5b75ee6bacee45344d5c2e631b00", kill_on_drop: false }` [INFO] [stdout] 0ebcc6f584a879bcfed8150af4c85045d85f5b75ee6bacee45344d5c2e631b00