Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Are there updated install steps available? #372

Open
nlfiedler opened this issue Jan 12, 2023 · 1 comment
Open

Are there updated install steps available? #372

nlfiedler opened this issue Jan 12, 2023 · 1 comment

Comments

@nlfiedler
Copy link

The tool doesn't seem to build successfully when using the instructions given in the README.

brew install cmake
rustup install nightly-2022-08-03
rustup component add rustc-dev llvm-tools-preview --toolchain nightly-2022-08-03
cargo +nightly-2022-08-03 install --git https://github.com/rust-lang/rust-semverver

The build fails with several similar errors:

error[E0658]: `let...else` statements are unstable
  --> /Users/nfiedler/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.67.1/src/cargo/sources/git/known_hosts.rs:92:5
   |
92 | /     let Some(host_key) = cert.as_hostkey() else {
93 | |         // Return passthrough for TLS X509 certificates to use whatever validation
94 | |         // was done in git2.
95 | |         return Ok(CertificateCheckStatus::CertificatePassthrough)
96 | |     };
   | |______^
   |
   = note: see issue #87335 <https://github.com/rust-lang/rust/issues/87335> for more information
   = help: add `#![feature(let_else)]` to the crate attributes to enable

Any help would be appreciated, thank you.

@JohnTitor
Copy link
Member

That's because Cargo 0.67.1 is used, we have to pin it to 0.67.0 but it's vulnerable.
Anyway, I wouldn't recommend using this crate currently as it doesn't work nicely on some code and depends on the save-analysis feature which is planned to be removed in the near future. I haven't used it much, but maybe https://github.com/obi1kenobi/cargo-semver-checks is more useful, it detects semver failures reading rustdoc outputs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants