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

solo2-cli 0.2.2 failed to build against rust 1.79.0 #121

Open
chenrui333 opened this issue Jun 16, 2024 · 0 comments · May be fixed by #122
Open

solo2-cli 0.2.2 failed to build against rust 1.79.0 #121

chenrui333 opened this issue Jun 16, 2024 · 0 comments · May be fixed by #122

Comments

@chenrui333
Copy link

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 Homebrew/homebrew-core#174480

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

Successfully merging a pull request may close this issue.

1 participant