Propagating panic for cycle head that panicked in an earlier execution in that revision
rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P)
0.3.2786
rustc version: (eg. output of rustc -V)
rustc 1.93.0 (254b59607 2026-01-19)
editor or extension: (eg. VSCode, Vim, Emacs, etc. For VSCode users, specify your extension version; for users of other editors, provide the distribution if applicable)
relevant settings: (eg. client settings, or environment variables like CARGO, RUSTC, RUSTUP_HOME or CARGO_HOME)
repository link (if public, optional): (eg. rust-analyzer)
code snippet to reproduce:
// add your code here
I have encountered this problem on different computers. Sometimes it will appear when opening vscode, and sometimes it will appear after restarting the rust-analyzer server. I try cargo new to create a new project, but this problem does not occur. When this problem occurs, I empty the main.rs and restore it, which can avoid this problem.
The log keeps printing errors.
When I set: "rust-analyzer .server.path": "/usr/lib/rustup/bin/rust-analyzer",everything is normal.
can confirm. same error here
same tody
Same on vscode on windows and wsl rust-analyzer version 0.3.2786
Same for me on
- VSCode 1.109.0
- Linux Mint 22.3 (based on Ubuntu 24.04) x64
- rustc 1.93.0 (254b59607 2026-01-19)
- rust-analyzer version 0.3.2786
Switching back to rust-analyzer 0.3.2777 solved the issue for me.
Getting the same bug on:
- VScode 1.109.0
- Windows 11 Home OS build 26100.7623
- rustc 1.93.0 (254b59607 2026-01-19)
- rust-analyzer 0.3.2786
Switching back to 0.3.2777 solved the issue for me.
Same issue here:
- VSCode: 1.109.0 (Universal)
- MacOS Tahoe: Version 26.2 (25C56)
- RustC: 1.93.0 (254b59607 2026-01-19)
- rust-analyzer: 0.3.2786
Rolling back to 0.3.2777 worked after restarting VSCode, as suggested below.
Is there a backtrace? Can you attach the log as text (not image)?
I guess https://github.com/rust-lang/rust-analyzer/pull/21380 might be related
Is there a backtrace? Can you attach the log as text (not image)?
The log is full of the same content as in the screenshot, nothing else.
I have the same issue:
- VSCode 1.109.0
- Fedora Linux 43 (Workstation Edition)
- rustc 1.92.0 (ded5c06cf 2025-12-08)
- rust-analyzer 0.3.2786
I tried to stop rust-analyzer server right as the issue occurs and got this output after a wall of the same errors:
2026-02-10T09:19:46.623892536+07:00 WARN Propagating panic for cycle head that panicked in an earlier execution in that revision
2026-02-10T09:19:46.623978087+07:00 WARN Propagating panic for cycle head that panicked in an earlier execution in that revision
2026-02-10T09:19:46.624055107+07:00 WARN Propagating panic for cycle head that panicked in an earlier execution in that revision
2026-02-10T09:19:46.624162352+07:00 WARN Propagating panic for cycle head that panicked in an earlier execution in that revision
2026-02-10T09:19:46.624260862+07:00 WARN Propagating panic for cycle head that panicked in an earlier execution in that revision
thread 'Worker2' (17691) panicked at crates/rust-analyzer/src/task_pool.rs:28:41:
called `Result::unwrap()` on an `Err` value: "SendError(..)"
stack backtrace:
0: __rustc::rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: core::ops::function::FnOnce::call_once{{vtable.shim}}
4: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 09:19:47] Server process exited with code 0.
I have the same problem too. The same problem occurred simultaneously on windows wsl and mac
- VSCode 1.109.0 (Universal)
- macOS Sonoma 14.8
- rustc 1.93.0 (254b59607 2026-01-19)
- rust-analyzer 0.3.2786
Same problem here.
- VSCode 1.108 and then also on 1.109
- Linux 6.17.13+deb14-amd64 Debian forky/sid
- rust-lang.rust-analyzer Version 0.3.2786
I followed the advice above, switched back to rust-analyzer 0.3.2777 and the issue has gone away.
Switching back to rust-analyzer 0.3.2777 solved the issue for me.
This solved it for me as well. For anyone who encounters this:
- Click on the "rust-analyzer" extension
- Click the down arrow to the right of "Uninstall" and click "Install Specific Version...". It takes like 10 seconds to load on my machine but then the options finally pop up. Choose "0.3.2777".
- Close VSCode - if you don't close it then it seems to keep panicking.
- Re-launch VSCode.
Same
I had the same issue, and resolved it the same way (including the "it takes minutes for the install specific version popup to show" problem). I'm commenting to say, in case it's relevant: oddly, the wgsl extension also started failing at the same time. It says:
Request textDocument/documentSymbol failed. Message: Request textDocument/documentSymbol failed with message: recursive use of an object detected which would lead to unsafe aliasing in rust Code: -32603
Does anyone happen to have a public project where this can be reproduced?
Does anyone happen to have a public project where this can be reproduced?
I had this issue while working through the rustlings examples. Having multiple examples open, somewhere in the move semantics section.
Does anyone happen to have a public project where this can be reproduced?
I can produce this reliably with https://codeberg.org/tisba/arq-restore
Edit: Downgrading to 0.3.2777 also fixes the issue for me.
Does anyone happen to have a public project where this can be reproduced?
I just cargo new a crate and when I was editing the source code, my PC's cooling fan kept howling and RA's inline hint got freezed. Hence I'm here. If you want to figure out what's happening, just cargo new...
I tried both the latest unstable 0.4 version and the latest stable 0.3 version, and finally had the issue resolved by following the advice above (downgrade to v0.3.2777).
Same issue with vim ALE.
Edit : There's no issue with stable, and downgrading nightly stopped the issue.
rustup component add rust-analyzer --toolchain nightly-2026-02-07
rustup default nightly-2026-02-07