[GH-ISSUE #822] Build failure for 0.21.0 #490

Closed
opened 2026-03-02 23:48:04 +03:00 by kerem · 3 comments
Owner

Originally created by @orhun on GitHub (Sep 1, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/822

Hey, I'm trying to build and update the Arch Linux package as follows:

build() {
  local _features=('pulseaudio-backend' 'media-control' 'notify' 'daemon' 'image' 'sixel' 'fzf')
  cd "${pkgname}-${pkgver}"
  cargo build --frozen --release --bin spotify_player --no-default-features --features "${_features[*]}"
}

But getting this error:

   Compiling spotify_player v0.21.0 (/build/spotify-player/src/spotify-player-0.21.0/spotify_player)
error[E0425]: cannot find function `fuzzy_search_items` in this scope
   --> spotify_player/src/utils.rs:61:12
    |
61  |     return fuzzy_search_items(items, &query);
    |            ^^^^^^^^^^^^^^^^^^ not found in this scope
    |
note: function `crate::state::ui::fuzzy_search_items` exists but is inaccessible
   --> spotify_player/src/state/ui/mod.rs:105:1
    |
105 | fn fuzzy_search_items<'a, T: std::fmt::Display>(items: &'a [T], query: &str) -> Vec<&'a T> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible

For more information about this error, try `rustc --explain E0425`.
error: could not compile `spotify_player` (bin "spotify_player") due to 1 previous error
==> ERROR: A failure occurred in build().
    Aborting...

Any ideas? 👀

Originally created by @orhun on GitHub (Sep 1, 2025). Original GitHub issue: https://github.com/aome510/spotify-player/issues/822 Hey, I'm trying to build and update the Arch Linux package as follows: ``` build() { local _features=('pulseaudio-backend' 'media-control' 'notify' 'daemon' 'image' 'sixel' 'fzf') cd "${pkgname}-${pkgver}" cargo build --frozen --release --bin spotify_player --no-default-features --features "${_features[*]}" } ``` But getting this error: ``` Compiling spotify_player v0.21.0 (/build/spotify-player/src/spotify-player-0.21.0/spotify_player) error[E0425]: cannot find function `fuzzy_search_items` in this scope --> spotify_player/src/utils.rs:61:12 | 61 | return fuzzy_search_items(items, &query); | ^^^^^^^^^^^^^^^^^^ not found in this scope | note: function `crate::state::ui::fuzzy_search_items` exists but is inaccessible --> spotify_player/src/state/ui/mod.rs:105:1 | 105 | fn fuzzy_search_items<'a, T: std::fmt::Display>(items: &'a [T], query: &str) -> Vec<&'a T> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible For more information about this error, try `rustc --explain E0425`. error: could not compile `spotify_player` (bin "spotify_player") due to 1 previous error ==> ERROR: A failure occurred in build(). Aborting... ``` Any ideas? 👀
kerem closed this issue 2026-03-02 23:48:05 +03:00
Author
Owner

@Dragonfly911117 commented on GitHub (Sep 1, 2025):

Possible duplicate of #820

<!-- gh-comment-id:3242276511 --> @Dragonfly911117 commented on GitHub (Sep 1, 2025): Possible duplicate of #820
Author
Owner

@orhun commented on GitHub (Sep 16, 2025):

Can we get a new release?

<!-- gh-comment-id:3297123094 --> @orhun commented on GitHub (Sep 16, 2025): Can we get a new release?
Author
Owner

@aome510 commented on GitHub (Sep 18, 2025):

Can we get a new release?

Ye I can push one this weekend

<!-- gh-comment-id:3307846967 --> @aome510 commented on GitHub (Sep 18, 2025): > Can we get a new release? Ye I can push one this weekend
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#490
No description provided.