williamboman / nvim-lsp-installer

Further development has moved to https://github.com/williamboman/mason.nvim!
https://github.com/williamboman/mason.nvim
Apache License 2.0
2k stars 123 forks source link

Arduino's language service cannot install #410

Closed Johan-Palacios closed 2 years ago

Johan-Palacios commented 2 years ago

Describe the installation issue When I tried to install Arduino language service, that throw this issue, and I did all the docs say to set up correctly. image

System info (please complete the following information):

Checkhealth output (:checkhealth nvim-lsp-installer):

Paste `:checkhealth nvim-lsp-installer` output here

image

Installation log

[INFO  Mon Jan 10 16:43:31 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 16:43:31 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 16:43:32 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 16:44:18 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 16:44:27 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[INFO  Mon Jan 10 17:08:45 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 17:08:45 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 17:08:45 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 17:09:13 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 17:09:20 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[INFO  Mon Jan 10 17:20:16 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="gopls", requested_version=""
[INFO  Mon Jan 10 17:20:16 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="gopls", success=false
[INFO  Mon Jan 10 18:01:43 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 18:01:43 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:01:43 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:02:13 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 18:02:57 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[INFO  Mon Jan 10 18:04:46 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="gopls", requested_version=""
[INFO  Mon Jan 10 18:05:09 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="gopls", success=true
[INFO  Mon Jan 10 18:06:34 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 18:06:35 2022] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:214: Failed to setup installation context. ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:26: rmrf: Could not remove directory "/home/johan/.local/share/nvim/lsp_servers/arduino_language_server.tmp".
[INFO  Mon Jan 10 18:06:35 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[INFO  Mon Jan 10 18:07:06 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 18:07:06 2022] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:214: Failed to setup installation context. ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:26: rmrf: Could not remove directory "/home/johan/.local/share/nvim/lsp_servers/arduino_language_server.tmp".
[INFO  Mon Jan 10 18:07:06 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[INFO  Mon Jan 10 18:07:54 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="clangd", requested_version=""
[ERROR Mon Jan 10 18:07:54 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 18:08:27 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="clangd", success=true
[INFO  Mon Jan 10 18:09:55 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 18:09:56 2022] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:214: Failed to setup installation context. ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:26: rmrf: Could not remove directory "/home/johan/.local/share/nvim/lsp_servers/arduino_language_server.tmp".
[INFO  Mon Jan 10 18:09:56 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[ERROR Mon Jan 10 18:09:56 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 18:11:26 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 18:11:27 2022] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:214: Failed to setup installation context. ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:26: rmrf: Could not remove directory "/home/johan/.local/share/nvim/lsp_servers/arduino_language_server.tmp".
[INFO  Mon Jan 10 18:11:27 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[INFO  Mon Jan 10 18:13:29 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="ccls", requested_version=""
[ERROR Mon Jan 10 18:13:29 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:13:29 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:14:26 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="ruby", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:14:26 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gem", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:14:26 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="composer", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:14:26 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="php", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:14:26 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="javac", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:14:26 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="java", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:19:24 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="cmake", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 18:19:28 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="ccls", success=false
[INFO  Mon Jan 10 18:39:32 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 18:39:33 2022] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:214: Failed to setup installation context. ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:26: rmrf: Could not remove directory "/home/johan/.local/share/nvim/lsp_servers/arduino_language_server.tmp".
[INFO  Mon Jan 10 18:39:33 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[ERROR Mon Jan 10 18:39:34 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:40:06 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="ruby", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:40:06 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gem", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:40:06 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="composer", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:40:06 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="php", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 18:43:45 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="composer", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 19:14:00 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 19:14:01 2022] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:214: Failed to setup installation context. ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:26: rmrf: Could not remove directory "/home/johan/.local/share/nvim/lsp_servers/arduino_language_server.tmp".
[INFO  Mon Jan 10 19:14:01 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[ERROR Mon Jan 10 19:14:01 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 19:29:16 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 19:29:16 2022] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:214: Failed to setup installation context. ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:26: rmrf: Could not remove directory "/home/johan/.local/share/nvim/lsp_servers/arduino_language_server.tmp".
[INFO  Mon Jan 10 19:29:16 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[ERROR Mon Jan 10 19:29:17 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 19:30:55 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 19:30:57 2022] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:214: Failed to setup installation context. ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:26: rmrf: Could not remove directory "/home/johan/.local/share/nvim/lsp_servers/arduino_language_server.tmp".
[INFO  Mon Jan 10 19:30:57 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[ERROR Mon Jan 10 19:30:57 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 19:31:24 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 19:31:24 2022] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:214: Failed to setup installation context. ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:26: rmrf: Could not remove directory "/home/johan/.local/share/nvim/lsp_servers/arduino_language_server.tmp".
[INFO  Mon Jan 10 19:31:24 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[INFO  Mon Jan 10 19:31:29 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="zk", requested_version=""
[ERROR Mon Jan 10 19:31:29 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 19:31:30 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="tsserver", requested_version=""
[INFO  Mon Jan 10 19:31:31 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="sumneko_lua", requested_version=""
[ERROR Mon Jan 10 19:31:31 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 19:31:31 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="vimls", requested_version=""
[INFO  Mon Jan 10 19:31:33 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="zk", success=true
[INFO  Mon Jan 10 19:31:34 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="vimls", success=true
[INFO  Mon Jan 10 19:31:38 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="sumneko_lua", success=true
[INFO  Mon Jan 10 19:31:40 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="tsserver", success=true
[INFO  Mon Jan 10 19:32:07 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 19:32:08 2022] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:214: Failed to setup installation context. ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:26: rmrf: Could not remove directory "/home/johan/.local/share/nvim/lsp_servers/arduino_language_server.tmp".
[INFO  Mon Jan 10 19:32:08 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[INFO  Mon Jan 10 19:32:52 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="angularls", requested_version=""
[INFO  Mon Jan 10 19:32:53 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="ansiblels", requested_version=""
[INFO  Mon Jan 10 19:32:54 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="bicep", requested_version=""
[INFO  Mon Jan 10 19:32:54 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="bicep", success=false
[INFO  Mon Jan 10 19:32:56 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="ccls", requested_version=""
[ERROR Mon Jan 10 19:32:56 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 19:32:57 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="clojure_lsp", requested_version=""
[ERROR Mon Jan 10 19:32:57 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 19:32:58 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="angularls", success=true
[INFO  Mon Jan 10 19:32:58 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="cmake", requested_version=""
[INFO  Mon Jan 10 19:33:26 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="ansiblels", success=true
[INFO  Mon Jan 10 19:33:26 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="codeqlls", requested_version=""
[ERROR Mon Jan 10 19:33:26 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 19:33:30 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="cmake", success=true
[INFO  Mon Jan 10 19:33:30 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="csharp_ls", requested_version=""
[INFO  Mon Jan 10 19:33:30 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="csharp_ls", success=false
[INFO  Mon Jan 10 19:33:30 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="cssls", requested_version=""
[INFO  Mon Jan 10 19:33:42 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="clojure_lsp", success=true
[INFO  Mon Jan 10 19:33:42 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="cssmodules_ls", requested_version=""
[INFO  Mon Jan 10 19:33:43 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="cssls", success=true
[INFO  Mon Jan 10 19:33:43 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="dartls", requested_version=""
[INFO  Mon Jan 10 19:33:43 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="dartls", success=false
[INFO  Mon Jan 10 19:33:43 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="denols", requested_version=""
[ERROR Mon Jan 10 19:33:43 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 19:33:47 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="cssmodules_ls", success=true
[INFO  Mon Jan 10 19:33:47 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="dockerls", requested_version=""
[INFO  Mon Jan 10 19:33:55 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="dockerls", success=true
[INFO  Mon Jan 10 19:33:55 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="dotls", requested_version=""
[INFO  Mon Jan 10 19:34:08 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="dotls", success=true
[INFO  Mon Jan 10 19:34:08 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="efm", requested_version=""
[INFO  Mon Jan 10 19:34:30 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="efm", success=true
[INFO  Mon Jan 10 19:34:30 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="elixirls", requested_version=""
[ERROR Mon Jan 10 19:34:30 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 19:34:41 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="elixirls", success=true
[INFO  Mon Jan 10 19:34:41 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="elmls", requested_version=""
[INFO  Mon Jan 10 19:35:06 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="denols", success=true
[INFO  Mon Jan 10 19:35:06 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="ember", requested_version=""
[INFO  Mon Jan 10 19:35:28 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="elmls", success=true
[INFO  Mon Jan 10 19:35:28 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="emmet_ls", requested_version=""
[INFO  Mon Jan 10 19:35:41 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="emmet_ls", success=true
[INFO  Mon Jan 10 19:35:41 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="erlangls", requested_version=""
[INFO  Mon Jan 10 19:35:41 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="erlangls", success=false
[INFO  Mon Jan 10 19:35:41 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="esbonio", requested_version=""
[INFO  Mon Jan 10 19:35:53 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="ember", success=true
[INFO  Mon Jan 10 19:35:53 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="eslint", requested_version=""
[INFO  Mon Jan 10 19:35:57 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="eslint", success=true
[INFO  Mon Jan 10 19:35:57 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="foam_ls", requested_version=""
[INFO  Mon Jan 10 19:36:34 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="foam_ls", success=true
[INFO  Mon Jan 10 19:36:34 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="fortls", requested_version=""
[INFO  Mon Jan 10 19:36:41 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="fortls", success=true
[INFO  Mon Jan 10 19:36:41 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="fsautocomplete", requested_version=""
[INFO  Mon Jan 10 19:36:41 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="fsautocomplete", success=false
[INFO  Mon Jan 10 19:36:41 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="grammarly", requested_version=""
[INFO  Mon Jan 10 19:37:03 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="grammarly", success=true
[INFO  Mon Jan 10 19:37:03 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="graphql", requested_version=""
[INFO  Mon Jan 10 19:37:12 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="esbonio", success=true
[INFO  Mon Jan 10 19:37:12 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="groovyls", requested_version=""
[ERROR Mon Jan 10 19:37:38 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 19:37:41 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 19:37:49 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 19:37:54 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 19:38:04 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 19:38:05 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 19:38:07 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 19:38:10 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 19:38:14 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 19:38:16 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 19:39:06 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="html", requested_version=""
[INFO  Mon Jan 10 19:39:10 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="ltex", requested_version=""
[ERROR Mon Jan 10 19:39:10 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 19:39:13 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="html", success=true
[INFO  Mon Jan 10 19:39:21 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="pyright", requested_version=""
[INFO  Mon Jan 10 19:39:29 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="jdtls", requested_version=""
[INFO  Mon Jan 10 19:39:34 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="pyright", success=true
[INFO  Mon Jan 10 19:41:34 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="jdtls", success=true
[INFO  Mon Jan 10 19:48:00 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 19:48:01 2022] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:214: Failed to setup installation context. ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:26: rmrf: Could not remove directory "/home/johan/.local/share/nvim/lsp_servers/arduino_language_server.tmp".
[INFO  Mon Jan 10 19:48:01 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[INFO  Mon Jan 10 19:48:01 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="gopls", requested_version=""
[ERROR Mon Jan 10 19:49:52 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 19:49:59 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 19:50:00 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 19:53:48 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 19:53:51 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 19:53:52 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 20:46:33 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 20:46:34 2022] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:214: Failed to setup installation context. ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:26: rmrf: Could not remove directory "/home/johan/.local/share/nvim/lsp_servers/arduino_language_server.tmp".
[INFO  Mon Jan 10 20:46:34 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[ERROR Mon Jan 10 20:46:35 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 20:46:38 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 20:46:39 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 20:57:35 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 20:57:37 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[INFO  Mon Jan 10 20:58:27 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 20:58:28 2022] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:214: Failed to setup installation context. ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:26: rmrf: Could not remove directory "/home/johan/.local/share/nvim/lsp_servers/arduino_language_server.tmp".
[INFO  Mon Jan 10 20:58:28 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[INFO  Mon Jan 10 20:58:54 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:664: Starting install server_name="arduino_language_server", requested_version=""
[ERROR Mon Jan 10 20:58:55 2022] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:214: Failed to setup installation context. ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:26: rmrf: Could not remove directory "/home/johan/.local/share/nvim/lsp_servers/arduino_language_server.tmp".
[INFO  Mon Jan 10 20:58:55 2022] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:683: Installation completed server_name="arduino_language_server", success=false
[ERROR Mon Jan 10 20:58:55 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 20:58:57 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
[ERROR Mon Jan 10 20:58:57 2022] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:153: Failed to spawn process. cmd="gh", err="ENOENT: no such file or directory"
krypton612 commented 2 years ago

Mismo error a la hora de instalar el servidor de arduino con nvim-lsp-installer

gets stuck on slopes for more than 1 hour and then shows faults

screenshot3

williamboman commented 2 years ago

Hello! It seems like the installation log only contains INFO and ERROR logs, so it's hard to tell what's going on. I also noticed that it seems like there's some remaining artifacts of the Go module cache that is preventing the installation from succeeding because they require root to be removed. @Johan-Palacios first of all, could you go to the following directory and then manually remove the directory using root privileges:

$ cd /home/johan/.local/share/nvim/lsp_servers/
$ sudo rm -rf arduino_language_server.tmp

After that, could you set the log level to DEBUG and finally retry the installation? You can check :h nvim-lsp-installer-debugging for information on how to do so.

Johan-Palacios commented 2 years ago

Hello! It seems like the installation log only contains INFO and ERROR logs, so it's hard to tell what's going on. I also noticed that it seems like there's some remaining artifacts of the Go module cache that is preventing the installation from succeeding because they require root to be removed. @Johan-Palacios first of all, could you go to the following directory and then manually remove the directory using root privileges:

$ cd /home/johan/.local/share/nvim/lsp_servers/
$ sudo rm -rf arduino_language_server.tmp

After that, could you set the log level to DEBUG and finally retry the installation? You can check :h nvim-lsp-installer-debugging for information on how to do so.

I did it, and for any weird reason it installs now

Johan-Palacios commented 2 years ago

And only one thing, I forget to advise that the server is unstable, I was testing the server and I had the same result, the situation is when you open a “ino” file (Arduino type file) the server works really well, but the problem is 20 seconds later, the server throw an error that says "LSP [id=1 client has shut down after sending the message]" and later throw a warning that says "client 1 quit exit code 2 and signal 0"; I did all the docs to set up arduino correctly. You can see here a little video that show the weird problem.

https://user-images.githubusercontent.com/77251405/149260864-153d88f9-c2b9-49a6-98d6-ed73950e41d9.mp4

williamboman commented 2 years ago

Hm that seems odd. What does the LSP log say? You can open it by doing:

:exe 'tabnew ' .. luaeval("vim.lsp.get_log_path()")
Johan-Palacios commented 2 years ago

I can't upload all logs, for this reason i only upload a little part of the log of today only using the arduino language server

[START][2022-01-13 17:41:54] LSP logging initiated
[START][2022-01-13 17:42:11] LSP logging initiated
[ERROR][2022-01-13 17:42:13] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:13 \27[97mLS: : Initial board configuration: arduino:avr:nano\27[0m\n2022/01/13 17:42:13 \27[97mLS: : Language server build path: /tmp/arduino-language-server935286150\27[0m\n2022/01/13 17:42:13 \27[97mLS: : Language server build sketch root: /tmp/arduino-language-server935286150/sketch\27[0m\n2022/01/13 17:42:13 \27[97mLS: : Language server compile-commands: /tmp/arduino-language-server3247101722/compile_commands.json\27[0m\n2022/01/13 17:42:13 \27[92mIDE --> LS REQU initialize 1\27[0m\n"
[ERROR][2022-01-13 17:42:13] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:13 \27[92m                initialize 1: initialization parameters: {\"capabilities\":{\"textDocumentSync\":{\"openClose\":true,\"change\":2,\"save\":{\"includeText\":true}},\"completionProvider\":{\"triggerCharacters\":[\".\",\"\\u003c\",\"\\u003e\",\":\",\"\\\"\",\"/\"],\"allCommitCharacters\":[\" \",\"\\t\",\"(\",\")\",\"[\",\"]\",\"{\",\"}\",\"\\u003c\",\"\\u003e\",\":\",\";\",\",\",\"+\",\"-\",\"/\",\"*\",\"%\",\"^\",\"\\u0026\",\"#\",\"?\",\".\",\"=\",\"\\\"\",\"'\",\"|\"],\"completionItem\":{}},\"hoverProvider\":{},\"signatureHelpProvider\":{\"triggerCharacters\":[\"(\",\",\"]},\"definitionProvider\":{},\"documentHighlightProvider\":{},\"documentSymbolProvider\":{},\"codeActionProvider\":{\"codeActionKinds\":[\"quickfix\",\"refactor\",\"info\"]},\"documentFormattingProvider\":{},\"documentRangeFormattingProvider\":{},\"documentOnTypeFormattingProvider\":{\"firstTriggerCharacter\":\"\\n\"},\"renameProvider\":{},\"executeCommandProvider\":{\"commands\":[\"clangd.applyFix\",\"clangd.applyTweak\"]},\"workspaceSymbolProvider\":{}},\"serverInfo\":{\"name\":\"arduino-language-server\",\"version\":\"0.6.0\"}}\27[0m\n2022/01/13 17:42:13 \27[32mIDE <-- LS RESP initialize 1\27[0m\n"
[ERROR][2022-01-13 17:42:13] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:13 \27[96mINIT --- : initializing workbench: file:///home/johan/MyFirstSketch\27[0m\n2022/01/13 17:42:13 \27[96mINIT --- : \27[93mread-locked\27[0m\27[0m\n2022/01/13 17:42:13 \27[96mINIT --- : \27[93mread-unlocked\27[0m\27[0m\n"
[ERROR][2022-01-13 17:42:13] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:13 \27[96mINIT --- : running: /home/johan/.local/share/nvim/lsp_servers/arduino_language_server/arduino-cli/arduino-cli --config-file /home/johan/.local/share/nvim/lsp_servers/arduino_language_server/arduino-cli/arduino-cli.yaml compile --fqbn arduino:avr:nano --only-compilation-database --source-override /tmp/3178688910 --build-path /tmp/arduino-language-server935286150 --format json /home/johan/MyFirstSketch\27[0m\n"
[ERROR][2022-01-13 17:42:13] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:13 \27[92mIDE --> LS NOTIF initialized\27[0m\n2022/01/13 17:42:13 \27[92m                 initialized: Notification is not propagated to clangd\27[0m\n"
[ERROR][2022-01-13 17:42:13] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:13 \27[92mIDE --> LS NOTIF textDocument/didOpen\27[0m\n"
[ERROR][2022-01-13 17:42:13] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:13 \27[92m                 textDocument/didOpen: \27[93mwrite-locked\27[0m\27[0m\n2022/01/13 17:42:13 \27[92m                 textDocument/didOpen: (throttled: waiting for clangd)\27[0m\n2022/01/13 17:42:13 \27[92m                 textDocument/didOpen: \27[93munlocked (waiting clangd)\27[0m\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[96mINIT --- : arduino-cli output: {\n  "compiler_out": "",\n  "compiler_err": "",\n  "builder_result": {\n    "build_path": "/tmp/arduino-language-server935286150"\n  },\n  "success": true\n}\n\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[96mINIT --- : running: /home/johan/.local/share/nvim/lsp_servers/arduino_language_server/arduino-cli/arduino-cli --config-file /home/johan/.local/share/nvim/lsp_servers/arduino_language_server/arduino-cli/arduino-cli.yaml config dump --format json\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[96mINIT --- : Arduino Data Dir -> /home/johan/.arduino15\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[96mINIT --- :     Starting clangd: /home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/bin/clangd -log=verbose --compile-commands-dir=/tmp/arduino-language-server935286150 -query-driver=/home/johan/.arduino15/packages/**\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS --> Clangd REQU initialize 1\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.226] clangd version 13.0.0 (https://github.com/llvm/llvm-project d7b669b3a30345cfcdb2fde2af6f48aa4b94845d)\nI[17:42:14.227] Features: linux+grpc\nI[17:42:14.227] PID: 126\nI[17:42:14.227] Working directory: /home/johan/MyFirstSketch\nI[17:42:14.227] argv[0]: /home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/bin/clangd\nI[17:42:14.227] argv[1]: -log=verbose\nI[17:42:14.227] argv[2]: --compile-commands-dir=/tmp/arduino-language-server935286150\nI[17:42:14.227] argv[3]: -query-driver=/home/johan/.arduino15/packages/**\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.228] User config file is /home/johan/.config/clangd/config.yaml\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.229] Starting LSP over stdin/stdout\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.233] <<< {\"id\":\"1\",\"jsonrpc\":\"2.0\",\"method\":\"initialize\",\"params\":{\"capabilities\":{\"textDocument\":{\"codeAction\":{\"codeActionLiteralSupport\":{\"codeActionKind\":{\"valueSet\":[\"\",\"Empty\",\"QuickFix\",\"Refactor\",\"RefactorExtract\",\"RefactorInline\",\"RefactorRewrite\",\"Source\",\"SourceOrganizeImports\",\"quickfix\",\"refactor\",\"refactor.extract\",\"refactor.inline\",\"refactor.rewrite\",\"source\",\"source.organizeImports\"]}},\"dataSupport\":true,\"resolveSupport\":{\"properties\":[\"edit\"]}},\"completion\":{\"completionItem\":{\"commitCharactersSupport\":true,\"deprecatedSupport\":true,\"documentationFormat\":[\"markdown\",\"plaintext\"],\"insertReplaceSupport\":true,\"labelDetailsSupport\":true,\"preselectSupport\":true,\"resolveSupport\":{\"properties\":[\"documentation\",\"detail\",\"additionalTextEdits\"]},\"snippetSupport\":true,\"tagSupport\":{\"valueSet\":[1]}},\"completionItemKind\":{\"valueSet\":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},\"declaration\":{\"linkSupport\":true},\"definition\":{\"linkSupport\":true},\"documentHighlight\":{},\"documentSymbol\":{\"hierarchicalDocumentSymbolSupport\":true,\"symbolKind\":{\"valueSet\":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},\"hover\":{\"contentFormat\":[\"markdown\",\"plaintext\"]},\"implementation\":{\"linkSupport\":true},\"publishDiagnostics\":{\"relatedInformation\":true,\"tagSupport\":{\"valueSet\":[1,2]}},\"references\":{},\"rename\":{\"prepareSupport\":true},\"signatureHelp\":{\"signatureInformation\":{\"activeParameterSupport\":true,\"documentationFormat\":[\"markdown\",\"plaintext\"],\"parameterInformation\":{\"labelOffsetSupport\":true}}},\"synchronization\":{\"didSave\":true},\"typeDefinition\":{\"linkSupport\":true}},\"window\":{\"showDocument\":{\"support\":false},\"showMessage\":{\"messageActionItem\":{}},\"workDoneProgress\":true},\"workspace\":{\"applyEdit\":true,\"configuration\":true,\"symbol\":{\"symbolKind\":{\"valueSet\":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},\"workspaceEdit\":{\"resourceOperations\":[\"rename\",\"create\",\"delete\"]},\"workspaceFolders\":true}},\"clientInfo\":{\"name\":\"Neovim\",\"version\":\"0.7.0\"},\"initializationOptions\":{},\"processId\":75,\"rootPath\":\"/tmp/arduino-language-server935286150/sketch\",\"rootUri\":\"file:///tmp/arduino-language-server935286150/sketch\",\"trace\":\"off\",\"workspaceFolders\":[{\"name\":\"/home/johan/MyFirstSketch\",\"uri\":\"file:///home/johan/MyFirstSketch\"}]}}\n\nI[17:42:14.234] <-- initialize(\"1\")\nI[17:42:14.250] --> reply:initialize(\"1\") 15 ms\nV[17:42:14.250] >>> {\"id\":\"1\",\"jsonrpc\":\"2.0\",\"result\":{\"capabilities\":{\"astProvider\":true,\"callHierarchyProvider\":true,\"codeActionProvider\":{\"codeActionKinds\":[\"quickfix\",\"refactor\",\"info\"]},\"compilationDatabase\":{\"automaticReload\":true},\"completionProvider\":{\"allCommitCharacters\":[\" \",\"\\t\",\"(\",\")\",\"[\",\"]\",\"{\",\"}\",\"<\",\">\",\":\",\";\",\",\",\"+\",\"-\",\"/\",\"*\",\"%\",\"^\",\"&\",\"#\",\"?\",\".\",\"=\",\"\\\"\",\"'\",\"|\"],\"resolveProvider\":false,\"triggerCharacters\":[\".\",\"<\",\">\",\":\",\"\\\"\",\"/\"]},\"declarationProvider\":true,\"definitionProvider\":true,\"documentFormattingProvider\":true,\"documentHighlightProvider\":true,\"documentLinkProvider\":{\"resolveProvider\":false},\"documentOnTypeFormattingProvider\":{\"firstTriggerCharacter\":\"\\n\",\"moreTriggerCharacter\":[]},\"documentRangeFormattingProvider\":true,\"documentSymbolProvider\":true,\"executeCommandProvider\":{\"commands\":[\"clangd.applyFix\",\"clangd.applyTweak\"]},\"hoverProvider\":true,\"implementationProvider\":true,\"memoryUsageProvider\":true,\"referencesProvider\":true,\"renameProvider\":{\"prepareProvider\":true},\"selectionRangeProvider\":true,\"semanticTokensProvider\":{\"full\":{\"delta\":true},\"legend\":{\"tokenModifiers\":[\"declaration\",\"deprecated\",\"deduced\",\"readonly\",\"static\",\"abstract\",\"dependentName\",\"defaultLibrary\",\"functionScope\",\"classScope\",\"fileScope\",\"globalScope\"],\"tokenTypes\":[\"variable\",\"variable\",\"parameter\",\"function\",\"method\",\"function\",\"property\",\"variable\",\"class\",\"interface\",\"enum\",\"enumMember\",\"type\",\"type\",\"unknown\",\"namespace\",\"typeParameter\",\"concept\",\"type\",\"macro\",\"comment\"]},\"range\":false},\"signatureHelpProvider\":{\"triggerCharacters\":[\"(\",\",\"]},\"textDocumentSync\":{\"change\":2,\"openClose\":true,\"save\":true},\"typeHierarchyProvider\":true,\"workspaceSymbolProvider\":true},\"serverInfo\":{\"name\":\"clangd\",\"version\":\"clangd version 13.0.0 (https://github.com/llvm/llvm-project d7b669b3a30345cfcdb2fde2af6f48aa4b94845d) linux+grpc x86_64-unknown-linux-gnu\"}}}\n\n2022/01/13 17:42:14 \27[31mIDE     LS <-- Clangd RESP initialize 1\27[0m\n2022/01/13 17:42:14 \27[96mINIT --- : clangd successfully started: {\"capabilities\":{\"textDocumentSync\":{\"openClose\":true,\"change\":2,\"save\":{}},\"completionProvider\":{\"triggerCharacters\":[\".\",\"\\u003c\",\"\\u003e\",\":\",\"\\\"\",\"/\"],\"allCommitCharacters\":[\" \",\"\\t\",\"(\",\")\",\"[\",\"]\",\"{\",\"}\",\"\\u003c\",\"\\u003e\",\":\",\";\",\",\",\"+\",\"-\",\"/\",\"*\",\"%\",\"^\",\"\\u0026\",\"#\",\"?\",\".\",\"=\",\"\\\"\",\"'\",\"|\"]},\"hoverProvider\":{},\"signatureHelpProvider\":{\"triggerCharacters\":[\"(\",\",\"]},\"declarationProvider\":{},\"definitionProvider\":{},\"implementationProvider\":{},\"referencesProvider\":{},\"documentHighlightProvider\":{},\"documentSymbolProvider\":{},\"codeActionProvider\":{\"codeActionKinds\":[\"quickfix\",\"refactor\",\"info\"]},\"documentLinkProvider\":{},\"documentFormattingProvider\":{},\"documentRangeFormattingProvider\":{},\"documentOnTypeFormattingProvider\":{\"firstTriggerCharacter\":\"\\n\"},\"renameProvider\":{\"prepareProvider\":true},\"executeCommandProvider\":{\"commands\":[\"clangd.applyFix\",\"clangd.applyTweak\"]},\"selectionRangeProvider\":{},\"callHierarchyProvider\":{},\"semanticTokensProvider\":{\"legend\":{\"tokenTypes\":[\"variable\",\"variable\",\"parameter\",\"function\",\"method\",\"function\",\"property\",\"variable\",\"class\",\"interface\",\"enum\",\"enumMember\",\"type\",\"type\",\"unknown\",\"namespace\",\"typeParameter\",\"concept\",\"type\",\"macro\",\"comment\"],\"tokenModifiers\":[\"declaration\",\"deprecated\",\"deduced\",\"readonly\",\"static\",\"abstract\",\"dependentName\",\"defaultLibrary\",\"functionScope\",\"classScope\",\"fileScope\",\"globalScope\"]},\"range\":false,\"full\":{\"delta\":true}},\"workspaceSymbolProvider\":{}},\"serverInfo\":{\"name\":\"clangd\",\"version\":\"clangd version 13.0.0 (https://github.com/llvm/llvm-project d7b669b3a30345cfcdb2fde2af6f48aa4b94845d) linux+grpc x86_64-unknown-linux-gnu\"}}\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS --> Clangd NOTIF initialized\27[0m\n2022/01/13 17:42:14 \27[96mINIT --- : Done initializing workbench\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didOpen: \27[93mlocked (waiting clangd)\27[0m\27[0m\nV[17:42:14.251] <<< {\"jsonrpc\":\"2.0\",\"method\":\"initialized\",\"params\":{}}\n\nI[17:42:14.251] <-- initialized\n2022/01/13 17:42:14 \27[92m                 textDocument/didOpen: URI: file:///home/johan/MyFirstSketch/MyFirstSketch.ino -> file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didOpen: Increasing .ino tracked files count to 1\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS --> Clangd NOTIF textDocument/didOpen\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didOpen: \27[93mwrite-unlocked\27[0m\27[0m\n2022/01/13 17:42:14 \27[92mIDE --> LS REQU textDocument/documentHighlight 2\27[0m\nV[17:42:14.252] <<< {\"jsonrpc\":\"2.0\",\"method\":\"textDocument/didOpen\",\"params\":{\"textDocument\":{\"languageId\":\"cpp\",\"text\":\"#include <Arduino.h>\\n#line 1 \\\"/home/johan/MyFirstSketch/MyFirstSketch.ino\\\"\\n#line 1 \\\"/home/johan/MyFirstSketch/MyFirstSketch.ino\\\"\\nvoid setup();\\n#line 4 \\\"/home/johan/MyFirstSketch/MyFirstSketch.ino\\\"\\nvoid loop();\\n#line 1 \\\"/home/johan/MyFirstSketch/MyFirstSketch.ino\\\"\\nvoid setup() {\\n   pinMode(LED_BUILTIN, OUTPUT);\\n}\\nvoid loop() {\\n    digitalWrite(LED_BUILTIN, HIGH);\\n    delay(1000);\\n    digitalWrite(LED_BUILTIN, LOW);\\n}\\n\\n\",\"uri\":\"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\",\"version\":1}}}\n\nI[17:42:14.252] <-- textDocument/didOpen\n2022/01/13 17:42:14 \27[92m                textDocument/documentHighlight 2: \27[93mread-locked\27[0m\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/documentHighlight 2: URI: file:///home/johan/MyFirstSketch/MyFirstSketch.ino -> file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/documentHighlight 2: file:///home/johan/MyFirstSketch/MyFirstSketch.ino:1:0 -> file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:8:0\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS --> Clangd REQU textDocument/documentHighlight 2\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.260] <<< {"id":"2","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":0,"line":8},"textDocument":{"uri":"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp"}}}\n\nI[17:42:14.260] <-- textDocument/documentHighlight("2")\nV[17:42:14.260] config note at /tmp/arduino-language-server935286150/.clangd:1:0: Parsing config fragment\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.262] config note at /tmp/arduino-language-server935286150/.clangd:1:0: Parsed 1 fragments from file\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.262] Config fragment: compiling /tmp/arduino-language-server935286150/.clangd:1 -> 0x00007F724C002860 (trusted=false)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.263] --> textDocument/publishDiagnostics\nV[17:42:14.263] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///tmp/arduino-language-server935286150/.clangd"}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF textDocument/publishDiagnostics\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: \27[93mread-locked\27[0m\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: file:///tmp/arduino-language-server935286150/.clangd (0 diagnostics):\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: file:///tmp/arduino-language-server935286150/.clangd -> file:///tmp/arduino-language-server935286150/.clangd\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: diagnostics to IDE:\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics:   - file:///tmp/arduino-language-server935286150/.clangd (0 diagnostics):\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF textDocument/publishDiagnostics\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: \27[93mread-unlocked\27[0m\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.265] Loaded compilation database from /tmp/arduino-language-server935286150/compile_commands.json\nV[17:42:14.265] Broadcasting compilation database from /tmp/arduino-language-server935286150\nI[17:42:14.266] --> window/workDoneProgress/create(0)\nV[17:42:14.266] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd REQU window/workDoneProgress/create 0\27[0m\n2022/01/13 17:42:14 \27[31mIDE     LS --> Clangd RESP window/workDoneProgress/create 0\27[0m\nI[17:42:14.266] Enqueueing 26 commands for indexing\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.266] <<< {"id":0,"jsonrpc":"2.0","result":null}\n\nI[17:42:14.266] <-- reply(0)\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE <-- LS REQU window/workDoneProgress/create 1\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.267] --> $/progress\nV[17:42:14.267] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.267] --> $/progress\nV[17:42:14.267] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}\n\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress BEGIN indexing, 0.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 0/1, 0.0%\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.267] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/IPAddress.cpp\nV[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_analog.c\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/WMath.cpp\nV[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/hooks.c\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/main.cpp\nV[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/CDC.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/Stream.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/Print.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_shift.c\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.c\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/PluggableUSB.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.268] Failed to load shard: /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial0.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial2.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.268] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial3.cpp\nV[17:42:14.269] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial1.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.269] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/new.cpp\nV[17:42:14.269] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/abi.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.269] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_digital.c\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.269] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/WString.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.269] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring.c\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.269] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/USBCore.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.269] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/Tone.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.269] Failed to load shard: /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/WInterrupts.c\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.280] --> $/progress\nV[17:42:14.280] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}\n\nI[17:42:14.280] --> $/progress\nV[17:42:14.280] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.280] --> $/progress\nV[17:42:14.280] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 0/27, 0.0%\27[0m\nI[17:42:14.280] --> $/progress\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\nV[17:42:14.280] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 1/27, 3.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\nI[17:42:14.280] --> $/progress\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 1/27, 3.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.280] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 1/27, 3.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\nI[17:42:14.280] --> $/progress\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 1/27, 3.0%\27[0m\nV[17:42:14.280] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 1/27, 3.0%\27[0m\nI[17:42:14.280] --> $/progress\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.280] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 1/27, 3.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 1/27, 3.0%\27[0m\nI[17:42:14.280] --> $/progress\nV[17:42:14.280] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.280] --> $/progress\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 1/27, 3.0%\27[0m\nV[17:42:14.281] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.281] --> $/progress\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 1/27, 3.0%\27[0m\nV[17:42:14.281] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.290] System include extraction: target extracted: "avr"\nV[17:42:14.290] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include\nV[17:42:14.290] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed\nV[17:42:14.290] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.291] System includes extractor: successfully executed /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++\n\tgot includes: "/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include"\n\tgot target: "avr"\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.291] ASTWorker building file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 1 with command \n[/home/johan/MyFirstSketch]\n/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino -I/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/eightanaloginputs -o /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.o -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include -ferror-limit=0 -resource-dir=/home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/lib/clang/13.0.0 -- /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.303] System include extraction: target extracted: "avr"\nV[17:42:14.303] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include\nV[17:42:14.303] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed\nV[17:42:14.303] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include\nI[17:42:14.303] System includes extractor: successfully executed /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++\n\tgot includes: "/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include"\n\tgot target: "avr"\nV[17:42:14.303] System include extraction: target extracted: "avr"\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.303] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include\nV[17:42:14.303] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed\nV[17:42:14.303] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include\nI[17:42:14.303] System includes extractor: successfully executed /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++\n\tgot includes: "/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include"\n\tgot target: "avr"\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.304] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/abi.cpp (digest:=4A1244E54C0CAC04)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.304] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial0.cpp (digest:=365287FBD658A80E)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.305] System include extraction: target extracted: "avr"\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.305] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include\nV[17:42:14.305] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed\nV[17:42:14.305] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include\nI[17:42:14.305] System includes extractor: successfully executed /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++\n\tgot includes: "/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include"\n\tgot target: "avr"\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.305] System include extraction: target extracted: "avr"\nV[17:42:14.305] System include extraction: target extracted: "avr"\nV[17:42:14.305] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include\nV[17:42:14.305] System include extraction: target extracted: "avr"\nV[17:42:14.305] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include\nV[17:42:14.305] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.305] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed\nV[17:42:14.305] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include\nI[17:42:14.305] System includes extractor: successfully executed /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++\n\tgot includes: "/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include"\n\tgot target: "avr"\nV[17:42:14.305] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed\nV[17:42:14.305] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.305] System includes extractor: successfully executed /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++\n\tgot includes: "/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include"\n\tgot target: "avr"\nV[17:42:14.305] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed\nV[17:42:14.305] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include\nI[17:42:14.305] System includes extractor: successfully executed /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++\n\tgot includes: "/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include"\n\tgot target: "avr"\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.305] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/IPAddress.cpp (digest:=6DDB6ED4F4E34E63)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.306] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/Tone.cpp (digest:=1C31198B0754810E)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.306] System include extraction: target extracted: "avr"\nV[17:42:14.306] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include\nV[17:42:14.306] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed\nV[17:42:14.306] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include\nI[17:42:14.306] System includes extractor: successfully executed /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++\n\tgot includes: "/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include"\n\tgot target: "avr"\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.307] Indexing /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp (digest:=ABE02F07B328C16D)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.307] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial.cpp (digest:=7D1D0E442CF15FC1)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.307] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/PluggableUSB.cpp (digest:=FDB5BCAAB3E73FCE)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.327] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto -flto-unit -disable-free -disable-llvm-verifier -discard-value-names -main-file-name MyFirstSketch.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -target-cpu atmega328p -debug-info-kind=constructor -dwarf-version=4 -debugger-tuning=gdb -ffunction-sections -fdata-sections -fcoverage-compilation-dir=/home/johan/MyFirstSketch -resource-dir /home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/lib/clang/13.0.0 -dependency-file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.d -MT /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.o -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino -I /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/eightanaloginputs -internal-isystem /usr/lib/avr/include -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir=/home/johan/MyFirstSketch -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.328] Building first preamble for /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 1\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.379] System include extraction: target extracted: "avr"\nV[17:42:14.379] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include\nV[17:42:14.379] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed\nV[17:42:14.379] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include\nI[17:42:14.379] System includes extractor: successfully executed /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc\n\tgot includes: "/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include"\n\tgot target: "avr"\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.380] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring.c (digest:=5D6C1534064234DD)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.410] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/abi.cpp (56 symbols, 159 refs, 3 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.416] --> $/progress\nV[17:42:14.416] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.417] --> $/progress\nV[17:42:14.417] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 2/27, 7.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 2/27, 7.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.417] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_digital.c (digest:=343A7ACAD5FD2414)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.438] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring.c (338 symbols, 2818 refs, 26 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.457] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/PluggableUSB.cpp (629 symbols, 3488 refs, 37 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.463] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/Tone.cpp (643 symbols, 3717 refs, 36 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.465] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_digital.c (283 symbols, 2866 refs, 26 files)\nI[17:42:14.465] Indexed /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp (629 symbols, 3494 refs, 36 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.468] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial0.cpp (634 symbols, 3588 refs, 38 files)\nV[17:42:14.468] indexed preamble AST for /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 1:\n  symbol slab: 2520 symbols, 724462 bytes\n  ref slab: 0 symbols, 0 refs, 128 bytes\n  relations slab: 9 relations, 296 bytes\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.468] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/IPAddress.cpp (649 symbols, 3623 refs, 37 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.471] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial.cpp (638 symbols, 3779 refs, 39 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.484] Build dynamic index for header symbols with estimated memory usage of 2160318 bytes\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.490] Built preamble of size 413984 for file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 1\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.508] --> $/progress\nV[17:42:14.508] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}\n\nI[17:42:14.508] --> $/progress\nV[17:42:14.508] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 3/27, 11.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 3/27, 11.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.509] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/WMath.cpp (digest:=38075D39C713EC91)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.518] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/WMath.cpp (50 symbols, 144 refs, 3 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.523] --> $/progress\nV[17:42:14.523] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}\n\nI[17:42:14.523] --> $/progress\nV[17:42:14.523] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 4/27, 14.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 4/27, 14.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.524] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/WString.cpp (digest:=293923F15565174B)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.535] indexed file AST for /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 1:\n  symbol slab: 2 symbols, 4680 bytes\n  ref slab: 9 symbols, 14 refs, 4608 bytes\n  relations slab: 0 relations, 24 bytes\nV[17:42:14.535] Build dynamic index for main-file symbols with estimated memory usage of 12760 bytes\nI[17:42:14.535] --> textDocument/publishDiagnostics\nV[17:42:14.535] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp","version":1}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF textDocument/publishDiagnostics\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: \27[93mread-locked\27[0m\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp (0 diagnostics):\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: diagnostics to IDE:\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics:   - file:///home/johan/MyFirstSketch/MyFirstSketch.ino (0 diagnostics):\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF textDocument/publishDiagnostics\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: \27[93mread-unlocked\27[0m\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.536] ASTWorker running Highlights on version 1 of /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.537] --> reply:textDocument/documentHighlight("2") 277 ms\nV[17:42:14.537] >>> {"id":"2","jsonrpc":"2.0","result":[]}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[31mIDE     LS <-- Clangd RESP textDocument/documentHighlight 2\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/documentHighlight 2: \27[93mread-unlocked\27[0m\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[32mIDE <-- LS RESP textDocument/documentHighlight 2\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE --> LS NOTIF textDocument/didChange\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[92m                 textDocument/didChange: \27[93mwrite-locked\27[0m\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange: didChange(file:///home/johan/MyFirstSketch/MyFirstSketch.ino@4)\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange:   > 2:0-2:0 (len=0) -> "   \\n"\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                 textDocument/didChange: -----Tracked SKETCH file-----\nvoid setup() {\n   pinMode(LED_BUILTIN, OUTPUT);\n   \n}\nvoid loop() {\n    digitalWrite(LED_BUILTIN, HIGH);\n    delay(1000);\n    digitalWrite(LED_BUILTIN, LOW);\n}\n\n-----------------------------\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[92m                 textDocument/didChange: URI: file:///home/johan/MyFirstSketch/MyFirstSketch.ino -> file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\27[0m\n2022/01/13 17:42:14 \27[32mIDE --> LS RESP window/workDoneProgress/create 1\27[0m\n2022/01/13 17:42:14 Ino Range: 2:0-2:0 -> Cpp Range:9:0-9:0\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n2022/01/13 17:42:14   > Current sketchmapper content:\n2022/01/13 17:42:14   0: #include <Arduino.h>                                         | /not-ino:0                                         \n2022/01/13 17:42:14   1: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:14   2: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:14   3: void setup();                                                | /MyFirstSketch.ino:0      /MyFirstSketch.ino:0     \n2022/01/13 17:42:14   4: #line 4 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:14   5: void loop();                                                 | /MyFirstSketch.ino:3                               \n2022/01/13 17:42:14   6: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /MyFirstSketch.ino:4      /MyFirstSketch.ino:4     \n2022/01/13 17:42:14   7: void setup() {                                               | /MyFirstSketch.ino:0                               \n2022/01/13 17:42:14   8:    pinMode(LED_BUILTIN, OUTPUT);                             | /MyFirstSketch.ino:1                               \n2022/01/13 17:42:14   9:                                                              | /MyFirstSketch.ino:2                               \n2022/01/13 17:42:14  10: }                                                            | /MyFirstSketch.ino:3                               \n2022/01/13 17:42:14  11: void loop() {                                                | /MyFirstSketch.ino:4                               \n2022/01/13 17:42:14  12:     digitalWrite(LED_BUILTIN, HIGH);                         | /MyFirstSketch.ino:5                               \n2022/01/13 17:42:14  13:     delay(1000);                                             | /MyFirstSketch.ino:6                               \n2022/01/13 17:42:14  14:     digitalWrite(LED_BUILTIN, LOW);                          | /MyFirstSketch.ino:7                               \n2022/01/13 17:42:14  15: }                                                            | /MyFirstSketch.ino:8                               \n2022/01/13 17:42:14  16:                                                              | /MyFirstSketch.ino:9                               \n2022/01/13 17:42:14  17:                                                              | /MyFirstSketch.ino:10                              \n2022/01/13 17:42:14 \27[92m                 textDocument/didChange: to Clang: didChange(file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp@2)\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange:             > 9:0-9:0 -> "   \\n"\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS --> Clangd NOTIF textDocument/didChange\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange: \27[93mwrite-unlocked\27[0m\27[0m\n2022/01/13 17:42:14 \27[92mIDE --> LS NOTIF textDocument/didChange\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.538] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":0,"line":9},"start":{"character":0,"line":9}},"text":"   \\n"}],"textDocument":{"uri":"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp","version":2}}}\n\nI[17:42:14.538] <-- textDocument/didChange\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange: \27[93mwrite-locked\27[0m\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange: didChange(file:///home/johan/MyFirstSketch/MyFirstSketch.ino@5)\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange:   > 2:3-2:3 (len=0) -> "p"\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                 textDocument/didChange: -----Tracked SKETCH file-----\nvoid setup() {\n   pinMode(LED_BUILTIN, OUTPUT);\n   p\n}\nvoid loop() {\n    digitalWrite(LED_BUILTIN, HIGH);\n    delay(1000);\n    digitalWrite(LED_BUILTIN, LOW);\n}\n\n-----------------------------\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                 textDocument/didChange: URI: file:///home/johan/MyFirstSketch/MyFirstSketch.ino -> file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 Ino Range: 2:3-2:3 -> Cpp Range:9:3-9:3\n2022/01/13 17:42:14   > Current sketchmapper content:\n2022/01/13 17:42:14   0: #include <Arduino.h>                                         | /not-ino:0                                         \n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14   1: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:14   2: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:14   3: void setup();                                                | /MyFirstSketch.ino:0      /MyFirstSketch.ino:0     \n2022/01/13 17:42:14   4: #line 4 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:14   5: void loop();                                                 | /MyFirstSketch.ino:3                               \n2022/01/13 17:42:14   6: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /MyFirstSketch.ino:4      /MyFirstSketch.ino:4     \n2022/01/13 17:42:14   7: void setup() {                                               | /MyFirstSketch.ino:0                               \n2022/01/13 17:42:14   8:    pinMode(LED_BUILTIN, OUTPUT);                             | /MyFirstSketch.ino:1                               \n2022/01/13 17:42:14   9:    p                                                         | /MyFirstSketch.ino:2                               \n2022/01/13 17:42:14  10: }                                                            | /MyFirstSketch.ino:3                               \n2022/01/13 17:42:14  11: void loop() {                                                | /MyFirstSketch.ino:4                               \n2022/01/13 17:42:14  12:     digitalWrite(LED_BUILTIN, HIGH);                         | /MyFirstSketch.ino:5                               \n2022/01/13 17:42:14  13:     delay(1000);                                             | /MyFirstSketch.ino:6                               \n2022/01/13 17:42:14  14:     digitalWrite(LED_BUILTIN, LOW);                          | /MyFirstSketch.ino:7                               \n2022/01/13 17:42:14  15: }                                                            | /MyFirstSketch.ino:8                               \n2022/01/13 17:42:14  16:                                                              | /MyFirstSketch.ino:9                               \n2022/01/13 17:42:14  17:                                                              | /MyFirstSketch.ino:10                              \n2022/01/13 17:42:14 \27[92m                 textDocument/didChange: to Clang: didChange(file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp@3)\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange:             > 9:3-9:3 -> "p"\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[91mIDE     LS --> Clangd NOTIF textDocument/didChange\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange: \27[93mwrite-unlocked\27[0m\27[0m\n2022/01/13 17:42:14 \27[92mIDE --> LS REQU textDocument/completion 3\27[0m\nV[17:42:14.539] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":3,"line":9},"start":{"character":3,"line":9}},"text":"p"}],"textDocument":{"uri":"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp","version":3}}}\n\nI[17:42:14.539] <-- textDocument/didChange\nV[17:42:14.540] ASTWorker skipping Update (2) for /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: \27[93mread-locked\27[0m\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: URI: file:///home/johan/MyFirstSketch/MyFirstSketch.ino -> file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:4 -> file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:4\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS --> Clangd REQU textDocument/completion 3\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.542] <<< {"id":"3","jsonrpc":"2.0","method":"textDocument/completion","params":{"context":{"triggerKind":1},"position":{"character":4,"line":9},"textDocument":{"uri":"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp"}}}\n\nI[17:42:14.542] <-- textDocument/completion("3")\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.552] Code complete: fuzzyFind({\n  "AnyScope": true,\n  "Limit": 100,\n  "PreferredTypes": [],\n  "ProximityPaths": [\n    "/tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp"\n  ],\n  "Query": "p",\n  "RestrictForCodeCompletion": true,\n  "Scopes": [\n    ""\n  ]\n})\nV[17:42:14.552] Dex query tree: (LIMIT 10000 (& T=p ?=Restricted For Code Completion (| S= (* 2.000000e-01 true))))\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.559] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/WString.cpp (126 symbols, 2200 refs, 18 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.561] Code complete: sema context Statement, query scopes [] (AnyScope=true), expected type <none>\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.561] Code complete: 2 results from Sema, 100 from Index, 0 matched, 0 from identifiers, 100 returned (incomplete).\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.566] --> reply:textDocument/completion("3") 23 ms\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[31mIDE     LS <-- Clangd RESP textDocument/completion 3\27[0m\nV[17:42:14.566] >>> {"id":"3","jsonrpc":"2.0","result":{"isIncomplete":true,"items":[{"detail":"void","filterText":"pinMode","insertText":"pinMode(${1:uint8_t pin}, ${2:uint8_t mode})","insertTextFormat":2,"kind":3,"label":" pinMode(uint8_t pin, uint8_t mode)","score":1.5008811950683594,"sortText":"403fe320pinMode","textEdit":{"newText":"pinMode(${1:uint8_t pin}, ${2:uint8_t mode})","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCICR","insertText":"PCICR","insertTextFormat":2,"kind":1,"label":" PCICR","score":0.87653928995132446,"sortText":"409f9b1fPCICR","textEdit":{"newText":"PCICR","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCIE0","insertText":"PCIE0","insertTextFormat":2,"kind":1,"label":" PCIE0","score":0.87653928995132446,"sortText":"409f9b1fPCIE0","textEdit":{"newText":"PCIE0","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCIE1","insertText":"PCIE1","insertTextFormat":2,"kind":1,"label":" PCIE1","score":0.87653928995132446,"sortText":"409f9b1fPCIE1","textEdit":{"newText":"PCIE1","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCIE2","insertText":"PCIE2","insertTextFormat":2,"kind":1,"label":" PCIE2","score":0.87653928995132446,"sortText":"409f9b1fPCIE2","textEdit":{"newText":"PCIE2","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCIF0","insertText":"PCIF0","insertTextFormat":2,"kind":1,"label":" PCIF0","score":0.87653928995132446,"sortText":"409f9b1fPCIF0","textEdit":{"newText":"PCIF0","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCIF1","insertText":"PCIF1","insertTextFormat":2,"kind":1,"label":" PCIF1","score":0.87653928995132446,"sortText":"409f9b1fPCIF1","textEdit":{"newText":"PCIF1","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCIF2","insertText":"PCIF2","insertTextFormat":2,"kind":1,"label":" PCIF2","score":0.87653928995132446,"sortText":"409f9b1fPCIF2","textEdit":{"newText":"PCIF2","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCIFR","insertText":"PCIFR","insertTextFormat":2,"kind":1,"label":" PCIFR","score":0.87653928995132446,"sortText":"409f9b1fPCIFR","textEdit":{"newText":"PCIFR","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT0","insertText":"PCINT0","insertTextFormat":2,"kind":1,"label":" PCINT0","score":0.87653928995132446,"sortText":"409f9b1fPCINT0","textEdit":{"newText":"PCINT0","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT0_vect","insertText":"PCINT0_vect","insertTextFormat":2,"kind":1,"label":" PCINT0_vect","score":0.87653928995132446,"sortText":"409f9b1fPCINT0_vect","textEdit":{"newText":"PCINT0_vect","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT0_vect_num","insertText":"PCINT0_vect_num","insertTextFormat":2,"kind":1,"label":" PCINT0_vect_num","score":0.87653928995132446,"sortText":"409f9b1fPCINT0_vect_num","textEdit":{"newText":"PCINT0_vect_num","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT1","insertText":"PCINT1","insertTextFormat":2,"kind":1,"label":" PCINT1","score":0.87653928995132446,"sortText":"409f9b1fPCINT1","textEdit":{"newText":"PCINT1","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT10","insertText":"PCINT10","insertTextFormat":2,"kind":1,"label":" PCINT10","score":0.87653928995132446,"sortText":"409f9b1fPCINT10","textEdit":{"newText":"PCINT10","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT11","insertText":"PCINT11","insertTextFormat":2,"kind":1,"label":" PCINT11","score":0.87653928995132446,"sortText":"409f9b1fPCINT11","textEdit":{"newText":"PCINT11","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT12","insertText":"PCINT12","insertTextFormat":2,"kind":1,"label":" PCINT12","score":0.87653928995132446,"sortText":"409f9b1fPCINT12","textEdit":{"newText":"PCINT12","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT14","insertText":"PCINT14","insertTextFormat":2,"kind":1,"label":" PCINT14","score":0.87653928995132446,"sortText":"409f9b1fPCINT14","textEdit":{"newText":"PCINT14","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT16","insertText":"PCINT16","insertTextFormat":2,"kind":1,"label":" PCINT16","score":0.87653928995132446,"sortText":"409f9b1fPCINT16","textEdit":{"newText":"PCINT16","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT17","insertText":"PCINT17","insertTextFormat":2,"kind":1,"label":" PCINT17","score":0.87653928995132446,"sortText":"409f9b1fPCINT17","textEdit":{"newText":"PCINT17","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT18","insertText":"PCINT18","insertTextFormat":2,"kind":1,"label":" PCINT18","score":0.87653928995132446,"sortText":"409f9b1fPCINT18","textEdit":{"newText":"PCINT18","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT19","insertText":"PCINT19","insertTextFormat":2,"kind":1,"label":" PCINT19","score":0.87653928995132446,"sortText":"409f9b1fPCINT19","textEdit":{"newText":"PCINT19","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT1_vect","insertText":"PCINT1_vect","insertTextFormat":2,"kind":1,"label":" PCINT1_vect","score":0.87653928995132446,"sortText":"409f9b1fPCINT1_vect","textEdit":{"newText":"PCINT1_vect","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT1_vect_num","insertText":"PCINT1_vect_num","insertTextFormat":2,"kind":1,"label":" PCINT1_vect_num","score":0.87653928995132446,"sortText":"409f9b1fPCINT1_vect_num","textEdit":{"newText":"PCINT1_vect_num","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT2","insertText":"PCINT2","insertTextFormat":2,"kind":1,"label":" PCINT2","score":0.87653928995132446,"sortText":"409f9b1fPCINT2","textEdit":{"newText":"PCINT2","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT20","insertText":"PCINT20","insertTextFormat":2,"kind":1,"label":" PCINT20","score":0.87653928995132446,"sortText":"409f9b1fPCINT20","textEdit":{"newText":"PCINT20","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT21","insertText":"PCINT21","insertTextFormat":2,"kind":1,"label":" PCINT21","score":0.87653928995132446,"sortText":"409f9b1fPCINT21","textEdit":{"newText":"PCINT21","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT22","insertText":"PCINT22","insertTextFormat":2,"kind":1,"label":" PCINT22","score":0.87653928995132446,"sortText":"409f9b1fPCINT22","textEdit":{"newText":"PCINT22","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT23","insertText":"PCINT23","insertTextFormat":2,"kind":1,"label":" PCINT23","score":0.87653928995132446,"sortText":"409f9b1fPCINT23","textEdit":{"newText":"PCINT23","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT2_vect","insertText":"PCINT2_vect","insertTextFormat":2,"kind":1,"label":" PCINT2_vect","score":0.87653928995132446,"sortText":"409f9b1fPCINT2_vect","textEdit":{"newText":"PCINT2_vect","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT2_vect_num","insertText":"PCINT2_vect_num","insertTextFormat":2,"kind":1,"label":" PCINT2_vect_num","score":0.87653928995132446,"sortText":"409f9b1fPCINT2_vect_num","textEdit":{"newText":"PCINT2_vect_num","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT3","insertText":"PCINT3","insertTextFormat":2,"kind":1,"label":" PCINT3","score":0.87653928995132446,"sortText":"409f9b1fPCINT3","textEdit":{"newText":"PCINT3","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT4","insertText":"PCINT4","insertTextFormat":2,"kind":1,"label":" PCINT4","score":0.87653928995132446,"sortText":"409f9b1fPCINT4","textEdit":{"newText":"PCINT4","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT5","insertText":"PCINT5","insertTextFormat":2,"kind":1,"label":" PCINT5","score":0.87653928995132446,"sortText":"409f9b1fPCINT5","textEdit":{"newText":"PCINT5","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT6","insertText":"PCINT6","insertTextFormat":2,"kind":1,"label":" PCINT6","score":0.87653928995132446,"sortText":"409f9b1fPCINT6","textEdit":{"newText":"PCINT6","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT7","insertText":"PCINT7","insertTextFormat":2,"kind":1,"label":" PCINT7","score":0.87653928995132446,"sortText":"409f9b1fPCINT7","textEdit":{"newText":"PCINT7","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT8","insertText":"PCINT8","insertTextFormat":2,"kind":1,"label":" PCINT8","score":0.87653928995132446,"sortText":"409f9b1fPCINT8","textEdit":{"newText":"PCINT8","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCINT9","insertText":"PCINT9","insertTextFormat":2,"kind":1,"label":" PCINT9","score":0.87653928995132446,"sortText":"409f9b1fPCINT9","textEdit":{"newText":"PCINT9","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCMSK0","insertText":"PCMSK0","insertTextFormat":2,"kind":1,"label":" PCMSK0","score":0.87653928995132446,"sortText":"409f9b1fPCMSK0","textEdit":{"newText":"PCMSK0","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCMSK1","insertText":"PCMSK1","insertTextFormat":2,"kind":1,"label":" PCMSK1","score":0.87653928995132446,"sortText":"409f9b1fPCMSK1","textEdit":{"newText":"PCMSK1","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PCMSK2","insertText":"PCMSK2","insertTextFormat":2,"kind":1,"label":" PCMSK2","score":0.87653928995132446,"sortText":"409f9b1fPCMSK2","textEdit":{"newText":"PCMSK2","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PGWRT","insertText":"PGWRT","insertTextFormat":2,"kind":1,"label":" PGWRT","score":0.87653928995132446,"sortText":"409f9b1fPGWRT","textEdit":{"newText":"PGWRT","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB","insertText":"PINB","insertTextFormat":2,"kind":1,"label":" PINB","score":0.87653928995132446,"sortText":"409f9b1fPINB","textEdit":{"newText":"PINB","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB1","insertText":"PINB1","insertTextFormat":2,"kind":1,"label":" PINB1","score":0.87653928995132446,"sortText":"409f9b1fPINB1","textEdit":{"newText":"PINB1","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB2","insertText":"PINB2","insertTextFormat":2,"kind":1,"label":" PINB2","score":0.87653928995132446,"sortText":"409f9b1fPINB2","textEdit":{"newText":"PINB2","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB3","insertText":"PINB3","insertTextFormat":2,"kind":1,"label":" PINB3","score":0.87653928995132446,"sortText":"409f9b1fPINB3","textEdit":{"newText":"PINB3","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB4","insertText":"PINB4","insertTextFormat":2,"kind":1,"label":" PINB4","score":0.87653928995132446,"sortText":"409f9b1fPINB4","textEdit":{"newText":"PINB4","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB5","insertText":"PINB5","insertTextFormat":2,"kind":1,"label":" PINB5","score":0.87653928995132446,"sortText":"409f9b1fPINB5","textEdit":{"newText":"PINB5","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB6","insertText":"PINB6","insertTextFormat":2,"kind":1,"label":" PINB6","score":0.87653928995132446,"sortText":"409f9b1fPINB6","textEdit":{"newText":"PINB6","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB7","insertText":"PINB7","insertTextFormat":2,"kind":1,"label":" PINB7","score":0.87653928995132446,"sortText":"409f9b1fPINB7","textEdit":{"newText":"PINB7","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC","insertText":"PINC","insertTextFormat":2,"kind":1,"label":" PINC","score":0.87653928995132446,"sortText":"409f9b1fPINC","textEdit":{"newText":"PINC","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC0","insertText":"PINC0","insertTextFormat":2,"kind":1,"label":" PINC0","score":0.87653928995132446,"sortText":"409f9b1fPINC0","textEdit":{"newText":"PINC0","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC1","insertText":"PINC1","insertTextFormat":2,"kind":1,"label":" PINC1","score":0.87653928995132446,"sortText":"409f9b1fPINC1","textEdit":{"newText":"PINC1","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC2","insertText":"PINC2","insertTextFormat":2,"kind":1,"label":" PINC2","score":0.87653928995132446,"sortText":"409f9b1fPINC2","textEdit":{"newText":"PINC2","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC3","insertText":"PINC3","insertTextFormat":2,"kind":1,"label":" PINC3","score":0.87653928995132446,"sortText":"409f9b1fPINC3","textEdit":{"newText":"PINC3","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC4","insertText":"PINC4","insertTextFormat":2,"kind":1,"label":" PINC4","score":0.87653928995132446,"sortText":"409f9b1fPINC4","textEdit":{"newText":"PINC4","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC5","insertText":"PINC5","insertTextFormat":2,"kind":1,"label":" PINC5","score":0.87653928995132446,"sortText":"409f9b1fPINC5","textEdit":{"newText":"PINC5","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC6","insertText":"PINC6","insertTextFormat":2,"kind":1,"label":" PINC6","score":0.87653928995132446,"sortText":"409f9b1fPINC6","textEdit":{"newText":"PINC6","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND","insertText":"PIND","insertTextFormat":2,"kind":1,"label":" PIND","score":0.87653928995132446,"sortText":"409f9b1fPIND","textEdit":{"newText":"PIND","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND0","insertText":"PIND0","insertTextFormat":2,"kind":1,"label":" PIND0","score":0.87653928995132446,"sortText":"409f9b1fPIND0","textEdit":{"newText":"PIND0","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND1","insertText":"PIND1","insertTextFormat":2,"kind":1,"label":" PIND1","score":0.87653928995132446,"sortText":"409f9b1fPIND1","textEdit":{"newText":"PIND1","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND2","insertText":"PIND2","insertTextFormat":2,"kind":1,"label":" PIND2","score":0.87653928995132446,"sortText":"409f9b1fPIND2","textEdit":{"newText":"PIND2","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND3","insertText":"PIND3","insertTextFormat":2,"kind":1,"label":" PIND3","score":0.87653928995132446,"sortText":"409f9b1fPIND3","textEdit":{"newText":"PIND3","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND4","insertText":"PIND4","insertTextFormat":2,"kind":1,"label":" PIND4","score":0.87653928995132446,"sortText":"409f9b1fPIND4","textEdit":{"newText":"PIND4","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND5","insertText":"PIND5","insertTextFormat":2,"kind":1,"label":" PIND5","score":0.87653928995132446,"sortText":"409f9b1fPIND5","textEdit":{"newText":"PIND5","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND6","insertText":"PIND6","insertTextFormat":2,"kind":1,"label":" PIND6","score":0.87653928995132446,"sortText":"409f9b1fPIND6","textEdit":{"newText":"PIND6","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND7","insertText":"PIND7","insertTextFormat":2,"kind":1,"label":" PIND7","score":0.87653928995132446,"sortText":"409f9b1fPIND7","textEdit":{"newText":"PIND7","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORF","insertText":"PORF","insertTextFormat":2,"kind":1,"label":" PORF","score":0.87653928995132446,"sortText":"409f9b1fPORF","textEdit":{"newText":"PORF","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTB","insertText":"PORTB","insertTextFormat":2,"kind":1,"label":" PORTB","score":0.87653928995132446,"sortText":"409f9b1fPORTB","textEdit":{"newText":"PORTB","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTB0","insertText":"PORTB0","insertTextFormat":2,"kind":1,"label":" PORTB0","score":0.87653928995132446,"sortText":"409f9b1fPORTB0","textEdit":{"newText":"PORTB0","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTB1","insertText":"PORTB1","insertTextFormat":2,"kind":1,"label":" PORTB1","score":0.87653928995132446,"sortText":"409f9b1fPORTB1","textEdit":{"newText":"PORTB1","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTB2","insertText":"PORTB2","insertTextFormat":2,"kind":1,"label":" PORTB2","score":0.87653928995132446,"sortText":"409f9b1fPORTB2","textEdit":{"newText":"PORTB2","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTB3","insertText":"PORTB3","insertTextFormat":2,"kind":1,"label":" PORTB3","score":0.87653928995132446,"sortText":"409f9b1fPORTB3","textEdit":{"newText":"PORTB3","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTB4","insertText":"PORTB4","insertTextFormat":2,"kind":1,"label":" PORTB4","score":0.87653928995132446,"sortText":"409f9b1fPORTB4","textEdit":{"newText":"PORTB4","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTB6","insertText":"PORTB6","insertTextFormat":2,"kind":1,"label":" PORTB6","score":0.87653928995132446,"sortText":"409f9b1fPORTB6","textEdit":{"newText":"PORTB6","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTB7","insertText":"PORTB7","insertTextFormat":2,"kind":1,"label":" PORTB7","score":0.87653928995132446,"sortText":"409f9b1fPORTB7","textEdit":{"newText":"PORTB7","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTC","insertText":"PORTC","insertTextFormat":2,"kind":1,"label":" PORTC","score":0.87653928995132446,"sortText":"409f9b1fPORTC","textEdit":{"newText":"PORTC","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTC0","insertText":"PORTC0","insertTextFormat":2,"kind":1,"label":" PORTC0","score":0.87653928995132446,"sortText":"409f9b1fPORTC0","textEdit":{"newText":"PORTC0","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTC1","insertText":"PORTC1","insertTextFormat":2,"kind":1,"label":" PORTC1","score":0.87653928995132446,"sortText":"409f9b1fPORTC1","textEdit":{"newText":"PORTC1","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTC3","insertText":"PORTC3","insertTextFormat":2,"kind":1,"label":" PORTC3","score":0.87653928995132446,"sortText":"409f9b1fPORTC3","textEdit":{"newText":"PORTC3","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTC5","insertText":"PORTC5","insertTextFormat":2,"kind":1,"label":" PORTC5","score":0.87653928995132446,"sortText":"409f9b1fPORTC5","textEdit":{"newText":"PORTC5","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTC6","insertText":"PORTC6","insertTextFormat":2,"kind":1,"label":" PORTC6","score":0.87653928995132446,"sortText":"409f9b1fPORTC6","textEdit":{"newText":"PORTC6","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTD","insertText":"PORTD","insertTextFormat":2,"kind":1,"label":" PORTD","score":0.87653928995132446,"sortText":"409f9b1fPORTD","textEdit":{"newText":"PORTD","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTD0","insertText":"PORTD0","insertTextFormat":2,"kind":1,"label":" PORTD0","score":0.87653928995132446,"sortText":"409f9b1fPORTD0","textEdit":{"newText":"PORTD0","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTD1","insertText":"PORTD1","insertTextFormat":2,"kind":1,"label":" PORTD1","score":0.87653928995132446,"sortText":"409f9b1fPORTD1","textEdit":{"newText":"PORTD1","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTD2","insertText":"PORTD2","insertTextFormat":2,"kind":1,"label":" PORTD2","score":0.87653928995132446,"sortText":"409f9b1fPORTD2","textEdit":{"newText":"PORTD2","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTD3","insertText":"PORTD3","insertTextFormat":2,"kind":1,"label":" PORTD3","score":0.87653928995132446,"sortText":"409f9b1fPORTD3","textEdit":{"newText":"PORTD3","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTD4","insertText":"PORTD4","insertTextFormat":2,"kind":1,"label":" PORTD4","score":0.87653928995132446,"sortText":"409f9b1fPORTD4","textEdit":{"newText":"PORTD4","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTD5","insertText":"PORTD5","insertTextFormat":2,"kind":1,"label":" PORTD5","score":0.87653928995132446,"sortText":"409f9b1fPORTD5","textEdit":{"newText":"PORTD5","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTD6","insertText":"PORTD6","insertTextFormat":2,"kind":1,"label":" PORTD6","score":0.87653928995132446,"sortText":"409f9b1fPORTD6","textEdit":{"newText":"PORTD6","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PORTD7","insertText":"PORTD7","insertTextFormat":2,"kind":1,"label":" PORTD7","score":0.87653928995132446,"sortText":"409f9b1fPORTD7","textEdit":{"newText":"PORTD7","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PRADC","insertText":"PRADC","insertTextFormat":2,"kind":1,"label":" PRADC","score":0.87653928995132446,"sortText":"409f9b1fPRADC","textEdit":{"newText":"PRADC","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PRR","insertText":"PRR","insertTextFormat":2,"kind":1,"label":" PRR","score":0.87653928995132446,"sortText":"409f9b1fPRR","textEdit":{"newText":"PRR","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PRSPI","insertText":"PRSPI","insertTextFormat":2,"kind":1,"label":" PRSPI","score":0.87653928995132446,"sortText":"409f9b1fPRSPI","textEdit":{"newText":"PRSPI","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PRTIM0","insertText":"PRTIM0","insertTextFormat":2,"kind":1,"label":" PRTIM0","score":0.87653928995132446,"sortText":"409f9b1fPRTIM0","textEdit":{"newText":"PRTIM0","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PRTIM1","insertText":"PRTIM1","insertTextFormat":2,"kind":1,"label":" PRTIM1","score":0.87653928995132446,"sortText":"409f9b1fPRTIM1","textEdit":{"newText":"PRTIM1","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PRTIM2","insertText":"PRTIM2","insertTextFormat":2,"kind":1,"label":" PRTIM2","score":0.87653928995132446,"sortText":"409f9b1fPRTIM2","textEdit":{"newText":"PRTIM2","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PRTWI","insertText":"PRTWI","insertTextFormat":2,"kind":1,"label":" PRTWI","score":0.87653928995132446,"sortText":"409f9b1fPRTWI","textEdit":{"newText":"PRTWI","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PRUSART0","insertText":"PRUSART0","insertTextFormat":2,"kind":1,"label":" PRUSART0","score":0.87653928995132446,"sortText":"409f9b1fPRUSART0","textEdit":{"newText":"PRUSART0","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PSRASY","insertText":"PSRASY","insertTextFormat":2,"kind":1,"label":" PSRASY","score":0.87653928995132446,"sortText":"409f9b1fPSRASY","textEdit":{"newText":"PSRASY","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PSRSYNC","insertText":"PSRSYNC","insertTextFormat":2,"kind":1,"label":" PSRSYNC","score":0.87653928995132446,"sortText":"409f9b1fPSRSYNC","textEdit":{"newText":"PSRSYNC","range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}}}}]}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.572] --> $/progress\nV[17:42:14.572] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}\n\nI[17:42:14.572] --> $/progress\nV[17:42:14.572] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}\n\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 5/27, 18.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 5/27, 18.0%\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.572] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/Stream.cpp (digest:=F7D59D2B49112307)\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: <-- completion(100 items)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 3: \27[93mread-unlocked\27[0m\27[0m\n2022/01/13 17:42:14 \27[32mIDE <-- LS RESP textDocument/completion 3\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.603] ASTWorker building file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 3 with command \n[/home/johan/MyFirstSketch]\n/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino -I/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/eightanaloginputs -o /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.o -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include -ferror-limit=0 -resource-dir=/home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/lib/clang/13.0.0 -- /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\nI[17:42:14.604] --> $/progress\nV[17:42:14.604] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}\n\nI[17:42:14.604] --> $/progress\nV[17:42:14.604] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 6/27, 22.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 6/27, 22.0%\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\nV[17:42:14.604] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/USBCore.cpp (digest:=55BA50D4FF04E609)\nI[17:42:14.607] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/Stream.cpp (31 symbols, 2411 refs, 36 files)\nV[17:42:14.608] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto -flto-unit -disable-free -disable-llvm-verifier -discard-value-names -main-file-name MyFirstSketch.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -target-cpu atmega328p -debug-info-kind=constructor -dwarf-version=4 -debugger-tuning=gdb -ffunction-sections -fdata-sections -fcoverage-compilation-dir=/home/johan/MyFirstSketch -resource-dir /home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/lib/clang/13.0.0 -dependency-file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.d -MT /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.o -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino -I /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/eightanaloginputs -internal-isystem /usr/lib/avr/include -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir=/home/johan/MyFirstSketch -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\nV[17:42:14.609] Reusing preamble version 1 for version 3 of /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.619] --> $/progress\nV[17:42:14.619] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}\n\nI[17:42:14.619] --> $/progress\nV[17:42:14.619] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 7/27, 25.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 7/27, 25.0%\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.619] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/new.cpp (digest:=F68AA83B5BAAD75D)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.621] Trying to fix unresolved name "p" in scopes: []\nV[17:42:14.621] Dex query tree: (LIMIT 10000 (& T=p S= ?=Restricted For Code Completion))\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.622] indexed file AST for /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 3:\n  symbol slab: 2 symbols, 4680 bytes\n  ref slab: 9 symbols, 14 refs, 4608 bytes\n  relations slab: 0 relations, 24 bytes\nV[17:42:14.622] Build dynamic index for main-file symbols with estimated memory usage of 12760 bytes\nI[17:42:14.622] --> textDocument/publishDiagnostics\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.622] >>> {\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"diagnostics\":[{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'p'\",\"range\":{\"end\":{\"character\":4,\"line\":9},\"start\":{\"character\":3,\"line\":9}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"}],\"uri\":\"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\",\"version\":3}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF textDocument/publishDiagnostics\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: \27[93mread-locked\27[0m\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp (1 diagnostics):\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics:   > 9:3 - Error: "undeclared_var_use"\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: diagnostics to IDE:\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics:   - file:///home/johan/MyFirstSketch/MyFirstSketch.ino (1 diagnostics):\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics:     > 2:3 - Error: "undeclared_var_use"\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF textDocument/publishDiagnostics\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: \27[93mread-unlocked\27[0m\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.629] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/new.cpp (21 symbols, 150 refs, 5 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.633] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/USBCore.cpp (0 symbols, 2223 refs, 37 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.640] --> $/progress\nV[17:42:14.640] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}\n\nI[17:42:14.640] --> $/progress\nV[17:42:14.640] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 8/27, 29.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 8/27, 29.0%\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.641] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/CDC.cpp (digest:=E3E9F11672EDD20A)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.645] BackgroundIndex: building version 1 after indexing enough files\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.648] --> $/progress\nV[17:42:14.648] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}\n\nI[17:42:14.648] --> $/progress\nV[17:42:14.648] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 9/27, 33.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 9/27, 33.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.648] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_analog.c (digest:=BC32CF542FD8D605)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.649] BackgroundIndex: serving version 1 (1650094 bytes)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.650] --> $/progress\nV[17:42:14.650] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}\n\nI[17:42:14.650] --> $/progress\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 10/27, 37.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 10/27, 37.0%\27[0m\nV[17:42:14.650] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}\n\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.650] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial2.cpp (digest:=3DD4F70FCF8C4FA6)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.653] --> $/progress\nV[17:42:14.653] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}\n\nI[17:42:14.653] --> $/progress\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.653] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 11/27, 40.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 11/27, 40.0%\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.654] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/Print.cpp (digest:=81BB1157C290C33B)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.661] --> $/progress\nV[17:42:14.661] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}\n\nI[17:42:14.661] --> $/progress\nV[17:42:14.661] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 12/27, 44.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 12/27, 44.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.662] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/main.cpp (digest:=313C4893EB7ADBE6)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.664] --> $/progress\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 13/27, 48.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\nV[17:42:14.664] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}\n\nI[17:42:14.664] --> $/progress\nV[17:42:14.664] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 13/27, 48.0%\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.665] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/hooks.c (digest:=C16B0ED8B1C5BB9F)\nI[17:42:14.665] --> $/progress\nV[17:42:14.665] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}\n\nI[17:42:14.665] --> $/progress\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 14/27, 51.0%\27[0m\nV[17:42:14.665] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 14/27, 51.0%\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\nV[17:42:14.666] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.c (digest:=B0774BE9D28D49CB)\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.669] --> $/progress\nV[17:42:14.669] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}\n\nI[17:42:14.669] --> $/progress\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 15/27, 55.0%\27[0m\nV[17:42:14.669] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 15/27, 55.0%\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.670] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_shift.c (digest:=5E8D23E876F6F446)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.671] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include/avr/wdt.h:464:12:value '64' out of range for constraint 'I'\nI[17:42:14.671] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_analog.c (4 symbols, 2202 refs, 26 files)\nI[17:42:14.671] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/hooks.c (2 symbols, 2 refs, 1 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.671] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include/avr/wdt.h:507:23:value '64' out of range for constraint 'I'\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.673] --> $/progress\nV[17:42:14.673] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 16/27, 59.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\nI[17:42:14.673] --> $/progress\nV[17:42:14.673] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}\n\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 16/27, 59.0%\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.673] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/WInterrupts.c (digest:=0A36B38756A4F148)\nI[17:42:14.673] --> $/progress\nV[17:42:14.673] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}\n\nI[17:42:14.673] --> $/progress\nV[17:42:14.673] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 17/27, 62.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 17/27, 62.0%\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.674] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial1.cpp (digest:=487C94A1A1F49B6C)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.674] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/CDC.cpp (7 symbols, 2313 refs, 38 files)\nI[17:42:14.674] Failed to compile /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/CDC.cpp, index may be incomplete\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.679] --> $/progress\nV[17:42:14.679] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 18/27, 66.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.679] --> $/progress\nV[17:42:14.679] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 18/27, 66.0%\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.680] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial2.cpp (0 symbols, 2252 refs, 38 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.682] --> $/progress\nV[17:42:14.682] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.682] --> $/progress\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\nV[17:42:14.682] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 19/27, 70.0%\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 19/27, 70.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.683] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial3.cpp (digest:=D7FFC6931C21680C)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.688] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.c (2 symbols, 2142 refs, 26 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.689] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/Print.cpp (26 symbols, 2376 refs, 36 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.690] --> $/progress\nV[17:42:14.690] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 20/27, 74.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.691] --> $/progress\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.691] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 21/27, 77.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.692] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_shift.c (2 symbols, 2116 refs, 26 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.693] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/main.cpp (4 symbols, 2227 refs, 36 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.694] --> $/progress\nV[17:42:14.694] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/27","percentage":81}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 22/27, 81.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.694] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/WInterrupts.c (6 symbols, 2171 refs, 26 files)\nI[17:42:14.695] --> $/progress\nV[17:42:14.695] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/27","percentage":85}}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 23/27, 85.0%\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.696] System include extraction: target extracted: "avr"\nV[17:42:14.696] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include\nV[17:42:14.696] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed\nV[17:42:14.696] System include extraction: adding  /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include\nI[17:42:14.696] System includes extractor: successfully executed /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc\n\tgot includes: "/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed, /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include"\n\tgot target: "avr"\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.697] --> $/progress\nV[17:42:14.697] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/27","percentage":88}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 24/27, 88.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.697] Indexing /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S (digest:=87583F1C920AA889)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.702] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial1.cpp (0 symbols, 2252 refs, 38 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.704] --> $/progress\nV[17:42:14.704] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/27","percentage":92}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 25/27, 92.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.705] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:54:1:expected identifier or '('\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.705] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:62:23:expected identifier or '('\nV[17:42:14.705] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:63:23:expected identifier or '('\nV[17:42:14.705] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:64:23:expected identifier or '('\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.705] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:65:23:expected identifier or '('\nV[17:42:14.705] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:66:23:expected identifier or '('\nV[17:42:14.705] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:67:23:expected identifier or '('\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.705] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:72:37:expected identifier or '('\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.706] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:73:31:expected ';' after top level declarator\nV[17:42:14.706] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:79:23:expected identifier or '('\nV[17:42:14.706] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:83:32:expected identifier or '('\nV[17:42:14.706] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:83:35:expected identifier or '('\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.706] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:84:22:unknown type name 'maxloops'\nV[17:42:14.706] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:85:8:expected ';' after top level declarator\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.706] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:85:22:unknown type name 'maxloops'\nV[17:42:14.706] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:86:8:expected ';' after top level declarator\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.706] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:86:22:unknown type name 'maxloops'\nV[17:42:14.706] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:87:9:expected ';' after top level declarator\nV[17:42:14.706] Ignored diagnostic. /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S:87:18:expected identifier or '('\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.706] Ignored diagnostic. too many errors emitted, stopping now\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.708] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S (12 symbols, 937 refs, 9 files)\nI[17:42:14.708] Failed to compile /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/wiring_pulse.S, index may be incomplete\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.709] --> $/progress\nV[17:42:14.709] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/27","percentage":96}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress REPORT, 26/27, 96.0%\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.710] Indexed /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino/HardwareSerial3.cpp (0 symbols, 2252 refs, 38 files)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.712] BackgroundIndex: building version 2 when background indexer is idle\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.717] BackgroundIndex: serving version 2 (1810266 bytes)\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.717] --> $/progress\nV[17:42:14.717] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            $/progress: backgroundIndexProgress END \27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF $/progress\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92mIDE --> LS NOTIF textDocument/didChange\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[92m                 textDocument/didChange: \27[93mwrite-locked\27[0m\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange: didChange(file:///home/johan/MyFirstSketch/MyFirstSketch.ino@6)\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange:   > 2:4-2:4 (len=0) -> "i"\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange: -----Tracked SKETCH file-----\nvoid setup() {\n   pinMode(LED_BUILTIN, OUTPUT);\n   pi\n}\nvoid loop() {\n    digitalWrite(LED_BUILTIN, HIGH);\n    delay(1000);\n    digitalWrite(LED_BUILTIN, LOW);\n}\n\n-----------------------------\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange: URI: file:///home/johan/MyFirstSketch/MyFirstSketch.ino -> file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 Ino Range: 2:4-2:4 -> Cpp Range:9:4-9:4\n2022/01/13 17:42:14   > Current sketchmapper content:\n2022/01/13 17:42:14   0: #include <Arduino.h>                                         | /not-ino:0                                         \n2022/01/13 17:42:14   1: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:14   2: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:14   3: void setup();                                                | /MyFirstSketch.ino:0      /MyFirstSketch.ino:0     \n2022/01/13 17:42:14   4: #line 4 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:14   5: void loop();                                                 | /MyFirstSketch.ino:3                               \n2022/01/13 17:42:14   6: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /MyFirstSketch.ino:4      /MyFirstSketch.ino:4     \n2022/01/13 17:42:14   7: void setup() {                                               | /MyFirstSketch.ino:0                               \n2022/01/13 17:42:14   8:    pinMode(LED_BUILTIN, OUTPUT);                             | /MyFirstSketch.ino:1                               \n2022/01/13 17:42:14   9:    pi                                                        | /MyFirstSketch.ino:2                               \n2022/01/13 17:42:14  10: }                                                            | /MyFirstSketch.ino:3                               \n2022/01/13 17:42:14  11: void loop() {                                                | /MyFirstSketch.ino:4                               \n2022/01/13 17:42:14  12:     digitalWrite(LED_BUILTIN, HIGH);                         | /MyFirstSketch.ino:5                               \n2022/01/13 17:42:14  13:     delay(1000);                                             | /MyFirstSketch.ino:6                               \n2022/01/13 17:42:14  14:     digitalWrite(LED_BUILTIN, LOW);                          | /MyFirstSketch.ino:7                               \n2022/01/13 17:42:14  15: }                                                            | /MyFirstSketch.ino:8                               \n2022/01/13 17:42:14  16:                                                              | /MyFirstSketch.ino:9                               \n2022/01/13 17:42:14  17:                                                              | /MyFirstSketch.ino:10                              \n2022/01/13 17:42:14 \27[92m                 textDocument/didChange: to Clang: didChange(file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp@4)\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange:             > 9:4-9:4 -> "i"\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[91mIDE     LS --> Clangd NOTIF textDocument/didChange\27[0m\n2022/01/13 17:42:14 \27[92m                 textDocument/didChange: \27[93mwrite-unlocked\27[0m\27[0m\nV[17:42:14.765] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":4,"line":9},"start":{"character":4,"line":9}},"text":"i"}],"textDocument":{"uri":"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp","version":4}}}\n\nI[17:42:14.765] <-- textDocument/didChange\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[92mIDE --> LS REQU textDocument/completion 4\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: \27[93mread-locked\27[0m\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: URI: file:///home/johan/MyFirstSketch/MyFirstSketch.ino -> file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:5 -> file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:5\27[0m\n2022/01/13 17:42:14 \27[91mIDE     LS --> Clangd REQU textDocument/completion 4\27[0m\nV[17:42:14.772] <<< {"id":"4","jsonrpc":"2.0","method":"textDocument/completion","params":{"context":{"triggerKind":3},"position":{"character":5,"line":9},"textDocument":{"uri":"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp"}}}\n\nI[17:42:14.772] <-- textDocument/completion("4")\nV[17:42:14.772] Dex query tree: (LIMIT 10000 (& T=pi ?=Restricted For Code Completion (| S= (* 2.000000e-01 true))))\nV[17:42:14.772] Dex query tree: (LIMIT 10000 (& T=pi ?=Restricted For Code Completion (| S= (* 2.000000e-01 true))))\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.779] Code complete: fuzzyFind({\n  "AnyScope": true,\n  "Limit": 100,\n  "PreferredTypes": [],\n  "ProximityPaths": [\n    "/tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp"\n  ],\n  "Query": "pi",\n  "RestrictForCodeCompletion": true,\n  "Scopes": [\n    ""\n  ]\n})\nV[17:42:14.779] Code complete: speculative fuzzy request matches the actual index request. Waiting for the speculative index results.\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.779] Failed to generate include insertion edits for adding header (FileURI='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h', IncludeHeader='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h') into /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp: Header not on include path\nI[17:42:14.780] Failed to generate include insertion edits for adding header (FileURI='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h', IncludeHeader='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h') into /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp: Header not on include path\nI[17:42:14.780] Failed to generate include insertion edits for adding header (FileURI='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h', IncludeHeader='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h') into /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp: Header not on include path\nI[17:42:14.780] Failed to generate include insertion edits for adding header (FileURI='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h', IncludeHeader='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h') into /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp: Header not on include path\nI[17:42:14.780] Failed to generate include insertion edits for adding header (FileURI='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h', IncludeHeader='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h') into /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp: Header not on include path\nI[17:42:14.780] Failed to generate include insertion edits for adding header (FileURI='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h', IncludeHeader='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h') into /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp: Header not on include path\nI[17:42:14.780] Failed to generate include insertion edits for adding header (FileURI='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h', IncludeHeader='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h') into /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp: Header not on include path\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.780] Failed to generate include insertion edits for adding header (FileURI='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h', IncludeHeader='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h') into /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp: Header not on include path\nI[17:42:14.780] Failed to generate include insertion edits for adding header (FileURI='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h', IncludeHeader='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h') into /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp: Header not on include path\nI[17:42:14.780] Failed to generate include insertion edits for adding header (FileURI='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h', IncludeHeader='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h') into /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp: Header not on include path\nI[17:42:14.780] Failed to generate include insertion edits for adding header (FileURI='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h', IncludeHeader='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h') into /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp: Header not on include path\nI[17:42:14.780] Failed to generate include insertion edits for adding header (FileURI='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h', IncludeHeader='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h') into /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp: Header not on include path\nI[17:42:14.780] Failed to generate include insertion edits for adding header (FileURI='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h', IncludeHeader='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h') into /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp: Header not on include path\nI[17:42:14.780] Failed to generate include insertion edits for adding header (FileURI='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h', IncludeHeader='file:///home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/standard/pins_arduino.h') into /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp: Header not on include path\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.780] Code complete: sema context Statement, query scopes [] (AnyScope=true), expected type <none>\nI[17:42:14.780] Code complete: 1 results from Sema, 52 from Index, 1 matched, 0 from identifiers, 52 returned.\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'I[17:42:14.781] --> reply:textDocument/completion("4") 9 ms\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.781] >>> {"id":"4","jsonrpc":"2.0","result":{"isIncomplete":false,"items":[{"documentation":{"kind":"markdown","value":"From `\\"Arduino.h\\"`"},"filterText":"PI","insertText":"PI","insertTextFormat":2,"kind":1,"label":" PI","score":1.119854211807251,"sortText":"40052714PI","textEdit":{"newText":"PI","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"detail":"void","documentation":{"kind":"markdown","value":"From `\\"Arduino.h\\"`"},"filterText":"pinMode","insertText":"pinMode(${1:uint8_t pin}, ${2:uint8_t mode})","insertTextFormat":2,"kind":3,"label":" pinMode(uint8_t pin, uint8_t mode)","score":1.8589617013931274,"sortText":"40120d8bpinMode","textEdit":{"newText":"pinMode(${1:uint8_t pin}, ${2:uint8_t mode})","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN0","insertText":"PIN0","insertTextFormat":2,"kind":1,"label":" PIN0","score":0.87653928995132446,"sortText":"40bba7bbPIN0","textEdit":{"newText":"PIN0","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN1","insertText":"PIN1","insertTextFormat":2,"kind":1,"label":" PIN1","score":0.87653928995132446,"sortText":"40bba7bbPIN1","textEdit":{"newText":"PIN1","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN2","insertText":"PIN2","insertTextFormat":2,"kind":1,"label":" PIN2","score":0.87653928995132446,"sortText":"40bba7bbPIN2","textEdit":{"newText":"PIN2","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN3","insertText":"PIN3","insertTextFormat":2,"kind":1,"label":" PIN3","score":0.87653928995132446,"sortText":"40bba7bbPIN3","textEdit":{"newText":"PIN3","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN4","insertText":"PIN4","insertTextFormat":2,"kind":1,"label":" PIN4","score":0.87653928995132446,"sortText":"40bba7bbPIN4","textEdit":{"newText":"PIN4","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN5","insertText":"PIN5","insertTextFormat":2,"kind":1,"label":" PIN5","score":0.87653928995132446,"sortText":"40bba7bbPIN5","textEdit":{"newText":"PIN5","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN6","insertText":"PIN6","insertTextFormat":2,"kind":1,"label":" PIN6","score":0.87653928995132446,"sortText":"40bba7bbPIN6","textEdit":{"newText":"PIN6","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN7","insertText":"PIN7","insertTextFormat":2,"kind":1,"label":" PIN7","score":0.87653928995132446,"sortText":"40bba7bbPIN7","textEdit":{"newText":"PIN7","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB","insertText":"PINB","insertTextFormat":2,"kind":1,"label":" PINB","score":0.87653928995132446,"sortText":"40bba7bbPINB","textEdit":{"newText":"PINB","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB0","insertText":"PINB0","insertTextFormat":2,"kind":1,"label":" PINB0","score":0.87653928995132446,"sortText":"40bba7bbPINB0","textEdit":{"newText":"PINB0","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB1","insertText":"PINB1","insertTextFormat":2,"kind":1,"label":" PINB1","score":0.87653928995132446,"sortText":"40bba7bbPINB1","textEdit":{"newText":"PINB1","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB2","insertText":"PINB2","insertTextFormat":2,"kind":1,"label":" PINB2","score":0.87653928995132446,"sortText":"40bba7bbPINB2","textEdit":{"newText":"PINB2","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB3","insertText":"PINB3","insertTextFormat":2,"kind":1,"label":" PINB3","score":0.87653928995132446,"sortText":"40bba7bbPINB3","textEdit":{"newText":"PINB3","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB4","insertText":"PINB4","insertTextFormat":2,"kind":1,"label":" PINB4","score":0.87653928995132446,"sortText":"40bba7bbPINB4","textEdit":{"newText":"PINB4","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB5","insertText":"PINB5","insertTextFormat":2,"kind":1,"label":" PINB5","score":0.87653928995132446,"sortText":"40bba7bbPINB5","textEdit":{"newText":"PINB5","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB6","insertText":"PINB6","insertTextFormat":2,"kind":1,"label":" PINB6","score":0.87653928995132446,"sortText":"40bba7bbPINB6","textEdit":{"newText":"PINB6","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINB7","insertText":"PINB7","insertTextFormat":2,"kind":1,"label":" PINB7","score":0.87653928995132446,"sortText":"40bba7bbPINB7","textEdit":{"newText":"PINB7","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC","insertText":"PINC","insertTextFormat":2,"kind":1,"label":" PINC","score":0.87653928995132446,"sortText":"40bba7bbPINC","textEdit":{"newText":"PINC","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC0","insertText":"PINC0","insertTextFormat":2,"kind":1,"label":" PINC0","score":0.87653928995132446,"sortText":"40bba7bbPINC0","textEdit":{"newText":"PINC0","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC1","insertText":"PINC1","insertTextFormat":2,"kind":1,"label":" PINC1","score":0.87653928995132446,"sortText":"40bba7bbPINC1","textEdit":{"newText":"PINC1","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC2","insertText":"PINC2","insertTextFormat":2,"kind":1,"label":" PINC2","score":0.87653928995132446,"sortText":"40bba7bbPINC2","textEdit":{"newText":"PINC2","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC3","insertText":"PINC3","insertTextFormat":2,"kind":1,"label":" PINC3","score":0.87653928995132446,"sortText":"40bba7bbPINC3","textEdit":{"newText":"PINC3","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC4","insertText":"PINC4","insertTextFormat":2,"kind":1,"label":" PINC4","score":0.87653928995132446,"sortText":"40bba7bbPINC4","textEdit":{"newText":"PINC4","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC5","insertText":"PINC5","insertTextFormat":2,"kind":1,"label":" PINC5","score":0.87653928995132446,"sortText":"40bba7bbPINC5","textEdit":{"newText":"PINC5","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PINC6","insertText":"PINC6","insertTextFormat":2,"kind":1,"label":" PINC6","score":0.87653928995132446,"sortText":"40bba7bbPINC6","textEdit":{"newText":"PINC6","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND","insertText":"PIND","insertTextFormat":2,"kind":1,"label":" PIND","score":0.87653928995132446,"sortText":"40bba7bbPIND","textEdit":{"newText":"PIND","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND0","insertText":"PIND0","insertTextFormat":2,"kind":1,"label":" PIND0","score":0.87653928995132446,"sortText":"40bba7bbPIND0","textEdit":{"newText":"PIND0","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND1","insertText":"PIND1","insertTextFormat":2,"kind":1,"label":" PIND1","score":0.87653928995132446,"sortText":"40bba7bbPIND1","textEdit":{"newText":"PIND1","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND2","insertText":"PIND2","insertTextFormat":2,"kind":1,"label":" PIND2","score":0.87653928995132446,"sortText":"40bba7bbPIND2","textEdit":{"newText":"PIND2","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND3","insertText":"PIND3","insertTextFormat":2,"kind":1,"label":" PIND3","score":0.87653928995132446,"sortText":"40bba7bbPIND3","textEdit":{"newText":"PIND3","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND4","insertText":"PIND4","insertTextFormat":2,"kind":1,"label":" PIND4","score":0.87653928995132446,"sortText":"40bba7bbPIND4","textEdit":{"newText":"PIND4","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND5","insertText":"PIND5","insertTextFormat":2,"kind":1,"label":" PIND5","score":0.87653928995132446,"sortText":"40bba7bbPIND5","textEdit":{"newText":"PIND5","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND6","insertText":"PIND6","insertTextFormat":2,"kind":1,"label":" PIND6","score":0.87653928995132446,"sortText":"40bba7bbPIND6","textEdit":{"newText":"PIND6","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIND7","insertText":"PIND7","insertTextFormat":2,"kind":1,"label":" PIND7","score":0.87653928995132446,"sortText":"40bba7bbPIND7","textEdit":{"newText":"PIND7","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN_A0","insertText":"PIN_A0","insertTextFormat":2,"kind":1,"label":" PIN_A0","score":0.87653928995132446,"sortText":"40bba7bbPIN_A0","textEdit":{"newText":"PIN_A0","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN_A1","insertText":"PIN_A1","insertTextFormat":2,"kind":1,"label":" PIN_A1","score":0.87653928995132446,"sortText":"40bba7bbPIN_A1","textEdit":{"newText":"PIN_A1","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN_A2","insertText":"PIN_A2","insertTextFormat":2,"kind":1,"label":" PIN_A2","score":0.87653928995132446,"sortText":"40bba7bbPIN_A2","textEdit":{"newText":"PIN_A2","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN_A3","insertText":"PIN_A3","insertTextFormat":2,"kind":1,"label":" PIN_A3","score":0.87653928995132446,"sortText":"40bba7bbPIN_A3","textEdit":{"newText":"PIN_A3","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN_A4","insertText":"PIN_A4","insertTextFormat":2,"kind":1,"label":" PIN_A4","score":0.87653928995132446,"sortText":"40bba7bbPIN_A4","textEdit":{"newText":"PIN_A4","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN_A5","insertText":"PIN_A5","insertTextFormat":2,"kind":1,"label":" PIN_A5","score":0.87653928995132446,"sortText":"40bba7bbPIN_A5","textEdit":{"newText":"PIN_A5","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN_A6","insertText":"PIN_A6","insertTextFormat":2,"kind":1,"label":" PIN_A6","score":0.87653928995132446,"sortText":"40bba7bbPIN_A6","textEdit":{"newText":"PIN_A6","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN_A7","insertText":"PIN_A7","insertTextFormat":2,"kind":1,"label":" PIN_A7","score":0.87653928995132446,"sortText":"40bba7bbPIN_A7","textEdit":{"newText":"PIN_A7","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN_SPI_MISO","insertText":"PIN_SPI_MISO","insertTextFormat":2,"kind":1,"label":" PIN_SPI_MISO","score":0.87653928995132446,"sortText":"40bba7bbPIN_SPI_MISO","textEdit":{"newText":"PIN_SPI_MISO","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN_SPI_MOSI","insertText":"PIN_SPI_MOSI","insertTextFormat":2,"kind":1,"label":" PIN_SPI_MOSI","score":0.87653928995132446,"sortText":"40bba7bbPIN_SPI_MOSI","textEdit":{"newText":"PIN_SPI_MOSI","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN_SPI_SCK","insertText":"PIN_SPI_SCK","insertTextFormat":2,"kind":1,"label":" PIN_SPI_SCK","score":0.87653928995132446,"sortText":"40bba7bbPIN_SPI_SCK","textEdit":{"newText":"PIN_SPI_SCK","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN_SPI_SS","insertText":"PIN_SPI_SS","insertTextFormat":2,"kind":1,"label":" PIN_SPI_SS","score":0.87653928995132446,"sortText":"40bba7bbPIN_SPI_SS","textEdit":{"newText":"PIN_SPI_SS","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN_WIRE_SCL","insertText":"PIN_WIRE_SCL","insertTextFormat":2,"kind":1,"label":" PIN_WIRE_SCL","score":0.87653928995132446,"sortText":"40bba7bbPIN_WIRE_SCL","textEdit":{"newText":"PIN_WIRE_SCL","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"filterText":"PIN_WIRE_SDA","insertText":"PIN_WIRE_SDA","insertTextFormat":2,"kind":1,"label":" PIN_WIRE_SDA","score":0.87653928995132446,"sortText":"40bba7bbPIN_WIRE_SDA","textEdit":{"newText":"PIN_WIRE_SDA","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"detail":"unsigned long","documentation":{"kind":"markdown","value":"From `\\"Arduino.h\\"`  \\nMeasures the length (in microseconds) of a pulse on the pin; state is HIGH or LOW, the type of pulse to measure. Works on pulses from 2-3 microseconds to 3 minutes in length, but must be called at least a few dozen microseconds before the start of the pulse.  \\nThis function performs better with short pulses in noInterrupt() context"},"filterText":"pulseIn","insertText":"pulseIn(${1:uint8_t pin}, ${2:uint8_t state}, ${3:unsigned long timeout})","insertTextFormat":2,"kind":3,"label":" pulseIn(uint8_t pin, uint8_t state, unsigned long timeout)","score":0.50215232372283936,"sortText":"413f2c6bpulseIn","textEdit":{"newText":"pulseIn(${1:uint8_t pin}, ${2:uint8_t state}, ${3:unsigned long timeout})","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}},{"detail":"unsigned long","documentation":{"kind":"markdown","value":"From `\\"Arduino.h\\"`  \\nMeasures the length (in microseconds) of a pulse on the pin; state is HIGH or LOW, the type of pulse to measure. Works on pulses from 2-3 microseconds to 3 minutes in length, but must be called at least a few dozen microseconds before the start of the pulse.  \\nATTENTION:  \\nthis function relies on micros() so cannot be used in noInterrupt() context"},"filterText":"pulseInLong","insertText":"pulseInLong(${1:uint8_t pin}, ${2:uint8_t state}, ${3:unsigned long timeout})","insertTextFormat":2,"kind":3,"label":" pulseInLong(uint8_t pin, uint8_t state, unsigned long timeout)","score":0.50215232372283936,"sortText":"413f2c6bpulseInLong","textEdit":{"newText":"pulseInLong(${1:uint8_t pin}, ${2:uint8_t state}, ${3:unsigned long timeout})","range":{"end":{"character":5,"line":9},"start":{"character":3,"line":9}}}}]}}\n\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[31mIDE     LS <-- Clangd RESP textDocument/completion 4\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[92m                textDocument/completion 4: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: <-- completion(52 items)\27[0m\n2022/01/13 17:42:14 \27[92m                textDocument/completion 4: \27[93mread-unlocked\27[0m\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[32mIDE <-- LS RESP textDocument/completion 4\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:14.828] ASTWorker building file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 4 with command \n[/home/johan/MyFirstSketch]\n/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino -I/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/eightanaloginputs -o /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.o -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include -ferror-limit=0 -resource-dir=/home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/lib/clang/13.0.0 -- /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.834] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto -flto-unit -disable-free -disable-llvm-verifier -discard-value-names -main-file-name MyFirstSketch.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -target-cpu atmega328p -debug-info-kind=constructor -dwarf-version=4 -debugger-tuning=gdb -ffunction-sections -fdata-sections -fcoverage-compilation-dir=/home/johan/MyFirstSketch -resource-dir /home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/lib/clang/13.0.0 -dependency-file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.d -MT /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.o -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino -I /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/eightanaloginputs -internal-isystem /usr/lib/avr/include -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir=/home/johan/MyFirstSketch -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.834] Reusing preamble version 1 for version 4 of /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:14.846] Trying to fix unresolved name "pi" in scopes: []\nV[17:42:14.846] Dex query tree: (LIMIT 10000 (& T=pi S= ?=Restricted For Code Completion))\nV[17:42:14.846] Dex query tree: (LIMIT 10000 (& T=pi ?=Restricted For Code Completion S=))\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.847] indexed file AST for /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 4:\n  symbol slab: 2 symbols, 4680 bytes\n  ref slab: 9 symbols, 14 refs, 4608 bytes\n  relations slab: 0 relations, 24 bytes\nV[17:42:14.847] Build dynamic index for main-file symbols with estimated memory usage of 12760 bytes\nI[17:42:14.847] --> textDocument/publishDiagnostics\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:14.847] >>> {\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"diagnostics\":[{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'pi'\",\"range\":{\"end\":{\"character\":5,\"line\":9},\"start\":{\"character\":3,\"line\":9}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"}],\"uri\":\"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\",\"version\":4}}\n\n2022/01/13 17:42:14 \27[91mIDE     LS <-- Clangd NOTIF textDocument/publishDiagnostics\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: \27[93mread-locked\27[0m\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp (1 diagnostics):\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics:   > 9:3 - Error: "undeclared_var_use"\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: diagnostics to IDE:\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics:   - file:///home/johan/MyFirstSketch/MyFirstSketch.ino (1 diagnostics):\27[0m\n2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics:     > 2:3 - Error: "undeclared_var_use"\27[0m\n2022/01/13 17:42:14 \27[92mIDE <-- LS NOTIF textDocument/publishDiagnostics\27[0m\n'
[ERROR][2022-01-13 17:42:14] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:14 \27[91m                            textDocument/publishDiagnostics: \27[93mread-unlocked\27[0m\27[0m\n"
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:15 \27[92mIDE --> LS NOTIF textDocument/didChange\27[0m\n2022/01/13 17:42:15 \27[92m                 textDocument/didChange: \27[93mwrite-locked\27[0m\27[0m\n2022/01/13 17:42:15 \27[92m                 textDocument/didChange: didChange(file:///home/johan/MyFirstSketch/MyFirstSketch.ino@7)\27[0m\n2022/01/13 17:42:15 \27[92m                 textDocument/didChange:   > 2:5-2:5 (len=0) -> "n"\27[0m\n'
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:15 \27[92m                 textDocument/didChange: -----Tracked SKETCH file-----\nvoid setup() {\n   pinMode(LED_BUILTIN, OUTPUT);\n   pin\n}\nvoid loop() {\n    digitalWrite(LED_BUILTIN, HIGH);\n    delay(1000);\n    digitalWrite(LED_BUILTIN, LOW);\n}\n\n-----------------------------\27[0m\n2022/01/13 17:42:15 \27[92m                 textDocument/didChange: URI: file:///home/johan/MyFirstSketch/MyFirstSketch.ino -> file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\27[0m\n2022/01/13 17:42:15 Ino Range: 2:5-2:5 -> Cpp Range:9:5-9:5\n2022/01/13 17:42:15   > Current sketchmapper content:\n2022/01/13 17:42:15   0: #include <Arduino.h>                                         | /not-ino:0                                         \n2022/01/13 17:42:15   1: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:15   2: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:15   3: void setup();                                                | /MyFirstSketch.ino:0      /MyFirstSketch.ino:0     \n2022/01/13 17:42:15   4: #line 4 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:15   5: void loop();                                                 | /MyFirstSketch.ino:3                               \n2022/01/13 17:42:15   6: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /MyFirstSketch.ino:4      /MyFirstSketch.ino:4     \n2022/01/13 17:42:15   7: void setup() {                                               | /MyFirstSketch.ino:0                               \n2022/01/13 17:42:15   8:    pinMode(LED_BUILTIN, OUTPUT);                             | /MyFirstSketch.ino:1                               \n2022/01/13 17:42:15   9:    pin                                                       | /MyFirstSketch.ino:2                               \n2022/01/13 17:42:15  10: }                                                            | /MyFirstSketch.ino:3                               \n2022/01/13 17:42:15  11: void loop() {                                                | /MyFirstSketch.ino:4                               \n2022/01/13 17:42:15  12:     digitalWrite(LED_BUILTIN, HIGH);                         | /MyFirstSketch.ino:5                               \n2022/01/13 17:42:15  13:     delay(1000);                                             | /MyFirstSketch.ino:6                               \n2022/01/13 17:42:15  14:     digitalWrite(LED_BUILTIN, LOW);                          | /MyFirstSketch.ino:7                               \n2022/01/13 17:42:15  15: }                                                            | /MyFirstSketch.ino:8                               \n2022/01/13 17:42:15  16:                                                              | /MyFirstSketch.ino:9                               \n2022/01/13 17:42:15  17:                                                              | /MyFirstSketch.ino:10                              \n2022/01/13 17:42:15 \27[92m                 textDocument/didChange: to Clang: didChange(file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp@5)\27[0m\n2022/01/13 17:42:15 \27[92m                 textDocument/didChange:             > 9:5-9:5 -> "n"\27[0m\n2022/01/13 17:42:15 \27[91mIDE     LS --> Clangd NOTIF textDocument/didChange\27[0m\n2022/01/13 17:42:15 \27[92m                 textDocument/didChange: \27[93mwrite-unlocked\27[0m\27[0m\nV[17:42:15.009] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":5,"line":9},"start":{"character":5,"line":9}},"text":"n"}],"textDocument":{"uri":"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp","version":5}}}\n\nI[17:42:15.009] <-- textDocument/didChange\n'
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:15.064] ASTWorker building file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 5 with command \n[/home/johan/MyFirstSketch]\n/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino -I/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/eightanaloginputs -o /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.o -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include -ferror-limit=0 -resource-dir=/home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/lib/clang/13.0.0 -- /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:15.071] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto -flto-unit -disable-free -disable-llvm-verifier -discard-value-names -main-file-name MyFirstSketch.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -target-cpu atmega328p -debug-info-kind=constructor -dwarf-version=4 -debugger-tuning=gdb -ffunction-sections -fdata-sections -fcoverage-compilation-dir=/home/johan/MyFirstSketch -resource-dir /home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/lib/clang/13.0.0 -dependency-file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.d -MT /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.o -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino -I /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/eightanaloginputs -internal-isystem /usr/lib/avr/include -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir=/home/johan/MyFirstSketch -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:15.072] Reusing preamble version 1 for version 5 of /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:15.082] Trying to fix unresolved name "pin" in scopes: []\n'
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:15.082] Dex query tree: (LIMIT 10000 (& T=pin S= ?=Restricted For Code Completion))\n"
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:15.082] Dex query tree: (LIMIT 10000 (& T=pin ?=Restricted For Code Completion S=))\n"
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:15.085] indexed file AST for /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 5:\n  symbol slab: 2 symbols, 4680 bytes\n  ref slab: 10 symbols, 15 refs, 4608 bytes\n  relations slab: 0 relations, 24 bytes\nV[17:42:15.085] Build dynamic index for main-file symbols with estimated memory usage of 12792 bytes\n"
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:15.085] --> textDocument/publishDiagnostics\nV[17:42:15.085] >>> {\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"diagnostics\":[{\"code\":\"undeclared_var_use_suggest\",\"message\":\"Use of undeclared identifier 'pin'; did you mean 'sin'? (fix available)\",\"range\":{\"end\":{\"character\":6,\"line\":9},\"start\":{\"character\":3,\"line\":9}},\"relatedInformation\":[{\"location\":{\"range\":{\"end\":{\"character\":17,\"line\":132},\"start\":{\"character\":14,\"line\":132}},\"uri\":\"file:///home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/avr/include/math.h\"},\"message\":\"'sin' declared here\"}],\"severity\":1,\"source\":\"clang\"},{\"code\":\"expected_semi_after_expr\",\"message\":\"Expected ';' after expression (fix available)\",\"range\":{\"end\":{\"character\":1,\"line\":10},\"start\":{\"character\":0,\"line\":10}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"}],\"uri\":\"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\",\"version\":5}}\n\n"
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:15 \27[91mIDE     LS <-- Clangd NOTIF textDocument/publishDiagnostics\27[0m\n"
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:15 \27[91m                            textDocument/publishDiagnostics: \27[93mread-locked\27[0m\27[0m\n2022/01/13 17:42:15 \27[91m                            textDocument/publishDiagnostics: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp (2 diagnostics):\27[0m\n"
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:15 \27[91m                            textDocument/publishDiagnostics:   > 9:3 - Error: "undeclared_var_use_suggest"\27[0m\n2022/01/13 17:42:15 \27[91m                            textDocument/publishDiagnostics:   > 10:0 - Error: "expected_semi_after_expr"\27[0m\n'
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:15 \27[91m                            textDocument/publishDiagnostics: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:6 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:6 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:15 \27[91m                            textDocument/publishDiagnostics: Range: file:///home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/avr/include/math.h:132:14-132:17 -> file:///home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/avr/include/math.h:132:14-132:17 (ext file)\27[0m\n"
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:15 \27[91m                            textDocument/publishDiagnostics: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:10:0-10:1 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:3:0-3:1 (.ino)\27[0m\n2022/01/13 17:42:15 \27[91m                            textDocument/publishDiagnostics: diagnostics to IDE:\27[0m\n2022/01/13 17:42:15 \27[91m                            textDocument/publishDiagnostics:   - file:///home/johan/MyFirstSketch/MyFirstSketch.ino (2 diagnostics):\27[0m\n2022/01/13 17:42:15 \27[91m                            textDocument/publishDiagnostics:     > 2:3 - Error: "undeclared_var_use_suggest"\27[0m\n2022/01/13 17:42:15 \27[91m                            textDocument/publishDiagnostics:     > 3:0 - Error: "expected_semi_after_expr"\27[0m\n'
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:15 \27[92mIDE <-- LS NOTIF textDocument/publishDiagnostics\27[0m\n2022/01/13 17:42:15 \27[91m                            textDocument/publishDiagnostics: \27[93mread-unlocked\27[0m\27[0m\n"
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:15 \27[92mIDE --> LS NOTIF textDocument/didChange\27[0m\n"
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:15 \27[92m                 textDocument/didChange: \27[93mwrite-locked\27[0m\27[0m\n2022/01/13 17:42:15 \27[92m                 textDocument/didChange: didChange(file:///home/johan/MyFirstSketch/MyFirstSketch.ino@8)\27[0m\n2022/01/13 17:42:15 \27[92m                 textDocument/didChange:   > 2:5-2:6 (len=1) -> ""\27[0m\n'
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:15 \27[92m                 textDocument/didChange: -----Tracked SKETCH file-----\nvoid setup() {\n   pinMode(LED_BUILTIN, OUTPUT);\n   pi\n}\nvoid loop() {\n    digitalWrite(LED_BUILTIN, HIGH);\n    delay(1000);\n    digitalWrite(LED_BUILTIN, LOW);\n}\n\n-----------------------------\27[0m\n2022/01/13 17:42:15 \27[92m                 textDocument/didChange: URI: file:///home/johan/MyFirstSketch/MyFirstSketch.ino -> file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\27[0m\n2022/01/13 17:42:15 Ino Range: 2:5-2:6 -> Cpp Range:9:5-9:6\n2022/01/13 17:42:15   > Current sketchmapper content:\n2022/01/13 17:42:15   0: #include <Arduino.h>                                         | /not-ino:0                                         \n2022/01/13 17:42:15   1: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:15   2: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:15   3: void setup();                                                | /MyFirstSketch.ino:0      /MyFirstSketch.ino:0     \n2022/01/13 17:42:15   4: #line 4 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:15   5: void loop();                                                 | /MyFirstSketch.ino:3                               \n2022/01/13 17:42:15   6: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /MyFirstSketch.ino:4      /MyFirstSketch.ino:4     \n2022/01/13 17:42:15   7: void setup() {                                               | /MyFirstSketch.ino:0                               \n2022/01/13 17:42:15   8:    pinMode(LED_BUILTIN, OUTPUT);                             | /MyFirstSketch.ino:1                               \n2022/01/13 17:42:15   9:    pi                                                        | /MyFirstSketch.ino:2                               \n2022/01/13 17:42:15  10: }                                                            | /MyFirstSketch.ino:3                               \n2022/01/13 17:42:15  11: void loop() {                                                | /MyFirstSketch.ino:4                               \n2022/01/13 17:42:15  12:     digitalWrite(LED_BUILTIN, HIGH);                         | /MyFirstSketch.ino:5                               \n2022/01/13 17:42:15  13:     delay(1000);                                             | /MyFirstSketch.ino:6                               \n2022/01/13 17:42:15  14:     digitalWrite(LED_BUILTIN, LOW);                          | /MyFirstSketch.ino:7                               \n2022/01/13 17:42:15  15: }                                                            | /MyFirstSketch.ino:8                               \n2022/01/13 17:42:15  16:                                                              | /MyFirstSketch.ino:9                               \n2022/01/13 17:42:15  17:                                                              | /MyFirstSketch.ino:10                              \n2022/01/13 17:42:15 \27[92m                 textDocument/didChange: to Clang: didChange(file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp@6)\27[0m\n2022/01/13 17:42:15 \27[92m                 textDocument/didChange:             > 9:5-9:6 -> ""\27[0m\n2022/01/13 17:42:15 \27[91mIDE     LS --> Clangd NOTIF textDocument/didChange\27[0m\n2022/01/13 17:42:15 \27[92m                 textDocument/didChange: \27[93mwrite-unlocked\27[0m\27[0m\n'
[ERROR][2022-01-13 17:42:15] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:15.934] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":6,"line":9},"start":{"character":5,"line":9}},"text":""}],"textDocument":{"uri":"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp","version":6}}}\n\nI[17:42:15.934] <-- textDocument/didChange\n'
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:16.000] ASTWorker building file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 6 with command \n[/home/johan/MyFirstSketch]\n/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino -I/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/eightanaloginputs -o /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.o -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include -ferror-limit=0 -resource-dir=/home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/lib/clang/13.0.0 -- /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:16.006] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto -flto-unit -disable-free -disable-llvm-verifier -discard-value-names -main-file-name MyFirstSketch.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -target-cpu atmega328p -debug-info-kind=constructor -dwarf-version=4 -debugger-tuning=gdb -ffunction-sections -fdata-sections -fcoverage-compilation-dir=/home/johan/MyFirstSketch -resource-dir /home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/lib/clang/13.0.0 -dependency-file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.d -MT /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.o -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino -I /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/eightanaloginputs -internal-isystem /usr/lib/avr/include -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir=/home/johan/MyFirstSketch -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:16.007] Reusing preamble version 1 for version 6 of /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:16.017] Trying to fix unresolved name "pi" in scopes: []\nV[17:42:16.017] Dex query tree: (LIMIT 10000 (& T=pi S= ?=Restricted For Code Completion))\nV[17:42:16.018] Dex query tree: (LIMIT 10000 (& T=pi ?=Restricted For Code Completion S=))\n'
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:16.018] indexed file AST for /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 6:\n  symbol slab: 2 symbols, 4680 bytes\n  ref slab: 9 symbols, 14 refs, 4608 bytes\n  relations slab: 0 relations, 24 bytes\nV[17:42:16.018] Build dynamic index for main-file symbols with estimated memory usage of 12760 bytes\nI[17:42:16.018] --> textDocument/publishDiagnostics\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:16 \27[91mIDE     LS <-- Clangd NOTIF textDocument/publishDiagnostics\27[0m\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics: \27[93mread-locked\27[0m\27[0m\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp (1 diagnostics):\27[0m\n2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics:   > 9:3 - Error: "undeclared_var_use"\27[0m\n'
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:16.018] >>> {\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"diagnostics\":[{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'pi'\",\"range\":{\"end\":{\"character\":5,\"line\":9},\"start\":{\"character\":3,\"line\":9}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"}],\"uri\":\"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\",\"version\":6}}\n\n2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:5 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:5 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics: diagnostics to IDE:\27[0m\n2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics:   - file:///home/johan/MyFirstSketch/MyFirstSketch.ino (1 diagnostics):\27[0m\n2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics:     > 2:3 - Error: "undeclared_var_use"\27[0m\n'
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:16 \27[92mIDE <-- LS NOTIF textDocument/publishDiagnostics\27[0m\n2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics: \27[93mread-unlocked\27[0m\27[0m\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:16 \27[92mIDE --> LS NOTIF textDocument/didChange\27[0m\n2022/01/13 17:42:16 \27[92m                 textDocument/didChange: \27[93mwrite-locked\27[0m\27[0m\n2022/01/13 17:42:16 \27[92m                 textDocument/didChange: didChange(file:///home/johan/MyFirstSketch/MyFirstSketch.ino@9)\27[0m\n2022/01/13 17:42:16 \27[92m                 textDocument/didChange:   > 2:4-2:5 (len=1) -> ""\27[0m\n2022/01/13 17:42:16 \27[92m                 textDocument/didChange: -----Tracked SKETCH file-----\nvoid setup() {\n   pinMode(LED_BUILTIN, OUTPUT);\n   p\n}\nvoid loop() {\n    digitalWrite(LED_BUILTIN, HIGH);\n    delay(1000);\n    digitalWrite(LED_BUILTIN, LOW);\n}\n\n-----------------------------\27[0m\n2022/01/13 17:42:16 \27[92m                 textDocument/didChange: URI: file:///home/johan/MyFirstSketch/MyFirstSketch.ino -> file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\27[0m\n'
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:16 Ino Range: 2:4-2:5 -> Cpp Range:9:4-9:5\n2022/01/13 17:42:16   > Current sketchmapper content:\n2022/01/13 17:42:16   0: #include <Arduino.h>                                         | /not-ino:0                                         \n2022/01/13 17:42:16   1: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:16   2: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:16   3: void setup();                                                | /MyFirstSketch.ino:0      /MyFirstSketch.ino:0     \n2022/01/13 17:42:16   4: #line 4 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:16   5: void loop();                                                 | /MyFirstSketch.ino:3                               \n2022/01/13 17:42:16   6: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /MyFirstSketch.ino:4      /MyFirstSketch.ino:4     \n2022/01/13 17:42:16   7: void setup() {                                               | /MyFirstSketch.ino:0                               \n2022/01/13 17:42:16   8:    pinMode(LED_BUILTIN, OUTPUT);                             | /MyFirstSketch.ino:1                               \n2022/01/13 17:42:16   9:    p                                                         | /MyFirstSketch.ino:2                               \n2022/01/13 17:42:16  10: }                                                            | /MyFirstSketch.ino:3                               \n2022/01/13 17:42:16  11: void loop() {                                                | /MyFirstSketch.ino:4                               \n2022/01/13 17:42:16  12:     digitalWrite(LED_BUILTIN, HIGH);                         | /MyFirstSketch.ino:5                               \n2022/01/13 17:42:16  13:     delay(1000);                                             | /MyFirstSketch.ino:6                               \n2022/01/13 17:42:16  14:     digitalWrite(LED_BUILTIN, LOW);                          | /MyFirstSketch.ino:7                               \n2022/01/13 17:42:16  15: }                                                            | /MyFirstSketch.ino:8                               \n2022/01/13 17:42:16  16:                                                              | /MyFirstSketch.ino:9                               \n2022/01/13 17:42:16  17:                                                              | /MyFirstSketch.ino:10                              \n2022/01/13 17:42:16 \27[92m                 textDocument/didChange: to Clang: didChange(file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp@7)\27[0m\n2022/01/13 17:42:16 \27[92m                 textDocument/didChange:             > 9:4-9:5 -> ""\27[0m\n2022/01/13 17:42:16 \27[91mIDE     LS --> Clangd NOTIF textDocument/didChange\27[0m\n2022/01/13 17:42:16 \27[92m                 textDocument/didChange: \27[93mwrite-unlocked\27[0m\27[0m\nV[17:42:16.118] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":5,"line":9},"start":{"character":4,"line":9}},"text":""}],"textDocument":{"uri":"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp","version":7}}}\n\nI[17:42:16.118] <-- textDocument/didChange\n'
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:16.185] ASTWorker building file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 7 with command \n[/home/johan/MyFirstSketch]\n/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino -I/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/eightanaloginputs -o /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.o -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include -ferror-limit=0 -resource-dir=/home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/lib/clang/13.0.0 -- /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:16.190] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto -flto-unit -disable-free -disable-llvm-verifier -discard-value-names -main-file-name MyFirstSketch.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -target-cpu atmega328p -debug-info-kind=constructor -dwarf-version=4 -debugger-tuning=gdb -ffunction-sections -fdata-sections -fcoverage-compilation-dir=/home/johan/MyFirstSketch -resource-dir /home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/lib/clang/13.0.0 -dependency-file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.d -MT /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.o -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino -I /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/eightanaloginputs -internal-isystem /usr/lib/avr/include -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir=/home/johan/MyFirstSketch -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:16.191] Reusing preamble version 1 for version 7 of /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    'V[17:42:16.200] Trying to fix unresolved name "p" in scopes: []\nV[17:42:16.200] Dex query tree: (LIMIT 10000 (& T=p S= ?=Restricted For Code Completion))\nV[17:42:16.201] Dex query tree: (LIMIT 10000 (& T=p ?=Restricted For Code Completion S=))\n'
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:16.202] indexed file AST for /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 7:\n  symbol slab: 2 symbols, 4680 bytes\n  ref slab: 9 symbols, 14 refs, 4608 bytes\n  relations slab: 0 relations, 24 bytes\nV[17:42:16.202] Build dynamic index for main-file symbols with estimated memory usage of 12760 bytes\nI[17:42:16.202] --> textDocument/publishDiagnostics\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:16 \27[91mIDE     LS <-- Clangd NOTIF textDocument/publishDiagnostics\27[0m\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:16.202] >>> {\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"diagnostics\":[{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'p'\",\"range\":{\"end\":{\"character\":4,\"line\":9},\"start\":{\"character\":3,\"line\":9}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"}],\"uri\":\"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\",\"version\":7}}\n\n2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics: \27[93mread-locked\27[0m\27[0m\n2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp (1 diagnostics):\27[0m\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics:   > 9:3 - Error: "undeclared_var_use"\27[0m\n'
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics: Range: file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp:9:3-9:4 -> file:///home/johan/MyFirstSketch/MyFirstSketch.ino:2:3-2:4 (.ino)\27[0m\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics: diagnostics to IDE:\27[0m\n2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics:   - file:///home/johan/MyFirstSketch/MyFirstSketch.ino (1 diagnostics):\27[0m\n2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics:     > 2:3 - Error: "undeclared_var_use"\27[0m\n'
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "2022/01/13 17:42:16 \27[92mIDE <-- LS NOTIF textDocument/publishDiagnostics\27[0m\n2022/01/13 17:42:16 \27[91m                            textDocument/publishDiagnostics: \27[93mread-unlocked\27[0m\27[0m\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:16 \27[92mIDE --> LS NOTIF textDocument/didChange\27[0m\n2022/01/13 17:42:16 \27[92m                 textDocument/didChange: \27[93mwrite-locked\27[0m\27[0m\n2022/01/13 17:42:16 \27[92m                 textDocument/didChange: didChange(file:///home/johan/MyFirstSketch/MyFirstSketch.ino@10)\27[0m\n2022/01/13 17:42:16 \27[92m                 textDocument/didChange:   > 2:3-2:4 (len=1) -> ""\27[0m\n2022/01/13 17:42:16 \27[92m                 textDocument/didChange: -----Tracked SKETCH file-----\nvoid setup() {\n   pinMode(LED_BUILTIN, OUTPUT);\n   \n}\nvoid loop() {\n    digitalWrite(LED_BUILTIN, HIGH);\n    delay(1000);\n    digitalWrite(LED_BUILTIN, LOW);\n}\n\n-----------------------------\27[0m\n2022/01/13 17:42:16 \27[92m                 textDocument/didChange: URI: file:///home/johan/MyFirstSketch/MyFirstSketch.ino -> file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\27[0m\n'
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    '2022/01/13 17:42:16 Ino Range: 2:3-2:4 -> Cpp Range:9:3-9:4\n2022/01/13 17:42:16   > Current sketchmapper content:\n2022/01/13 17:42:16   0: #include <Arduino.h>                                         | /not-ino:0                                         \n2022/01/13 17:42:16   1: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:16   2: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:16   3: void setup();                                                | /MyFirstSketch.ino:0      /MyFirstSketch.ino:0     \n2022/01/13 17:42:16   4: #line 4 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /not-ino:0                                         \n2022/01/13 17:42:16   5: void loop();                                                 | /MyFirstSketch.ino:3                               \n2022/01/13 17:42:16   6: #line 1 "/home/johan/MyFirstSketch/MyFirstSketch.ino"        | /MyFirstSketch.ino:4      /MyFirstSketch.ino:4     \n2022/01/13 17:42:16   7: void setup() {                                               | /MyFirstSketch.ino:0                               \n2022/01/13 17:42:16   8:    pinMode(LED_BUILTIN, OUTPUT);                             | /MyFirstSketch.ino:1                               \n2022/01/13 17:42:16   9:                                                              | /MyFirstSketch.ino:2                               \n2022/01/13 17:42:16  10: }                                                            | /MyFirstSketch.ino:3                               \n2022/01/13 17:42:16  11: void loop() {                                                | /MyFirstSketch.ino:4                               \n2022/01/13 17:42:16  12:     digitalWrite(LED_BUILTIN, HIGH);                         | /MyFirstSketch.ino:5                               \n2022/01/13 17:42:16  13:     delay(1000);                                             | /MyFirstSketch.ino:6                               \n2022/01/13 17:42:16  14:     digitalWrite(LED_BUILTIN, LOW);                          | /MyFirstSketch.ino:7                               \n2022/01/13 17:42:16  15: }                                                            | /MyFirstSketch.ino:8                               \n2022/01/13 17:42:16  16:                                                              | /MyFirstSketch.ino:9                               \n2022/01/13 17:42:16  17:                                                              | /MyFirstSketch.ino:10                              \n2022/01/13 17:42:16 \27[92m                 textDocument/didChange: to Clang: didChange(file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp@8)\27[0m\n2022/01/13 17:42:16 \27[92m                 textDocument/didChange:             > 9:3-9:4 -> ""\27[0m\n2022/01/13 17:42:16 \27[91mIDE     LS --> Clangd NOTIF textDocument/didChange\27[0m\n2022/01/13 17:42:16 \27[92m                 textDocument/didChange: \27[93mwrite-unlocked\27[0m\27[0m\nV[17:42:16.304] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":4,"line":9},"start":{"character":3,"line":9}},"text":""}],"textDocument":{"uri":"file:///tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp","version":8}}}\n\nI[17:42:16.304] <-- textDocument/didChange\n'
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "I[17:42:16.374] ASTWorker building file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp version 8 with command \n[/home/johan/MyFirstSketch]\n/home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino -I/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/eightanaloginputs -o /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.o -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include -ferror-limit=0 -resource-dir=/home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/lib/clang/13.0.0 -- /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
[ERROR][2022-01-13 17:42:16] .../vim/lsp/rpc.lua:420    "rpc"   "arduino-language-server"   "stderr"    "V[17:42:16.380] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto -flto-unit -disable-free -disable-llvm-verifier -discard-value-names -main-file-name MyFirstSketch.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -target-cpu atmega328p -debug-info-kind=constructor -dwarf-version=4 -debugger-tuning=gdb -ffunction-sections -fdata-sections -fcoverage-compilation-dir=/home/johan/MyFirstSketch -resource-dir /home/johan/.local/share/nvim/lsp_servers/arduino_language_server/clangd/lib/clang/13.0.0 -dependency-file /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.d -MT /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp.o -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/include-fixed -isystem /home/johan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/include -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/cores/arduino -I /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.4/variants/eightanaloginputs -internal-isystem /usr/lib/avr/include -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir=/home/johan/MyFirstSketch -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ /tmp/arduino-language-server935286150/sketch/MyFirstSketch.ino.cpp\n"
Johan-Palacios commented 2 years ago

And only one thing, I forget to advise that the server is unstable, I was testing the server and I had the same result, the situation is when you open a “ino” file (Arduino type file) the server works really well, but the problem is 20 seconds later, the server throw an error that says "LSP [id=1 client has shut down after sending the message]" and later throw a warning that says "client 1 quit exit code 2 and signal 0"; I did all the docs to set up arduino correctly. You can see here a little video that show the weird problem.

COMPRESS.mp4

@williamboman Do you know if this can be fixed?

williamboman commented 2 years ago

@Johan-Palacios I've not experienced any issues with the LSP myself :/. If you're able to consistently reproduce it, would you mind sharing the repository?

Johan-Palacios commented 2 years ago

@williamboman Neovim-Config *Actually I set up to work in neovim 0.7