Rust Analyzer Panic #13564
Rust Analyzer Panic
#13564
Replies: 1 comment
-
I dont know what happend, but it fixed itself?? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Rust analyzer panics on startup, during fetch_native_diagnostics
Reproduction Steps
Launch helix in rust project and edit any file
My helix language.toml is attached (renamed because github doesnt want toml files??)
languages.log
Helix log
~/.cache/helix/helix.log
Without backtrace and logging:
2025-05-18T13:38:25.163 helix_lsp::transport [ERROR] rust-analyzer err <- "Panic context:\n"
2025-05-18T13:38:25.163 helix_lsp::transport [ERROR] rust-analyzer err <- "> fetch_native_diagnostics\n"
2025-05-18T13:38:25.163 helix_lsp::transport [ERROR] rust-analyzer err <- "\n"
2025-05-18T13:38:25.163 helix_lsp::transport [ERROR] rust-analyzer err <- "\n"
2025-05-18T13:38:25.163 helix_lsp::transport [ERROR] rust-analyzer err <- "thread 'Worker' panicked at src/tools/rust-analyzer/crates/ide-diagnostics/src/lib.rs:382:65:\n"
2025-05-18T13:38:25.163 helix_lsp::transport [ERROR] rust-analyzer err <- "called
Option::unwrap()
on aNone
value\n"2025-05-18T13:38:25.163 helix_lsp::transport [ERROR] rust-analyzer err <- "stack backtrace:\n"
2025-05-18T13:38:25.170 helix_lsp::transport [ERROR] rust-analyzer err <- " 0: __rustc::rust_begin_unwind\n"
2025-05-18T13:38:25.170 helix_lsp::transport [ERROR] rust-analyzer err <- " 1: core::panicking::panic_fmt\n"
2025-05-18T13:38:25.170 helix_lsp::transport [ERROR] rust-analyzer err <- " 2: core::panicking::panic\n"
2025-05-18T13:38:25.170 helix_lsp::transport [ERROR] rust-analyzer err <- " 3: core::option::unwrap_failed\n"
2025-05-18T13:38:25.170 helix_lsp::transport [ERROR] rust-analyzer err <- " 4: ide_diagnostics::semantic_diagnostics\n"
2025-05-18T13:38:25.170 helix_lsp::transport [ERROR] rust-analyzer err <- " 5: ide::Analysis::semantic_diagnostics\n"
2025-05-18T13:38:25.170 helix_lsp::transport [ERROR] rust-analyzer err <- " 6: <core::iter::adapters::filter_map::FilterMap<core::iter::adapters::copied::Copied<core::slice::iter::Itervfs::FileId>, rust_analyzer::diagnostics::fetch_native_diagnostics::{closure#0}> as core::iter::traits::iterator::Iterator>::next\n"
2025-05-18T13:38:25.170 helix_lsp::transport [ERROR] rust-analyzer err <- " 7: rust_analyzer::diagnostics::fetch_native_diagnostics\n"
2025-05-18T13:38:25.170 helix_lsp::transport [ERROR] rust-analyzer err <- " 8: <stdx::thread::pool::Pool::spawn<<rust_analyzer::task_pool::TaskPool<rust_analyzer::main_loop::Task>>::spawn_with_sender<<rust_analyzer::global_state::GlobalState>::update_diagnostics::{closure#3}>::{closure#0}>::{closure#0} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}\n"
2025-05-18T13:38:25.170 helix_lsp::transport [ERROR] rust-analyzer err <- "note: Some details are omitted, run with
RUST_BACKTRACE=full
for a verbose backtrace.\n"2025-05-18T13:38:27.537 helix_lsp::transport [ERROR] rust-analyzer <- ServerError(-32801): content modified
2025-05-18T13:38:27.537 helix_term::handlers::signature_help [ERROR] signature help request failed: protocol error: ServerError(-32801): content modified
With logging attached
rust_issue.log
Platform
Arch Linux
Terminal Emulator
kitty 0.42.0
Installation Method
AUR
Helix Version
helix 25.01.1
Beta Was this translation helpful? Give feedback.
All reactions