Giter VIP home page Giter VIP logo

Comments (4)

orhun avatar orhun commented on June 18, 2024 2

I added rustup as a dependency to the Arch Linux package. (commit)

from cargo-msrv.

foresterre avatar foresterre commented on June 18, 2024 1

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.

foresterre avatar foresterre commented on June 18, 2024

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 run rustup 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:\.rustup

installed 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 or cargo msrv?

from cargo-msrv.

rharish101 avatar rharish101 commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.