Hello. I'm using VSCode and the pre-release version of rust-analyzer to work on a Rocket project on my remote server. It uses some remote SSH plugins to work directly on the server with all the files there. I was wondering if anyone else has done this and had any problems with it.
I keep getting piles of errors and I've finally found rust-analyzer's logout and found it is having connection issues. I worked on another project in the same way and didn't have any problems.
Here is the ouput I'm seeing:
[Info - 8:42:03 PM] Connection to server got closed. Server will restart.
[ERROR rust_analyzer::main_loop] FetchBuildDataError:
cargo check failed
[Info - 8:45:07 PM] Connection to server got closed. Server will restart.
[ERROR rust_analyzer::main_loop] FetchBuildDataError:
cargo check failed
[Info - 8:47:11 PM] Connection to server got closed. Server will restart.
[Error - 8:49:53 PM] Client Rust Analyzer Language Server: connection to server is erroring. Shutting down server.
[Error - 8:49:53 PM] Connection to server got closed. Server will not be restarted.
[Error - 8:49:53 PM] Stopping server failed
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 8:49:53 PM] Stopping server failed
Message: Pending response rejected since connection got disposed
Code: -32097
Now, from what I can see, the ssh plugin creates a connection fo the server and runs most things where. I had me install the rust analyzer plugin in the remote environment, I guess because the rust compiler is there. Like I said, it worked before, although then I didn't need the pre-release version. I needed to upgrade it because Rocket wants everything to be so bleeding edge new.
Any ideas what's going wrong? With it not connecting, it keeps displaying all sorts of errors in the code because of Rockets liberal usage of macros. Thanks in advance for any help any of you can provide.