solo2-cli
solo2-cli copied to clipboard
solo2-cli 0.2.2 failed to build against rust 1.79.0
while trying to upgrade rust to 1.79.0, seeing some build failure as below:
error: unnecessary qualification
--> src/pki/dev.rs:47:19
|
47 | let key_info: p256::pkcs8::PrivateKeyInfo = key_pkcs8.as_slice().try_into().unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> src/lib.rs:1:34
|
1 | #![deny(warnings, trivial_casts, unused_qualifications)]
| ^^^^^^^^^^^^^^^^^^^^^
help: remove the unnecessary path segments
|
47 - let key_info: p256::pkcs8::PrivateKeyInfo = key_pkcs8.as_slice().try_into().unwrap();
47 + let key_info: pkcs8::PrivateKeyInfo = key_pkcs8.as_slice().try_into().unwrap();
|
error: could not compile `solo2` (lib) due to 1 previous error
relates to https://github.com/Homebrew/homebrew-core/pull/174480
Same problem here! I use Garuda Linux (Arch based btw.) and Cargo in version 1.80.0 (376290515 2024-07-16)