Closed DoormatIka closed 10 months ago
How to reproduce this? What's the CocOpenlog
?
It just suddenly happened. I have no idea what caused this other than me installing dependencies on my Rust project.
2023-10-29T23:13:37.161 INFO (pid:21428) [attach] - receive notification: installExtensions [ 'coc-rust-analyzer' ]
2023-10-29T23:13:39.930 INFO (pid:21428) [extension-installer] - Fetched info of coc-rust-analyzer {
'dist.tarball': 'https://registry.npmjs.org/coc-rust-analyzer/-/coc-rust-analyzer-0.75.0.tgz',
'engines.coc': '^0.0.80',
version: '0.75.0',
name: 'coc-rust-analyzer'
}
2023-10-29T23:13:41.777 INFO (pid:21428) [model-download] - Download completed: URL {
href: 'https://registry.npmjs.org/coc-rust-analyzer/-/coc-rust-analyzer-0.75.0.tgz',
origin: 'https://registry.npmjs.org',
protocol: 'https:',
username: '',
password: '',
host: 'registry.npmjs.org',
hostname: 'registry.npmjs.org',
port: '',
pathname: '/coc-rust-analyzer/-/coc-rust-analyzer-0.75.0.tgz',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
2023-10-29T23:13:41.779 INFO (pid:21428) [model-download] - Downloaded https://registry.npmjs.org/coc-rust-analyzer/-/coc-rust-analyzer-0.75.0.tgz => C:\Users\muya\AppData\Local\coc\extensions\node_modules\coc-rust-analyzer-a66eb003-77f9-433f-8e58-7c275d4fc6ec
2023-10-29T23:13:41.987 INFO (pid:21428) [services] - LanguageClient Rust Analyzer Language Server state change: stopped => starting
2023-10-29T23:13:41.995 INFO (pid:21428) [language-client-index] - Language server "rust-analyzer" started with 16552
2023-10-29T23:13:42.009 INFO (pid:21428) [services] - LanguageClient Rust Analyzer Language Server state change: starting => running
2023-10-29T23:13:42.017 INFO (pid:21428) [services] - service rust-analyzer started
2023-10-29T23:13:48.615 INFO (pid:21428) [attach] - Request action: commandList [ '', 'CocCommand ', 11 ]
2023-10-29T23:13:49.043 INFO (pid:21428) [attach] - Request action: commandList [ 'r', 'CocCommand r', 12 ]
2023-10-29T23:13:49.097 INFO (pid:21428) [attach] - Request action: commandList [ 're', 'CocCommand re', 13 ]
2023-10-29T23:13:49.347 INFO (pid:21428) [attach] - Request action: commandList [ 'rel', 'CocCommand rel', 14 ]
2023-10-29T23:13:49.668 INFO (pid:21428) [attach] - Request action: commandList [ 're', 'CocCommand re', 13 ]
2023-10-29T23:13:49.826 INFO (pid:21428) [attach] - Request action: commandList [ 'r', 'CocCommand r', 12 ]
2023-10-29T23:13:49.989 INFO (pid:21428) [attach] - Request action: commandList [ '', 'CocCommand ', 11 ]
2023-10-29T23:13:50.241 INFO (pid:21428) [attach] - Request action: commandList [ 'w', 'CocCommand w', 12 ]
2023-10-29T23:13:50.681 INFO (pid:21428) [attach] - Request action: commandList [ '', 'CocCommand ', 11 ]
2023-10-29T23:13:51.176 INFO (pid:21428) [attach] - Request action: commandList [ 'r', 'CocCommand r', 12 ]
2023-10-29T23:13:51.276 INFO (pid:21428) [attach] - Request action: commandList [ 'ru', 'CocCommand ru', 13 ]
2023-10-29T23:13:51.376 INFO (pid:21428) [attach] - Request action: commandList [ 'rus', 'CocCommand rus', 14 ]
2023-10-29T23:13:51.515 INFO (pid:21428) [attach] - Request action: commandList [ 'rust', 'CocCommand rust', 15 ]
2023-10-29T23:13:51.756 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-', 'CocCommand rust-', 16 ]
2023-10-29T23:13:51.872 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-a', 'CocCommand rust-a', 17 ]
2023-10-29T23:13:52.044 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-an', 'CocCommand rust-an', 18 ]
2023-10-29T23:13:52.164 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-ana', 'CocCommand rust-ana', 19 ]
2023-10-29T23:13:52.263 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-anal', 'CocCommand rust-anal', 20 ]
2023-10-29T23:13:52.476 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analu', 'CocCommand rust-analu', 21 ]
2023-10-29T23:13:52.582 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analuz', 'CocCommand rust-analuz', 22 ]
2023-10-29T23:13:52.710 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analuze', 'CocCommand rust-analuze', 23 ]
2023-10-29T23:13:52.797 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analuzer', 'CocCommand rust-analuzer', 24 ]
2023-10-29T23:13:53.054 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analuze', 'CocCommand rust-analuze', 23 ]
2023-10-29T23:13:53.209 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analuz', 'CocCommand rust-analuz', 22 ]
2023-10-29T23:13:53.361 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analu', 'CocCommand rust-analu', 21 ]
2023-10-29T23:13:53.500 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-anal', 'CocCommand rust-anal', 20 ]
2023-10-29T23:13:53.751 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analy', 'CocCommand rust-analy', 21 ]
2023-10-29T23:13:53.854 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analyz', 'CocCommand rust-analyz', 22 ]
2023-10-29T23:13:53.988 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analyze', 'CocCommand rust-analyze', 23 ]
2023-10-29T23:13:54.071 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analyzer', 'CocCommand rust-analyzer', 24 ]
2023-10-29T23:13:54.180 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analyzer.', 'CocCommand rust-analyzer.', 25 ]
2023-10-29T23:13:54.430 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analyzer.r', 'CocCommand rust-analyzer.r', 26 ]
2023-10-29T23:13:54.517 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analyzer.re', 'CocCommand rust-analyzer.re', 27 ]
2023-10-29T23:13:54.624 INFO (pid:21428) [attach] - Request action: commandList [ 'rust-analyzer.rel', 'CocCommand rust-analyzer.rel', 28 ]
2023-10-29T23:13:55.575 INFO (pid:21428) [attach] - receive notification: runCommand [ 'rust-analyzer.reloadWorkspace' ]
2023-10-29T23:14:02.561 INFO (pid:21428) [attach] - receive notification: openLog []
Found the cause in Cargo.toml:
[dependencies]
ferris-says = "0.2"
rand = "0.8.5"
sdl2 = "0.35.2"
[dependencies.sdl2] << causes the error because this syntax isn't supported.
features = ["image"]
Fixed.
What's the output of
:CocInfo
What's the output of
:CocCommand rust-analyzer.serverVersion
`rust-analyzer 0.3.1705-standalone (10872952c 2023-10-22)What's your coc-rust-analyzer version? You can get it from
:CocList extensions
0.74.0
I tried reinstalling Rust, reloading the workspace, no luck.