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

Addition of --keep-going flag breaks analysis on older repos #17910

Closed
vitalytarasov opened this issue Aug 16, 2024 · 3 comments
Closed

Addition of --keep-going flag breaks analysis on older repos #17910

vitalytarasov opened this issue Aug 16, 2024 · 3 comments
Labels
C-bug Category: bug

Comments

@vitalytarasov
Copy link

vitalytarasov commented Aug 16, 2024

Addition of --keep-going flag in v0.3.2037 breaks code analysis on older repos. Analyzer terminates with error:

2024-08-16T17:38:57.220808Z ERROR FetchBuildDataError:
error: the --keep-going flag is unstable, and only available on the nightly channel of Cargo, but this is the stable channel
See https://doc.rust-lang.org/book/appendix-07-nightly-rust.html for more information about Rust release channels.
See rust-lang/cargo#10496 for more information about the --keep-going flag.
rust-analyzer version: 0.3.2070

rustc version: 1.70.0 (set via rust-toolchain file)

editor or extension: VSCode

relevant settings: default settings

workaround: downgrade rust-analyzer to v0.3.2029

@vitalytarasov vitalytarasov added the C-bug Category: bug label Aug 16, 2024
@Veykril
Copy link
Member

Veykril commented Aug 16, 2024

We are aware of this, either upgrade your toolchain or if thats not possible install the rust-analyzer component in your toolchain and point your editor to use that rust-analyzer instead. We cannot reasonably support older rust versions.

@Veykril Veykril closed this as completed Aug 16, 2024
@vitalytarasov
Copy link
Author

Why not pass the flag conditional of rustc version?

@Veykril
Copy link
Member

Veykril commented Aug 16, 2024

See #17662 and #17561

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants