Skip to content
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

Getting a bootstrap error #11101

Closed
superyu1337 opened this issue Dec 22, 2021 · 4 comments
Closed

Getting a bootstrap error #11101

superyu1337 opened this issue Dec 22, 2021 · 4 comments

Comments

@superyu1337
Copy link

superyu1337 commented Dec 22, 2021

Rust analyzer doesn't work for me anymore (since only some hours I believe), throws some javascript async error.

Im running the newest arch stable linux kernel.
I tried:

  • Fully system update
  • Updating vscodium
  • Redownloading rust-analyzer from marketplace
  • Changing kernel

Sadly, I don't know how to reproduce the error on other systems.
I'm going to do some more testing to isolate what's going on, but at the moment I have no idea what caused this.
It worked fine a few days ago.

rust-analyzer version: 0.2.867
rustc version: rustc 1.54.0 (a178d0322 2021-07-26)

Logs:

INFO [12/22/2021, 12:59:01 PM]: PersistentState: {
  lastCheck: undefined,
  nightlyReleaseId: undefined,
  serverVersion: '0.2.867'
}
INFO [12/22/2021, 12:59:01 PM]: Using server binary at /home/assel/.vscode-oss/extensions/matklad.rust-analyzer-0.2.867/server/rust-analyzer
ERROR [12/22/2021, 12:59:01 PM]: Bootstrap error [Error: Failed to execute /home/assel/.vscode-oss/extensions/matklad.rust-analyzer-0.2.867/server/rust-analyzer --version
	at j0 (/home/assel/.vscode-oss/extensions/matklad.rust-analyzer-0.2.867/out/main.js:109:4032)
	at processTicksAndRejections (internal/process/task_queues.js:93:5)
	at async N0 (/home/assel/.vscode-oss/extensions/matklad.rust-analyzer-0.2.867/out/main.js:109:1881)
	at async I0 (/home/assel/.vscode-oss/extensions/matklad.rust-analyzer-0.2.867/out/main.js:108:3977)
	at async lC (/home/assel/.vscode-oss/extensions/matklad.rust-analyzer-0.2.867/out/main.js:108:3808)
	at async Promise.all (index 0)
	at async v.$activate (/opt/vscodium-bin/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:100:20806)]
@bjorn3
Copy link
Member

bjorn3 commented Dec 22, 2021

Probably a duplicate of #11080

@superyu1337
Copy link
Author

Probably a duplicate of #11080

Yeah, I didn't see that one, I also can't execute it manually.

@lnicola
Copy link
Member

lnicola commented Dec 22, 2021

@superyu1337 try installing https://github.com/rust-analyzer/rust-analyzer/releases/download/2021-12-20/rust-analyzer-linux-x64.vsix (or the proper version from https://github.com/rust-analyzer/rust-analyzer/releases/tag/2021-12-20).

There's an Install extension from VSIX command.

@superyu1337
Copy link
Author

It works now, seems like the marketplace version is broken or something. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants