+
Skip to content

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

@chenrui333

Description

@chenrui333

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载