-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Mismatch rust version in cargo and global installation #14219
Comments
If I am reading this issue correctly, the problem you are running into is caused by |
The problem sounds like a confusion of the rustc version used by cargo (i.e. |
Thanks people. Going to close this as it doesn't seem to be an issue in Cargo. Feel free to reopen if later it is found a Cargo bug. |
Also I just noticed that you are running |
Maybe the cargo error message could be improved to indicate where the rustc it is using originates |
Problem
solana-hello-world % cargo build-bpf
error: package
bumpalo v3.16.0
cannot be built because it requires rustc 1.73.0 or newer, while the currently active rustc version is 1.72.0-devEither upgrade to rustc 1.73.0 or newer, or use
cargo update -p [email protected] --precise ver
where
ver
is the latest version ofbumpalo
supporting rustc 1.72.0-devsolana-hello-world % rustc --version
rustc 1.79.0 (129f3b996 2024-06-10) (Homebrew)
I have been running cargo build-bpf. It is showing some different version of rustc and while global rustc is different
Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
No response
The text was updated successfully, but these errors were encountered: