[GH-ISSUE #1160] cannot find derive macro RustcEncodable in this scope #563

Open
opened 2026-02-28 14:49:52 +03:00 by kerem · 3 comments
Owner

Originally created by @flewis88 on GitHub (Jun 27, 2025).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/1160

Install fails using yay spotify-tui on Arch, with both rust & rustup

error: cannot find derive macro `RustcEncodable` in this scope
  --> /home/flewis/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.37/src/weekday.rs:33:48
   |
33 | #[cfg_attr(feature = "rustc-serialize", derive(RustcEncodable, RustcDecodable))]
   |                                                ^^^^^^^^^^^^^^

error: cannot find derive macro `RustcDecodable` in this scope
  --> /home/flewis/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.37/src/weekday.rs:33:64
   |
33 | #[cfg_attr(feature = "rustc-serialize", derive(RustcEncodable, RustcDecodable))]
   |                                                                ^^^^^^^^^^^^^^

error: cannot find derive macro `RustcEncodable` in this scope
  --> /home/flewis/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.37/src/month.rs:32:48
   |
32 | #[cfg_attr(feature = "rustc-serialize", derive(RustcEncodable, RustcDecodable))]
   |                                                ^^^^^^^^^^^^^^

error: cannot find derive macro `RustcDecodable` in this scope
  --> /home/flewis/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.37/src/month.rs:32:64
   |
32 | #[cfg_attr(feature = "rustc-serialize", derive(RustcEncodable, RustcDecodable))]
   |                                                                ^^^^^^^^^^^^^^

error: could not compile `chrono` (lib) due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: spotify-tui-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
spotify-tui - exit status 4
Originally created by @flewis88 on GitHub (Jun 27, 2025). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/1160 Install fails using yay spotify-tui on Arch, with both rust & rustup ``` error: cannot find derive macro `RustcEncodable` in this scope --> /home/flewis/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.37/src/weekday.rs:33:48 | 33 | #[cfg_attr(feature = "rustc-serialize", derive(RustcEncodable, RustcDecodable))] | ^^^^^^^^^^^^^^ error: cannot find derive macro `RustcDecodable` in this scope --> /home/flewis/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.37/src/weekday.rs:33:64 | 33 | #[cfg_attr(feature = "rustc-serialize", derive(RustcEncodable, RustcDecodable))] | ^^^^^^^^^^^^^^ error: cannot find derive macro `RustcEncodable` in this scope --> /home/flewis/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.37/src/month.rs:32:48 | 32 | #[cfg_attr(feature = "rustc-serialize", derive(RustcEncodable, RustcDecodable))] | ^^^^^^^^^^^^^^ error: cannot find derive macro `RustcDecodable` in this scope --> /home/flewis/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.37/src/month.rs:32:64 | 32 | #[cfg_attr(feature = "rustc-serialize", derive(RustcEncodable, RustcDecodable))] | ^^^^^^^^^^^^^^ error: could not compile `chrono` (lib) due to 4 previous errors warning: build failed, waiting for other jobs to finish... ==> ERROR: A failure occurred in build(). Aborting... -> error making: spotify-tui-exit status 4 -> Failed to install the following packages. Manual intervention is required: spotify-tui - exit status 4 ```
Author
Owner

@sewnie commented on GitHub (Jun 27, 2025):

Spotify-tui has unfortunately been abandoned by the author, and since then, the Spotify API changed signficantly, breaking this project.

Please use spotify_player: https://github.com/aome510/spotify-player, which is more feature-packed and more convenient.

<!-- gh-comment-id:3012186011 --> @sewnie commented on GitHub (Jun 27, 2025): Spotify-tui has unfortunately been abandoned by the author, and since then, the Spotify API changed signficantly, breaking this project. Please use spotify_player: https://github.com/aome510/spotify-player, which is more feature-packed and more convenient.
Author
Owner

@stickynotememo commented on GitHub (Jul 10, 2025):

Was annoyed by this issue for days because I didn't realise the project was unmaintained. Definitely my fault for not reading this issue or #1000, but is it possible to mark the repo as archived so it's not confusing to new users?

<!-- gh-comment-id:3055980033 --> @stickynotememo commented on GitHub (Jul 10, 2025): Was annoyed by this issue for days because I didn't realise the project was unmaintained. Definitely my fault for not reading this issue or #1000, but is it possible to mark the repo as archived so it's not confusing to new users?
Author
Owner

@sewnie commented on GitHub (Jul 10, 2025):

but is it possible to mark the repo as archived so it's not confusing to new users?

I've contacted the owner years ago, they have not responded and have shown no interest in showing any progress. Users will remain lost, and the best that can be done is to notify users in bug reports (much like im doing) and removing it from repositories.

<!-- gh-comment-id:3057331387 --> @sewnie commented on GitHub (Jul 10, 2025): > but is it possible to mark the repo as archived so it's not confusing to new users? I've contacted the owner years ago, they have not responded and have shown no interest in showing any progress. Users will remain lost, and the best that can be done is to notify users in bug reports (much like im doing) and removing it from repositories.
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-tui#563
No description provided.