-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
thread '<unnamed>' panicked at 'not implemented', /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9\src\libstd\macros.rs:13:23 #6120
Comments
Are you sue you don't have the rls extension enabled? It's suspicious that deleting the |
I'm pretty sure, I don't know how this I might be wrong and maybe I've done some test (installing RLS to see something and immediatly uninstall it?) that I don't remember. But it seems very unlikely to me, but plausible |
@lnicola I don't think so as I didn't know there was such support ^^'
|
I guess you could try to switch to the nightly channel, so you might get better a better backtrace. |
It was on nightly when I got the issues, I switched back to stable in order to have something that works :) Switched back to nightly to test:
|
I meant the nightly rust-analyzer version, |
Yes, that's what I did :) |
I am afraid this bug has made it to the new stable release. The server logs
|
@Veetaha how did you get this stack trace? Mine is full of |
I don't know, I used the stable build. IIRC only nightlies capture the debug symbols info for better stack traces, but this may have changed |
It might be platform-specific. Veetaha is using Linux IIRC, while you're on Windows. MSVC debug symbols are usually in a different file ( |
* Chalk very recently (like an hour ago) merged a fix that prevents rust analyzer from panicking. This allows it to be usable again for code that hits those situations. See rust-lang#6134, rust-lang#6145, Probably rust-lang#6120
6161: Bump chalk to use latest git to get upstream fix r=jonas-schievink a=Ameobea * Chalk very recently (like an hour ago) merged a fix that prevents rust analyzer from panicking. This allows it to be usable again for code that hits those situations. See #6134, #6145, Probably #6120 Co-authored-by: Casey Primozic <me@ameo.link>
It's fixed in e95e666 🥳 |
* Chalk very recently (like an hour ago) merged a fix that prevents rust analyzer from panicking. This allows it to be usable again for code that hits those situations. See rust-lang#6134, rust-lang#6145, Probably rust-lang#6120
* Add convert integer literal assist * Add ability to specify ResolvedAssist by label * Add tests for convert integer literal assist * Minor clippy performance suggestions * Fix path comparison not comparing paths correctly with unequal lengths * Improve grammar and fix code example in style guide * Up rustc-ap-rustc_lexer to 681 cargo update as well * Document Clippy strategy * Add support of runnables arguments in Rust Analyzer * Replace 'cargo_prefix' option with 'override_cargo' * Support 'runnables' options in the vs code extension * Fix failing test * Add postfix completion for format-like string literals * Improve checks for postfix suggestions * Simplify is_string_literal function * Add missing entry to doc-comment * Improve format-like completions code appearance * Use ast::String for extracting string literal contents * Use lookup table instead of enum for postfix completion kinds * Use expect_test to make format_str_parser test more data-driven * Reduce visibiity * Expectify find_references tests * Move ide::AnalysisChange -> base_db::Change This seems like a better factoring logically; ideally, clients shouldn't touch `set_` methods of the database directly. Additionally, I think this should remove the unfortunate duplication in fixture code. * Rewrite fixtures on top of Change * Get rid of MockAnalysis * rename mock_analysis -> fixture * Add a dash test * Fix the hover dash issues * Properly name the field * Simplify ast_transform * Correctly complete items with leading underscore * Better inlay hints in 'for' loops * Make the tests for complete/incomplete for inlay hints work * Remove 'for_expr' test from inlay_hints.rs * Improve readability in inlay_hints.rs * Trim all trailing whitespace in onEnter Fixes rust-lang#5848 * Add notes concerning privacy and network access * Make find_path_prefixed configurable * Make ImportPrefix a configuration option * honor content_format clientcap This removes all markdown when the client does not support the markdown MarkupKind Otherwise the output on the editor will have some markdown boilerplate, making it less readable * add docstring * Fix feature name * Account for proc macro helpers when parsing attr * Do not leave braces for colons in dbg! * Fix trait object hir formatting behind pointer and references * Smoke test docs generation * Move ModPath->ast::Path function to IDE layer closes rust-lang#6092 * add doc describing limited capabilities * add break after codeblocks * Constrain ImportMap to only store simple paths * Shorten type hints for std::iter Iterators * Add test makr * Document privacy invariant of SyntaxPtr * Use FamousDefs for shorten_iterator hint * Fixed parsing of negative number literals in macros. * Added unit test for negative number literals in macros. * Update manual.adoc * Add validation check for ambiguous trait objects * Bump chalk to use latest git to get fix * Chalk very recently (like an hour ago) merged a fix that prevents rust analyzer from panicking. This allows it to be usable again for code that hits those situations. See rust-lang#6134, rust-lang#6145, Probably rust-lang#6120 * `todo!()` -> `unimplemented!() // FIXME` for CI * Make unimplemented match variants explicit * Move IntoIterator into FamousDefs * Shorten iterator chain hints * Cleanup * Shorten iterator hints for std::iter iterators behind references * Better progress API Percentage is a UI concern, the physical fact here is fraction. It's sad that percentage bleeds into the protocol level, we even duplicated this bad API ourselves! * Reorg style * Add comparisons guideline to style * minor * minor * Clean up inlay_hints * Switch from git to latest tagged release of chalk deps * Add track_env_var to the proc macro server * Bump rustc_lexer, cfg-if to 1.0 and add new license to check * add eprintln in fmt-like postfix Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> * Fix source_to_def for named enum variant fields * Add note if RUST_SRC_PATH is likely to be wrong * Update crates/project_model/src/sysroot.rs Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com> * Remove release build overrides * Treat `ast::Name` in field patterns as use * adt: correctly inherit field visibility from enum Previously, "find all references" on a variant field wouldn't find any references outside the defining module. This is because variant fields were incorrectly assumed to be private, like struct fields without explicit visibility, but they actually inherit the enum's visibility. Co-authored-by: vlakreeh <zeb@zebulon.dev> Co-authored-by: kjeremy <kjeremy@gmail.com> Co-authored-by: Lukas Wirth <lukastw97@gmail.com> Co-authored-by: Laurențiu Nicola <lnicola@dend.ro> Co-authored-by: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com> Co-authored-by: Igor Aleksanov <popzxc@yandex.ru> Co-authored-by: Kirill Bulatov <mail4score@gmail.com> Co-authored-by: León Orell Valerian Liehr <liehr.exchange@gmx.net> Co-authored-by: Wesley Norris <repnop@outlook.com> Co-authored-by: Robin van Dijk <robin@robinjint.nl> Co-authored-by: Jonas Schievink <jonasschievink@gmail.com> Co-authored-by: Tim <tim@glacyr.com> Co-authored-by: Adrian Stanciu <stanciu.adrian@gmail.com> Co-authored-by: Casey Primozic <me@ameo.link> Co-authored-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
Yesterday, using VSCode, I don't know why, but RA suddenly stopped working at all. No navigation, no semantic highlighting with this error:
and in extension host logs, this message multiple times:
Then I rollback to stable and is was still broken, but after deleting
target/rls
it started to work again 😕As it was working again after deleting the
target/rls
, I switched to nightly again, and it was working… The "provider FAILED" logs in the extension host logs was still present though.Today, I updated the nightly like everyday, and it was broken again :-/ same errors in boths logs.
Reverted to stable, and it works even if I get the extensions host log:
PS: was posted here as well: https://users.rust-lang.org/t/ra-totally-broken-since-1st-oct-version/49529/7
The text was updated successfully, but these errors were encountered: