Skip to content

VSCode extension fails to run checks #17127

Closed
@ilmai

Description

@ilmai

Latest version fails to run checks with the following error in logs (paths censored):

Caused by:
  process didn't exit successfully: `/home/***/.vscode-server/extensions/rust-lang.rust-analyzer-0.3.1932-linux-x64/server/rust-analyzer /home/***/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/clippy-driver /home/***/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc - --crate-name ___ --print=file-names --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 1)
  --- stderr
  error: Unrecognized option: 'keep-going'

This error was from WSL but a similar error is produced on Windows and Mac. The error is fixed by installing the previous version 0.3.1924. This happens on all projects I tested with, regardless of if they have a build script or not.

rust-analyzer version: 0.3.1932

rustc version: 1.77.2

editor or extension: VSCode

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions