Skip to content
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

Void linux cargo build Fail #43

Closed
sithicas opened this issue Nov 25, 2021 · 3 comments
Closed

Void linux cargo build Fail #43

sithicas opened this issue Nov 25, 2021 · 3 comments

Comments

@sithicas
Copy link

sithicas commented Nov 25, 2021

Just wanted to post this if it warrants. This could be a rust version issue on my end? (rustc 1.53.0)

Compiling clap v3.0.0-beta.5
error[E0658]: arbitrary expressions in key-value attributes are unstable
--> /home/sithicas/.cargo/registry/src/github.51.al-1ecc6299db9ec823/clap-3.0.0-beta.5/src/lib.rs:8:10
|
8 | #![doc = include_str!("../README.md")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #78835 rust-lang/rust#78835 for more information

error: aborting due to previous error

For more information about this error, try rustc --explain E0658.
error: could not compile clap

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

@mautamu
Copy link
Member

mautamu commented Nov 25, 2021

Howdy, fellow adventurer!

Rust 1.53.0 appears to be below Clap's MSRV. If you update to 1.56.1 (current stable) or anything >= 1.54.0, the error should go away.

Best,
Mautamu

@sithicas
Copy link
Author

Will do. Will go ahead and close this ticket and if it happens again with the upgraded Rust. I’ll revisit it.

Thanks!

@mautamu
Copy link
Member

mautamu commented Nov 25, 2021

Awesome possum! If something more recent fails, please let us know!

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

2 participants