solo2-cli icon indicating copy to clipboard operation
solo2-cli copied to clipboard

solo2-cli 0.2.2 failed to build against rust 1.79.0

Open chenrui333 opened this issue 1 year ago • 1 comments

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

chenrui333 avatar Jun 16 '24 15:06 chenrui333

Same problem here! I use Garuda Linux (Arch based btw.) and Cargo in version 1.80.0 (376290515 2024-07-16)

luksto avatar Feb 13 '25 22:02 luksto