Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

tsserver dosen't start after being installed. #466

Closed
2 tasks
laycookie opened this issue Sep 28, 2024 · 8 comments
Closed
2 tasks

tsserver dosen't start after being installed. #466

laycookie opened this issue Sep 28, 2024 · 8 comments

Comments

@laycookie
Copy link

Problem description

tsserver is not loading in

Why do you think this is an issue with mason-lspconfig.nvim?

I'm attempting to install, and use, tsserver trough mason-lspconfig so I assume it is fault of mason-lspconfig for not starting up the Lsp.

Neovim version (>= 0.7)

nvim --version
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1693350652
Run "nvim -V1 -v" for more info

Operating system/version

Linux nixos 6.6.47 #1-NixOS SMP PREEMPT_DYNAMIC Mon Aug 19 04:04:32 UTC 2024 x86_64 GNU/Linux

I've manually reviewed the Nvim LPS client log (:LspLog) to find potential errors

  • Yes

I've recently downloaded the latest plugin version of mason.nvim, mason-lspconfig.nvim, and nvim-lspconfig

  • Yes

Affected language servers

tsserver

Steps to reproduce

Most of my LSP configuration are stored in the following file.
https://github.com/laycookie/dotfiles/blob/main/themes/Dennis/programs/nvim/config/lua/plugins/lspzero.lua

Actual behavior

Tsserver does not appear to be loading in, and does not provide autocomplete.

Expected behavior

I expect autocomplete to appear, and see some more enhanced syntax highlighting compared to the treesitter.

LspInfo

Press q or <Esc> to close this window. Press <Tab> to view server doc.
 
 Language client log: /home/Dennis/.local/state/nvim/lsp.log
 Detected filetype:   typescriptreact
 
 1 client(s) attached to this buffer: 
 
 Client: null-ls (id: 1, bufnr: [5, 4])
 	filetypes:       handlebars, scss, markdown.mdx, htmlangular, svelte, yaml, javascriptreact, typescript, typescriptreact, jsonc, html, astro, less, graphql, javascript, markdown, vue, json, css
 	autostart:       false
 	root directory:  /home/Dennis/Projects/web-test/grimmi_store
 	cmd:             <function>
 
 Configured servers list: 


### LspLog

```Text
Some stuff were cut due to the size of the LspLog.

[START][2024-08-14 04:17:33] LSP logging initiated
[WARN][2024-08-14 04:17:33] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 5): "
[START][2024-08-14 04:20:25] LSP logging initiated
[WARN][2024-08-14 04:20:25] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 8): "
[START][2024-08-15 12:42:38] LSP logging initiated
[WARN][2024-08-15 12:42:38] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 6): "
[START][2024-08-15 12:44:25] LSP logging initiated
[WARN][2024-08-15 12:44:25] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 9): "
[START][2024-08-15 14:10:55] LSP logging initiated
[WARN][2024-08-15 14:10:55] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 9): "
[START][2024-08-17 13:46:16] LSP logging initiated
[WARN][2024-08-17 13:46:16] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 10): "
[START][2024-08-18 12:30:11] LSP logging initiated
[WARN][2024-08-18 12:30:11] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 4): "
[START][2024-08-18 12:30:11] LSP logging initiated
[WARN][2024-08-18 12:30:11] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 4): "
[START][2024-08-18 12:36:43] LSP logging initiated
[WARN][2024-08-18 12:36:43] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 8): "
[START][2024-08-18 14:59:36] LSP logging initiated
[WARN][2024-08-18 14:59:36] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 6): "
[START][2024-08-21 11:24:52] LSP logging initiated
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"Panic context:\n> \nversion: 2024-04-29\nrequest: textDocument/completion CompletionParams {\n    text_document_position: TextDocumentPositionParams {\n        text_document: TextDocumentIdentifier {\n            uri: Url {\n                scheme: \"file\",\n                cannot_be_a_base: false,\n                username: \"\",\n                password: None,\n                host: None,\n                port: None,\n                path: \"/home/Dennis/Projects/screen_capturer/src/rendering.rs\",\n                query: None,\n                fragment: None,\n            },\n        },\n        position: Position {\n            line: 20,\n            character: 5,\n        },\n    },\n    work_done_progress_params: WorkDoneProgressParams {\n        work_done_token: None,\n    },\n    partial_result_params: PartialResultParams {\n        partial_result_token: None,\n    },\n    context: Some(\n        CompletionContext {\n            trigger_kind: Invoked,\n            trigger_character: None,\n        },\n    ),\n}\n\nthread 'Worker' panicked at /build/rust-analyzer-unwrapped-2024-04-29-vendor.tar.gz/rowan/src/cursor.rs:786:13:\nBad range: node range 0..598, range 600..600\nstack backtrace:\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   0:     0x5607f0277d37 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	">::fmt::h4886110ae7835fd2\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   "
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"1:     0x5607f02b1860 - core::fmt::write::h6fab83f0f5bc0c8f\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   2:     0x5607f0293725 - std::io::Write::write_fmt::h64824cb874054607\n  "
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" 3:     0x5607f0277b04 - std::sys_common::backtrace::print::hb8fea9d041077138\n   4:  "
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   0x5607f02789c7 - std::panicking::default_hook::{{closure}"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"}::hc60f0f690c67943c\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   5:     0x5607f0278727 - std::panicking::default_hook::h56281bcc5d6e2f17\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   6:     0x5607f01ffc14 - std::thread::local::LocalKey<T>::with::"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"hb21bb56efc7ffc94\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   7:     0x5607f02790bc - std::panicking::rust_panic_with_hook::hd61e30fe5971d187\n   8:     0x5607f0278e1a - std::"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"panicking::begin_panic_handler::{{closure}}::h95d2684e28f89fd2\n   9:     0x5607f0277f66 - std::sys_common::backtrace::__rust_end_short_backtrace::h48780d898316fff8\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  10:    "
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" 0x5607f0278b64 - rust_begin_unwind\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  11:     0x5607eedb3265 - core::panicking::panic_fmt::hdb89b5c14a056cec\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  12:     0x"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"5607f01b849c - rowan::cursor::SyntaxNode::covering_element::h276f270ab1991e80\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  13:     0x5607f01b50da"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" - syntax::parsing::reparsing::reparse_token::h454c9c55889cc166\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  14:     0x"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"5607f01b3f21 - syntax::parsing::reparsing::incremental_reparse::h212cd9ba6b1fb186\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  15:     0x5607f01ad86a"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" - syntax::Parse<syntax::ast::generated::nodes::SourceFile>::reparse::h9161db3116368684\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  16:     0x"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"5607ef5599e8 - ide_completion::context::CompletionContext::new::h12a32109e7120ed9\n  17:    "
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" 0x5607ef54c800 - ide_completion::completions::h950fc0e38fe613ac\n  18:     0x5607ef3c8c0e - "
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"std::panicking::try::h55b24a938c2e28be\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  19:     0x5607ef3fb66d - ide::Analysis::with_db::he77a2d62570d518e\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  20:  "
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   0x5607ef326ac9 - ide::Analysis::completions::hec6d6aa623a2f666\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  21:     0x5607ef02486d - rust_analyzer::handlers::request::handle_completion::h5febbbc0b664a97b\n  22:     0x5607eeef786d - std::"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"panicking::try::h7bf4773b385506dd\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  23:     0x5607ef18f3ff - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2758e104e9706ee4\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  24:    "
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" 0x5607f0202e66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h5bfd523d6458fd99\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  25: "
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"    0x5607f01fb019 - core::ops::function::FnOnce::call_once{{vtable.shim}"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"}::h7853cc499ff9af7e\n  26:     0x5607f0266db5 - std::sys::"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"pal::unix::thread::Thread::new::thread_start::h1b09b14190a5ce78\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  27:   "
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  0x7f75d4699272 - start_thread\n  28:     0x7f75d4714dec - __GI___clone3\n"
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  29:             "
[ERROR][2024-08-21 11:24:52] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   0x0 - <unknown>\n"
[WARN][2024-08-21 13:53:44] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 92): "
[START][2024-08-28 13:07:05] LSP logging initiated
[WARN][2024-08-28 13:07:05] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 4): "
[START][2024-08-28 13:07:05] LSP logging initiated
[WARN][2024-08-28 13:07:05] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 5): "
[START][2024-08-28 13:07:06] LSP logging initiated
[WARN][2024-08-28 13:07:06] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 5): "
[START][2024-08-28 13:09:15] LSP logging initiated
[WARN][2024-08-28 13:09:15] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 4): "
[START][2024-08-28 22:01:07] LSP logging initiated
[WARN][2024-08-28 22:01:07] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 5): "
[START][2024-08-28 22:59:23] LSP logging initiated
[WARN][2024-08-28 22:59:23] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 4): "
[START][2024-08-28 23:00:46] LSP logging initiated
[WARN][2024-08-28 23:00:46] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 6): "
[START][2024-08-28 23:01:43] LSP logging initiated
[WARN][2024-08-28 23:01:43] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 6): "
[START][2024-08-28 23:02:43] LSP logging initiated
[WARN][2024-08-28 23:02:43] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 4): "
[START][2024-08-28 23:05:23] LSP logging initiated
[WARN][2024-08-28 23:05:23] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 4): "
[START][2024-08-28 23:09:01] LSP logging initiated
[WARN][2024-08-28 23:09:01] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 4): "
[START][2024-08-28 23:31:59] LSP logging initiated
[WARN][2024-08-28 23:31:59] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 8): "
[START][2024-09-06 08:57:46] LSP logging initiated
[WARN][2024-09-06 08:57:46] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 7): "
[START][2024-09-06 19:57:37] LSP logging initiated
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"Panic context:\n> fetch_native_diagnostics\n\nthread 'Worker' panicked at crates/hir/src/semantics.rs:1425:13:\n\n\nFailed to lookup IMPL@346..678 in this Semantics.\nMake sure to use only query nodes, derived from this instance of Semantics.\nroot node:   SOURCE_FILE@0..9345\nknown nodes: SOURCE_FILE@0..9345\n\n\nstack backtrace:\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   0:     0x556ca7dc48b7 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4886110ae7835fd2\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   1:     0x556ca7dfe3e0 - core::fmt::write::h6fab83f0f5bc0c8f\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   2:     0x556ca7de02a5 - std::io::Write::write_fmt::h64824cb874054607\n   3:     0x556ca7dc4684 - std::sys_common::backtrace::print::hb8fea9d041077138\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   4:     0x556ca7dc5547 - std::panicking::default_hook::{{closure}}::hc60f0f690c67943c\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   5:     0x556ca7dc52a7 - std::panicking::default_hook::h56281bcc5d6e2f17\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   6:     0x556ca7d4dfc4 - std::thread::local::LocalKey<T>::with::ha5ffd3916c889b98\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   7:     0x556ca7dc5c3c"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" - std::panicking::rust_panic_with_hook::hd61e30fe5971d187\n   8:     0x556ca7dc599a - std::panicking::begin_panic_handler::{{closure}}::h95d2684e28f89fd2\n "
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  9:     0x556ca7dc4ae6 - std::sys_common::backtrace::__rust_end_short_backtrace::h48780d898316fff8\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  10:     0x556ca7dc56e4 - rust_begin_unwind\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  11:     0x556ca68fb265 - core::panicking::panic_fmt::hdb89b5c14a056cec\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  12:     0x556ca7506072 - hir::semantics::SemanticsImpl::find_file::he69899175ea0f7a3\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  13:   "
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  0x556ca75058c1 - hir::semantics::SemanticsImpl::analyze_impl::heb6ca6a21c2e3d12\n  14:  "
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   0x556ca750545f - hir::semantics::SemanticsImpl::scope::h83a40088634d8e61\n  15"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	":     0x556ca701ea1f - ide_diagnostics::handlers::trait_impl_redundant_assoc_item::trait_impl_redundant_assoc_item::h1c091dae0fa90861\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  16:     0x556ca6fea783 - ide_diagnostics::diagnostics::h86cd4a447c783fd1\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  17:     0x556ca6f26e93 - salsa::Cancelled::catch::hf42ad75544b6a836\n  18:     0x556ca6edcde5 - ide::Analysis::"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"with_db::h259cbd10fed5dda5\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  19:     0x556ca6e7a1ac - ide::Analysis::diagnostics::hf1e3d1eae98feefe\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  20:  "
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   0x556ca6a443fd - core::ops::function::impls::<impl core::ops::function::"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"FnMut<A> for &mut F>::call_mut::hbd4a7f840a556c72\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  21:  "
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   0x556ca69d1d17 - <alloc::vec::Vec<T> as alloc::vec"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"::spec_from_iter::SpecFromIter<T,I>>::from_iter::hbbd3a7ef178482ff\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  22:     0x556ca6c87042 - rust_analyzer::diagnostics::"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"fetch_native_diagnostics::h48b35fe410688cdc\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  23:     0x556ca6c25bbd - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd249d6bff64c275e\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  24:     0x556ca7d4f846 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0e1676c09ed0ca35\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  25:    "
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" 0x556ca7d4aa89 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h420f50fa373c4e52\n  26:     "
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"0x556ca7db3935 - std::sys::pal::unix::thread::Thread::new::thread_start::h1b09b14190a5ce78\n"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  27:     0x7fdb88d53272 - start_thread"
[ERROR][2024-09-06 19:57:37] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"\n  28:     0x7fdb88dcedec - __GI___clone3\n  29:                0x0 - <unknown>\n"
[START][2024-09-09 13:56:00] LSP logging initiated
[WARN][2024-09-09 13:56:00] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 4): "
[START][2024-09-10 15:19:24] LSP logging initiated
[WARN][2024-09-10 15:19:24] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 5): "
[START][2024-09-11 13:44:59] LSP logging initiated
[WARN][2024-09-11 13:44:59] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 5): "
[START][2024-09-14 18:36:40] LSP logging initiated
[WARN][2024-09-14 18:36:40] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 4): "
[START][2024-09-21 23:05:29] LSP logging initiated
[ERROR][2024-09-21 23:05:29] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"Panic context:\n> \nversion: 2024-04-29\nrequest: textDocument/inlayHint InlayHintParams {\n    work_done_progress_params: WorkDoneProgressParams {\n        work_done_token: None,\n    },\n    text_document: TextDocumentIdentifier {\n        uri: Url {\n            scheme: \"file\",\n            cannot_be_a_base: false,\n            username: \"\",\n            password: None,\n            host: None,\n            port: None,\n            path: \"/home/Dennis/Projects/record/src/ui/pages.rs\",\n            query: None,\n            fragment: None,\n        },\n    },\n    range: Range {\n        start: Position {\n            line: 0,\n            character: 0,\n        },\n        end: Position {\n            line: 128,\n            character: 0,\n        },\n    },\n}\n\nPanic context:\nthread 'Worker> ' panicked at \nversion: 2024-04-29\nrequest: textDocument/inlayHint InlayHintParams {\n    work_done_progress_params: WorkDoneProgressParams {\n        work_done_token: None,\n    },\n    text_document: TextDocumentIdentifier {\n        uri: Url {\n            scheme: \"file\",\n            cannot_be_a_base: false,\n            username: \"\",\n            password: None,\n            host: None,\n            port: None,\n            path: \"/home/Dennis/Projects/record/src/ui/pages.rs\",\n            query: None,\n            fragment: None,\n        },\n    },\n    range: Range {\n        start: Position {\n            line: 0,\n            character: 0,\n        },\n        end: Position {\n            line: 128,\n            character: 0,\n        },\n    },\n}/build/rust-analyzer-unwrapped-2024-04-29-vendor.tar.gz/chalk-ir/src/lib.rs:2236\n\n:9thread ':\nWorkerassertion `left == right` failed\n  left: 2\n right: 1\n' panicked at /build/rust-analyzer-unwrapped-2024-04-29-vendor.tar.gz/chalk-ir/src/lib.rs:stack backtrace:\n2236:9:\nassertion `left == right` failed\n  left: 2\n right: 1\n"
[ERROR][2024-09-21 23:05:29] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   0:     0x562cf55048b7 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4886110ae7835fd2\n   1:     0x562cf553e3e0 - core::fmt::write::h6fab83f0f5bc0c8f\n   2:     0x562cf55202a5 - std::io::Write::write_fmt::h64824cb874054607\n   3:     0x562cf5504684 - std::sys_common::backtrace::print::hb8fea9d041077138\n   4:     0x562cf5505547 - std::panicking::default_hook::{{closure}}::hc60f0f690c67943c\n   5:     0x562cf55052a7 - std::panicking::default_hook::h56281bcc5d6e2f17\n"
[ERROR][2024-09-21 23:05:29] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   6:     0x562cf548dfc4 - std::thread::local::LocalKey<T>::with::ha5ffd3916c889b98\n"
[ERROR][2024-09-21 23:05:29] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   7:     0x562cf5505c3c - std::panicking::rust_panic_with_hook::hd61e30fe5971d187\n   8:     0x562cf550599a - std::panicking::begin_panic_handler::{{closure}}::h95d2684e28f89fd2\n   9:     0x562cf5504ae6 - std::sys_common::backtrace::__rust_end_short_backtrace::h48780d898316fff8\n  10:     0x562cf55056e4 - rust_begin_unwind\n  11:     0x562cf403b265 - core::panicking::panic_fmt::hdb89b5c14a056cec\n"
[ERROR][2024-09-21 23:05:29] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  12:     0x562cf403b62b - core::panicking::assert_failed_inner::h030a5ab32fb412cc\n  13:     0x562cf3ff528f - core::panicking::assert_failed::hc5834e7cdfddb838\n  14:     0x562cf4e70356 - chalk_ir::Binders<T>::substitute::ha06c3bce0228a40b\n  15:     0x562cf4dcd2ad - <core::option::Option<T> as stdx::IsNoneOr>::is_none_or::hbd5298b2848d525a\n  16:     0x562cf4e96f2b - hir_ty::display::generic_args_sans_defaults::hdcdd5316059a9a69\n  17:     0x562cf4f2b16b - <chalk_ir::Ty<hir_ty::interner::Interner> as hir_ty::display::HirDisplay>::hir_fmt::h7a14b4904cd3723d\n"
[ERROR][2024-09-21 23:05:29] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  18:     0x562cf4631c7d - hir_ty::display::HirDisplayWrapper<T>::write_to::hb49d76827efd2818\n  19:     0x562cf45ff8b8 - ide::inlay_hints::label_of_ty::rec::h81c9f8e2274d98ce\n  20:     0x562cf45ff046 - ide::inlay_hints::label_of_ty::haf67209dab995d41\n  21:     0x562cf469d11f - ide::inlay_hints::bind_pat::hints::h713599632b0bc583\n  22:     0x562cf46003bb - ide::inlay_hints::hints::h1758d7a24440b0bc\n  23:     0x562cf45f0963 - <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::h7b26532ad4682c45\n  24:     0x562cf45fff4a - ide::inlay_hints::inlay_hints::h5f186ebcd9096269\n  25:     0x562cf4677d24 - std::panicking::try::h29a3305867ee8f0f\n  26:     0x562cf461d78d - ide::Analysis::with_db::h834225facd6e6899\n  27:     0x562cf45b9c2a - ide::Analysis::inlay_hints::h9ebfb35adc6a821e\n"
[ERROR][2024-09-21 23:05:29] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  28:     0x562cf43b919b - rust_analyzer::handlers::request::handle_inlay_hints::h9021d1601fea84d6\n  29:     0x562cf42323f4 - std::panicking::try::hd45dc2a11b09ef5c\n  30:     0x562cf435f0b5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4b05d63ccebcfc67\n  31:     0x562cf548f846 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0e1676c09ed0ca35\n  32:     0x562cf548aa89 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h420f50fa373c4e52\n  33:     0x562cf54f3935 - std::sys::pal::unix::thread::Thread::new::thread_start::h1b09b14190a5ce78\n  34:     0x7f9853c28272 - start_thread\n  35:     0x7f9853ca3dec - __GI___clone3\n  36:                0x0 - <unknown>\nstack backtrace:\n   0:     0x562cf55048b7 - <std::sys_common::backtrace"
[ERROR][2024-09-21 23:05:29] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4886110ae7835fd2\n   1:     0x562cf553e3e0 - core::fmt::write::h6fab83f0f5bc0c8f\n   2:     0x562cf55202a5 - std::io::Write::write_fmt::h64824cb874054607\n   3:     0x562cf5504684 - std::sys_common::backtrace::print::hb8fea9d041077138\n   4:     0x562cf5505547 - std::panicking::default_hook::{{closure}}::hc60f0f690c67943c\n   5:     0x562cf55052a7 - std::panicking::default_hook::h56281bcc5d6e2f17\n   6:     0x562cf548dfc4 - std::thread::local::LocalKey<T>::with::ha5ffd3916c889b98\n   7:     0x562cf5505c3c - std::panicking::rust_panic_with_hook::hd61e30fe5971d187\n   8:     0x562cf550599a - std::panicking::begin_panic_handler::{{closure}}::h95d2684e28f89fd2\n   9:     0x562cf5504ae6 - std::sys_common::backtrace::__rust_end_short_backtrace::h48780d898316fff8\n  10:     0x562cf55056e4 - rust_begin_unwind\n  11:     0x562cf403b265 - core::panicking::panic_fmt::hdb89b5c14a056cec\n  12:     0x562cf403b62b - core::panicking::assert_failed_inner::h030a5ab32fb412cc\n  13: "
[ERROR][2024-09-21 23:05:29] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"    0x562cf3ff528f - core::panicking::assert_failed::hc5834e7cdfddb838\n  14:     0x562cf4e70356 - chalk_ir::Binders<T>::substitute::ha06c3bce0228a40b\n  15:     0x562cf4dcd2ad - <core::option::Option<T> as stdx::IsNoneOr>::is_none_or::hbd5298b2848d525a\n  16:     0x562cf4e96f2b - hir_ty::display::generic_args_sans_defaults::hdcdd5316059a9a69\n  17:     0x562cf4f2b16b - <chalk_ir::Ty<hir_ty::interner::Interner> as hir_ty::display::HirDisplay>::hir_fmt::h7a14b4904cd3723d\n  18:     0x562cf4631c7d - hir_ty::display::HirDisplayWrapper<T>::write_to::hb49d76827efd2818\n  19:     0x562cf45ff8b8 - ide::inlay_hints::label_of_ty::rec::h81c9f8e2274d98ce\n  20:     0x562cf45ff046 - ide::inlay_hints::label_of_ty::haf67209dab995d41\n  21:     0x562cf469d11f - ide::inlay_hints::bind_pat::hints::h713599632b0bc583\n  22:     0x562cf46003bb - ide::inlay_hints::hints::h1758d7a24440b0bc\n  23:     0x562cf45f0963 - <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::h7b26532ad4682c45\n  24:     0x562cf45fff4a - ide::inlay_hints::inlay_hints::h5f186ebcd9096269\n  25:     0x562cf4677d24 - std::panicking"
[ERROR][2024-09-21 23:05:29] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"::try::h29a3305867ee8f0f\n  26:     0x562cf461d78d - ide::Analysis::with_db::h834225facd6e6899\n  27:     0x562cf45b9c2a - ide::Analysis::inlay_hints::h9ebfb35adc6a821e\n  28:     0x562cf43b919b - rust_analyzer::handlers::request::handle_inlay_hints::h9021d1601fea84d6\n  29:     0x562cf42323f4 - std::panicking::try::hd45dc2a11b09ef5c\n  30:     0x562cf435f0b5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4b05d63ccebcfc67\n  31:     0x562cf548f846 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0e1676c09ed0ca35\n  32:     0x562cf548aa89 - core::ops::"
[ERROR][2024-09-21 23:05:29] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"function::FnOnce::call_once{{vtable.shim}}::h420f50fa373c4e52\n  33:     0x562cf54f3935 - std::sys::pal::unix::thread::Thread::new::thread_start::h1b09b14190a5ce78\n  34:     0x7f9853c28272 - start_thread\n  35:     0x7f9853ca3dec - __GI___clone3\n  36:       "
[ERROR][2024-09-21 23:05:29] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"         0x0 - <unknown>\n"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"Panic context:\n> \nversion: 2024-04-29\nrequest: textDocument/inlayHint InlayHintParams {\n    work_done_progress_params: WorkDoneProgressParams {\n        work_done_token: None,\n    },\n    text_document: TextDocumentIdentifier {\n        uri: Url {\n            scheme: \"file\",\n            cannot_be_a_base: false,\n            username: \"\",\n            password: None,\n            host: None,\n            port: None,\n            path: \"/home/Dennis/Projects/record/src/main.rs\",\n            query: None,\n            fragment: None,\n        },\n    },\n    range: Range {\n        start: Position {\n            line: 0,\n            character: 0,\n        },\n        end: Position {\n            line: 89,\n            character: 0,\n        },\n    },\n}\n\nthread 'Panic context:\nWorker> ' panicked at /build/rust-analyzer-unwrapped-2024-04-29-vendor.tar.gz/chalk-ir/src/lib.rs\nversion: 2024-04-29\nrequest: textDocument/inlayHint InlayHintParams {\n    work_done_progress_params: WorkDoneProgressParams {\n        work_done_token: None,\n    },\n    text_document: TextDocumentIdentifier {\n        uri: Url {\n            scheme: \"file\",\n            cannot_be_a_base: false,\n            username: \"\",\n            password: None,\n            host: None,\n            port: None,\n            path: \"/home/Dennis/Projects/record/src/main.rs\",\n            query: None,\n            fragment: None,\n        },\n    },\n    range: Range {\n        start: Position {\n            line: 0,\n            character: 0,\n        },\n        end: Position {\n            line: 89,\n            character: 0,\n        },\n    },\n}:\n\n2236thread ':Worker9"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"' panicked at :\n/build/rust-analyzer-unwrapped-2024-04-29-vendor.tar.gz/chalk-ir/src/lib.rsassertion `left == right` failed\n  left: 2\n right: 1:\n2236:9:\nassertion `left == right` failed\n  left: 2\n right: 1stack backtrace:\n\n   0:     0x562cf55048b7 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4886110ae7835fd2\n   1:     0x562cf553e3e0 - core::fmt::write::h6fab83f0f5bc0c8f\n   2:     0x562cf55202a5 - std::io::Write::write_fmt::h64824cb874054607\n   3:     0x562cf5504684 - std::sys_common::backtrace::print::hb8fea9d041077138\n   4:     0x562cf5505547 - std::panicking::default_hook::{{closure}}::hc60f0f690c67943c\n   5:     0x562cf55052a7 - std::panicking::default_hook::h56281bcc5d6e2f17\n   6:     0x562cf548dfc4 - std::thread::local::LocalKey<T>::with::ha5ffd3916c889b98\n   7:     0x562cf5505c3c - std::panicking::rust_panic_with_hook::hd61e30fe5971d187\n   8:     0x562cf550599a - std::panicking::begin_panic_handler::{{closure}}::h95d2684e28f89fd2\n   9:     0x562cf5504ae6 - std::sys_common::backtrace::__rust_end_short_backtrace::h48780d898316fff8\n  10:     0x562cf55056e4 - rust_begin_unwind\n  11:     0x562cf403b265 - core::panicking::"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"panic_fmt::hdb89b5c14a056cec\n  12:     0x562cf403b62b - core::panicking::assert_failed_inner::h030a5ab32fb412cc\n  13:     0x562cf3ff528f - core::panicking::assert_failed::hc5834e7cdfddb838\n  14:     0x562cf4e70356 - chalk_ir::Binders<T>::substitute::ha06c3bce0228a40b\n  15:     0x562cf4dcd2ad - <core::option::Option<T> as stdx::IsNoneOr>::is_none_or::hbd5298b2848d525a\n  16:     0x562cf4e96f2b - hir_ty::display::generic_args_sans_defaults::hdcdd5316059a9a69\n  17:     0x562cf4f2b16b - <chalk_ir::Ty<hir_ty::interner::Interner> as hir_ty::display::HirDisplay>::hir_fmt::h7a14b4904cd3723d\n  18:     0x562cf4631c7d - hir_ty::display::HirDisplayWrapper<T>::write_to::hb49d76827efd2818\n  19:     0x562cf45ff8b8 - ide::inlay_hints::label_of_ty::rec::h81c9f8e2274d98ce\n "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" 20:     0x562cf45ff046 - ide::inlay_hints::label_of_ty::haf67209dab995d41\n  21:     0x562cf469d11f - ide::inlay_hints::bind_pat::hints::h713599632b0bc583\n  22:     0x562cf46003bb - ide::inlay_hints::hints::h1758d7a24440b0bc\n  23:     0x562cf45f0963 - <core::"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::h7b26532ad4682c45\n  24:    "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" 0x562cf45fff4a - ide::inlay_hints::inlay_hints::h5f186ebcd9096269\n  25:     0x562cf4677d24 - "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"std::panicking::try::h29a3305867ee8f0f\n  26:     0x562cf461d78d - ide::Analysis::with_db::h834225facd6e6899\n  27:     0x562cf45b9c2a - ide"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"::Analysis::inlay_hints::h9ebfb35adc6a821e\n  28:     0x562cf43b919b"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" - rust_analyzer::handlers::request::handle_inlay_hints::h9021d1601fea84d6\n  "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"29:     0x562cf42323f4 - std::panicking::try::hd45dc2a11b09ef5c\n"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  30:     0x562cf435f0b5 - core::ops::function::FnOnce::"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"call_once{{vtable.shim}}::h4b05d63ccebcfc67\n  31:    "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" 0x562cf548f846 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0e1676c09ed0ca35\n  32:    "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" 0x562cf548aa89 - core::ops::function::FnOnce::call_once{{vtable.shim}}::"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"h420f50fa373c4e52\n  33:     0x562cf54f3935 - std::sys::pal::unix::thread"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"::Thread::new::thread_start::h1b09b14190a5ce78\n  34: "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"    0x7f9853c28272 - start_thread\n  35:     0x7f9853ca3dec - __GI___clone3\n  36:     "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"           0x0 - "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"<unknown>\n"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"stack backtrace:\n   0"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	":     0x562cf55048b7 - <std::sys_common::backtrace::_print"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"::DisplayBacktrace as core::fmt::Display>::fmt::h4886110ae7835fd2\n"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   1:     0x562cf553e3e0 - core::fmt::write::h6fab83f0f5bc0c8f"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"\n   2:     0x562cf55202a5 - std::io::"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"Write::write_fmt::h64824cb874054607\n   3:  "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   0x562cf5504684 - std::sys_common::backtrace::print::hb8fea9d041077138\n   4:  "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   0x562cf5505547 - std::panicking::default_hook::{{closure}}::hc60f0f690c67943c\n   "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"5:     0x562cf55052a7 - std::panicking::default_hook::h56281bcc5d6e2f17\n   6:     0x562cf548dfc4 - std::thread::local::LocalKey<T>::with::ha5ffd3916c889b98\n   7:     0x562cf5505c3c - std"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"::panicking::rust_panic_with_hook::hd61e30fe5971d187\n   8:     0x562cf550599a - std::panicking::begin_panic_handler::{{closure}}::h95d2684e28f89fd2\n   9:     0x562cf5504ae6 - std::sys_common::backtrace::__rust_end_short_backtrace::h48780d898316fff8\n  10:     0x562cf55056e4 - rust_begin_unwind\n  11:     0x562cf403b265 - core::panicking"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"::panic_fmt::hdb89b5c14a056cec\n  12:     0x562cf403b62b - core::panicking::assert_failed_inner::h030a5ab32fb412cc\n  13:     0x562cf3ff528f - core::panicking::assert_failed::hc5834e7cdfddb838\n  "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"14:     0x562cf4e70356 - chalk_ir::Binders<T>::substitute::ha06c3bce0228a40b\n"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  15:     0x562cf4dcd2ad - <core::"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"option::Option<T> as stdx::IsNoneOr>"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"::is_none_or::hbd5298b2848d525a\n  16: "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"    0x562cf4e96f2b - hir_ty::display::generic_args_sans_defaults::hdcdd5316059a9a69\n"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  17:     0x562cf4f2b16b - <chalk_ir::Ty<hir_ty::interner"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"::Interner> as hir_ty::display::HirDisplay>::hir_fmt::h7a14b4904cd3723d\n  18:     0x"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"562cf4631c7d - hir_ty::display::HirDisplayWrapper<T>::write_to::hb49d76827efd2818\n "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" 19:     0x562cf45ff8b8 - ide::inlay_hints::label_of_ty::rec"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"::h81c9f8e2274d98ce\n  20:    "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" 0x562cf45ff046 - ide::inlay_hints::label_of_ty::haf67209dab995d41\n"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  21:     0x562cf469d11f - ide::inlay_hints::bind_pat::hints::h713599632b0bc583\n  "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"22:     0x562cf46003bb - ide::inlay_hints::hints::h1758d7a24440b0bc\n  23:     0x562cf45f0963 - <"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"fold::h7b26532ad4682c45\n  24:     0x562cf45fff4a - "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"ide::inlay_hints::inlay_hints::h5f186ebcd9096269\n  25:     0x"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"562cf4677d24 - std::panicking::try::h29a3305867ee8f0f\n  26"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	":     0x562cf461d78d - ide::Analysis::with_db::h834225facd6e6899\n"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  27:     0x562cf45b9c2a - ide::"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"Analysis::inlay_hints::h9ebfb35adc6a821e\n  28:     "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"0x562cf43b919b - rust_analyzer::handlers::request::handle_inlay_hints::h9021d1601fea84d6"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"\n  29:     0x562cf42323f4 - std"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"::panicking::try::hd45dc2a11b09ef5c\n  30:     0x562cf435f0b5 - core::ops::function::FnOnce"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"::call_once{{vtable.shim}}::h4b05d63ccebcfc67\n  31:     0x562cf548f846 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0e1676c09ed0ca35\n"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  32:     0x562cf548aa89 - core::ops::function::FnOnce::call_once{{vtable.shim}}::"
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"h420f50fa373c4e52\n  33:     0x562cf54f3935 - std::sys::pal::unix::thread::Thread::new::thread_start::h1b09b14190a5ce78\n  34:    "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" 0x7f9853c28272 - start_thread\n  35:     0x7f9853ca3dec - __GI___clone3\n  36:          "
[ERROR][2024-09-21 23:15:05] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"      0x0 - <unknown>\n"
[ERROR][2024-09-21 23:15:15] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"Panic context:\n> \nversion: 2024-04-29\nrequest: textDocument/inlayHint InlayHintParams {\n    work_done_progress_params: WorkDoneProgressParams {\n        work_done_token: None,\n    },\n    text_document: TextDocumentIdentifier {\n        uri: Url {\n            scheme: \"file\",\n            cannot_be_a_base: false,\n            username: \"\",\n            password: None,\n            host: None,\n            port: None,\n            path: \"/home/Dennis/Projects/record/src/main.rs\",\n            query: None,\n            fragment: None,\n        },\n    },\n    range: Range {\n        start: Position {\n            line: 0,\n            character: 0,\n        },\n        end: Position {\n            line: 90,\n            character: 0,\n        },\n    },\n}\n\nPanic context:\nthread '> Worker' panicked at \nversion: 2024-04-29\nrequest: textDocument/inlayHint InlayHintParams {\n    work_done_progress_params: WorkDoneProgressParams {\n        work_done_token: None,\n    },\n    text_document: TextDocumentIdentifier {\n        uri: Url {\n            scheme: \"file\",\n            cannot_be_a_base: false,\n            username: \"\",\n            password: None,\n            host: None,\n            port: None,\n            path: \"/home/Dennis/Projects/record/src/main.rs\",\n            query: None,\n            fragment: None,\n        },\n    },\n    range: Range {\n        start: Position {\n            line: 0,\n            character: 0,\n        },\n        end: Position {\n            line: 90,\n            character: 0,\n        },\n    },\n}\n\n/build/rust-analyzer-unwrapped-2024-04-29-vendor.tar.gz/chalk-ir/src/lib.rs:thread 'Worker2236:' panicked at 9/build/rust-analyzer-unwrapped-2024-04-29-vendor.tar.gz/chalk-ir/src/lib.rs:\n:assertion `left == right` failed\n  left: 2\n right: 12236"
[ERROR][2024-09-21 23:15:15] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"\n:9:\nassertion `left == right` failed\n  left: 2\n right: 1stack backtrace:\n\n   0:     0x562cf55048b7 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4886110ae7835fd2\n   1:     0x562cf553e3e0 - core::fmt::write::h6fab83f0f5bc0c8f\n   2:     0x562cf55202a5 - std::io::Write::write_fmt::h64824cb874054607\n   3:     0x562cf5504684 - std::sys_common::backtrace::print::hb8fea9d041077138\n   4:     0x562cf5505547 - std::panicking::default_hook::{{closure}}::hc60f0f690c67943c\n   5:     0x562cf55052a7 - std::panicking::default_hook::h56281bcc5d6e2f17\n   6:     0x562cf548dfc4 - std::thread::local::LocalKey<T>::with::ha5ffd3916c889b98\n   7:     0x562cf5505c3c - std::panicking::rust_panic_with_hook::hd61e30fe5971d187\n   8:     0x562cf550599a - std::panicking::begin_panic_handler::{{closure}}::h95d2684e28f89fd2\n   9:     0x562cf5504ae6 - std::sys_common::backtrace::__rust_end_short_backtrace::h48780d898316fff8\n  10:     0x562cf55056e4 - rust_begin_unwind\n  11:     0x562cf403b265 - core::panicking::panic_fmt::hdb89b5c14a056cec\n"
[ERROR][2024-09-21 23:15:15] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"  12:     0x562cf403b62b - core::panicking::assert_failed_inner::h030a5ab32fb412cc\n  13:     0x562cf3ff528f - core::panicking::assert_failed::hc5834e7cdfddb838\n  14:     0x562cf4e70356 - chalk_ir::Binders<T>::substitute::ha06c3bce0228a40b\n  15:     0x562cf4dcd2ad - <core::option::Option<T> as stdx::IsNoneOr>::is_none_or::hbd5298b2848d525a\n  16:     0x562cf4e96f2b - hir_ty::display::generic_args_sans_defaults::hdcdd5316059a9a69\n  17:     0x562cf4f2b16b - <chalk_ir::Ty<hir_ty::interner::Interner> as hir_ty::display::HirDisplay>::hir_fmt::h7a14b4904cd3723d\n  18:     0x562cf4631c7d - hir_ty::display::HirDisplayWrapper<T>::write_to::hb49d76827efd2818\n  19:     0x562cf45ff8b8 - ide::inlay_hints::label_of_ty::rec::h81c9f8e2274d98ce\n  20:     0x562cf45ff046 - ide::inlay_hints::label_of_ty::haf67209dab995d41\n  21:     0x562cf469d11f - ide::inlay_hints::bind_pat::hints::h713599632b0bc583\n  22:     0x562cf46003bb - ide::inlay_hints::hints::h1758d7a24440b0bc\n  23:     0x562cf45f0963 - <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::h7b26532ad4682c45\n  24:     0x562cf45fff4a - ide::inlay_hints::inlay_hints::h5f186ebcd9096269\n  25:     0x562cf4677d24 - std::panicking::try::h29a3305867ee8f0f\n  26:     0x562cf461d78d - ide::Analysis::with_db::h834225facd6e6899\n  27:     0x562cf45b9c2a - ide::Analysis::inlay_hints::h9ebfb35adc6a821e\n  28:     0x562cf43b919b - rust_analyzer::handlers::request::handle_inlay_hints::h9021d1601fea84d6\n  29:     0x562cf42323f4 - std::panicking::try::hd45dc2a11b09ef5c\n  30:     0x562cf435f0b5 - core::ops::function::FnOnce::"
[ERROR][2024-09-21 23:15:15] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"call_once{{vtable.shim}}::h4b05d63ccebcfc67\n  31:     0x562cf548f846 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0e1676c09ed0ca35\n  32:     0x562cf548aa89 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h420f50fa373c4e52\n  33:     0x562cf54f3935 - std::sys::pal::unix::thread::Thread::new::thread_start::h1b09b14190a5ce78\n  34:     0x7f9853c28272 - start_thread\n  35:     0x7f9853ca3dec - __GI___clone3\n  36:                0x0 - <unknown>\nstack backtrace:\n   0:     0x562cf55048b7 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4886110ae7835fd2\n   1:     0x562cf553e3e0 - core::fmt::write::h6fab83f0f5bc0c8f\n   2:     0x562cf55202a5 - std::io::Write::write_fmt::h64824cb874054607\n   3:     0x562cf5504684 - std::sys_common::backtrace::print::hb8fea9d041077138\n   4:     0x562cf5505547 - std::panicking::default_hook::{{closure}}::hc60f0f690c67943c\n   5:     0x562cf55052a7"
[ERROR][2024-09-21 23:15:15] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	" - std::panicking::default_hook::h56281bcc5d6e2f17\n   6:     0x562cf548dfc4 - std::thread::local::LocalKey<T>::with::ha5ffd3916c889b98\n   7:     0x562cf5505c3c - std::panicking::rust_panic_with_hook::hd61e30fe5971d187\n   8:     0x562cf550599a - std::panicking::begin_panic_handler::{{closure}}::h95d2684e28f89fd2\n   9:     0x562cf5504ae6 - std::sys_common::backtrace::__rust_end_short_backtrace::h48780d898316fff8\n  10:     0x562cf55056e4 - rust_begin_unwind\n  11:     0x562cf403b265 - core::panicking::panic_fmt::hdb89b5c14a056cec\n  12:     0x562cf403b62b - core::panicking::assert_failed_inner::h030a5ab32fb412cc\n  13:     0x562cf3ff528f - core::panicking::assert_failed::hc5834e7cdfddb838\n  14:     0x562cf4e70356 - chalk_ir::Binders<T>::substitute::ha06c3bce0228a40b\n  15:     0x562cf4dcd2ad - <core::option::Option<T> as stdx::IsNoneOr>::is_none_or::hbd5298b2848d525a\n  16:     0x562cf4e96f2b - hir_ty::display::generic_args_sans_defaults::hdcdd5316059a9a69\n  17:     0x562cf4f2b16b - <chalk_ir::Ty<hir_ty::interner::Interner> as hir_ty::display::HirDisplay>::hir_fmt::h7a14b4904cd3723d\n  18:     0x562cf4631c7d - hir_ty::display::HirDisplayWrapper<T>::write_to::hb49d76827efd2818\n  19:     0x562cf45ff8b8 - ide::inlay_hints::label_of_ty::rec::h81c9f8e2274d98ce\n  20:     0x562cf45ff046 - ide::inlay_hints::label_of_ty::haf67209dab995d41\n  21:     0x562cf469d11f - ide::inlay_hints::bind_pat::hints::h713599632b0bc583\n  22:     0x562cf46003bb - ide::inlay_hints::hints::h1758d7a24440b0bc\n  23:     0x562cf45f0963 - <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::h7b26532ad4682c45\n  24:  "
[ERROR][2024-09-21 23:15:15] .../vim/lsp/rpc.lua:770	"rpc"	"rust-analyzer"	"stderr"	"   0x562cf45fff4a - ide::inlay_hints::inlay_hints::h5f186ebcd9096269\n  25:     0x562cf4677d24 - std::panicking::try::h29a3305867ee8f0f\n  26:     0x562cf461d78d - ide::Analysis::with_db::h834225facd6e6899\n  27:     0x562cf45b9c2a - ide::Analysis::inlay_hints::h9ebfb35adc6a821e\n  28:     0x562cf43b919b - rust_analyzer::handlers::request::handle_inlay_hints::h9021d1601fea84d6\n  29:     0x562cf42323f4 - std::panicking::try::hd45dc2a11b09ef5c\n  30:     0x562cf435f0b5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4b05d63ccebcfc67\n  31:     0x562cf548f846 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0e1676c09ed0ca35\n  32:     0x562cf548aa89 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h420f50fa373c4e52\n  33:     0x562cf54f3935 - std::sys::pal::unix::thread::Thread::new::thread_start::h1b09b14190a5ce78\n  34:     0x7f9853c28272 - start_thread\n  35:     0x7f9853ca3dec - __GI___clone3\n  36:                0x0 - <unknown>\n"
[START][2024-09-22 19:04:48] LSP logging initiated
[WARN][2024-09-22 19:04:48] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 5): "
[WARN][2024-09-25 19:15:43] .../lua/vim/lsp.lua:628	"buf_attach_client called on unloaded buffer (id: 5): "


### Healthcheck

```Text
mason: require("mason.health").check()

mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers: 
    mason.providers.registry-api
    mason.providers.client
- OK neovim version >= 0.7.0

mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-09-28-elite-attic` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send`
- OK wget: `GNU Wget 1.21.4 built on linux-gnu.`
- OK curl: `curl 8.7.1 (x86_64-pc-linux-gnu) libcurl/8.7.1 OpenSSL/3.0.14 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.61.0`
- OK gzip: `gzip 1.13`
- OK tar: `tar (GNU tar) 1.35`
- OK bash: `GNU bash, version 5.2.32(1)-release (x86_64-pc-linux-gnu)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- WARNING Go: not available
  - ADVICE:
    - spawn: go failed with exit code - and signal -. go is not executable
- WARNING Composer: not available
  - ADVICE:
    - spawn: composer failed with exit code - and signal -. composer is not executable
- WARNING PHP: not available
  - ADVICE:
    - spawn: php failed with exit code - and signal -. php is not executable
- WARNING cargo: not available
  - ADVICE:
    - spawn: cargo failed with exit code - and signal -. cargo is not executable
- OK node: `v22.4.1`
- WARNING javac: not available
  - ADVICE:
    - spawn: javac failed with exit code - and signal -. javac is not executable
- WARNING java: not available
  - ADVICE:
    - spawn: java failed with exit code - and signal -. java is not executable
- WARNING julia: not available
  - ADVICE:
    - spawn: julia failed with exit code - and signal -. julia is not executable
- OK Ruby: `ruby 3.1.6p260 (2024-05-29 revision a777087be6) [x86_64-linux]`
- OK python: `Python 3.11.9`
- WARNING pip: not available
  - ADVICE:
    - spawn: python3 failed with exit code 1 and signal 0. /nix/store/3wb0055984n2whn449hywsl4ag9gcjir-python3-3.11.9/bin/python3: No module named pip
      
- OK python venv: `Ok`
- OK RubyGem: `3.5.9`
- OK luarocks: `/nix/store/r4bzh34jd0232kha8zhl83jd0qy1ydxd-luarocks-3.11.0/bin/.luarocks-wrapped 3.11.0`
- OK npm: `10.8.1`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: Sat 28 Sep 2024 03:54:48 AM PDT.
  Install and authenticate via gh-cli to increase rate limit.

Screenshots or recordings

No response

@mattvioli
Copy link

Looks like tsserver was renamed to ts_ls

Have you tried nenaming it in your config?

neovim/nvim-lspconfig#3232

@laycookie
Copy link
Author

Looks like tsserver was renamed to ts_ls

Have you tried nenaming it in your config?

neovim/nvim-lspconfig#3232

I have tried it but I get [mason-lspconfig.nvim] Server "ts_ls" is not a valid entery in ensure_installed. Make sure to only provide lspconfig server names.

@mattvioli
Copy link

Ah you might need to update mason-lspconfig as well.

I got this error today, and just used lazy.nvim to auto update my plugins and it went away.

@laycookie
Copy link
Author

@mattvioli Thanks, I thought it automatically updates when you clear the data from .local but apparently it doesn't. The name did switch from TSserver to ts_ls however the the LSP still doesn't work for some reason.

@lukepafford
Copy link

lukepafford commented Oct 23, 2024

Idk who is ultimately to blame for this, but I'm commenting my disgust here nonetheless.

I've tried like 18 different times in the past few weeks to get the freaking Typescript LSP to work on my previous working configs that is deployed to both a Mac and a Linux machine. Don't give me this crap about "WHAT ARE YOU STUPID, JUST RENAME TSSERVER TO TS_LS HAR HAR HAR"

Admittedly, I didn't deep dive the living crap out of it because it's always a nuisance to dedicate time to a configuration that breaks.


Nahhh aint no way I really had to configure this working hack.

@noahbald
Copy link

noahbald commented Oct 29, 2024

Seems to be introduced by this commit

If you're using lazy, you can restore to this commit in your lazy-lock.json

  "nvim-lspconfig": { "branch": "master", "commit": "36f21ab9555d" },

The issue for me doesn't seem to be tsserver, but that nvim-lspconfig renamed the configs directory from server_configurations to configs

@laycookie
Copy link
Author

laycookie commented Nov 3, 2024

Seems to be introduced by this commit

If you're using lazy, you can restore to this commit in your lazy-lock.json

  "nvim-lspconfig": { "branch": "master", "commit": "36f21ab9555d" },

The issue for me doesn't seem to be tsserver, but that nvim-lspconfig renamed the configs directory from server_configurations to configs

Thanks for the reply, finnily got around to testing it but sadly the problem is still there. Notably I switched to denols. I also noticed that apparently the issue is there with all of my none rust LSPs. (I have a good guess to why rust works, but for the sake of making it simple just assume no LSP are being enabled.)

@laycookie
Copy link
Author

Mystery solved I forgot to init everything.

require('mason-lspconfig').setup({
  handlers = {
    function(server_name)
      require('lspconfig')[server_name].setup({})
    end,
  },
})

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants