question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when prompted to upgrade rust-analyzer

See original GitHub issue

The extension prompts me to download the newest rust-analyzer source from GitHub:

Rust Analyzer has a new release: 2020-06-08, you're using 2020-06-01.
Would you like to download from GitHub:
1. Yes
2. Check GitHub releases
3. Cancel
Type number and <Enter> or click with mouse (empty cancels):

However it gets stuck at 0.06% each time and throws the following error message:

[coc.nvim] Upgrade rust-analyzer failed, please try again

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
fannheywardcommented, Jun 23, 2020

@linde12 this error is properly caused by multiple vim instances.

write to a temporary path

I’ll try this solution.

1reaction
mandreyelcommented, Jun 11, 2020

I’m on node v12.16.3.

By the way, I’ve switched to providing the path of the binary with the rust-analyzer.serverPath setting and this fixes the issue (though no big surprises here, updates are now delegated to the user).

Read more comments on GitHub >

github_iconTop Results From Across the Web

User Manual - rust-analyzer
At its core, rust-analyzer is a library for semantic analysis of Rust code as it changes over time. This manual focuses on a...
Read more >
rust-analyzer failed to discover workspace in vscode
The rust-analyzer needs a Cargo.toml to detect the workspace. You could create a new rust project with cargo : cargo new your-project.
Read more >
Be careful folks! rust-analyzer is currently ... - Reddit
I was able to uninstall rust-analyzer, update all my extensions, and then re-install it. Please let's be kind to both VSCode and Rust, ......
Read more >
Set up your dev environment on Windows for Rust
But you could launch a command prompt ( cmd.exe ), and perhaps ... After you've installed VS Code, install the rust-analyzer extension.
Read more >
Rust analyzer is not working
If you get a prompt to update the Rust-Analyzer extension when you start VS code accept it. You may also get a prompt...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found