Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If rustup does not exist, error is very opaque #31

Closed
nagisa opened this issue Feb 17, 2019 · 1 comment
Closed

If rustup does not exist, error is very opaque #31

nagisa opened this issue Feb 17, 2019 · 1 comment
Labels
A-errors Area: errors and warnings bug Something isn't working

Comments

@nagisa
Copy link
Member

nagisa commented Feb 17, 2019

Outputs a simple "No such file or directory (os error 2)".

@ehuss ehuss added bug Something isn't working A-errors Area: errors and warnings labels Feb 13, 2024
@ehuss
Copy link
Collaborator

ehuss commented Feb 13, 2024

I'm going to close since I think this is partially resolved. I'm not sure exactly what part of the output this was coming from. If the issue is that you don't have rustup at all, then with -vv, you should get an output like:

error: no such command: `+bisector-ci-5f40394baa07b6fb50bc70dedd8b780524b20934-aarch64-apple-darwin`

	Cargo does not handle `+toolchain` directives.
	Did you mean to invoke `cargo` through `rustup` instead?

which I think should provide a clue that it needs rustup. (#205 is tracking being better about showing output.)

If the issue is that the rustup binary is missing, then you get the error:

ERROR: Could not run subcommand "rustup" "toolchain" "link" "bisector-nightly-2024-02-13-aarch64-apple-darwin" "/Users/eric/.rustup/toolchains/nightly-aarch64-apple-darwin": No such file or directory (os error 2)

Caused by:
    No such file or directory (os error 2)

@ehuss ehuss closed this as completed Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-errors Area: errors and warnings bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants