I'm trying to install solo2 with cargo install solo2, but it fails to compile with:
error[E0599]: no variant or associated item named `PKCKS11` found for enum `uriparse::Scheme` in the current scope
--> /Users/angel/.cargo/registry/src/github.com-1ecc6299db9ec823/pkcs11-uri-0.1.2/src/lib.rs:209:52
|
209 | if uri.scheme() != Some(&uriparse::Scheme::PKCKS11) {
| ^^^^^^^
| |
| variant or associated item not found in `uriparse::Scheme<'_>`
| help: there is a variant with a similar name: `PKCS11`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `pkcs11-uri` due to previous error
I see @nickray is a contributor to both solo2 and pkcs11-uri, so they might be able to do a new release of pkcs11-uri with the fix and update the solo2 dependencies.
This should work again now. In the future (if our dependencies do breaking changes in allegedly semver-compatible updates), use cargo install --locked.
I'm trying to install solo2 with
cargo install solo2
, but it fails to compile with:Seems to be due to a typo in https://github.com/nickray/pkcs11-uri/ so I've opened a PR there https://github.com/nickray/pkcs11-uri/pull/1.
The typo's root cause might be another dependency, namely https://github.com/sgodwincs/uriparse-rs/ which had the typo at one point, but it was corrected in https://github.com/sgodwincs/uriparse-rs/pull/19 by @nickray and merged later. Might be that a
uriparse
version update in https://github.com/solokeys/solo2-cli repo triggered this.I see @nickray is a contributor to both
solo2
andpkcs11-uri
, so they might be able to do a new release ofpkcs11-uri
with the fix and update thesolo2
dependencies.Rust version tested with: