... Compiling spot v0.4.0 (/home/olk/.cache/yay/spot-client-git/src/spot-client-git) warning: variable does not need to be mutable --> src/app/state/screen_states.rs:77:29 | 77 | if let Some(mut album) = self.content.as_mut() { | ----^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: variable does not need to be mutable --> src/app/state/screen_states.rs:85:29 | 85 | if let Some(mut album) = self.content.as_mut() { | ----^^^^^ | | | help: remove this `mut` warning: `spot` (bin "spot") generated 2 warnings (run `cargo fix --bin "spot"` to apply 2 suggestions) Finished release [optimized] target(s) in 2m 48s [28/29] Generating src/copy-cargo-build with a custom command ==> Starting check()... ninja: Entering directory `/home/olk/.cache/yay/spot-client-git/src/build' [0/4] Generating src/cargo-build with a custom command (wrapped by meson to set env) warning: variable does not need to be mutable --> src/app/state/screen_states.rs:77:29 | 77 | if let Some(mut album) = self.content.as_mut() { | ----^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: variable does not need to be mutable --> src/app/state/screen_states.rs:85:29 | 85 | if let Some(mut album) = self.content.as_mut() { | ----^^^^^ | | | help: remove this `mut` warning: `spot` (bin "spot") generated 2 warnings (run `cargo fix --bin "spot"` to apply 2 suggestions) Finished release [optimized] target(s) in 0.20s [1/4] Generating src/copy-cargo-build with a custom command [4/4] Generating src/spot_gresource with a custom command 1/4 Validate schema file OK 0.02s 2/4 Validate appstream appdata OK 1.00s 3/4 Unit tests OK 25.93s 4/4 Clippy FAIL 110.18s exit status 101 >>> MALLOC_PERTURB_=81 CARGO_HOME=/home/olk/.cache/yay/spot-client-git/src/spot-client-git/cargo /usr/bin/cargo clippy --manifest-path /home/olk/.cache/yay/spot-client-git/src/spot-client-git/Cargo.toml --target-dir /home/olk/.cache/yay/spot-client-git/src/build/src -- -D warnings -A clippy::module_inception -A clippy::new_without_default -A clippy::enum-variant-names Ok: 3 Expected Fail: 0 Fail: 1 Unexpected Pass: 0 Skipped: 0 Timeout: 0 Full log written to /home/olk/.cache/yay/spot-client-git/src/build/meson-logs/testlog.txt ==> ERROR: A failure occurred in check(). Aborting... -> error making: spot-client-git-exit status 4 $ bat -pp /home/olk/.cache/yay/spot-client-git/src/build/meson-logs/testlog.txt Log of Meson test suite run on 2023-10-30T17:51:18.920176 Inherited environment: SHELL=/usr/bin/zsh SESSION_MANAGER=local/think:@/tmp/.ICE-unix/1737,unix/think:/tmp/.ICE-unix/1737 COLORTERM=truecolor LESS='-R --use-color -Dd+r$Du+b$' XDG_MENU_PREFIX=gnome- CLUTTER_BACKEND=wayland GNOME_KEYRING_CONTROL=/run/user/1000/keyring _P9K_TTY=/dev/pts/0 PYTHONHASHSEED=0 USE_CCACHE=1 DOTNET_ROOT=/usr/share/dotnet QT_LOGGING_RULES='*.qadwaitadecorations=true' TEXTDOMAINDIR=/usr/share/locale SSH_AUTH_SOCK=/run/user/1000/keyring/ssh GRADLE_HOME=/usr/share/java/gradle P9K_TTY=old MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA= DESKTOP_SESSION=gnome KITTY_PID=48035 XCURSOR_SIZE=24 EDITOR=helix PWD=/home/olk/.cache/yay/spot-client-git/src SOURCE_DATE_EPOCH=1698683959 XDG_SESSION_DESKTOP=gnome LOGNAME=olk XDG_SESSION_TYPE=wayland SYSTEMD_EXEC_PID=1961 CXXFLAGS='-march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS' XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.P3BLD2 KITTY_PUBLIC_KEY='1:=8@Nn0AFSbCZkY;UmUtoC2C%|19YH^#)shCSR0dc' MOTD_SHOWN=pam GDM_LANG=en_US.UTF-8 COMMAND_MODE=legacy LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now HOME=/home/olk USERNAME=olk LANG=en_US.UTF-8 _JAVA_AWT_WM_NONREPARENTING=1 XDG_CURRENT_DESKTOP=GNOME MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.SettingsDaemon.MediaKeys.service/memory.pressure WAYLAND_DISPLAY=wayland-0 KITTY_WINDOW_ID=1 RUSTFLAGS='-C opt-level=2 -C target-cpu=native' MANROFFOPT=-c INVOCATION_ID=10e8d9ced440481cab2e5d74e58abeb1 MANAGERPID=1580 DOTNET_BUNDLE_EXTRACT_BASE_DIR=/home/olk/.cache/dotnet_bundle_extract QT_QPA_PLATFORM='wayland;xcb' GNOME_SETUP_DISPLAY=:1 QT_WAYLAND_DECORATION=adwaita MAKEFLAGS=-j8 XDG_SESSION_CLASS=user TERMINFO=/usr/lib/kitty/terminfo TERM=xterm-kitty USER=olk SDL_VIDEODRIVER=wayland,x11 SUDO_EDITOR=helix MANPAGER='sh -c '"'"'col -bx | bat -l man -p'"'"'' DISPLAY=:0 SHLVL=2 MOZ_ENABLE_WAYLAND=1 ADSS_DEPLOYMENT_VERSION=1696607355 MOZ_USE_XINPUT2=1 CCACHE_EXEC=/usr/bin/ccache _P9K_SSH_TTY=/dev/pts/0 XDG_RUNTIME_DIR=/run/user/1000 DEBUGINFOD_URLS='https://debuginfod.archlinux.org ' P9K_SSH=0 JOURNAL_STREAM=7:26646 XDG_DATA_DIRS=/home/olk/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/ CHOST=x86_64-pc-linux-gnu PATH=/usr/lib/ccache/bin:/home/olk/.local/bin:/usr/lib/ccache/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/home/olk/.dotnet/tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin GDMSESSION=gnome CFLAGS='-march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection' DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus MAIL=/var/spool/mail/olk KITTY_INSTALLATION_DIR=/usr/lib/kitty GIO_LAUNCHED_DESKTOP_FILE_PID=48035 OLDPWD=/home/olk/.cache/yay/spot-client-git/src TEXTDOMAIN=pacman-scripts _=/usr/bin/meson ==================================== 1/4 ===================================== test: Validate schema file start time: 16:51:18 duration: 0.02s result: exit status 0 command: MALLOC_PERTURB_=40 /usr/bin/glib-compile-schemas --strict --dry-run /home/olk/.cache/yay/spot-client-git/src/spot-client-git/data ============================================================================== ==================================== 2/4 ===================================== test: Validate appstream appdata start time: 16:51:18 duration: 1.00s result: exit status 0 command: MALLOC_PERTURB_=6 /usr/bin/appstream-util validate-relax /home/olk/.cache/yay/spot-client-git/src/spot-client-git/data/dev.alextren.Spot.appdata.xml ----------------------------------- stdout ----------------------------------- /home/olk/.cache/yay/spot-client-git/src/spot-client-git/data/dev.alextren.Spot.appdata.xml: OK ============================================================================== ==================================== 3/4 ===================================== test: Unit tests start time: 16:51:18 duration: 25.93s result: exit status 0 command: MALLOC_PERTURB_=80 CARGO_HOME=/home/olk/.cache/yay/spot-client-git/src/spot-client-git/cargo /usr/bin/cargo test --manifest-path /home/olk/.cache/yay/spot-client-git/src/spot-client-git/Cargo.toml --target-dir /home/olk/.cache/yay/spot-client-git/src/build/src --release ----------------------------------- stdout ----------------------------------- running 42 tests test api::cached_client::tests::test_search_query_encoding ... ok test api::api_models::tests::test_playlist_track_local ... ok test api::client::tests::test_search_query_encoding ... ok test api::api_models::tests::test_playlist_track_null ... ok test api::api_models::tests::test_playlist_track_ok ... ok test api::cached_client::tests::test_search_query ... ok test api::cached_client::tests::test_search_query_spaces_and_stuff ... ok test api::client::tests::test_search_query ... ok test app::models::main::tests::resize_batch ... ok test app::models::songs::support::tests::test_add ... ok test app::models::songs::support::tests::test_find_non_contiguous ... ok test app::models::songs::support::tests::test_add_with_range ... ok test app::models::songs::support::tests::test_batch_for ... ok test app::models::songs::support::tests::test_append ... ok test api::client::tests::test_search_query_spaces_and_stuff ... ok test app::models::songs::support::tests::test_index ... ok test app::models::songs::support::tests::test_merge_range ... ok test app::models::songs::support::tests::test_remove ... ok test api::client::tests::test_username_encoding ... ok test app::models::songs::support::tests::test_swap ... ok test app::rng::tests::test_initial ... ok test app::models::songs::support::tests::test_iter ... ok test app::models::songs::support::tests::test_iter_non_contiguous ... ok test app::rng::tests::test_after_grow ... ok test app::rng::tests::test_reset ... ok test app::rng::tests::test_sample_all ... ok test app::state::browser_state::tests::test_navigation_pop ... ok test app::state::browser_state::tests::test_navigation_push ... ok test app::state::browser_state::tests::test_navigation_push_same_screen_will_pop ... ok test app::state::browser_state::tests::test_navigation_push_same_screen ... ok test app::state::playback_state::tests::test_initial_state ... ok test app::state::playback_state::tests::test_dequeue_last ... ok test app::state::playback_state::tests::test_dequeue_a_few_songs ... ok test app::state::playback_state::tests::test_dequeue_all ... ok test app::state::playback_state::tests::test_queue ... ok test app::state::playback_state::tests::test_play_one ... ok test app::state::playback_state::tests::test_move ... ok test app::state::playback_state::tests::test_play_multiple ... ok test app::state::playback_state::tests::test_shuffle_queue ... ok test app::state::playback_state::tests::test_shuffle ... ok test app::state::screen_states::tests::test_next_page_no_next ... ok test app::state::screen_states::tests::test_next_page_more ... ok test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s ----------------------------------- stderr ----------------------------------- Compiling spot v0.4.0 (/home/olk/.cache/yay/spot-client-git/src/spot-client-git) warning: variable does not need to be mutable --> src/app/state/screen_states.rs:77:29 | 77 | if let Some(mut album) = self.content.as_mut() { | ----^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: variable does not need to be mutable --> src/app/state/screen_states.rs:85:29 | 85 | if let Some(mut album) = self.content.as_mut() { | ----^^^^^ | | | help: remove this `mut` warning: `spot` (bin "spot" test) generated 2 warnings (run `cargo fix --bin "spot" --tests` to apply 2 suggestions) Finished release [optimized] target(s) in 25.68s Running unittests src/main.rs (src/release/deps/spot-3aea0b90f2f2d55c) ============================================================================== ==================================== 4/4 ===================================== test: Clippy start time: 16:51:18 duration: 110.18s result: exit status 101 command: MALLOC_PERTURB_=81 CARGO_HOME=/home/olk/.cache/yay/spot-client-git/src/spot-client-git/cargo /usr/bin/cargo clippy --manifest-path /home/olk/.cache/yay/spot-client-git/src/spot-client-git/Cargo.toml --target-dir /home/olk/.cache/yay/spot-client-git/src/build/src -- -D warnings -A clippy::module_inception -A clippy::new_without_default -A clippy::enum-variant-names ----------------------------------- stderr ----------------------------------- Compiling autocfg v1.1.0 Compiling proc-macro2 v1.0.58 Compiling quote v1.0.27 Compiling unicode-ident v1.0.9 Compiling libc v0.2.144 Compiling serde v1.0.163 Compiling pkg-config v0.3.27 Compiling hashbrown v0.12.3 Compiling indexmap v1.9.3 Compiling winnow v0.4.1 Compiling version_check v0.9.4 Compiling target-lexicon v0.12.7 Compiling heck v0.4.1 Compiling smallvec v1.10.0 Compiling version-compare v0.1.1 Checking cfg-if v1.0.0 Compiling syn v1.0.109 Compiling memchr v2.5.0 Compiling futures-core v0.3.28 Checking pin-project-lite v0.2.9 Checking bitflags v1.3.2 Checking futures-io v0.3.28 Compiling slab v0.4.8 Compiling libm v0.2.7 Compiling syn v2.0.16 Compiling typenum v1.16.0 Compiling generic-array v0.14.7 Compiling num-traits v0.2.15 Checking once_cell v1.17.1 Compiling jobserver v0.1.26 Compiling value-bag v1.0.0-alpha.9 Compiling cc v1.0.79 Checking futures-sink v0.3.28 Compiling serde_derive v1.0.163 Compiling futures-channel v0.3.28 Compiling futures-task v0.3.28 Compiling cfg-expr v0.15.1 Compiling ctor v0.1.26 Checking pin-utils v0.1.0 Compiling log v0.4.17 Compiling futures-util v0.3.28 Compiling futures-macro v0.3.28 Compiling thiserror v1.0.40 Compiling thiserror-impl v1.0.40 Compiling num-integer v0.1.45 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling anyhow v1.0.71 Checking getrandom v0.2.9 Checking rand_core v0.6.4 Checking socket2 v0.4.9 Checking ppv-lite86 v0.2.17 Checking rand_chacha v0.3.1 Compiling lock_api v0.4.9 Checking subtle v2.4.1 Checking rand v0.8.5 Compiling semver v1.0.17 Checking scopeguard v1.1.0 Checking bytes v1.4.0 Compiling backtrace v0.3.67 Checking adler v1.0.2 Checking gimli v0.27.2 Checking miniz_oxide v0.6.2 Checking crypto-common v0.1.6 Checking block-buffer v0.10.4 Checking object v0.30.3 Checking addr2line v0.19.0 Compiling num-bigint v0.4.3 Checking fixedbitset v0.4.2 Checking byteorder v1.4.3 Checking rustc-demangle v0.1.23 Compiling parking_lot_core v0.9.7 Checking itoa v1.0.6 Checking petgraph v0.6.3 Checking digest v0.10.7 Compiling rustc_version v0.4.0 Compiling tracing-attributes v0.1.24 Checking tracing-core v0.1.31 Checking thread-id v4.1.0 Checking fastrand v1.9.0 Checking cpufeatures v0.2.7 Compiling io-lifetimes v1.0.11 Compiling protobuf v2.28.0 Compiling tokio v1.28.1 Checking fnv v1.0.7 Compiling crossbeam-utils v0.8.15 Compiling rustix v0.37.19 Checking mio v0.8.6 Checking http v0.2.9 Checking parking_lot v0.12.1 Compiling tokio-macros v2.1.0 Compiling time v0.1.45 Checking num_cpus v1.15.0 Checking signal-hook-registry v1.4.1 Compiling iana-time-zone v0.1.56 Checking event-listener v2.5.3 Checking opaque-debug v0.3.0 Checking linux-raw-sys v0.3.8 Checking tinyvec_macros v0.1.1 Checking tinyvec v1.6.0 Compiling chrono v0.4.24 Compiling vergen v3.2.0 Checking concurrent-queue v2.2.0 Checking sha1 v0.10.5 Compiling protobuf-codegen v2.28.0 Compiling num-rational v0.4.1 Compiling memoffset v0.6.5 Compiling httparse v1.8.0 Compiling serde_json v1.0.96 Compiling protobuf-codegen-pure v2.28.0 Checking unicode-normalization v0.1.22 Checking digest v0.9.0 Checking cipher v0.2.5 Compiling paste v1.0.12 Checking unicode-bidi v0.3.13 Compiling glob v0.3.1 Checking percent-encoding v2.2.0 Checking httpdate v1.0.2 Checking waker-fn v1.1.0 Checking mime v0.3.17 Checking parking v2.1.0 Checking ryu v1.0.13 Checking try-lock v0.2.4 Checking futures-lite v1.13.0 Checking want v0.3.0 Checking form_urlencoded v1.1.0 Checking idna v0.3.0 Compiling librespot-protocol v0.4.2 Checking aesni v0.10.0 Checking headers-core v0.2.0 Checking http-body v0.4.5 Checking crypto-mac v0.11.1 Compiling libpulse-sys v1.20.1 Compiling priority-queue v1.3.1 Checking tower-service v0.3.2 Checking base64 v0.13.1 Checking hmac v0.11.0 Checking headers v0.3.8 Compiling librespot-core v0.4.2 Checking nix v0.23.2 Checking url v2.3.1 Checking async-channel v1.8.0 Checking async-lock v2.7.0 Checking block-buffer v0.9.0 Compiling libz-sys v1.1.9 Compiling libnghttp2-sys v0.1.7+1.45.0 Compiling openssl-sys v0.9.87 Compiling alsa-sys v0.3.1 Compiling polling v2.8.0 Compiling parking_lot_core v0.8.6 Compiling async-trait v0.1.68 Compiling gio v0.17.9 Checking futures-executor v0.3.28 Checking option-operations v0.4.1 Checking futures v0.3.28 Checking sha-1 v0.9.8 Checking pbkdf2 v0.8.0 Checking aes v0.6.0 Checking shannon v0.2.0 Checking uuid v1.3.3 Compiling num-derive v0.3.3 Checking instant v0.1.12 Checking pretty-hex v0.3.0 Checking muldiv v1.0.1 Checking async-task v4.4.0 Compiling zvariant_utils v1.0.1 Compiling curl-sys v0.4.62+curl-8.1.0 Compiling libpulse-simple-sys v1.20.1 Compiling memoffset v0.7.1 Compiling async-io v1.13.0 Checking atomic-waker v1.1.1 Checking static_assertions v1.1.0 Compiling cpal v0.13.5 Checking blocking v1.3.1 Checking alsa v0.6.0 Checking parking_lot v0.11.2 Checking aes-ctr v0.6.0 Compiling enumflags2_derive v0.7.7 Compiling memoffset v0.8.0 Checking match_cfg v0.1.0 Checking hostname v0.3.1 Compiling aho-corasick v1.0.1 Checking async-executor v1.5.1 Checking tempfile v3.5.0 Compiling field-offset v0.3.5 Checking ogg v0.8.0 Checking tokio-stream v0.1.14 Compiling zerocopy-derive v0.3.2 Checking if-addrs v0.7.0 Compiling async-fs v1.6.0 Compiling num-iter v0.1.43 Compiling regex-syntax v0.7.2 Checking array-init v2.1.0 Compiling temp-dir v0.1.11 Compiling gettext-sys v0.21.3 Compiling toml_datetime v0.6.2 Compiling serde_spanned v0.6.2 Compiling toml_edit v0.19.8 Checking multimap v0.8.3 Checking libpulse-binding v2.27.1 Checking tracing v0.1.37 Compiling toml v0.7.3 Compiling proc-macro-crate v1.3.1 Checking hyper v0.14.26 Compiling system-deps v6.1.0 Compiling glib-macros v0.17.9 Compiling glib-macros v0.15.13 Compiling glib-sys v0.17.4 Compiling gobject-sys v0.17.4 Compiling gio-sys v0.17.4 Compiling glib-sys v0.15.10 Compiling gobject-sys v0.15.10 Compiling gstreamer-sys v0.18.0 Compiling cairo-sys-rs v0.17.0 Compiling pango-sys v0.17.0 Compiling gdk-pixbuf-sys v0.17.0 Compiling gstreamer-base-sys v0.18.0 Compiling gdk4-sys v0.6.3 Compiling graphene-sys v0.17.0 Checking hyper-proxy v0.9.1 Compiling gsk4-sys v0.6.3 Checking tokio-util v0.7.8 Compiling gstreamer-audio-sys v0.18.3 Compiling gtk4-sys v0.6.3 Compiling gstreamer-app-sys v0.18.0 Checking enumflags2 v0.7.7 Compiling zvariant_derive v3.14.0 Checking librespot-audio v0.4.2 Compiling libadwaita-sys v0.4.1 Checking libpulse-simple-binding v2.27.1 Checking libmdns v0.7.5 Checking regex v1.8.3 Checking lewton v0.10.2 Checking nix v0.26.2 Checking rodio v0.15.0 Checking rand_distr v0.4.3 Checking cipher v0.3.0 Compiling pin-project-internal v1.1.0 Checking humantime v2.1.0 Checking termcolor v1.2.0 Checking shell-words v1.1.0 Checking hex v0.4.3 Compiling curl v0.4.44 Checking xdg-home v1.0.0 Compiling zbus_macros v3.13.1 Checking librespot-discovery v0.4.2 Compiling gtk4-macros v0.6.6 Checking zerocopy v0.6.1 Checking async-broadcast v0.5.1 Checking hmac v0.12.1 Checking num-complex v0.4.3 Compiling derivative v2.2.0 Checking librespot-metadata v0.4.2 Compiling async-recursion v1.0.4 Compiling serde_repr v0.1.12 Checking zvariant v3.14.0 Checking zbus_names v2.5.1 Checking atty v0.2.14 Checking ordered-stream v0.2.0 Compiling isahc v1.7.2 Checking openssl-probe v0.1.5 Checking lazy_static v1.4.0 Checking unicode-width v0.1.10 Checking block-padding v0.2.1 Checking block-modes v0.8.1 Checking getopts v0.2.21 Checking locale_config v0.3.0 Checking env_logger v0.9.3 Checking num v0.4.0 Checking hkdf v0.12.3 Checking glib v0.15.12 Checking aes v0.7.5 Checking rpassword v6.0.1 Checking async-global-executor v2.3.1 Checking sluice v0.5.5 Checking is-terminal v0.4.7 Checking kv-log-macro v1.0.7 Checking sha2 v0.10.6 Checking encoding_rs v0.8.32 Checking gstreamer v0.18.8 Checking castaway v0.1.2 Checking async-std v1.12.0 Checking env_logger v0.10.0 Checking gettext-rs v0.7.0 Checking ref_filter_map v1.0.1 Checking gstreamer-base v0.18.0 Checking gstreamer-app v0.18.7 Checking gstreamer-audio v0.18.7 Checking librespot-playback v0.4.2 Checking pin-project v1.1.0 Checking tracing-futures v0.2.5 Checking librespot-connect v0.4.2 Checking glib v0.17.9 Checking librespot v0.4.2 Checking cairo-rs v0.17.0 Checking graphene-rs v0.17.1 Checking gdk-pixbuf v0.17.0 Checking pango v0.17.4 Checking zbus v3.13.1 Checking gdk4 v0.6.3 Checking secret-service v3.0.1 Checking gsk4 v0.6.3 Checking gtk4 v0.6.6 Checking libadwaita v0.4.1 Checking spot v0.4.0 (/home/olk/.cache/yay/spot-client-git/src/spot-client-git) error: variable does not need to be mutable --> src/app/state/screen_states.rs:77:29 | 77 | if let Some(mut album) = self.content.as_mut() { | ----^^^^^ | | | help: remove this `mut` | = note: `-D unused-mut` implied by `-D warnings` error: variable does not need to be mutable --> src/app/state/screen_states.rs:85:29 | 85 | if let Some(mut album) = self.content.as_mut() { | ----^^^^^ | | | help: remove this `mut` error: use of `unwrap_or_else` to construct default value --> src/app/state/app_state.rs:174:22 | 174 | .unwrap_or_else(Vec::new) | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `-D clippy::unwrap-or-default` implied by `-D warnings` error: use of `unwrap_or_else` to construct default value --> src/app/state/app_state.rs:183:22 | 183 | .unwrap_or_else(Vec::new) | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default error: could not compile `spot` (bin "spot") due to 4 previous errors ============================================================================== Summary of Failures: 4/4 Clippy FAIL 110.18s exit status 101 Ok: 3 Expected Fail: 0 Fail: 1 Unexpected Pass: 0 Skipped: 0 Timeout: 0