The server does not start
See original GitHub issueThe coc-rust-analyzer server is unable to start. I was having problems (like go to definition has not been working for days now), so I tried to uninstall everything including coc and do a fresh reinstall, removing all artifacts from ~/.config/coc. However now the server does not even start.
My coc settings:
{
"languageserver": {
"haskell": {
"command": "ghcide",
"args": [
"--lsp"
],
"rootPatterns": [
".stack.yaml",
".hie-bios",
"BUILD.bazel",
"cabal.config",
"package.yaml"
],
"filetypes": [
"hs",
"lhs",
"haskell"
]
},
"ocaml-lsp": {
"command": "opam",
"args": ["config", "exec", "--", "ocamllsp"],
"filetypes": ["ocaml", "reason"]
}
}
}
Logs:
## versions
vim version: NVIM v0.4.3
node version: v12.18.0
coc.nvim version: 0.0.78
coc.nvim directory: /home/XXX/.vim/bundle/coc.nvim
term: xterm-256color
platform: linux
## Output channel: Rust Analyzer Language Server Trace
## Output channel: rust-analyzer
[Error - 17:38:17] Connection to server is erroring. Shutting down server.
[Error - 17:38:17] Connection to server is erroring. Shutting down server.
[Error - 17:38:17] Connection to server is erroring. Shutting down server.
/home/yago/.config/coc/extensions/coc-rust-analyzer-data/rust-analyzer: 3: Syntax error: "(" unexpected
[Error - 17:38:17] /home/yago/.config/coc/extensions/coc-rust-analyzer-data/rust-analyzer exited with code: 2
Rustc/cargo version: 1.44.1
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Unable to Start the Server Service - Microsoft Support
When you attempt to start the Server service from a command prompt, you may receive the following error message: System error 1058 has...
Read more >My Server won't boot. What do I do? - Support Center
My Server won't boot. What do I do? · External Power - Check power source that it is able to actively power devices....
Read more >Why Won't My Minecraft Server Start? - Apex Hosting
Your server not starting can be the result of a number of causes, in most cases, it can be resolved or at least...
Read more >Dell PowerEdge: Troubleshooting a Server that does not start ...
This article provides information about how to troubleshoot No Power, No POST, No Boot and No Video issues on a Dell PowerEdge Server....
Read more >Application Server start or restart problems - IBM
If a server process does not start or starts with errors, the following topics might help you to diagnose the problem.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks a lot, this allows me to at least work normally in the meantime. For the maintainer’s information, I tried to downgrade coc-rust-analyzer to 7.6 without success.
I encountered this as well and fixed it in the short term by downloading a rust-analyzer release for your OS from https://github.com/rust-analyzer/rust-analyzer/releases/tag/2020-06-22 and replacing the rust-analyzer binary.