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

Fails to build #12

Closed
ieugen opened this issue Jul 14, 2020 · 4 comments
Closed

Fails to build #12

ieugen opened this issue Jul 14, 2020 · 4 comments

Comments

@ieugen
Copy link

ieugen commented Jul 14, 2020

Hello,

I've tried to build on Debian and it fails:

I've run cargo install git-credential-keepassxc .
I installed rust from repos.

cargo --version 
cargo 1.42.1

rustc --version
rustc 1.42.0

  Compiling prctl v1.0.0
   Compiling aes-gcm v0.6.0
error: attributes are not yet allowed on `if` expressions
  --> /home/ieugen/.cargo/registry/src/github.com-1ecc6299db9ec823/sysinfo-0.14.13/src/utils.rs:27:5
   |
27 |     #[allow(clippy::identity_conversion)]
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

error: could not compile `sysinfo`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `git-credential-keepassxc v0.3.2`, intermediate artifacts can be found at `/tmp/cargo-installRE8O9G`

Caused by:
  build failed
@Frederick888
Copy link
Owner

This feature used by sysinfo is available from Rust 1.43.0 rust-lang/rust#69201

It's generally a good idea to keep Rust up-to-date.

@ieugen
Copy link
Author

ieugen commented Jul 15, 2020

Thank you for the information.
I don't work with rust every day so I don't feel the need to do that.
I'm sure there are plenty more people like me.
I'm not going to jump through hoops to use this app.
Thanks.

@Frederick888
Copy link
Owner

@ieugen Well, you can then report this issue to sysinfo although I don't think they'd hold back from using new Rust features. At the end of the day it's not something I can fix here.

@Frederick888
Copy link
Owner

Just wanna drop a note that now I use GitHub Actions to build and upload binaries to the release page. This is experimental though, it's still suggested to use cargo to install this tool.

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