Skip to content

Error Installation #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Alandrias opened this issue Apr 22, 2023 · 8 comments
Closed

Error Installation #25

Alandrias opened this issue Apr 22, 2023 · 8 comments

Comments

@Alandrias
Copy link

apex-music v0.1.0 (/var/tmp/pamac-build-alex/apex-tux-git/src/apex-tux/apex-music)
error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:74:31
|
74 | type MetadataFuture<'a> = impl Future<Output = ResultSelf::Metadata> + 'a
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 rust-lang/rust#63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable

error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:77:27
|
77 | type NameFuture<'a> = impl Future<Output = String>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 rust-lang/rust#63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable

error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:80:37
|
80 | type PlaybackStatusFuture<'a> = impl Future<Output = Result>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 rust-lang/rust#63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable

error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:83:31
|
83 | type PositionFuture<'a> = impl Future<Output = Result>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 rust-lang/rust#63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable

error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:135:30
|
135 | type ArtistsFuture<'a> = impl Future<Output = Result> + 'a
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 rust-lang/rust#63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable

error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:138:29
|
138 | type LengthFuture<'a> = impl Future<Output = Result> + 'a
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 rust-lang/rust#63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable

error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:141:28
|
141 | type TitleFuture<'a> = impl Future<Output = Result> + 'a
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 rust-lang/rust#63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable

For more information about this error, try rustc --explain E0658.
error: could not compile apex-music (lib) due to 7 previous errors
warning: build failed, waiting for other jobs to finish...
==> FEHLER: Ein Fehler geschah in build().
Breche ab...

@jehendeoff
Copy link
Contributor

jehendeoff commented Apr 23, 2023

Hi, I think this issue is related to #23, you might want to compile from source instead, as pamac doesn't seem to have the latest commit yet (?)

@not-jan
Copy link
Owner

not-jan commented Apr 23, 2023

Hi, I think this issue is related to #23, you might want to compile from source instead, as pamac doesn't seem to have the latest commit yet (?)

Yeah this seems to be the case. Please check in with the maintainer of the AUR package to have this fixed.

@not-jan not-jan closed this as completed Apr 23, 2023
@Alandrias
Copy link
Author

Alandrias commented Apr 23, 2023

Hi, sorry in advance. My English is not the best, but I'll try.

I followed the advice and cloned apex-tux-1.0 and tried to compile it. Unfortunately without success.
The error message here is:

apex-tux-1.0]$ cargo build --release Updating crates.io index error: failed to select a version for the requirement funty = "~1.2"candidate versions found which didn't match: 2.0.0, 1.1.0, 1.0.1, ... location searched: crates.io index required by packagebitvec v0.22.3... which satisfies dependencybitvec = "^0.22.3"of packageapex-hardware v0.1.0 (/home/user/Downloads/apex-tux-1.0/apex-hardware)... which satisfies path dependencyapex-hardwareof packageapex-ctl v0.1.0 (/home/user/Downloads/apex-tux-1.0/apex-ctl)

I use Manjaro as distribution, the system is freshly set up. And I am quite fresh in Manjaro. But I love the keyboard and am happy that I should be able to use the display under Linux.
It would be nice to get some help.

Thanks in advance

@jehendeoff
Copy link
Contributor

Hi, I think this is related to #16

@Alandrias
Copy link
Author

Alandrias commented Apr 23, 2023

thanks for the quick reply, and how do I solve the problem now? Sorry for the question, but I do not understand it. apparently my knowledge is not enough there

@jehendeoff
Copy link
Contributor

jehendeoff commented Apr 23, 2023

I think the repository you downloaded is outdated, please delete what you downloaded (maybe the release version, which was last updated in 2021 I think), instead clone this repo :
git clone [email protected]:not-jan/apex-tux.git
and then follow the "normal" instructions

(should be :

cd apex-tux
cargo build --release

)

@Alandrias
Copy link
Author

Finally!
Thank you very much! Still had to compile the settings, but now it works!

Thanks

@jehendeoff
Copy link
Contributor

you had to compile the settings ? Do you mean you had to move the settings.toml file ? if so, this is normal don't worry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants