-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Cant compile spotifyd #1193
Comments
Hi and thank you for the report! This issue is fixed in #1145 and has also been raised in #1144. Until then, you can compile with Hope this helps! Note: you can put such logs in a fenced code block, such that it gets formatted nicely. :) |
I'm sorry for not understanding very clearly.
In all situations, I kept the flags. Did you mean to do only And if that's the case, how can I "turn on" the flags then?" |
Oh, yeah. That indeed doesn't work, since I somehow updated that version to the not working one some time ago. I think, the easiest fix for you should be to check out #1145 and compile that version. That should work without errors. |
Im sorry for taking so long, it compiled properly, thank you so much!! If anyone needs to know what I exactly did:
gh pr checkout 1145
cargo build --release --no-default-features --features pulseaudio_backend,dbus_keyring,dbus_mpris
cargo install --path . --locked Thank you so much for the help and support, eladyn |
Description
I've tried to compile spotifyd and said
error: could not compile
spotifyddue to 5 previous errors
To Reproduce
git clone https://github.com/Spotifyd/spotifyd.git
cargo build --release --no-default-features --features pulseaudio_backend,dbus_keyring,dbus_mpris
Full error message
error[E0407]: method
_type_static
is not a member of traitId
--> src/dbus_mpris.rs:363:17
|
363 | / fn _type_static() -> Type
364 | | where
365 | | Self: Sized,
366 | | {
367 | | unreachable!("never called");
368 | | }
| |_________________^ not a member of trait
Id
error[E0407]: method
from_id_unchecked
is not a member of traitId
--> src/dbus_mpris.rs:370:17
|
370 | / unsafe fn from_id_unchecked(_id: &str) -> Self
371 | | where
372 | | Self: Sized,
373 | | {
374 | | unreachable!("never called");
375 | | }
| |_________________^ not a member of trait
Id
error[E0404]: expected trait, found enum
PlayContextId
--> src/dbus_mpris.rs:352:41
|
352 | struct AnyContextId(Box);
| ^^^^^^^^^^^^^ not a trait
error[E0404]: expected trait, found enum
PlayContextId
--> src/dbus_mpris.rs:377:18
|
377 | impl PlayContextId for AnyContextId {}
| ^^^^^^^^^^^^^ not a trait
error[E0404]: expected trait, found enum
PlayableId
--> src/dbus_mpris.rs:380:34
|
380 | Playable(Box),
| ^^^^^^^^^^ not a trait
Some errors have detailed explanations: E0404, E0407.
For more information about an error, try
rustc --explain E0404
.error: could not compile
spotifyd
due to 5 previous errorsVersions:
Note: this is my first issue ever, i'm sorry if something is off
The text was updated successfully, but these errors were encountered: