Suspicious state from syntax checker rust-cargo: Flycheck checker rust-cargo returned 101, but its output contained no errors: error: no library targets found in package #85
Since Monday I've been experiencing rust-analyzer crashing when working on Rust projects. It starts up successfully in lsp-mode, I see the correct red squigglies and diagnostics, but after a few seconds it crashes and Emacs displays:
Server rust-analyzer:70245 exited with status signal(check corresponding stderr buffer for details). Do you want to restart it? (y or n)
The *Messages* buffer shows:
LSP :: Connected to [rust-analyzer:70245/starting].
LSP :: rust-analyzer:70245 initialized successfully in folders: (REDACTED)
LSP :: rust-analyzer has exited (abort trap: 6)
Server rust-analyzer:70245 exited with status signal(check corresponding stderr buffer for details). Do you want to restart it? (y or n) y
Suspicious state from syntax checker rust-cargo: Flycheck checker rust-cargo returned 101, but its output contained no errors: error: no library targets found in package `my-rust-project`
Try installing a more recent version of rust-cargo, and please open a bug report if the issue persists in the latest release. Thanks!
Since Monday I've been experiencing
rust-analyzer
crashing when working on Rust projects. It starts up successfully inlsp-mode
, I see the correct red squigglies and diagnostics, but after a few seconds it crashes and Emacs displays:The
*Messages*
buffer shows: