fannheyward / coc-rust-analyzer

rust-analyzer extension for coc.nvim
MIT License
1.13k stars 39 forks source link

Autoformatting is not working. #1032

Closed Kapelianovych closed 2 years ago

Kapelianovych commented 2 years ago

What's the output of :CocInfo

## versions

vim version: VIM - Vi IMproved 9.0 9000150
node version: v18.7.0
coc.nvim version: 0.0.82-761db753 2022-08-12 22:58:30 +0800
coc.nvim directory: /Home/.vim/pack/coc/start/coc.nvim
term: Apple_Terminal
platform: darwin

## Log of coc.nvim

2022-08-14T18:00:35.100 INFO (pid:4129) [coc-git] - Looking for git in: git
2022-08-14T18:00:35.269 INFO (pid:4129) [plugin] - coc.nvim initialized with node: v18.7.0 after 359ms
2022-08-14T18:00:35.271 INFO (pid:4129) [attach] - receive notification: runCommand [ 'explorer', '--root-strategies', 'workspace' ]
2022-08-14T18:00:35.358 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_coc_helper_1',
  'BufDelete',
  3
]
2022-08-14T18:00:35.359 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'BufDelete',
  3
]
2022-08-14T18:00:36.398 INFO (pid:4129) [attach] - Request action: doKeymap [ 'explorer-key-n-l' ]
2022-08-14T18:00:37.174 INFO (pid:4129) [attach] - Request action: doKeymap [ 'explorer-key-n-l' ]
2022-08-14T18:00:40.878 INFO (pid:4129) [attach] - receive notification: updateExtensions []
2022-08-14T18:00:40.901 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_coc_helper_1',
  'BufDelete',
  4
]
2022-08-14T18:00:40.902 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'BufDelete',
  4
]
2022-08-14T18:00:40.905 INFO (pid:4129) [model-installer] - Using npm from: /usr/local/bin/npm
2022-08-14T18:00:40.906 INFO (pid:4129) [model-installer] - Get info from https://registry.npmjs.org/
2022-08-14T18:00:40.935 INFO (pid:4129) [model-installer] - Using npm from: /usr/local/bin/npm
2022-08-14T18:00:40.936 INFO (pid:4129) [model-installer] - Get info from https://registry.npmjs.org/
2022-08-14T18:00:40.937 INFO (pid:4129) [model-installer] - Using npm from: /usr/local/bin/npm
2022-08-14T18:00:40.938 INFO (pid:4129) [model-installer] - Get info from https://registry.npmjs.org/
2022-08-14T18:00:41.883 INFO (pid:4129) [model-installer] - Current version 3.9.5 is up to date.
2022-08-14T18:00:41.887 INFO (pid:4129) [model-installer] - Current version 1.3.0 is up to date.
2022-08-14T18:00:41.888 INFO (pid:4129) [model-installer] - Using npm from: /usr/local/bin/npm
2022-08-14T18:00:41.888 INFO (pid:4129) [model-installer] - Get info from https://registry.npmjs.org/
2022-08-14T18:00:41.890 INFO (pid:4129) [model-installer] - Using npm from: /usr/local/bin/npm
2022-08-14T18:00:41.890 INFO (pid:4129) [model-installer] - Get info from https://registry.npmjs.org/
2022-08-14T18:00:42.116 INFO (pid:4129) [model-installer] - Current version 1.1.6 is up to date.
2022-08-14T18:00:42.117 INFO (pid:4129) [model-installer] - Using npm from: /usr/local/bin/npm
2022-08-14T18:00:42.117 INFO (pid:4129) [model-installer] - Get info from https://registry.npmjs.org/
2022-08-14T18:00:42.257 INFO (pid:4129) [model-installer] - Downloading from https://registry.npmjs.org/coc-git/-/coc-git-2.5.1.tgz
2022-08-14T18:00:42.414 INFO (pid:4129) [model-installer] - Download progress 0.3%
2022-08-14T18:00:42.420 INFO (pid:4129) [model-installer] - Download progress 0.9%
2022-08-14T18:00:42.433 INFO (pid:4129) [model-installer] - Download progress 1.5%
2022-08-14T18:00:42.434 INFO (pid:4129) [model-installer] - Download progress 2.1%
2022-08-14T18:00:42.434 INFO (pid:4129) [model-installer] - Download progress 2.7%
2022-08-14T18:00:42.435 INFO (pid:4129) [model-installer] - Download progress 3.3%
2022-08-14T18:00:42.435 INFO (pid:4129) [model-installer] - Download progress 3.9%
2022-08-14T18:00:42.436 INFO (pid:4129) [model-installer] - Download progress 4.5%
2022-08-14T18:00:42.436 INFO (pid:4129) [model-installer] - Download progress 5.1%
2022-08-14T18:00:42.437 INFO (pid:4129) [model-installer] - Download progress 5.7%
2022-08-14T18:00:42.437 INFO (pid:4129) [model-installer] - Download progress 6.3%
2022-08-14T18:00:42.437 INFO (pid:4129) [model-installer] - Download progress 6.9%
2022-08-14T18:00:42.438 INFO (pid:4129) [model-installer] - Download progress 7.4%
2022-08-14T18:00:42.438 INFO (pid:4129) [model-installer] - Download progress 8.0%
2022-08-14T18:00:42.439 INFO (pid:4129) [model-installer] - Download progress 8.6%
2022-08-14T18:00:42.439 INFO (pid:4129) [model-installer] - Download progress 9.2%
2022-08-14T18:00:42.439 INFO (pid:4129) [model-installer] - Download progress 9.8%
2022-08-14T18:00:42.439 INFO (pid:4129) [model-installer] - Download progress 10.4%
2022-08-14T18:00:42.440 INFO (pid:4129) [model-installer] - Download progress 11.0%
2022-08-14T18:00:42.440 INFO (pid:4129) [model-installer] - Download progress 11.6%
2022-08-14T18:00:42.440 INFO (pid:4129) [model-installer] - Download progress 12.2%
2022-08-14T18:00:42.440 INFO (pid:4129) [model-installer] - Download progress 12.8%
2022-08-14T18:00:42.441 INFO (pid:4129) [model-installer] - Download progress 13.4%
2022-08-14T18:00:42.441 INFO (pid:4129) [model-installer] - Download progress 13.9%
2022-08-14T18:00:42.441 INFO (pid:4129) [model-installer] - Download progress 14.5%
2022-08-14T18:00:42.441 INFO (pid:4129) [model-installer] - Download progress 15.1%
2022-08-14T18:00:42.442 INFO (pid:4129) [model-installer] - Download progress 15.7%
2022-08-14T18:00:42.442 INFO (pid:4129) [model-installer] - Download progress 16.3%
2022-08-14T18:00:42.442 INFO (pid:4129) [model-installer] - Download progress 16.8%
2022-08-14T18:00:42.442 INFO (pid:4129) [model-installer] - Download progress 17.4%
2022-08-14T18:00:42.442 INFO (pid:4129) [model-installer] - Download progress 18.0%
2022-08-14T18:00:42.443 INFO (pid:4129) [model-installer] - Download progress 18.6%
2022-08-14T18:00:42.443 INFO (pid:4129) [model-installer] - Download progress 19.2%
2022-08-14T18:00:42.443 INFO (pid:4129) [model-installer] - Download progress 19.8%
2022-08-14T18:00:42.443 INFO (pid:4129) [model-installer] - Download progress 20.4%
2022-08-14T18:00:42.444 INFO (pid:4129) [model-installer] - Download progress 21.0%
2022-08-14T18:00:42.444 INFO (pid:4129) [model-installer] - Download progress 21.6%
2022-08-14T18:00:42.444 INFO (pid:4129) [model-installer] - Download progress 22.2%
2022-08-14T18:00:42.444 INFO (pid:4129) [model-installer] - Download progress 22.8%
2022-08-14T18:00:42.445 INFO (pid:4129) [model-installer] - Download progress 23.4%
2022-08-14T18:00:42.445 INFO (pid:4129) [model-installer] - Download progress 24.0%
2022-08-14T18:00:42.445 INFO (pid:4129) [model-installer] - Download progress 25.8%
2022-08-14T18:00:42.445 INFO (pid:4129) [model-installer] - Download progress 27.6%
2022-08-14T18:00:42.445 INFO (pid:4129) [model-installer] - Download progress 28.1%
2022-08-14T18:00:42.446 INFO (pid:4129) [model-installer] - Download progress 29.9%
2022-08-14T18:00:42.446 INFO (pid:4129) [model-installer] - Download progress 31.7%
2022-08-14T18:00:42.446 INFO (pid:4129) [model-installer] - Download progress 33.5%
2022-08-14T18:00:42.447 INFO (pid:4129) [model-installer] - Download progress 35.4%
2022-08-14T18:00:42.447 INFO (pid:4129) [model-installer] - Download progress 37.2%
2022-08-14T18:00:42.447 INFO (pid:4129) [model-installer] - Download progress 39.0%
2022-08-14T18:00:42.447 INFO (pid:4129) [model-installer] - Download progress 40.9%
2022-08-14T18:00:42.448 INFO (pid:4129) [model-installer] - Download progress 42.2%
2022-08-14T18:00:42.448 INFO (pid:4129) [model-installer] - Download progress 44.1%
2022-08-14T18:00:42.448 INFO (pid:4129) [model-installer] - Download progress 45.9%
2022-08-14T18:00:42.449 INFO (pid:4129) [model-installer] - Download progress 47.7%
2022-08-14T18:00:42.449 INFO (pid:4129) [model-installer] - Download progress 49.5%
2022-08-14T18:00:42.449 INFO (pid:4129) [model-installer] - Download progress 51.4%
2022-08-14T18:00:42.450 INFO (pid:4129) [model-installer] - Download progress 53.2%
2022-08-14T18:00:42.450 INFO (pid:4129) [model-installer] - Download progress 55.0%
2022-08-14T18:00:42.450 INFO (pid:4129) [model-installer] - Download progress 56.4%
2022-08-14T18:00:42.451 INFO (pid:4129) [model-installer] - Download progress 58.2%
2022-08-14T18:00:42.451 INFO (pid:4129) [model-installer] - Download progress 60.0%
2022-08-14T18:00:42.451 INFO (pid:4129) [model-installer] - Download progress 61.9%
2022-08-14T18:00:42.451 INFO (pid:4129) [model-installer] - Download progress 63.7%
2022-08-14T18:00:42.452 INFO (pid:4129) [model-installer] - Download progress 65.5%
2022-08-14T18:00:42.452 INFO (pid:4129) [model-installer] - Download progress 67.4%
2022-08-14T18:00:42.452 INFO (pid:4129) [model-installer] - Download progress 69.2%
2022-08-14T18:00:42.452 INFO (pid:4129) [model-installer] - Download progress 70.6%
2022-08-14T18:00:42.453 INFO (pid:4129) [model-installer] - Download progress 72.4%
2022-08-14T18:00:42.453 INFO (pid:4129) [model-installer] - Download progress 74.2%
2022-08-14T18:00:42.453 INFO (pid:4129) [model-installer] - Download progress 76.0%
2022-08-14T18:00:42.454 INFO (pid:4129) [model-installer] - Download progress 77.9%
2022-08-14T18:00:42.454 INFO (pid:4129) [model-installer] - Download progress 79.7%
2022-08-14T18:00:42.454 INFO (pid:4129) [model-installer] - Download progress 81.5%
2022-08-14T18:00:42.454 INFO (pid:4129) [model-installer] - Download progress 83.4%
2022-08-14T18:00:42.455 INFO (pid:4129) [model-installer] - Download progress 84.7%
2022-08-14T18:00:42.455 INFO (pid:4129) [model-installer] - Download progress 86.6%
2022-08-14T18:00:42.455 INFO (pid:4129) [model-installer] - Download progress 88.4%
2022-08-14T18:00:42.455 INFO (pid:4129) [model-installer] - Download progress 90.2%
2022-08-14T18:00:42.456 INFO (pid:4129) [model-installer] - Download progress 92.0%
2022-08-14T18:00:42.457 INFO (pid:4129) [model-installer] - Download progress 93.9%
2022-08-14T18:00:42.457 INFO (pid:4129) [model-installer] - Download progress 98.9%
2022-08-14T18:00:42.459 INFO (pid:4129) [model-installer] - Download progress 100.0%
2022-08-14T18:00:42.459 INFO (pid:4129) [model-download] - Download completed: https://registry.npmjs.org/coc-git/-/coc-git-2.5.1.tgz
2022-08-14T18:00:42.461 INFO (pid:4129) [model-download] - Downloaded https://registry.npmjs.org/coc-git/-/coc-git-2.5.1.tgz => /var/folders/0g/wy5gphk128xbzjmvhz6x90f00000gn/T/vZX5esA/coc-git-en2e4X
2022-08-14T18:00:42.566 INFO (pid:4129) [model-installer] - Extension download at /var/folders/0g/wy5gphk128xbzjmvhz6x90f00000gn/T/vZX5esA/coc-git-en2e4X
2022-08-14T18:00:42.587 INFO (pid:4129) [model-installer] - Update package.json at /Home/.config/coc/extensions/package.json
2022-08-14T18:00:42.587 INFO (pid:4129) [model-installer] - Installed extension coc-git@2.5.1 at /Home/.config/coc/extensions/node_modules/coc-git
2022-08-14T18:00:42.587 INFO (pid:4129) [model-installer] - Updated to v2.5.1
2022-08-14T18:00:42.614 INFO (pid:4129) [coc-git] - Looking for git in: git
2022-08-14T18:00:42.617 INFO (pid:4129) [model-installer] - Using npm from: /usr/local/bin/npm
2022-08-14T18:00:42.617 INFO (pid:4129) [model-installer] - Get info from https://registry.npmjs.org/
2022-08-14T18:00:42.641 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocGitStatusChange'
]
2022-08-14T18:00:42.861 INFO (pid:4129) [model-installer] - Current version 0.24.4 is up to date.
2022-08-14T18:00:42.866 INFO (pid:4129) [model-installer] - Using npm from: /usr/local/bin/npm
2022-08-14T18:00:42.866 INFO (pid:4129) [model-installer] - Get info from https://registry.npmjs.org/
2022-08-14T18:00:42.971 INFO (pid:4129) [model-installer] - Current version 1.6.1 is up to date.
2022-08-14T18:00:42.972 INFO (pid:4129) [model-installer] - Using npm from: /usr/local/bin/npm
2022-08-14T18:00:42.972 INFO (pid:4129) [model-installer] - Get info from https://registry.npmjs.org/
2022-08-14T18:00:43.479 INFO (pid:4129) [model-installer] - Current version 1.6.0 is up to date.
2022-08-14T18:00:43.480 INFO (pid:4129) [model-installer] - Using npm from: /usr/local/bin/npm
2022-08-14T18:00:43.480 INFO (pid:4129) [model-installer] - Get info from https://registry.npmjs.org/
2022-08-14T18:00:43.724 INFO (pid:4129) [model-installer] - Current version 1.3.2 is up to date.
2022-08-14T18:00:43.725 INFO (pid:4129) [model-installer] - Using npm from: /usr/local/bin/npm
2022-08-14T18:00:43.725 INFO (pid:4129) [model-installer] - Get info from https://registry.npmjs.org/
2022-08-14T18:00:43.808 INFO (pid:4129) [model-installer] - Current version 9.3.1 is up to date.
2022-08-14T18:00:43.839 INFO (pid:4129) [model-installer] - Using npm from: /usr/local/bin/npm
2022-08-14T18:00:43.839 INFO (pid:4129) [model-installer] - Get info from https://registry.npmjs.org/
2022-08-14T18:00:43.896 INFO (pid:4129) [model-installer] - Current version 0.65.3 is up to date.
2022-08-14T18:00:44.308 INFO (pid:4129) [model-installer] - Current version 1.11.2 is up to date.
2022-08-14T18:00:44.560 INFO (pid:4129) [model-installer] - Current version 0.4.2 is up to date.
2022-08-14T18:00:44.560 WARN (pid:4129) [plugin] - Slow action "updateExtensions" cost 3682ms
2022-08-14T18:00:52.830 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_coc_helper_1',
  'BufWipeout',
  4
]
2022-08-14T18:00:52.830 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'BufWipeout',
  4
]
2022-08-14T18:00:53.616 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:00:55.596 INFO (pid:4129) [attach] - Request action: doKeymap [ 'explorer-key-n-l' ]
2022-08-14T18:00:55.710 INFO (pid:4129) [services] - registered service "rust-analyzer"
2022-08-14T18:00:55.711 INFO (pid:4129) [services] - Rust Analyzer Language Server state change: stopped => starting
2022-08-14T18:00:55.729 INFO (pid:4129) [language-client-index] - Language server "rust-analyzer" started with 4372
2022-08-14T18:00:55.777 INFO (pid:4129) [services] - Rust Analyzer Language Server state change: starting => running
2022-08-14T18:00:55.786 INFO (pid:4129) [services] - service rust-analyzer started
2022-08-14T18:00:55.866 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocGitStatusChange'
]
2022-08-14T18:00:59.022 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:01:02.947 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:01:03.115 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:01:09.496 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:01:13.103 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:05:01.553 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:05:01.721 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:05:02.257 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:05:05.669 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:05:06.469 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:05:06.931 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:05:49.410 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:05:49.578 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:05:49.721 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:05:49.876 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:05:50.011 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:05:51.145 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPA==0' ]
2022-08-14T18:05:52.634 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPg==0' ]
2022-08-14T18:05:52.639 WARN (pid:4129) [completion] - Suggest not triggered with input "", minimal trigger input length: 1
2022-08-14T18:05:53.904 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:05:55.003 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:05:55.188 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:05:55.793 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:05:55.837 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:05:55.876 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:06:07.044 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocGitStatusChange'
]
2022-08-14T18:06:08.738 INFO (pid:4129) [attach] - Request action: doKeymap [ 'explorer-key-n-l' ]
2022-08-14T18:06:08.797 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:06:08.854 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocGitStatusChange'
]
2022-08-14T18:06:10.866 WARN (pid:4129) [completion] - Suggest not triggered with input "", minimal trigger input length: 1
2022-08-14T18:06:15.765 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:06:19.354 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPA==0' ]
2022-08-14T18:06:20.233 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:06:21.992 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPg==0' ]
2022-08-14T18:06:21.995 WARN (pid:4129) [completion] - Suggest not triggered with input "", minimal trigger input length: 1
2022-08-14T18:06:23.013 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:06:24.525 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:06:25.885 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:06:25.918 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:06:27.409 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:06:28.807 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:06:29.752 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:06:31.060 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:06:31.095 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:06:48.937 WARN (pid:4129) [completion] - Suggest not triggered with input "", minimal trigger input length: 1
2022-08-14T18:06:52.948 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:06:56.332 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:06:57.508 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPA==0' ]
2022-08-14T18:06:58.956 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:07:00.204 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:07:00.700 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPg==0' ]
2022-08-14T18:07:00.702 WARN (pid:4129) [completion] - Suggest not triggered with input "", minimal trigger input length: 1
2022-08-14T18:07:01.972 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:07:02.703 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:07:02.788 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:07:04.083 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:09:13.388 INFO (pid:4129) [attach] - receive notification: showInfo []
2022-08-14T18:09:13.400 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_coc_helper_1',
  'BufDelete',
  31
]
2022-08-14T18:09:13.401 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'BufDelete',
  31
]
2022-08-14T18:09:13.435 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocGitStatusChange'
]
2022-08-14T18:09:45.000 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_coc_helper_1',
  'BufWipeout',
  31
]
2022-08-14T18:09:45.004 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'BufWipeout',
  31
]
2022-08-14T18:09:45.059 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocGitStatusChange'
]
2022-08-14T18:11:50.189 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:11:50.942 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:11:51.113 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:11:52.338 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:11:53.373 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:11:53.716 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:11:53.841 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:11:55.025 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:12:38.445 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:12:39.061 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:12:39.221 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:12:39.620 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocGitStatusChange'
]
2022-08-14T18:12:40.054 INFO (pid:4129) [attach] - Request action: doKeymap [ 'explorer-key-n-l' ]
2022-08-14T18:12:40.231 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocGitStatusChange'
]
2022-08-14T18:12:40.761 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:12:50.581 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:12:50.743 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:12:52.192 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iKA==0' ]
2022-08-14T18:12:54.887 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:12:55.487 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iKQ==0' ]
2022-08-14T18:12:55.494 WARN (pid:4129) [completion] - Suggest not triggered with input "", minimal trigger input length: 1
2022-08-14T18:12:56.773 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:12:57.512 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:12:58.759 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:13:01.135 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iKQ==0' ]
2022-08-14T18:13:01.147 WARN (pid:4129) [completion] - Suggest not triggered with input "", minimal trigger input length: 1
2022-08-14T18:13:02.520 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:13:04.079 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:13:04.823 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:13:06.687 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iKA==0' ]
2022-08-14T18:13:07.791 INFO (pid:4129) [attach] - Request action: doKeymap [ 'iPGJzPg==0' ]
2022-08-14T18:13:08.719 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:13:09.439 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocDiagnosticChange'
]
2022-08-14T18:14:39.775 INFO (pid:4129) [attach] - receive notification: openList [ 'commands' ]
2022-08-14T18:14:39.796 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_coc_helper_1',
  'BufDelete',
  37
]
2022-08-14T18:14:39.797 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'BufDelete',
  37
]
2022-08-14T18:14:39.841 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocGitStatusChange'
]
2022-08-14T18:15:02.188 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocGitStatusChange'
]
2022-08-14T18:16:05.847 INFO (pid:4129) [attach] - receive notification: checkJsonExtension []
2022-08-14T18:16:05.892 INFO (pid:4129) [services] - registered service "json"
2022-08-14T18:16:05.893 INFO (pid:4129) [services] - Json language server state change: stopped => starting
2022-08-14T18:16:05.936 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocGitStatusChange'
]
2022-08-14T18:16:06.114 INFO (pid:4129) [services] - Json language server state change: starting => running
2022-08-14T18:16:06.121 INFO (pid:4129) [services] - service json started
2022-08-14T18:16:13.377 INFO (pid:4129) [attach] - Request action: doKeymap [ 'explorer-key-n-l' ]
2022-08-14T18:16:13.470 INFO (pid:4129) [attach] - receive notification: runCommand [
  'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
  'CocGitStatusChange'
]
2022-08-14T18:17:43.285 INFO (pid:4129) [attach] - receive notification: showInfo []

What's the output of :CocCommand rust-analyzer.serverVersion

[coc.nvim] rust-analyzer 0.3.1162-standalone (634cfe3d7 2022-08-07)

The plugin works okay, but I remember that there was autoformat ability. I searched for the option to toggle it (I thought it was disabled by default), but I had no luck.

fannheyward commented 2 years ago

Do you have rust in your coc.preferences.formatOnSaveFiletypes?

Kapelianovych commented 2 years ago

No. I added the rust in there and it works. So, from now on, rust should be explicitly declared there?

fannheyward commented 2 years ago

If you want to do formatting on save, you should add filetype to coc.preferences.formatOnSaveFiletypes.