Comments (4)
I added rustup
as a dependency to the Arch Linux package. (commit)
from cargo-msrv.
I found out that my issue was a missing
rustup
binary 😅. I had installed rust (and cargo, etc.) through the package manager, not through rustup. After switching to rustup for managing rust installations, this works for me.
Great!
Shouldn't the documentation mention this? I don't think it's explicitly mentioned.
Absolutely. I've created #467 to track this.
from cargo-msrv.
Thanks for the report.
Based on the error message, I think that either rustup
is not installed or available to the environment, or our call to rustup
to detect the available toolchains somehow fails.
I don't have an Arch Linux install available myself unfortunately, which makes this a bit harder to reproduce (I don't have issues on Pop OS). Below I've added some questions, to further pinpoint what is causing the issue.
- Do you have
rustup
installed? If you runrustup show
, what output do you get?
For example, on my current system, `rustup show` prints:
rustup show Default host: x86_64-pc-windows-msvc rustup home: C:\.rustupinstalled toolchains
stable-x86_64-pc-windows-gnu
stable-x86_64-pc-windows-msvc (default)
nightly-x86_64-pc-windows-msvc
1.25.0-x86_64-pc-windows-msvc
1.26.2-x86_64-pc-windows-msvc
1.27.2-x86_64-pc-windows-msvc
1.28.0-x86_64-pc-windows-msvc
1.29.2-x86_64-pc-windows-msvc
1.30.0-x86_64-pc-windows-msvc
1.30.1-x86_64-pc-windows-msvc
1.31.0-x86_64-pc-windows-msvc
1.31.1-x86_64-pc-windows-msvc
1.32.0-x86_64-pc-windows-msvc
1.33.0-x86_64-pc-windows-msvc
1.34.0-x86_64-pc-windows-msvc
1.34.2-x86_64-pc-windows-msvc
1.35.0-x86_64-pc-windows-msvc
1.36.0-x86_64-pc-windows-msvc
1.37.0-x86_64-pc-windows-msvc
1.38.0-x86_64-pc-windows-msvc
1.39.0-x86_64-pc-windows-msvc
1.40.0-x86_64-pc-windows-msvc
1.41.0-x86_64-pc-windows-msvc
1.41.1-x86_64-pc-windows-msvc
1.42.0-x86_64-pc-windows-msvc
1.43.0-x86_64-pc-windows-msvc
1.43.1-x86_64-pc-windows-msvc
1.44.0-x86_64-pc-windows-msvc
1.44.1-x86_64-pc-windows-msvc
1.45.0-x86_64-pc-windows-msvc
1.45.1-x86_64-pc-windows-msvc
1.45.2-x86_64-pc-windows-msvc
1.46.0-x86_64-pc-windows-msvc
1.47.0-x86_64-pc-windows-msvc
1.48.0-x86_64-pc-windows-msvc
1.49.0-x86_64-pc-windows-msvc
1.50.0-x86_64-pc-windows-msvc
1.51.0-x86_64-pc-windows-msvc
1.52.0-x86_64-pc-windows-msvc
1.52.1-x86_64-pc-windows-msvc
1.53.0-x86_64-pc-windows-msvc
1.54.0-x86_64-pc-windows-msvc
1.55.0-x86_64-pc-windows-msvc
1.56.0-x86_64-pc-windows-msvc
1.56.1-x86_64-pc-windows-msvc
1.57.0-x86_64-pc-windows-msvc
1.58.1-x86_64-pc-windows-msvc
1.59.0-x86_64-pc-windows-msvc
1.60.0-x86_64-pc-windows-msvc
1.61.0-x86_64-pc-windows-msvc
1.62.0-x86_64-pc-windows-msvc
1.62.1-x86_64-pc-windows-msvc
1.63.0-x86_64-pc-windows-msvc
active toolchain
stable-x86_64-pc-windows-msvc (default)
rustc 1.63.0 (4b91a6ea7 2022-08-08)
-
Is this error all the output you get? Or do you also see a progress bar like in https://asciinema.org/a/mFs1cjmjhCDinQNepooGelnYF ?
-
What happens when you run with the following arguments:
cargo msrv --log-target stdout --log-level debug --output-format void
(running this command will disable the standard output, and enable printing debug information to stdout). -
Does this issue also occur with the latest development version (you can install it by running
cargo install cargo-msrv --git https://github.com/foresterre/cargo-msrv
)? -
To be sure: are you running
cargo msrv show
orcargo msrv
?
from cargo-msrv.
I found out that my issue was a missing rustup
binary 😅. I had installed rust (and cargo, etc.) through the package manager, not through rustup. After switching to rustup for managing rust installations, this works for me.
Shouldn't the documentation mention this? I don't think it's explicitly mentioned.
from cargo-msrv.
Related Issues (20)
- feature: cargo-msrv rules (msrv by offset)
- feature: cargo-msrv suggest
- Cargo resolves different versions of dependencies (with different MSRV) from Cargo 1.60 and up HOT 14
- failure in GitLab runner: error: unexpected argument 'sh' found HOT 4
- verification does not respect workspace members with a virtual workspace HOT 4
- The code is hard to read/follow HOT 1
- Split expected and unexpected errors
- Failure on Github Actions HOT 2
- Custom check? HOT 4
- Docker image fails with GLIBC not found error HOT 2
- Use compilation target instead of build machine target for MSRV checks
- v0.16.0-beta.16 release builds failed: third party license files failed to generate HOT 1
- Add `--features` parameter
- Posible to install clippy for using it as a check? HOT 4
- Add `--workspace` flag to subcommand `find`
- Run tests which write to disk in temp dirs
- Coverage is broken due to aHash or crc32c <0.7.0 used in transitive dependency
- check if job result is a clippy false positive
- Add `--strict` flag to cargo msrv verify
- Error when `--manifest-path Cargo.toml`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-msrv.