cannot find derive macro `RustcEncodable` in this scope
Author: flewis88Created Jun 27, 2025Updated Jul 10, 2025
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 4Source: Rigellute/spotify-tui