Open daveman1010221 opened 1 month ago
Created a branch for this issue:
git fetch origin git checkout 18-rust-analyzer-fails-to-start
So this turned out to be a problem with VSCode rather than the devcontainer itself (or just both?). RustAnalyzer does work wheb connected to the devcontainer via web browser with code-server running. It just appears that VSCode doesn't attach fully to the container when running on a remote host.
I tried a few different ways of starting the devcontainer, to no great success. Some data points:
The error seems to indicate that a 'nixbld' group is needed to proceed. I'm skeptical. It's possible Rust Analyzer has never worked in my testing, but I think it has in the past. As I'm doing Rust dev, it's an important extension. Container is currently unusable for me.
VS Code details: Version: 1.93.0-insider Commit: 27f650ea2366a6b99b4727b2bec9731904d52ac5 Date: 2024-08-15T05:03:41.839Z Electron: 30.3.1 ElectronBuildId: 9960165 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Linux x64 6.8.0-40-lowlatency snap
Error:
`[error] Bootstrap error Error: warning: the group 'nixbld' specified in 'build-users-group' does not exist error: … while calling the 'import' builtin